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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x44
push ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x14]
mov eax, dword [eax + 0xc]
push esi
push edi
test eax, eax
je 0x41f403
push eax
call dword [0x4d7774]
add esp, 4
mov edi, dword [ebx + 0x18]
call fcn.00414f50
mov eax, dword [ebx]
test eax, eax
je 0x41f422
mov eax, dword [eax + 0xc]
test eax, eax
je 0x41f422
push eax
call dword [0x4d7774]
add esp, 4
mov esi, dword [ebx + 0x1c]
test esi, esi
je 0x41f437
cmp esi, 5
je 0x41f437
cmp esi, 6
jne 0x41fe29
cmp dword [ebx], 0
mov eax, dword [ebx + 0x18]
mov ecx, dword [eax + 4]
mov edx, dword [ecx]
mov ecx, dword [ebx + 4]
mov dword [esp + 0x34], edx
mov edx, dword [ecx + 4]
mov edx, dword [edx]
mov dword [esp + 0x24], edx
mov dword [esp + 0x38], 0
je 0x41f46f
mov eax, dword [eax + 4]
cmp byte [eax + 0x14], 2
jne 0x41f46f
mov esi, 5
jmp 0x41f62c
xor esi, esi
cmp dword [ebx + 0xc], esi
jne 0x41f4a3
push 2
push ecx
call fcn.004178c0
mov esi, eax
add esp, 8
test esi, esi
jne 0x41f62c
mov eax, dword [ebx + 4]
lea ecx, [ebx + 8]
push ecx
push 1
mov dword [ebx + 0xc], 1
call fcn.0041d7e0
add esp, 8
mov eax, dword [ebx + 0x18]
cmp byte [eax + 8], 0
mov dword [esp + 0x18], eax
jne 0x41f62c
mov edi, eax
mov ebx, dword [edi + 4]
xor esi, esi
mov dword [esp + 0x10], esi
call fcn.00414f50
mov al, byte [edi + 8]
cmp al, 2
je 0x41f5f8
cmp al, 1
je 0x41f5f8
movzx edx, word [ebx + 0x16]
test dl, 0x40
je 0x41f4eb
mov eax, dword [ebx + 0x4c]
cmp dword [eax], esi
jne 0x41f5f0
cmp byte [edi + 9], 0
mov eax, dword [edi + 4]
je 0x41f529
cmp dword [eax + 0x4c], edi
je 0x41f503
test byte [eax + 0x16], 0x20
jne 0x41f5f0
mov eax, dword [eax + 0x48]
cmp eax, esi
je 0x41f529
mov ecx, 1
nop
cmp dword [eax], edi
je 0x41f522
cmp dword [eax + 4], ecx
jne 0x41f522
cmp byte [eax + 8], cl
jne 0x41f5f0
mov eax, dword [eax + 0xc]
cmp eax, esi
jne 0x41f510
mov eax, edx
and eax, 0xfff7
mov dword [esp + 0x10], esi
mov word [ebx + 0x16], ax
cmp dword [ebx + 0x2c], esi
jne 0x41f544
or eax, 8
mov word [ebx + 0x16], ax
cmp dword [ebx + 0xc], esi
jne 0x41f55a
mov eax, ebx
call fcn.00417510
mov dword [esp + 0x10], eax
test eax, eax
je 0x41f544
jmp 0x41f560
cmp dword [esp + 0x10], esi
je 0x41f578
cmp byte [ebx + 0x14], 0
jne 0x41f578
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x41f578
mov eax, dword [eax + 0x44]
call fcn.004113b0
mov dword [ebx + 0xc], esi
cmp byte [esp + 0x10], 5
jne 0x41f5b7
cmp byte [ebx + 0x14], 0
jne 0x41f5b7
mov edi, dword [ebx + 4]
add edi, 0x1b4
je 0x41f5b7
mov ecx, dword [edi]
test ecx, ecx
je 0x41f5b7
mov eax, dword [edi + 8]
test eax, eax
js 0x41f5b7
mov edx, dword [edi + 4]
push eax
push edx
call ecx
add esp, 8
test eax, eax
je 0x41f5b0
inc dword [edi + 8]
jmp 0x41f544
mov dword [edi + 8], 0xffffffff
cmp dword [esp + 0x10], esi
mov esi, dword [esp + 0x18]
jne 0x41f5fa
cmp byte [esi + 8], 0
jne 0x41f5e0
inc dword [ebx + 0x28]
cmp byte [esi + 9], 0
je 0x41f5e0
mov byte [esi + 0x24], 1
mov eax, dword [ebx + 0x48]
lea ecx, [esi + 0x1c]
mov dword [esi + 0x28], eax
mov dword [ebx + 0x48], ecx
mov byte [esi + 8], 1
cmp byte [ebx + 0x14], 1
jae 0x41f5fa
mov byte [ebx + 0x14], 1
jmp 0x41f5fa
mov dword [esp + 0x10], 0x106
mov esi, edi
cmp byte [esi + 9], 0
je 0x41f61d
dec dword [esi + 0xc]
jne 0x41f61d
mov edx, dword [esi + 4]
mov eax, dword [edx + 0x38]
test eax, eax
je 0x41f619
push eax
call dword [0x4d777c]
add esp, 4
mov byte [esi + 0xa], 0
mov esi, dword [esp + 0x10]
mov ebx, dword [ebp + 8]
mov dword [esp + 0x38], 1
mov eax, dword [ebx + 0x18]
mov ecx, dword [eax + 4]
mov eax, dword [ebx + 4]
mov eax, dword [eax + 4]
mov edi, dword [eax + 0x20]
mov eax, dword [eax]
movzx eax, byte [eax + 5]
mov edx, dword [ecx + 0x20]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x10], edi
mov dword [esp + 0x3c], eax
test esi, esi
jne 0x41f660
cmp eax, 5
jne 0x41f660
cmp edx, edi
je 0x41f660
lea esi, [eax + 3]
mov ecx, dword [ecx + 0x2c]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x28], 0
mov eax, dword [ebp + 0xc]
test eax, eax
js 0x41f67c
cmp dword [esp + 0x28], eax
jge 0x41f6e9
mov edi, dword [ebx + 0x10]
cmp edi, dword [esp + 0x18]
ja 0x41f6e9
test esi, esi
jne 0x41f72c
mov edx, dword [ebx + 0x18]
mov ecx, dword [edx + 4]
mov eax, dword [0x4d7828]
xor edx, edx
div dword [ecx + 0x20]
inc eax
cmp edi, eax
je 0x41f6db
mov eax, dword [esp + 0x34]
push 2
lea edx, [esp + 0x34]
push edx
push edi
push eax
call fcn.00411050
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x41f6db
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx + 4]
push esi
push eax
push edi
push ebx
call fcn.0041f1d0
mov esi, eax
mov eax, dword [esp + 0x40]
add esp, 0x10
call fcn.004113b0
mov eax, 1
add dword [ebx + 0x10], eax
add dword [esp + 0x28], eax
jmp 0x41f66f
test esi, esi
jne 0x41f72c
mov ecx, dword [esp + 0x18]
mov eax, dword [ebx + 0x10]
mov edx, ecx
sub edx, eax
inc edx
mov dword [ebx + 0x24], ecx
mov dword [ebx + 0x20], edx
cmp eax, ecx
ja 0x41f739
cmp dword [ebx + 0x28], esi
jne 0x41fca6
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x18]
mov edx, dword [eax + 4]
mov eax, dword [edx]
mov edx, dword [eax + 0x58]
mov dword [ecx + 0x2c], edx
mov dword [eax + 0x58], ecx
mov dword [ecx + 0x28], 1
jmp 0x41fca6
cmp esi, 0x65
jne 0x41fca6
mov ecx, dword [esp + 0x18]
test ecx, ecx
jne 0x41f790
mov eax, dword [ebp + 8]
mov edi, dword [eax + 4]
call fcn.00414f50
mov ecx, dword [edi + 4]
mov dword [ecx + 0x2c], 0
mov ebx, dword [edi + 4]
call fcn.004177e0
cmp byte [edi + 9], 0
mov esi, eax
je 0x41f77f
dec dword [edi + 0xc]
jne 0x41f77f
mov edx, dword [edi + 4]
mov eax, dword [edx + 0x38]
test eax, eax
je 0x41f77b
push eax
call dword [0x4d777c]
add esp, 4
mov byte [edi + 0xa], 0
mov dword [esp + 0x18], 1
test esi, esi
je 0x41f790
cmp esi, 0x65
jne 0x41f800
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 8]
mov edi, dword [eax + 4]
mov esi, dword [edi + 4]
inc ebx
call fcn.00414f50
mov eax, dword [esi + 0xc]
mov esi, dword [eax + 0x38]
mov eax, dword [eax + 0x44]
push eax
call fcn.00411850
add esp, 4
mov dword [esp + 0x30], eax
test eax, eax
jne 0x41f7d7
mov ecx, ebx
shr ecx, 0x18
mov byte [esi + 0x28], cl
mov edx, ebx
shr edx, 0x10
mov ecx, ebx
shr ecx, 8
mov byte [esi + 0x29], dl
mov byte [esi + 0x2a], cl
mov byte [esi + 0x2b], bl
cmp byte [edi + 9], 0
je 0x41f7fe
dec dword [edi + 0xc]
jne 0x41f7fe
mov edx, dword [edi + 4]
mov ecx, dword [edx + 0x38]
test ecx, ecx
je 0x41f7fa
push ecx
call dword [0x4d777c]
mov eax, dword [esp + 0x34]
add esp, 4
mov byte [edi + 0xa], 0
mov esi, eax
test esi, esi
jne 0x41fca6
mov edi, dword [ebp + 8]
mov eax, dword [edi]
test eax, eax
je 0x41f816
call fcn.0043b1b0
cmp dword [esp + 0x3c], 5
jne 0x41f835
mov eax, dword [edi + 4]
push 2
push eax
call fcn.0041edd0
mov esi, eax
add esp, 8
test esi, esi
jne 0x41fca6
mov ebx, dword [esp + 0x2c]
cmp ebx, dword [esp + 0x10]
jge 0x41f870
mov eax, dword [esp + 0x10]
cdq
idiv ebx
mov edx, dword [esp + 0x18]
mov ecx, eax
lea eax, [ecx + edx - 1]
cdq
idiv ecx
xor edx, edx
mov edi, eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
mov ecx, dword [ecx + 4]
mov eax, dword [0x4d7828]
div dword [ecx + 0x20]
inc eax
cmp edi, eax
jne 0x41f87e
dec edi
jmp 0x41f87e
mov eax, ebx
cdq
idiv dword [esp + 0x10]
mov edi, eax
imul edi, dword [esp + 0x18]
cmp ebx, dword [esp + 0x10]
jge 0x41fbc0
mov eax, ebx
cdq
mov ecx, eax
mov eax, dword [esp + 0x18]
mov ebx, edx
push ebx
cdq
push ecx
push edx
push eax
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], ebx
call fcn.0049f7f0
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x44], edx
mov edx, dword [eax + 0x3c]
mov eax, dword [eax + 0x18]
mov dword [esp + 0x28], edx
mov dword [esp + 0x3c], eax
nop
cmp edi, dword [esp + 0x3c]
ja 0x41f91a
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [0x4d7828]
xor edx, edx
div dword [ecx + 0x20]
inc eax
cmp edi, eax
je 0x41f913
mov eax, dword [esp + 0x24]
push 0
lea edx, [esp + 0x34]
push edx
push edi
push eax
call fcn.00411050
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x41f913
mov ebx, dword [esp + 0x30]
push ebx
call fcn.00411850
add esp, 4
mov esi, eax
test ebx, ebx
je 0x41f913
mov eax, ebx
call fcn.004113b0
inc edi
test esi, esi
je 0x41f8c0
jmp 0x41f92f
test esi, esi
jne 0x41f92f
mov eax, dword [esp + 0x24]
push 1
push esi
call fcn.00411bd0
add esp, 8
mov esi, eax
mov ecx, dword [esp + 0x10]
mov edi, dword [0x4d7828]
lea eax, [edi + ecx]
mov ecx, dword [esp + 0x44]
cdq
cmp edx, ecx
jg 0x41f957
jl 0x41f94d
cmp eax, dword [esp + 0x40]
jae 0x41f957
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
jmp 0x41f963
mov edx, dword [esp + 0x40]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x2c]
add eax, edi
cdq
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
test esi, esi
jne 0x41fca6
lea ebx, [ebx]
mov eax, dword [esp + 0x1c]
cmp eax, dword [esp + 0x14]
jg 0x41fb30
mov ebx, dword [esp + 0x18]
jl 0x41f99e
cmp ebx, dword [esp + 0x10]
jae 0x41fb30
mov edx, dword [esp + 0x4c]
push 0
lea ecx, [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x50]
push edx
push ecx
push eax
push ebx
mov dword [esp + 0x48], 0
call fcn.0049fa00
mov edx, dword [esp + 0x3c]
inc eax
push eax
push edx
call fcn.00411050
mov edi, dword [esp + 0x40]
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x41f9f7
mov esi, dword [esp + 0x1c]
mov eax, dword [edi + 4]
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx]
push esi
mov esi, dword [esp + 0x30]
push ebx
push esi
push eax
mov eax, dword [edx + 0xc]
push ecx
call eax
add esp, 0x14
mov esi, eax
test edi, edi
je 0x41fb13
test byte [edi + 0x18], 0x40
mov ebx, dword [edi + 0x10]
je 0x41fa50
dec dword [ebx + 0x78]
mov ecx, dword [ebx + 0x88]
mov dword [edi + 0xc], ecx
mov eax, dword [ebx + 0x3c]
mov dword [ebx + 0x88], edi
mov eax, dword [eax]
mov edx, dword [edi + 4]
mov ecx, dword [edi + 0x14]
push edx
mov dword [esp + 0x40], eax
mov eax, dword [ebx + 0x98]
cdq
push edx
push eax
dec ecx
push 0
push ecx
call fcn.0049f7f0
push edx
push eax
mov eax, dword [ebx + 0x3c]
push eax
mov eax, dword [esp + 0x4c]
mov edx, dword [eax + 0x48]
call edx
add esp, 0x10
jmp 0x41fabc
dec word [edi + 0x1a]
jne 0x41fabc
mov eax, dword [edi + 0x1c]
dec dword [eax + 0xc]
test byte [edi + 0x18], 2
jne 0x41fa8c
mov eax, dword [edi + 0x1c]
cmp dword [eax + 0x1c], 0
je 0x41fabc
cmp dword [edi + 0x14], 1
jne 0x41fa78
mov dword [eax + 0x2c], 0
mov ecx, dword [edi]
mov edx, dword [eax + 0x28]
push 0
push ecx
push edx
call dword [0x4d77a8]
add esp, 0xc
jmp 0x41fabc
mov eax, edi
call fcn.0040bb30
mov eax, dword [edi + 0x1c]
mov ecx, dword [eax]
mov dword [edi + 0x20], ecx
test ecx, ecx
je 0x41faa2
mov dword [ecx + 0x24], edi
cmp dword [eax + 4], 0
mov dword [eax], edi
jne 0x41faad
mov dword [eax + 4], edi
cmp dword [eax + 8], 0
jne 0x41fabc
test byte [edi + 0x18], 4
jne 0x41fabc
mov dword [eax + 8], edi
cmp dword [ebx + 0x78], 0
jne 0x41fb13
mov eax, dword [ebx + 0xdc]
cmp dword [eax + 0xc], 0
jne 0x41fb13
mov al, byte [ebx + 0xf]
cmp al, 6
je 0x41fb0e
test al, al
je 0x41fb0e
cmp al, 2
jb 0x41fafc
mov eax, dword [0x4de2b4]
test eax, eax
je 0x41fae8
call eax
mov eax, ebx
call fcn.00411da0
mov eax, dword [0x4de2b8]
test eax, eax
je 0x41fb0e
call eax
jmp 0x41fb0e
cmp byte [ebx + 4], 0
jne 0x41fb0e
push 0
push 0
call fcn.0040e380
add esp, 8
call fcn.0040e220
mov ecx, dword [esp + 0x48]
add dword [esp + 0x18], ecx
mov edx, dword [esp + 0x4c]
adc dword [esp + 0x1c], edx
test esi, esi
je 0x41f980
jmp 0x41fca6
test esi, esi
jne 0x41fca6
mov esi, dword [esp + 0x28]
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
lea ecx, [esp + 0x48]
push ecx
push esi
call edx
add esp, 8
test eax, eax
jne 0x41fb77
mov ecx, dword [esp + 0x44]
cmp dword [esp + 0x4c], ecx
jl 0x41fb77
jg 0x41fb66
mov edx, dword [esp + 0x48]
cmp edx, dword [esp + 0x40]
jbe 0x41fb77
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
push ecx
mov ecx, dword [esp + 0x44]
push ecx
push esi
call edx
add esp, 0xc
mov esi, eax
test eax, eax
jne 0x41fca6
mov esi, dword [esp + 0x24]
mov ecx, dword [esi + 0x3c]
cmp dword [ecx], eax
je 0x41fba8
mov eax, dword [ecx]
push 0
push 0x15
push ecx
mov ecx, dword [eax + 0x28]
call ecx
add esp, 0xc
cmp eax, 0xc
jne 0x41fba4
xor eax, eax
jmp 0x41fba8
test eax, eax
jne 0x41fbd3
cmp byte [esi + 7], 0
jne 0x41fbd3
movzx ecx, byte [esi + 0xb]
mov eax, dword [esi + 0x3c]
mov edx, dword [eax]
push ecx
push eax
mov eax, dword [edx + 0x14]
call eax
jmp 0x41fbd0
mov eax, dword [esp + 0x24]
push 0
push 0
mov dword [eax + 0x18], edi
call fcn.00411bd0
add esp, 8
mov esi, eax
test esi, esi
jne 0x41fca6
mov ecx, dword [ebp + 8]
mov edi, dword [ecx + 4]
cmp byte [edi + 8], al
je 0x41fca1
call fcn.00414f50
cmp byte [edi + 8], 2
jne 0x41fc79
mov esi, dword [edi + 4]
mov ebx, dword [esi]
mov eax, dword [ebx + 0x28]
mov dword [esp + 0x3c], esi
test eax, eax
jne 0x41fd33
cmp byte [ebx + 0xf], 2
jne 0x41fd0b
cmp byte [ebx + 4], al
je 0x41fd0b
cmp byte [ebx + 5], 1
jne 0x41fd0b
mov byte [ebx + 0xf], 1
mov eax, dword [esi + 0x3c]
mov byte [esi + 0x14], 1
mov dword [esp + 0x34], eax
test eax, eax
je 0x41fc72
cmp dword [eax + 8], 0
je 0x41fc69
lea esi, [eax + 0xc]
mov ebx, 0x7d
lea ecx, [ecx]
mov ecx, dword [esi]
push ecx
call fcn.0040b8a0
add esp, 4
add esi, 4
dec ebx
jne 0x41fc50
mov esi, dword [esp + 0x3c]
mov eax, dword [esp + 0x34]
push eax
call fcn.00404170
add esp, 4
mov dword [esi + 0x3c], 0
call fcn.00418710
cmp byte [edi + 9], 0
je 0x41fca1
dec dword [edi + 0xc]
jne 0x41fca1
mov edx, dword [edi + 4]
mov eax, dword [edx + 0x38]
test eax, eax
je 0x41fc9d
push eax
call dword [0x4d777c]
add esp, 4
mov byte [edi + 0xa], 0
mov esi, 0x65
cmp dword [esp + 0x38], 0
je 0x41fe14
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x18]
push 0
call fcn.00418660
mov edi, dword [edi + 0x18]
add esp, 4
cmp byte [edi + 8], 0
je 0x41fe14
call fcn.00414f50
cmp byte [edi + 8], 2
jne 0x41fdec
mov ecx, dword [edi + 4]
mov ebx, dword [ecx]
mov eax, dword [ebx + 0x28]
mov dword [esp + 0x30], ecx
test eax, eax
jne 0x41fdf1
cmp byte [ebx + 0xf], 2
jne 0x41fd67
cmp byte [ebx + 4], al
je 0x41fd67
cmp byte [ebx + 5], 1
jne 0x41fd67
mov byte [ebx + 0xf], 1
jmp 0x41fd97
movzx edx, byte [ebx + 0x12]
push 1
push edx
call fcn.0040e380
mov ecx, eax
and ecx, 0xff
add esp, 8
cmp ecx, 0xd
je 0x41fd2c
cmp ecx, 0xa
jne 0x41fd33
mov dword [ebx + 0x28], eax
mov byte [ebx + 0xf], 6
mov ebx, eax
test ebx, ebx
je 0x41fc30
cmp byte [edi + 9], 0
je 0x41fd60
dec dword [edi + 0xc]
jne 0x41fd60
mov eax, dword [edi + 4]
mov eax, dword [eax + 0x38]
test eax, eax
je 0x41fd5c
push eax
call dword [0x4d777c]
add esp, 4
mov byte [edi + 0xa], 0
mov esi, ebx
jmp 0x41fca6
movzx eax, byte [ebx + 0x12]
push 1
push eax
call fcn.0040e380
mov ecx, eax
and ecx, 0xff
add esp, 8
cmp ecx, 0xd
je 0x41fd88
cmp ecx, 0xa
jne 0x41fd8f
mov dword [ebx + 0x28], eax
mov byte [ebx + 0xf], 6
mov ecx, dword [esp + 0x30]
test eax, eax
jne 0x41fdf1
mov eax, dword [ecx + 0x3c]
mov byte [ecx + 0x14], 1
mov dword [esp + 0x34], eax
test eax, eax
je 0x41fde5
cmp dword [eax + 8], 0
je 0x41fdd4
mov ebx, eax
add ebx, 0xc
mov dword [esp + 0x38], 0x7d
lea esp, [esp]
mov edx, dword [ebx]
push edx
call fcn.0040b8a0
add esp, 4
add ebx, 4
dec dword [esp + 0x38]
jne 0x41fdc0
mov eax, dword [esp + 0x34]
push eax
call fcn.00404170
mov ecx, dword [esp + 0x34]
add esp, 4
mov dword [ecx + 0x3c], 0
call fcn.00418710
cmp byte [edi + 9], 0
je 0x41fe14
dec dword [edi + 0xc]
jne 0x41fe14
mov ecx, dword [edi + 4]
mov eax, dword [ecx + 0x38]
test eax, eax
je 0x41fe10
push eax
call dword [0x4d777c]
add esp, 4
mov byte [edi + 0xa], 0
cmp esi, 0xc0a
jne 0x41fe21
mov esi, 7
mov edx, dword [ebp + 8]
mov dword [edx + 0x1c], esi
mov ebx, edx
mov eax, dword [ebx]
test eax, eax
je 0x41fe40
mov eax, dword [eax + 0xc]
test eax, eax
je 0x41fe40
push eax
call dword [0x4d777c]
add esp, 4
mov edi, dword [ebx + 0x18]
cmp byte [edi + 9], 0
je 0x41fe66
dec dword [edi + 0xc]
jne 0x41fe66
mov eax, dword [edi + 4]
mov eax, dword [eax + 0x38]
test eax, eax
je 0x41fe62
push eax
call dword [0x4d777c]
add esp, 4
mov byte [edi + 0xa], 0
mov ecx, dword [ebx + 0x14]
mov eax, dword [ecx + 0xc]
test eax, eax
je 0x41fe7a
push eax
call dword [0x4d777c]
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret