Function at 0x41c50e
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 0x41c552
or edi, 0x800
mov edx, dword [ebp + 8]
mov ecx, 6
test eax, eax
js 0x41c560
mov ecx, eax
test edx, edx
je 0x41c614
mov esi, dword [edx + 0x48]
test esi, esi
je 0x41c60d
cmp dword [ebp + 0xc], 0
je 0x41c60d
cmp dword [edx + 0x14], 2
jne 0x41c60d
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 0x41c60d
and eax, 0xf
cmp eax, 0xb
jae 0x41c60d
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 0x41c5d6
test eax, eax
jne 0x41c5d6
mov dword [esi + 0x34], 1
xor eax, eax
inc eax
mov dword [esp + 0x10], eax
bt dword [esp + 0x18], 0xa
jb 0x41c60d
mov dword [esp], ecx
mov ecx, dword [ebp + 0xc]
call fcn.0041bf54
test eax, eax
je 0x41c646
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x10]
cmp dword [esp + 0x10], 0
je 0x41c61e
xor edx, edx
cmp eax, 0xffffffff
jne 0x41c630
mov dword [ecx + 0x1c], 2
jmp 0x41cfc6
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 0x41c630
mov dword [esi + 0x34], 1
xor edx, edx
mov dword [esp + 0xc], edx
push dword [ebp + 0xc]
call fcn.0044f2e0
add esp, 4
cmp eax, 0x10000
jb 0x41c652
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 0x19
jmp 0x41c614
mov ecx, eax
xor ebx, ebx
mov eax, dword [ebp + 8]
mov dword [esp + 0x10], ecx
mov ecx, eax
call fcn.0041bfd4
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 0x41c6ac
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 0xf
jmp 0x41c614
mov eax, dword [ebp + 0x20]
cmp byte [esp + 0xc], 0
je 0x41c702
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 0x41c702
mov dword [esi + 0x34], 1
mov ebx, dword [ebp + 0x18]
test eax, eax
je 0x41c723
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.0041bf5d
add esp, 8
mov dword [esp + 0xc], 0
cmp ebx, 4
mov eax, dword [ebp + 0x1c]
sbb eax, 0
jb 0x41c73e
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.0041bfed
add esp, 8
test eax, eax
je 0x41cfbc
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 0x41c835
mov esi, 0xfffffffe
cmp esi, dword [ebp + 0x18]
mov eax, 0
sbb eax, edx
jb 0x41c7fe
xor eax, eax
cmp esi, dword [esp + 4]
sbb eax, dword [esp]
mov dword [esp + 0x2c], 0
jae 0x41c958
xor eax, eax
cmp esi, dword [esp + 4]
mov ecx, 0
sbb ecx, dword [esp]
jae 0x41c812
lea eax, [esp + 0x40]
mov ecx, dword [esp + 0x18]
bt ecx, 0x11
jb 0x41c921
lea ecx, [esp + 0xa0]
mov dword [esp + 0x2c], ecx
xor edx, edx
push eax
push 0
jmp 0x41c94e
cmp dword [esp + 0x34], 0
mov ecx, dword [esp + 0x10]
jne 0x41ce58
cmp dword [esp], 0
jne 0x41ce58
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.0041c0e7
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 0x41ca84
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 0x41ca90
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 0x41ca4f
xor edx, edx
cmp esi, dword [ebp + 0x18]
mov ecx, 0
sbb ecx, dword [ebp + 0x1c]
jb 0x41c937
mov esi, 0
jmp 0x41c93b
lea esi, [esp + 0x30]
jae 0x41c941
lea edx, [esp + 0x20]
lea ecx, [esp + 0xa0]
mov dword [esp + 0x2c], ecx
push eax
push esi
call fcn.0041c083
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.0041c0e7
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 0x41ca84
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 0x41ca90
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 0x41ca84
mov eax, dword [esp + 4]
add eax, ecx
mov ecx, dword [esp]
adc ecx, 0
mov edx, dword [ebp + 0x38]
test edx, edx
je 0x41ca9f
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 0x41d13c
add ebx, ecx
mov dword [esp + 4], ebx
mov ecx, dword [esp]
adc ecx, 0
jmp 0x41caa3
mov dword [esi + 0x1c], 0x13
jmp 0x41c614
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 0x13
jmp 0x41c614
mov dword [esp + 4], eax
mov edx, dword [ebp + 0x1c]
mov eax, dword [ebp + 0x18]
mov dword [esp], ecx
or eax, edx
je 0x41cc3d
push 0x2000
push 1
push dword [esi + 0x34]
call dword [esi + 0x28]
add esp, 0xc
test eax, eax
je 0x41cc4a
mov dword [esp + 8], eax
cmp dword [esp + 0xc], 0
je 0x41cc59
push 0x4df40
push 1
mov ebx, dword [ebp + 8]
push dword [ebx + 0x34]
call dword [ebx + 0x28]
add esp, 0xc
test eax, eax
je 0x41cd5c
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.0041459a
add esp, 0xc
push eax
push ebx
push 0x41b5c3
mov dword [esp + 0xc], esi
push esi
call fcn.00414604
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 0x41cd38
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 0x41cd38
mov esi, ebx
mov ebx, edx
push edx
push dword [esp + 0xc]
push dword [esp + 0x14]
call fcn.004143e0
add esp, 0xc
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x41cbc8
push dword [eax + 0x44]
call ecx
add esp, 4
xor ecx, ecx
test eax, eax
setne cl
lea eax, [ecx + ecx*2]
jmp 0x41cbca
xor eax, eax
mov edx, dword [esp]
mov ecx, 4
test ebx, ebx
je 0x41cbd8
mov ecx, eax
push ecx
push ebx
mov ebx, dword [esp + 0x10]
push ebx
push edx
call fcn.00417e54
add esp, 0x10
test eax, eax
je 0x41cb4e
mov ecx, 0xc
cmp eax, 1
jne 0x41cd38
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 0x41cd93
mov dword [esp + 0xc], 0
jmp 0x41cda3
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 0x10
jmp 0x41cfc6
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 0x41cd75
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 0x41cfcd
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 0x41cfcd
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 0x41d12c
push ecx
push dword [esp + 0xc]
push dword [esp + 0x14]
call fcn.004143e0
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 0x41cc97
jmp 0x41cd7f
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 0x41cfc6
push dword [esp + 8]
push dword [ebx + 0x34]
call dword [ebx + 0x2c]
add esp, 8
mov dword [ebx + 0x1c], 0x10
jmp 0x41cfc6
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 0x41ce2f
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 0x41ce50
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 0x41d009
cmp dword [esp + 0x2c], 0
je 0x41cea3
xor edx, edx
mov eax, 0xfffffffe
cmp eax, dword [esp + 0x40]
mov eax, 0
sbb eax, dword [esp + 0x44]
jb 0x41ce67
xor eax, eax
jmp 0x41ce6b
test ecx, ecx
je 0x41cfe3
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 0x1d
jmp 0x41cfc6
lea eax, [esp + 0x40]
mov ecx, 0xfffffffe
cmp ecx, dword [ebp + 0x18]
mov ecx, 0
sbb ecx, dword [ebp + 0x1c]
jb 0x41ce84
mov esi, 0
jmp 0x41ce88
lea esi, [esp + 0x30]
jae 0x41ce8e
lea edx, [esp + 0x20]
lea ecx, [esp + 0xa0]
push eax
push esi
call fcn.0041c083
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 0x41ced5
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 8], ecx
jb 0x41cedf
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.0041c0e7
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 0x41cfbc
cmp dword [esp + 0x2c], 0
je 0x41d092
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 0x41cfbc
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 0x41d03a
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 0x13
xor ebx, ebx
jmp 0x41c614
push esi
mov esi, dword [ebp + 8]
push dword [esi + 0x34]
call dword [esi + 0x2c]
add esp, 8
mov dword [esi + 0x1c], 0x14
jmp 0x41cfc6
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 0x41cfc6
add dword [esp + 4], esi
adc dword [esp], 0
cmp dword [esp + 0x2c], 0
je 0x41d092
xor edx, edx
mov eax, 0xfffffffe
cmp eax, dword [esp + 0x40]
mov eax, 0
sbb eax, dword [esp + 0x44]
jb 0x41d054
xor eax, eax
jmp 0x41d058
lea eax, [esp + 0x40]
mov ecx, 0xfffffffe
cmp ecx, dword [esp + 0x20]
mov ecx, 0
sbb ecx, dword [esp + 0x24]
jb 0x41d073
mov esi, 0
jmp 0x41d077
lea esi, [esp + 0x30]
jae 0x41d07d
lea edx, [esp + 0x20]
lea ecx, [esp + 0xa0]
push eax
push esi
call fcn.0041c083
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.0041c202
add esp, 0x4c
test eax, eax
je 0x41cfc6
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 0x41c614
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 0x41cfc6