Function at 0x41f420
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 0x41f464
or edi, 0x800
mov edx, dword [ebp + 8]
mov ecx, 6
test eax, eax
js 0x41f472
mov ecx, eax
test edx, edx
je 0x41f526
mov esi, dword [edx + 0x48]
test esi, esi
je 0x41f51f
cmp dword [ebp + 0xc], 0
je 0x41f51f
cmp dword [edx + 0x14], 2
jne 0x41f51f
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 0x41f51f
and eax, 0xf
cmp eax, 0xb
jae 0x41f51f
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 0x41f4e8
test eax, eax
jne 0x41f4e8
mov dword [esi + 0x34], 1
xor eax, eax
inc eax
mov dword [esp + 0x10], eax
bt dword [esp + 0x18], 0xa
jb 0x41f51f
mov dword [esp], ecx
mov ecx, dword [ebp + 0xc]
call fcn.0041ee66
test eax, eax
je 0x41f558
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x10]
cmp dword [esp + 0x10], 0
je 0x41f530
xor edx, edx
cmp eax, 0xffffffff
jne 0x41f542
mov dword [ecx + 0x1c], 2
jmp 0x41fed8
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 0x41f542
mov dword [esi + 0x34], 1
xor edx, edx
mov dword [esp + 0xc], edx
push dword [ebp + 0xc]
call fcn.0045eb00
add esp, 4
cmp eax, 0x10000
jb 0x41f564
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 0x19
jmp 0x41f526
mov ecx, eax
xor ebx, ebx
mov eax, dword [ebp + 8]
mov dword [esp + 0x10], ecx
mov ecx, eax
call fcn.0041eee6
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 0x41f5be
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 0xf
jmp 0x41f526
mov eax, dword [ebp + 0x20]
cmp byte [esp + 0xc], 0
je 0x41f614
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 0x41f614
mov dword [esi + 0x34], 1
mov ebx, dword [ebp + 0x18]
test eax, eax
je 0x41f635
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.0041ee6f
add esp, 8
mov dword [esp + 0xc], 0
cmp ebx, 4
mov eax, dword [ebp + 0x1c]
sbb eax, 0
jb 0x41f650
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.0041eeff
add esp, 8
test eax, eax
je 0x41fece
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 0x41f747
mov esi, 0xfffffffe
cmp esi, dword [ebp + 0x18]
mov eax, 0
sbb eax, edx
jb 0x41f710
xor eax, eax
cmp esi, dword [esp + 4]
sbb eax, dword [esp]
mov dword [esp + 0x2c], 0
jae 0x41f86a
xor eax, eax
cmp esi, dword [esp + 4]
mov ecx, 0
sbb ecx, dword [esp]
jae 0x41f724
lea eax, [esp + 0x40]
mov ecx, dword [esp + 0x18]
bt ecx, 0x11
jb 0x41f833
lea ecx, [esp + 0xa0]
mov dword [esp + 0x2c], ecx
xor edx, edx
push eax
push 0
jmp 0x41f860
cmp dword [esp + 0x34], 0
mov ecx, dword [esp + 0x10]
jne 0x41fd6a
cmp dword [esp], 0
jne 0x41fd6a
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.0041eff9
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 0x41f996
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 0x41f9a2
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 0x41f961
xor edx, edx
cmp esi, dword [ebp + 0x18]
mov ecx, 0
sbb ecx, dword [ebp + 0x1c]
jb 0x41f849
mov esi, 0
jmp 0x41f84d
lea esi, [esp + 0x30]
jae 0x41f853
lea edx, [esp + 0x20]
lea ecx, [esp + 0xa0]
mov dword [esp + 0x2c], ecx
push eax
push esi
call fcn.0041ef95
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.0041eff9
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 0x41f996
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 0x41f9a2
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 0x41f996
mov eax, dword [esp + 4]
add eax, ecx
mov ecx, dword [esp]
adc ecx, 0
mov edx, dword [ebp + 0x38]
test edx, edx
je 0x41f9b1
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 0x42004e
add ebx, ecx
mov dword [esp + 4], ebx
mov ecx, dword [esp]
adc ecx, 0
jmp 0x41f9b5
mov dword [esi + 0x1c], 0x13
jmp 0x41f526
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 0x13
jmp 0x41f526
mov dword [esp + 4], eax
mov edx, dword [ebp + 0x1c]
mov eax, dword [ebp + 0x18]
mov dword [esp], ecx
or eax, edx
je 0x41fb4f
push 0x2000
push 1
push dword [esi + 0x34]
call dword [esi + 0x28]
add esp, 0xc
test eax, eax
je 0x41fb5c
mov dword [esp + 8], eax
cmp dword [esp + 0xc], 0
je 0x41fb6b
push 0x4df40
push 1
mov ebx, dword [ebp + 8]
push dword [ebx + 0x34]
call dword [ebx + 0x28]
add esp, 0xc
test eax, eax
je 0x41fc6e
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.004178b7
add esp, 0xc
push eax
push ebx
push 0x41f0d5
mov dword [esp + 0xc], esi
push esi
call fcn.00417921
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 0x41fc4a
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 0x41fc4a
mov esi, ebx
mov ebx, edx
push edx
push dword [esp + 0xc]
push dword [esp + 0x14]
call fcn.004167e0
add esp, 0xc
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x41fada
push dword [eax + 0x44]
call ecx
add esp, 4
xor ecx, ecx
test eax, eax
setne cl
lea eax, [ecx + ecx*2]
jmp 0x41fadc
xor eax, eax
mov edx, dword [esp]
mov ecx, 4
test ebx, ebx
je 0x41faea
mov ecx, eax
push ecx
push ebx
mov ebx, dword [esp + 0x10]
push ebx
push edx
call fcn.0041b0b8
add esp, 0x10
test eax, eax
je 0x41fa60
mov ecx, 0xc
cmp eax, 1
jne 0x41fc4a
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 0x41fca5
mov dword [esp + 0xc], 0
jmp 0x41fcb5
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 0x10
jmp 0x41fed8
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 0x41fc87
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 0x41fedf
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 0x41fedf
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 0x42003e
push ecx
push dword [esp + 0xc]
push dword [esp + 0x14]
call fcn.004167e0
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 0x41fba9
jmp 0x41fc91
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 0x41fed8
push dword [esp + 8]
push dword [ebx + 0x34]
call dword [ebx + 0x2c]
add esp, 8
mov dword [ebx + 0x1c], 0x10
jmp 0x41fed8
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 0x41fd41
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 0x41fd62
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 0x41ff1b
cmp dword [esp + 0x2c], 0
je 0x41fdb5
xor edx, edx
mov eax, 0xfffffffe
cmp eax, dword [esp + 0x40]
mov eax, 0
sbb eax, dword [esp + 0x44]
jb 0x41fd79
xor eax, eax
jmp 0x41fd7d
test ecx, ecx
je 0x41fef5
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 0x1d
jmp 0x41fed8
lea eax, [esp + 0x40]
mov ecx, 0xfffffffe
cmp ecx, dword [ebp + 0x18]
mov ecx, 0
sbb ecx, dword [ebp + 0x1c]
jb 0x41fd96
mov esi, 0
jmp 0x41fd9a
lea esi, [esp + 0x30]
jae 0x41fda0
lea edx, [esp + 0x20]
lea ecx, [esp + 0xa0]
push eax
push esi
call fcn.0041ef95
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 0x41fde7
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 8], ecx
jb 0x41fdf1
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.0041eff9
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 0x41fece
cmp dword [esp + 0x2c], 0
je 0x41ffa4
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 0x41fece
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 0x41ff4c
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 0x13
xor ebx, ebx
jmp 0x41f526
push esi
mov esi, dword [ebp + 8]
push dword [esi + 0x34]
call dword [esi + 0x2c]
add esp, 8
mov dword [esi + 0x1c], 0x14
jmp 0x41fed8
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 0x41fed8
add dword [esp + 4], esi
adc dword [esp], 0
cmp dword [esp + 0x2c], 0
je 0x41ffa4
xor edx, edx
mov eax, 0xfffffffe
cmp eax, dword [esp + 0x40]
mov eax, 0
sbb eax, dword [esp + 0x44]
jb 0x41ff66
xor eax, eax
jmp 0x41ff6a
lea eax, [esp + 0x40]
mov ecx, 0xfffffffe
cmp ecx, dword [esp + 0x20]
mov ecx, 0
sbb ecx, dword [esp + 0x24]
jb 0x41ff85
mov esi, 0
jmp 0x41ff89
lea esi, [esp + 0x30]
jae 0x41ff8f
lea edx, [esp + 0x20]
lea ecx, [esp + 0xa0]
push eax
push esi
call fcn.0041ef95
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.0041f114
add esp, 0x4c
test eax, eax
je 0x41fed8
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 0x41f526
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 0x41fed8