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

Disassembly:
sub esp, 0x3c
push ebx
mov ebx, dword [esp + 0x44]
mov eax, dword [ebx + 0x14]
mov eax, dword [eax + 0xc]
push ebp
push esi
test eax, eax
je 0x470aae
push eax
call dword [0x4c910c]
add esp, 4
push edi
mov edi, dword [ebx + 0x18]
cmp byte [edi + 9], 0
je 0x470ac6
inc dword [edi + 0xc]
cmp byte [edi + 0xa], 0
jne 0x470ac6
call fcn.00421320
mov eax, dword [ebx]
test eax, eax
je 0x470add
mov eax, dword [eax + 0xc]
test eax, eax
je 0x470add
push eax
call dword [0x4c910c]
add esp, 4
mov ebp, dword [ebx + 0x1c]
test ebp, ebp
je 0x470af2
cmp ebp, 5
je 0x470af2
cmp ebp, 6
jne 0x4715a8
mov esi, dword [ebx + 0x18]
mov ecx, dword [esi + 4]
mov edx, dword [ecx]
mov eax, dword [ebx + 4]
mov ecx, dword [eax + 4]
xor ebp, ebp
mov dword [esp + 0x2c], edx
mov edx, dword [ecx]
mov dword [esp + 0x14], edx
mov dword [esp + 0x30], ebp
cmp dword [ebx], ebp
je 0x470b27
mov eax, dword [esi + 4]
cmp byte [eax + 0x14], 2
jne 0x470b27
mov ebp, 5
jmp 0x470c81
cmp byte [esi + 8], 0
jne 0x470c81
mov ebp, dword [esi + 4]
xor ebx, ebx
cmp byte [esi + 9], bl
je 0x470b4a
inc dword [esi + 0xc]
cmp byte [esi + 0xa], bl
jne 0x470b4a
mov edi, esi
call fcn.00421320
mov al, byte [esi + 8]
cmp al, 2
je 0x470c62
cmp al, 1
je 0x470c62
movzx ecx, word [ebp + 0x16]
test cl, cl
jns 0x470b76
mov edx, dword [ebp + 0x4c]
cmp dword [edx], ebx
je 0x470b76
mov ebx, 0x106
jmp 0x470c62
mov eax, dword [esi + 4]
cmp byte [esi + 9], bl
je 0x470bb7
cmp dword [eax + 0x4c], esi
je 0x470b93
test byte [eax + 0x16], 0x40
je 0x470b93
mov ebx, 0x106
jmp 0x470c62
mov eax, dword [eax + 0x48]
test eax, eax
je 0x470bb7
lea ebx, [ebx]
cmp dword [eax], esi
je 0x470bb0
cmp dword [eax + 4], 1
jne 0x470bb0
cmp byte [eax + 8], 1
jne 0x470b6c
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x470ba0
mov eax, ecx
xor ebx, ebx
and eax, 0xffef
mov word [ebp + 0x16], ax
cmp dword [ebp + 0x2c], ebx
jne 0x470bd0
or eax, 0x10
mov word [ebp + 0x16], ax
cmp dword [ebp + 0xc], 0
jne 0x470be5
mov eax, ebp
call fcn.00470100
mov ebx, eax
test ebx, ebx
je 0x470bd0
jmp 0x470be9
test ebx, ebx
je 0x470c1b
cmp byte [ebp + 0x14], 0
jne 0x470c1b
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x470c1b
mov dword [ebp + 0xc], 0
mov eax, dword [eax + 0x48]
mov edi, dword [eax + 0x14]
call fcn.0041eca0
mov eax, dword [edi + 0xd4]
cmp dword [eax + 0xc], 0
jne 0x470c1b
mov eax, edi
call fcn.0046b290
cmp bl, 5
jne 0x470c33
cmp byte [ebp + 0x14], 0
jne 0x470c33
push ebp
call fcn.0042ccc0
add esp, 4
test eax, eax
jne 0x470bd0
test ebx, ebx
jne 0x470c62
cmp byte [esi + 8], bl
jne 0x470c54
inc dword [ebp + 0x28]
cmp byte [esi + 9], bl
je 0x470c54
mov byte [esi + 0x28], 1
mov ecx, dword [ebp + 0x48]
lea edx, [esi + 0x20]
mov dword [esi + 0x2c], ecx
mov dword [ebp + 0x48], edx
mov byte [esi + 8], 1
cmp byte [ebp + 0x14], 1
jae 0x470c62
mov byte [ebp + 0x14], 1
cmp byte [esi + 9], 0
je 0x470c73
add dword [esi + 0xc], 0xffffffff
jne 0x470c73
call fcn.00421300
mov ebp, ebx
mov ebx, dword [esp + 0x50]
mov dword [esp + 0x30], 1
cmp dword [ebx + 0xc], 0
jne 0x470cac
test ebp, ebp
jne 0x470ce2
mov eax, dword [ebx + 0x18]
mov ecx, dword [eax + 4]
mov eax, dword [ecx + 0x20]
push ebp
push 0xffffffffffffffff
push eax
mov eax, dword [ebx + 4]
call fcn.0046d7c0
add esp, 0xc
cmp eax, 7
jne 0x470cb0
mov ebp, eax
jmp 0x470ce2
test ebp, ebp
jne 0x470ce2
cmp dword [ebx + 0xc], 0
jne 0x470ce2
mov edx, dword [ebx + 4]
push 2
push edx
call fcn.004703c0
mov ebp, eax
add esp, 8
test ebp, ebp
jne 0x470ce2
lea eax, [ebx + 8]
push eax
mov eax, dword [ebx + 4]
push 1
mov dword [ebx + 0xc], 1
call fcn.0042d100
add esp, 8
mov eax, dword [ebx + 4]
mov eax, dword [eax + 4]
mov esi, dword [eax + 0x20]
mov ecx, dword [ebx + 0x18]
mov eax, dword [eax]
mov ecx, dword [ecx + 4]
movzx eax, byte [eax + 5]
mov edx, dword [ecx + 0x20]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], esi
mov dword [esp + 0x34], eax
test ebp, ebp
jne 0x470d16
cmp eax, 5
jne 0x470d16
cmp edx, esi
je 0x470d16
lea ebp, [eax + 3]
mov ecx, dword [ecx + 0x2c]
mov edi, dword [esp + 0x54]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x20], 0
lea esp, [esp]
test edi, edi
jl 0x470d3a
cmp dword [esp + 0x20], edi
jge 0x470db0
mov esi, dword [ebx + 0x10]
mov ecx, dword [esp + 0x10]
cmp esi, ecx
ja 0x470db4
test ebp, ebp
jne 0x470df2
mov edx, dword [ebx + 0x18]
mov ecx, dword [edx + 4]
mov eax, dword [0x4c91c8]
xor edx, edx
div dword [ecx + 0x20]
inc eax
cmp esi, eax
je 0x470da2
mov eax, dword [esp + 0x2c]
push 2
lea edx, [esp + 0x28]
push edx
push esi
push eax
mov eax, dword [eax + 0xcc]
call eax
mov ebp, eax
add esp, 0x10
test ebp, ebp
jne 0x470da2
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx + 4]
push ebp
push eax
push esi
push ebx
call fcn.00465cc0
mov ebp, eax
mov eax, dword [esp + 0x34]
add esp, 0x10
test eax, eax
je 0x470da2
call fcn.00420810
mov eax, 1
add dword [ebx + 0x10], eax
add dword [esp + 0x20], eax
jmp 0x470d30
mov ecx, dword [esp + 0x10]
test ebp, ebp
jne 0x470df2
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 0x470dff
cmp dword [ebx + 0x28], ebp
jne 0x4713bd
mov eax, dword [ebx + 0x18]
mov ecx, dword [eax + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 0x58]
add eax, 0x58
mov dword [ebx + 0x2c], edx
mov dword [eax], ebx
mov dword [ebx + 0x28], 1
jmp 0x4713bd
cmp ebp, 0x65
jne 0x4713bd
mov ecx, dword [esp + 0x10]
test ecx, ecx
jne 0x470e58
mov esi, dword [ebx + 4]
cmp byte [esi + 9], cl
je 0x470e1a
inc dword [esi + 0xc]
cmp byte [esi + 0xa], cl
jne 0x470e1a
mov edi, esi
call fcn.00421320
mov eax, dword [esi + 4]
mov dword [eax + 0x2c], 0
mov ecx, dword [esi + 4]
push ecx
call fcn.00462440
add esp, 4
cmp byte [esi + 9], 0
mov ebp, eax
je 0x470e43
add dword [esi + 0xc], 0xffffffff
jne 0x470e43
call fcn.00421300
mov dword [esp + 0x10], 1
test ebp, ebp
je 0x470e58
cmp ebp, 0x65
jne 0x470f0d
mov edi, dword [ebx + 8]
mov esi, dword [ebx + 4]
mov ebp, dword [esi + 4]
inc edi
cmp byte [esi + 9], 0
mov dword [esp + 0x24], edi
je 0x470e80
inc dword [esi + 0xc]
cmp byte [esi + 0xa], 0
jne 0x470e80
mov edi, esi
call fcn.00421320
mov edi, dword [esp + 0x24]
mov eax, dword [ebp + 0xc]
mov ebp, dword [eax + 0x48]
test byte [ebp + 0x1c], 4
mov edx, dword [eax + 0x38]
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x24], edx
je 0x470ec2
mov ecx, dword [eax + 0x18]
cmp ecx, dword [ebp + 0x18]
jb 0x470ec2
cmp dword [eax + 0x60], 0
je 0x470ebe
mov ecx, ebp
call fcn.0041fb20
test eax, eax
je 0x470eba
push ebp
call fcn.00431f60
add esp, 4
jmp 0x470eed
xor eax, eax
jmp 0x470eed
xor ebp, ebp
jmp 0x470ef3
mov ecx, dword [eax + 0x28]
test ecx, ecx
je 0x470ecd
mov ebp, ecx
jmp 0x470eef
mov edx, dword [eax + 0x94]
cmp edx, dword [eax + 0x98]
jbe 0x470ee6
push ebp
call fcn.004612b0
add esp, 4
jmp 0x470eed
mov eax, ebp
call fcn.004611f0
mov ebp, eax
test ebp, ebp
jne 0x470efc
mov eax, dword [esp + 0x24]
bswap edi
mov dword [eax + 0x28], edi
cmp byte [esi + 9], 0
je 0x470f0d
add dword [esi + 0xc], 0xffffffff
jne 0x470f0d
call fcn.00421300
test ebp, ebp
jne 0x4713bd
mov eax, dword [ebx]
test eax, eax
je 0x470f20
call fcn.0043ae20
cmp dword [esp + 0x34], 5
jne 0x470f3e
mov eax, dword [ebx + 4]
push 2
call fcn.00470640
mov ebp, eax
add esp, 4
test ebp, ebp
jne 0x4713bd
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
cmp edi, ecx
jge 0x470f7a
mov eax, ecx
cdq
idiv edi
mov edx, dword [esp + 0x10]
mov ecx, eax
lea eax, [ecx + edx - 1]
cdq
idiv ecx
xor edx, edx
mov esi, eax
mov eax, dword [ebx + 4]
mov ecx, dword [eax + 4]
mov eax, dword [0x4c91c8]
div dword [ecx + 0x20]
mov ecx, dword [esp + 0x18]
inc eax
cmp esi, eax
jne 0x470f86
dec esi
jmp 0x470f86
mov eax, edi
cdq
idiv ecx
mov esi, eax
imul esi, dword [esp + 0x10]
cmp edi, ecx
jge 0x47120d
mov eax, dword [esp + 0x1c]
cdq
mov ecx, eax
mov eax, dword [esp + 0x10]
mov edi, edx
push edi
cdq
push ecx
push edx
push eax
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], edi
call fcn.00497c80
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x40], edx
mov edx, dword [eax + 0x3c]
mov eax, dword [eax + 0x18]
mov dword [esp + 0x10], edx
mov dword [esp + 0x34], eax
mov edi, esi
lea esp, [esp]
cmp edi, dword [esp + 0x34]
ja 0x471028
mov ecx, dword [ebx + 4]
mov ecx, dword [ecx + 4]
mov eax, dword [0x4c91c8]
xor edx, edx
div dword [ecx + 0x20]
inc eax
cmp edi, eax
je 0x471021
mov eax, dword [esp + 0x14]
push 0
lea edx, [esp + 0x28]
push edx
push edi
push eax
mov eax, dword [eax + 0xcc]
call eax
mov ebp, eax
add esp, 0x10
test ebp, ebp
jne 0x471021
mov esi, dword [esp + 0x24]
call fcn.004614d0
mov ebp, eax
mov eax, dword [esp + 0x24]
test eax, eax
je 0x471021
call fcn.00420810
inc edi
test ebp, ebp
je 0x470fd0
jmp 0x47103d
test ebp, ebp
jne 0x47103d
mov eax, dword [esp + 0x14]
push 1
push ebp
call fcn.00467df0
add esp, 8
mov ebp, eax
mov ecx, dword [esp + 0x18]
mov edx, dword [0x4c91c8]
lea eax, [edx + ecx]
mov ecx, dword [esp + 0x40]
cdq
cmp edx, ecx
jg 0x471061
jl 0x47105b
cmp eax, dword [esp + 0x3c]
jae 0x471061
mov dword [esp + 0x38], edx
jmp 0x471069
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x38], ecx
mov edx, dword [esp + 0x1c]
mov ecx, dword [0x4c91c8]
mov dword [esp + 0x34], eax
lea eax, [ecx + edx]
cdq
mov esi, edx
mov edi, eax
mov dword [esp + 0x28], esi
test ebp, ebp
jne 0x4713bd
jmp 0x471090
cmp esi, dword [esp + 0x38]
jg 0x471174
jl 0x4710a6
cmp edi, dword [esp + 0x34]
jae 0x471174
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
push 0
lea eax, [esp + 0x24]
push eax
push ecx
push edx
push esi
push edi
mov dword [esp + 0x38], 0
call fcn.004970e0
inc eax
push eax
mov eax, dword [esp + 0x38]
push eax
mov eax, dword [eax + 0xcc]
call eax
mov ebp, eax
add esp, 0x10
test ebp, ebp
jne 0x4710fe
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 4]
mov ecx, dword [esp + 0x10]
mov ebp, dword [esp + 0x1c]
mov edx, dword [ecx]
push esi
push edi
push ebp
push eax
mov eax, dword [edx + 0xc]
push ecx
call eax
add esp, 0x14
mov ebp, eax
mov eax, dword [esp + 0x20]
mov ecx, eax
test eax, eax
je 0x47115b
test byte [eax + 0x1c], 0x20
je 0x471156
mov eax, dword [eax + 0x14]
dec dword [eax + 0x78]
mov edx, dword [eax + 0x88]
mov dword [ecx + 0x10], edx
mov esi, dword [eax + 0x3c]
mov dword [eax + 0x88], ecx
mov edx, dword [ecx + 4]
mov eax, dword [eax + 0x98]
mov ecx, dword [ecx + 0x18]
mov ebx, dword [esi]
push edx
cdq
push edx
push eax
dec ecx
push 0
push ecx
call fcn.00497c80
push edx
mov edx, dword [ebx + 0x48]
push eax
push esi
call edx
mov esi, dword [esp + 0x38]
mov ebx, dword [esp + 0x60]
add esp, 0x10
jmp 0x47115b
call fcn.0041eca0
add edi, dword [esp + 0x44]
adc esi, dword [esp + 0x48]
mov dword [esp + 0x28], esi
test ebp, ebp
je 0x471090
jmp 0x4713bd
test ebp, ebp
jne 0x4713bd
mov esi, dword [esp + 0x10]
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
lea ecx, [esp + 0x44]
push ecx
push esi
call edx
add esp, 8
test eax, eax
jne 0x4711bd
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x40]
cmp edx, ecx
jl 0x4711bd
jg 0x4711ac
mov edx, dword [esp + 0x44]
cmp edx, dword [esp + 0x3c]
jbe 0x4711bd
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
push ecx
mov ecx, dword [esp + 0x40]
push ecx
push esi
call edx
add esp, 0xc
mov ebp, eax
test eax, eax
jne 0x4713bd
mov esi, dword [esp + 0x14]
mov eax, dword [esi + 0x3c]
mov ecx, dword [eax]
test ecx, ecx
je 0x4711e5
push ebp
push 0x15
push eax
mov eax, dword [ecx + 0x28]
call eax
add esp, 0xc
cmp eax, 0xc
jne 0x4711e9
xor eax, eax
jmp 0x4711ed
test eax, eax
jne 0x471220
cmp byte [esi + 7], 0
jne 0x471220
movzx eax, byte [esi + 0xa]
mov ecx, dword [esi + 0x3c]
test eax, eax
je 0x471209
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x14]
push ecx
call eax
jmp 0x47121d
xor eax, eax
jmp 0x471220
mov eax, dword [esp + 0x14]
push 0
push 0
mov dword [eax + 0x18], esi
call fcn.00467df0
add esp, 8
mov ebp, eax
test ebp, ebp
jne 0x4713bd
mov esi, dword [ebx + 4]
cmp byte [esi + 8], al
je 0x4713b8
cmp byte [esi + 9], al
je 0x47124a
inc dword [esi + 0xc]
cmp byte [esi + 0xa], al
jne 0x47124a
mov edi, esi
call fcn.00421320
cmp byte [esi + 8], 2
jne 0x4713a0
mov edi, dword [esi + 4]
mov ebp, dword [edi]
mov eax, dword [ebp + 0x28]
mov dword [esp + 0x34], edi
test eax, eax
jne 0x47136e
cmp byte [ebp + 0x10], 2
jne 0x471316
cmp byte [ebp + 4], al
je 0x471316
cmp byte [ebp + 5], 1
jne 0x471316
mov byte [ebp + 0x10], 1
dec dword [esi + 0x14]
mov ebp, dword [edi + 0x3c]
mov byte [edi + 0x14], 1
test ebp, ebp
je 0x471395
cmp dword [ebp + 8], 0
je 0x4712c3
lea edi, [ebp + 0xc]
mov ebx, 0x7d
lea esp, [esp]
mov edx, dword [edi]
push edx
call fcn.0041ead0
add esp, 4
add edi, 4
sub ebx, 1
jne 0x4712b0
cmp dword [0x4c90b0], 0
je 0x47138b
mov eax, dword [0x4d3d78]
test eax, eax
je 0x4712e3
push eax
call dword [0x4c910c]
add esp, 4
push ebp
call dword [0x4c90e8]
sub dword [0x4d3d18], eax
dec dword [0x4d3d3c]
push ebp
call dword [0x4c90e0]
mov eax, dword [0x4d3d78]
add esp, 8
test eax, eax
je 0x471395
push eax
call dword [0x4c9114]
jmp 0x471392
movzx ecx, byte [ebp + 0x13]
inc dword [ebp + 0x64]
push 1
push ecx
push ebp
call fcn.0042b760
mov ecx, eax
and ecx, 0xff
add esp, 0xc
cmp ecx, 0xd
je 0x47133b
cmp ecx, 0xa
jne 0x47136e
mov dword [ebp + 0x28], eax
mov byte [ebp + 0x10], 6
test eax, eax
je 0x471352
mov dword [ebp + 0xcc], 0x4207a0
jmp 0x47136e
cmp byte [ebp + 0x16], 0
je 0x471364
mov dword [ebp + 0xcc], 0x46b610
jmp 0x47136e
mov dword [ebp + 0xcc], fcn.0046b430
mov ebp, eax
test ebp, ebp
je 0x471289
cmp byte [esi + 9], 0
je 0x4713bd
add dword [esi + 0xc], 0xffffffff
jne 0x4713bd
call fcn.00421300
jmp 0x4713bd
push ebp
call dword [0x4c90e0]
add esp, 4
mov eax, dword [esp + 0x34]
mov dword [eax + 0x3c], 0
mov edi, esi
call fcn.0046b7e0
cmp byte [esi + 9], 0
je 0x4713b8
add dword [esi + 0xc], 0xffffffff
jne 0x4713b8
call fcn.00421300
mov ebp, 0x65
cmp dword [esp + 0x30], 0
je 0x471592
mov ecx, dword [esp + 0x50]
mov esi, dword [ecx + 0x18]
cmp byte [esi + 8], 2
jne 0x47142c
cmp byte [esi + 9], 0
mov ebx, dword [esi + 4]
je 0x4713ee
inc dword [esi + 0xc]
cmp byte [esi + 0xa], 0
jne 0x4713ee
mov edi, esi
call fcn.00421320
cmp byte [ebx + 0x11], 0
je 0x4713ff
mov edi, ebx
call fcn.0046a020
test eax, eax
jne 0x47141b
cmp byte [ebx + 0x13], 0
je 0x47140d
mov edx, dword [ebx]
mov eax, dword [ebx + 0x2c]
mov dword [edx + 0x18], eax
mov eax, dword [ebx]
push 0
push 0
call fcn.00467df0
add esp, 8
cmp byte [esi + 9], 0
je 0x47142c
add dword [esi + 0xc], 0xffffffff
jne 0x47142c
call fcn.00421300
mov ecx, dword [esp + 0x50]
mov edi, dword [ecx + 0x18]
cmp byte [edi + 8], 0
je 0x471592
cmp byte [edi + 9], 0
je 0x471451
inc dword [edi + 0xc]
cmp byte [edi + 0xa], 0
jne 0x471451
call fcn.00421320
cmp byte [edi + 8], 2
jne 0x47157a
mov ebx, dword [edi + 4]
mov esi, dword [ebx]
mov eax, dword [esi + 0x28]
mov dword [esp + 0x34], ebx
test eax, eax
jne 0x47157f
cmp byte [esi + 0x10], 2
jne 0x471486
cmp byte [esi + 4], al
je 0x471486
cmp byte [esi + 5], 1
jne 0x471486
mov byte [esi + 0x10], 1
jmp 0x4714e6
movzx edx, byte [esi + 0x13]
inc dword [esi + 0x64]
push 1
push edx
push esi
call fcn.0042b760
mov ecx, eax
and ecx, 0xff
add esp, 0xc
cmp ecx, 0xd
je 0x4714ab
cmp ecx, 0xa
jne 0x4714de
mov dword [esi + 0x28], eax
mov byte [esi + 0x10], 6
test eax, eax
je 0x4714c2
mov dword [esi + 0xcc], 0x4207a0
jmp 0x4714de
cmp byte [esi + 0x16], 0
je 0x4714d4
mov dword [esi + 0xcc], 0x46b610
jmp 0x4714de
mov dword [esi + 0xcc], fcn.0046b430
test eax, eax
jne 0x47157f
dec dword [edi + 0x14]
mov esi, dword [ebx + 0x3c]
mov byte [ebx + 0x14], 1
test esi, esi
je 0x47156f
cmp dword [esi + 8], 0
je 0x47151a
lea ebx, [esi + 0xc]
mov dword [esp + 0x30], 0x7d
mov eax, dword [ebx]
push eax
call fcn.0041ead0
add esp, 4
add ebx, 4
sub dword [esp + 0x30], 1
jne 0x471505
cmp dword [0x4c90b0], 0
je 0x471565
mov eax, dword [0x4d3d78]
test eax, eax
je 0x471536
push eax
call dword [0x4c910c]
add esp, 4
push esi
call dword [0x4c90e8]
sub dword [0x4d3d18], eax
dec dword [0x4d3d3c]
push esi
call dword [0x4c90e0]
mov eax, dword [0x4d3d78]
add esp, 8
test eax, eax
je 0x47156f
push eax
call dword [0x4c9114]
jmp 0x47156c
push esi
call dword [0x4c90e0]
add esp, 4
mov ecx, dword [esp + 0x34]
mov dword [ecx + 0x3c], 0
call fcn.0046b7e0
cmp byte [edi + 9], 0
je 0x471592
add dword [edi + 0xc], 0xffffffff
jne 0x471592
mov esi, edi
call fcn.00421300
cmp ebp, 0xc0a
jne 0x47159f
mov ebp, 7
mov edx, dword [esp + 0x50]
mov dword [edx + 0x1c], ebp
mov ebx, edx
mov eax, dword [ebx]
pop edi
test eax, eax
je 0x4715c0
mov eax, dword [eax + 0xc]
test eax, eax
je 0x4715c0
push eax
call dword [0x4c9114]
add esp, 4
mov esi, dword [ebx + 0x18]
cmp byte [esi + 9], 0
je 0x4715d4
add dword [esi + 0xc], 0xffffffff
jne 0x4715d4
call fcn.00421300
mov eax, dword [ebx + 0x14]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x4715e8
push eax
call dword [0x4c9114]
add esp, 4
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0x3c
ret