Function at 0x41d363
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xc0
mov eax, dword [ebp + 0x2c]
mov edi, eax
shr edi, 0xe
not edi
and edi, 8
xor ebx, ebx
mov word [esp + 0x3e], bx
mov word [esp + 0x3c], bx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], ebx
bt eax, 0x10
jb 0x41d3a7
or edi, 0x800
mov edx, dword [ebp + 8]
mov ecx, 6
test eax, eax
js 0x41d3b5
mov ecx, eax
test edx, edx
je 0x41d469
mov esi, dword [edx + 0x48]
test esi, esi
je 0x41d462
cmp dword [ebp + 0xc], 0
je 0x41d462
cmp dword [edx + 0x14], 2
jne 0x41d462
cmp word [ebp + 0x28], 0
setne al
cmp dword [ebp + 0x24], 0
mov dword [esp + 0x18], ecx
sete cl
test cl, al
mov eax, dword [esp + 0x18]
jne 0x41d462
and eax, 0xf
cmp eax, 0xb
jae 0x41d462
mov dword [esp + 0x38], eax
mov eax, dword [edx]
mov dword [esp + 4], eax
mov ecx, dword [edx + 4]
mov eax, dword [esi + 0x34]
cmp dword [ebp + 0x1c], 0
mov dword [esp + 0x10], eax
je 0x41d42b
test eax, eax
jne 0x41d42b
mov dword [esi + 0x34], 1
xor eax, eax
inc eax
mov dword [esp + 0x10], eax
bt dword [esp + 0x18], 0xa
jb 0x41d462
mov dword [esp], ecx
mov ecx, dword [ebp + 0xc]
call fcn.0041cda9
test eax, eax
je 0x41d49b
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x10]
cmp dword [esp + 0x10], 0
je 0x41d473
xor edx, edx
cmp eax, 0xffffffff
jne 0x41d485
mov dword [ecx + 0x1c], 2
jmp 0x41de1b
mov dword [edx + 0x1c], 0x18
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov dl, 1
cmp eax, 0xffff
jne 0x41d485
mov dword [esi + 0x34], 1
xor edx, edx
mov dword [esp + 0xc], edx
push dword [ebp + 0xc]
call fcn.0045bd00
add esp, 4
cmp eax, 0x10000
jb 0x41d4a7
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 0x19
jmp 0x41d469
mov ecx, eax
xor ebx, ebx
mov eax, dword [ebp + 8]
mov dword [esp + 0x10], ecx
mov ecx, eax
call fcn.0041ce29
mov ecx, dword [esi + 4]
mov dword [esp + 8], ecx
movzx ecx, word [ebp + 0x28]
xor edx, edx
mov dword [esp + 0x78], ecx
add ecx, dword [esp + 0x10]
setb dl
add ecx, dword [esp + 8]
adc edx, 0
mov dword [esp + 0x14], eax
add ecx, 0x4a
adc edx, 0
mov eax, 0xfffffffe
cmp eax, ecx
mov eax, 0
sbb eax, edx
jae 0x41d501
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 0xf
jmp 0x41d469
mov eax, dword [ebp + 0x20]
cmp byte [esp + 0xc], 0
je 0x41d557
mov ecx, dword [esp + 0x10]
mov eax, ecx
shr eax, 0x1f
xor edx, edx
mov ebx, dword [esp + 0x78]
add ebx, dword [ebp + 0x38]
setb dl
add ebx, dword [ebp + 0x40]
adc edx, 0
add ecx, ecx
add ebx, ecx
adc edx, eax
add ebx, dword [esp + 0x14]
adc edx, 0
add ebx, dword [esp + 8]
adc edx, 0
mov eax, dword [ebp + 8]
add ebx, dword [eax]
adc edx, dword [eax + 4]
mov eax, dword [ebp + 0x20]
add ebx, 0x472
adc edx, 0
je 0x41d557
mov dword [esi + 0x34], 1
mov ebx, dword [ebp + 0x18]
test eax, eax
je 0x41d578
mov ecx, dword [eax]
mov edx, dword [eax + 4]
lea eax, [esp + 0x3c]
lea ebx, [esp + 0x3e]
push eax
push ebx
mov ebx, dword [ebp + 0x18]
call fcn.0041cdb2
add esp, 8
mov dword [esp + 0xc], 0
cmp ebx, 4
mov eax, dword [ebp + 0x1c]
sbb eax, 0
jb 0x41d593
mov eax, dword [esp + 0x38]
mov dword [esp + 0xc], eax
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 4]
push dword [esp + 0x14]
mov ebx, dword [esp + 4]
push ebx
call fcn.0041ce42
add esp, 8
test eax, eax
je 0x41de11
xor eax, eax
mov ecx, dword [esp + 4]
add ecx, dword [esp + 0x14]
adc ebx, eax
mov dword [esp + 4], ecx
mov dword [esp + 0x40], ecx
mov dword [esp], ebx
mov dword [esp + 0x44], ebx
mov eax, dword [ebp + 0x18]
mov edx, dword [ebp + 0x1c]
or eax, edx
setne al
cmp dword [esp + 0xc], 0
setne cl
and cl, al
movzx ebx, cl
xor ecx, ecx
shl ebx, 3
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], ecx
mov word [esp + 0x9c], 0
cmp dword [esi + 0x34], ecx
je 0x41d68a
mov esi, 0xfffffffe
cmp esi, dword [ebp + 0x18]
mov eax, 0
sbb eax, edx
jb 0x41d653
xor eax, eax
cmp esi, dword [esp + 4]
sbb eax, dword [esp]
mov dword [esp + 0x2c], 0
jae 0x41d7ad
xor eax, eax
cmp esi, dword [esp + 4]
mov ecx, 0
sbb ecx, dword [esp]
jae 0x41d667
lea eax, [esp + 0x40]
mov ecx, dword [esp + 0x18]
bt ecx, 0x11
jb 0x41d776
lea ecx, [esp + 0xa0]
mov dword [esp + 0x2c], ecx
xor edx, edx
push eax
push 0
jmp 0x41d7a3
cmp dword [esp + 0x34], 0
mov ecx, dword [esp + 0x10]
jne 0x41dcad
cmp dword [esp], 0
jne 0x41dcad
movzx esi, word [esp + 0x3c]
movzx eax, word [esp + 0x3e]
mov dword [esp + 0x38], eax
movzx eax, di
mov dword [esp + 8], eax
mov dword [esp + 0x74], ebx
movzx eax, bx
mov dword [esp + 0x14], eax
xor ebx, ebx
mov edx, 0xffff
mov eax, dword [ebp + 0x38]
and eax, edx
and edx, ecx
lea ecx, [esp + 0x80]
mov dword [esp + 0x70], esi
push esi
push dword [esp + 0x3c]
push dword [esp + 0x10]
push dword [esp + 0x20]
push ebx
push ebx
push ebx
push ebx
push ebx
push eax
call fcn.0041cf3c
add esp, 0x28
push 0x1e
lea eax, [esp + 0x84]
push eax
push dword [esp + 8]
push dword [esp + 0x10]
mov esi, dword [ebp + 8]
push dword [esi + 0x44]
call dword [esi + 0x3c]
add esp, 0x14
cmp eax, 0x1e
jne 0x41d8d9
mov edx, dword [esp + 4]
add edx, 0x1e
mov eax, dword [esp]
adc eax, 0
mov ecx, esi
mov esi, dword [esp + 0x10]
push esi
push dword [ebp + 0xc]
mov dword [esp + 8], eax
push eax
mov dword [esp + 0x10], edx
push edx
push dword [ecx + 0x44]
call dword [ecx + 0x3c]
add esp, 0x14
cmp eax, esi
jne 0x41d8e5
mov edx, dword [esp + 4]
add edx, esi
mov ecx, dword [esp]
adc ecx, 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x1c], 0
mov esi, dword [ebp + 8]
mov eax, edx
jmp 0x41d8a4
xor edx, edx
cmp esi, dword [ebp + 0x18]
mov ecx, 0
sbb ecx, dword [ebp + 0x1c]
jb 0x41d78c
mov esi, 0
jmp 0x41d790
lea esi, [esp + 0x30]
jae 0x41d796
lea edx, [esp + 0x20]
lea ecx, [esp + 0xa0]
mov dword [esp + 0x2c], ecx
push eax
push esi
call fcn.0041ced8
add esp, 8
mov ecx, eax
movzx esi, word [esp + 0x3c]
movzx eax, word [esp + 0x3e]
mov dword [esp + 0x38], eax
mov eax, dword [ebp + 0x38]
mov dword [esp + 0x1c], ecx
add eax, ecx
movzx ecx, di
mov dword [esp + 8], ecx
mov dword [esp + 0x74], ebx
movzx ecx, bx
mov dword [esp + 0x14], ecx
xor ebx, ebx
mov edx, 0xffff
and eax, edx
and edx, dword [esp + 0x10]
lea ecx, [esp + 0x80]
mov dword [esp + 0x70], esi
push esi
push dword [esp + 0x3c]
push dword [esp + 0x10]
push dword [esp + 0x20]
push ebx
push ebx
push ebx
push ebx
push ebx
push eax
call fcn.0041cf3c
add esp, 0x28
push 0x1e
lea eax, [esp + 0x84]
push eax
push dword [esp + 8]
push dword [esp + 0x10]
mov esi, dword [ebp + 8]
push dword [esi + 0x44]
call dword [esi + 0x3c]
add esp, 0x14
cmp eax, 0x1e
jne 0x41d8d9
mov ecx, dword [esp + 4]
add ecx, 0x1e
mov eax, dword [esp]
adc eax, 0
mov edx, esi
mov esi, dword [esp + 0x10]
push esi
push dword [ebp + 0xc]
mov dword [esp + 8], eax
push eax
mov dword [esp + 0x10], ecx
push ecx
push dword [edx + 0x44]
call dword [edx + 0x3c]
add esp, 0x14
cmp eax, esi
jne 0x41d8e5
mov edx, dword [esp + 4]
add edx, esi
mov ecx, dword [esp]
adc ecx, 0
lea eax, [esp + 0xa0]
push dword [esp + 0x1c]
push eax
mov dword [esp + 8], ecx
push ecx
mov dword [esp + 0x10], edx
push edx
mov esi, dword [ebp + 8]
push dword [esi + 0x44]
call dword [esi + 0x3c]
mov ecx, dword [esp + 0x30]
add esp, 0x14
cmp eax, ecx
jne 0x41d8d9
mov eax, dword [esp + 4]
add eax, ecx
mov ecx, dword [esp]
adc ecx, 0
mov edx, dword [ebp + 0x38]
test edx, edx
je 0x41d8f4
push edx
push dword [ebp + 0x34]
push ecx
push eax
push dword [esi + 0x44]
mov ebx, eax
mov dword [esp + 0x14], ecx
call dword [esi + 0x3c]
mov ecx, dword [ebp + 0x38]
add esp, 0x14
cmp eax, ecx
jne 0x41df91
add ebx, ecx
mov dword [esp + 4], ebx
mov ecx, dword [esp]
adc ecx, 0
jmp 0x41d8f8
mov dword [esi + 0x1c], 0x13
jmp 0x41d469
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 0x13
jmp 0x41d469
mov dword [esp + 4], eax
mov edx, dword [ebp + 0x1c]
mov eax, dword [ebp + 0x18]
mov dword [esp], ecx
or eax, edx
je 0x41da92
push 0x2000
push 1
push dword [esi + 0x34]
call dword [esi + 0x28]
add esp, 0xc
test eax, eax
je 0x41da9f
mov dword [esp + 8], eax
cmp dword [esp + 0xc], 0
je 0x41daae
push 0x4df40
push 1
mov ebx, dword [ebp + 8]
push dword [ebx + 0x34]
call dword [ebx + 0x28]
add esp, 0xc
test eax, eax
je 0x41dbb1
mov esi, eax
lea ecx, [esp + 0x50]
mov dword [ecx], ebx
mov eax, dword [esp + 4]
mov dword [ecx + 8], eax
mov eax, dword [esp]
mov dword [ecx + 0xc], eax
xor eax, eax
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x10], eax
mov ebx, ecx
mov dword [esp + 4], 0
push eax
push 0xfffffffffffffff1
push dword [esp + 0x14]
call fcn.00415109
add esp, 0xc
push eax
push ebx
push fcn.0041d018
mov dword [esp + 0xc], esi
push esi
call fcn.00415173
add esp, 0x10
xor esi, esi
mov dword [esp + 0xc], 0
mov ebx, dword [esp + 8]
mov eax, 0x2000
push eax
push ebx
push esi
mov ebx, esi
mov esi, dword [esp + 0x10]
push esi
push dword [ebp + 0x14]
call dword [ebp + 0x10]
add esp, 0x14
mov edx, eax
mov ecx, 0x14
mov eax, 0x2000
cmp edx, eax
ja 0x41db8d
add esi, edx
adc ebx, 0
mov dword [esp + 4], esi
cmp dword [ebp + 0x18], esi
mov eax, dword [ebp + 0x1c]
sbb eax, ebx
jb 0x41db8d
mov esi, ebx
mov ebx, edx
push edx
push dword [esp + 0xc]
push dword [esp + 0x14]
call fcn.00414f54
add esp, 0xc
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x41da1d
push dword [eax + 0x44]
call ecx
add esp, 4
xor ecx, ecx
test eax, eax
setne cl
lea eax, [ecx + ecx*2]
jmp 0x41da1f
xor eax, eax
mov edx, dword [esp]
mov ecx, 4
test ebx, ebx
je 0x41da2d
mov ecx, eax
push ecx
push ebx
mov ebx, dword [esp + 0x10]
push ebx
push edx
call fcn.0041898d
add esp, 0x10
test eax, eax
je 0x41d9a3
mov ecx, 0xc
cmp eax, 1
jne 0x41db8d
push dword [esp]
mov eax, dword [ebp + 8]
push dword [eax + 0x34]
call dword [eax + 0x2c]
add esp, 8
mov dword [esp + 0x24], esi
mov eax, dword [esp + 4]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
jmp 0x41dbe8
mov dword [esp + 0xc], 0
jmp 0x41dbf8
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 0x10
jmp 0x41de1b
xor eax, eax
push 0x2000
push dword [esp + 0xc]
push eax
mov dword [esp + 0x18], 0
push eax
push dword [ebp + 0x14]
call dword [ebp + 0x10]
add esp, 0x14
test eax, eax
je 0x41dbca
mov ecx, eax
mov dword [esp + 0xc], 0
xor ebx, ebx
mov dword [esp + 0x14], 0
mov esi, dword [esp + 8]
cmp eax, 0x2000
mov ecx, eax
mov eax, dword [ebp + 0x18]
ja 0x41de22
add ebx, ecx
mov edx, ecx
mov ecx, dword [esp + 0x14]
adc ecx, 0
cmp eax, ebx
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0x14], ecx
sbb eax, ecx
jb 0x41de22
mov dword [esp + 0x6c], ebx
push edx
push esi
mov ebx, dword [esp + 8]
push ebx
mov esi, dword [esp + 0x10]
push esi
mov dword [esp + 0x5c], edx
mov ecx, dword [ebp + 8]
push dword [ecx + 0x44]
call dword [ecx + 0x3c]
add esp, 0x14
mov ecx, dword [esp + 0x4c]
cmp eax, ecx
jne 0x41df81
push ecx
push dword [esp + 0xc]
push dword [esp + 0x14]
call fcn.00414f54
add esp, 0xc
mov dword [esp + 0xc], eax
add esi, dword [esp + 0x4c]
mov dword [esp + 4], esi
adc ebx, 0
mov dword [esp], ebx
push 0x2000
mov esi, dword [esp + 0xc]
push esi
push dword [esp + 0x1c]
mov ebx, dword [esp + 0x78]
push ebx
push dword [ebp + 0x14]
call dword [ebp + 0x10]
add esp, 0x14
test eax, eax
jne 0x41daec
jmp 0x41dbd4
mov esi, dword [ebp + 8]
mov dword [esi + 0x1c], ecx
push dword [esp]
push dword [esi + 0x34]
call dword [esi + 0x2c]
add esp, 8
push dword [esp + 8]
push dword [esi + 0x34]
call dword [esi + 0x2c]
add esp, 8
jmp 0x41de1b
push dword [esp + 8]
push dword [ebx + 0x34]
call dword [ebx + 0x2c]
add esp, 8
mov dword [ebx + 0x1c], 0x10
jmp 0x41de1b
xor ebx, ebx
mov dword [esp + 0x14], 0
mov dword [esp + 0x20], ebx
mov eax, dword [esp + 0x14]
mov dword [esp + 0x24], eax
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], eax
push dword [esp + 8]
mov eax, dword [ebp + 8]
push dword [eax + 0x34]
call dword [eax + 0x2c]
add esp, 8
bt dword [esp + 0x18], 0x11
jb 0x41dc84
mov dword [esp + 0x50], 0x8074b50
mov ecx, dword [esp + 0xc]
mov byte [esp + 0x54], cl
mov byte [esp + 0x55], ch
mov eax, ecx
shr eax, 0x10
mov byte [esp + 0x56], al
mov eax, ecx
shr eax, 0x18
mov byte [esp + 0x57], al
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
cmp dword [esp + 0x2c], 0
je 0x41dca5
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], ecx
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
mov byte [esp + 0x60], cl
mov byte [esp + 0x61], ch
mov edx, ecx
shr edx, 0x10
mov byte [esp + 0x62], dl
shr ecx, 0x18
mov byte [esp + 0x63], cl
mov byte [esp + 0x64], al
mov byte [esp + 0x65], ah
mov ecx, eax
shr ecx, 0x10
mov byte [esp + 0x66], cl
shr eax, 0x18
mov esi, 0x18
mov ecx, 0x17
jmp 0x41de5e
cmp dword [esp + 0x2c], 0
je 0x41dcf8
xor edx, edx
mov eax, 0xfffffffe
cmp eax, dword [esp + 0x40]
mov eax, 0
sbb eax, dword [esp + 0x44]
jb 0x41dcbc
xor eax, eax
jmp 0x41dcc0
test ecx, ecx
je 0x41de38
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 0x1d
jmp 0x41de1b
lea eax, [esp + 0x40]
mov ecx, 0xfffffffe
cmp ecx, dword [ebp + 0x18]
mov ecx, 0
sbb ecx, dword [ebp + 0x1c]
jb 0x41dcd9
mov esi, 0
jmp 0x41dcdd
lea esi, [esp + 0x30]
jae 0x41dce3
lea edx, [esp + 0x20]
lea ecx, [esp + 0xa0]
push eax
push esi
call fcn.0041ced8
add esp, 8
mov dword [esp + 0x1c], eax
xor ebx, ebx
mov eax, 0xfffffffe
inc eax
sete bl
xor ecx, ecx
mov edx, 0xfffffffe
cmp edx, dword [ebp + 0x18]
sbb ecx, dword [ebp + 0x1c]
mov dword [esp + 8], ebx
mov dword [esp + 0x18], eax
jb 0x41dd2a
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 8], ecx
jb 0x41dd34
mov eax, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
mov esi, dword [ebp + 0x38]
add esi, dword [esp + 0x1c]
movzx ecx, word [esp + 0x70]
mov dword [esp + 0x14], ecx
movzx ecx, word [esp + 0x38]
mov dword [esp + 0x4c], ecx
movzx ecx, di
mov dword [esp + 0x6c], ecx
movzx ecx, word [esp + 0x74]
mov dword [esp + 0x7c], ecx
mov edx, 0xffff
and esi, edx
and edx, dword [esp + 0x10]
lea ecx, [esp + 0x80]
push dword [esp + 0x14]
push dword [esp + 0x50]
push dword [esp + 0x74]
push dword [esp + 0x88]
push dword [esp + 0x1c]
push dword [esp + 0x1c]
push dword [esp + 0x30]
push ebx
push eax
push esi
call fcn.0041cf3c
add esp, 0x28
mov ebx, dword [esp + 0x40]
mov esi, dword [esp + 0x44]
push 0x1e
lea eax, [esp + 0x84]
push eax
push esi
push ebx
mov eax, dword [ebp + 8]
push dword [eax + 0x44]
call dword [eax + 0x3c]
add esp, 0x14
cmp eax, 0x1e
jne 0x41de11
cmp dword [esp + 0x2c], 0
je 0x41dee7
add ebx, 0x1e
adc esi, 0
push dword [esp + 0x10]
push dword [ebp + 0xc]
push esi
push ebx
mov eax, dword [ebp + 8]
push dword [eax + 0x44]
call dword [eax + 0x3c]
add esp, 0x14
cmp eax, dword [esp + 0x10]
jne 0x41de11
add ebx, dword [esp + 0x10]
adc esi, 0
lea eax, [esp + 0xa0]
push dword [esp + 0x1c]
push eax
push esi
push ebx
mov eax, dword [ebp + 8]
push dword [eax + 0x44]
call dword [eax + 0x3c]
add esp, 0x14
cmp eax, dword [esp + 0x1c]
je 0x41de8f
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 0x13
xor ebx, ebx
jmp 0x41d469
push esi
mov esi, dword [ebp + 8]
push dword [esi + 0x34]
call dword [esi + 0x2c]
add esp, 8
mov dword [esi + 0x1c], 0x14
jmp 0x41de1b
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x20]
mov byte [esp + 0x5c], al
mov byte [esp + 0x5d], ah
mov ecx, eax
shr ecx, 0x10
mov byte [esp + 0x5e], cl
shr eax, 0x18
mov esi, 0x10
mov ecx, 0xf
mov byte [esp + ecx + 0x50], al
lea eax, [esp + 0x50]
push esi
push eax
push dword [esp + 8]
push dword [esp + 0x10]
mov eax, dword [ebp + 8]
push dword [eax + 0x44]
call dword [eax + 0x3c]
add esp, 0x14
cmp eax, esi
jne 0x41de1b
add dword [esp + 4], esi
adc dword [esp], 0
cmp dword [esp + 0x2c], 0
je 0x41dee7
xor edx, edx
mov eax, 0xfffffffe
cmp eax, dword [esp + 0x40]
mov eax, 0
sbb eax, dword [esp + 0x44]
jb 0x41dea9
xor eax, eax
jmp 0x41dead
lea eax, [esp + 0x40]
mov ecx, 0xfffffffe
cmp ecx, dword [esp + 0x20]
mov ecx, 0
sbb ecx, dword [esp + 0x24]
jb 0x41dec8
mov esi, 0
jmp 0x41decc
lea esi, [esp + 0x30]
jae 0x41ded2
lea edx, [esp + 0x20]
lea ecx, [esp + 0xa0]
push eax
push esi
call fcn.0041ced8
add esp, 8
mov dword [esp + 0x1c], eax
mov ecx, 0xffff
mov esi, dword [esp + 0x1c]
and esi, ecx
mov eax, dword [esp + 0x10]
and eax, ecx
movzx ebx, word [esp + 0x70]
movzx ecx, word [esp + 0x38]
mov dword [esp + 0x10], ecx
movzx edi, di
movzx ecx, word [esp + 0x74]
mov dword [esp + 0x18], ecx
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
push dword [ebp + 0x40]
push dword [ebp + 0x3c]
push dword [ebp + 0x30]
push dword [esp + 0x50]
push dword [esp + 0x50]
push ebx
push dword [esp + 0x28]
push edi
push dword [esp + 0x38]
push dword [esp + 0x30]
push dword [esp + 0x5c]
push dword [esp + 0x5c]
push dword [esp + 0x54]
push dword [esp + 0x54]
push dword [esp + 0xb0]
push dword [ebp + 0x24]
push esi
push dword [esp + 0x70]
push eax
call fcn.0041d057
add esp, 0x4c
test eax, eax
je 0x41de1b
mov eax, dword [ebp + 8]
inc dword [eax + 0x10]
mov ecx, dword [esp + 4]
mov dword [eax], ecx
mov ecx, dword [esp]
mov dword [eax + 4], ecx
xor ebx, ebx
inc ebx
jmp 0x41d469
push dword [esp + 8]
mov esi, dword [ebp + 8]
push dword [esi + 0x34]
call dword [esi + 0x2c]
add esp, 8
mov dword [esi + 0x1c], 0x13
jmp 0x41de1b