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

Disassembly:
sub esp, 0x1ec
push ebx
push ebp
mov ebp, dword [esp + 0x200]
push esi
xor esi, esi
push edi
mov edi, dword [esp + 0x204]
lea ecx, [esp + 0x60]
mov dword [esp + 0x70], esi
mov dword [esp + 0x5c], esi
call fcn.0040c060
lea ecx, [esp + 0x34]
call fcn.0040c060
lea ecx, [esp + 0x4c]
call fcn.0040c060
mov ebx, 1
add dword [ebp], ebx
mov eax, dword [ebp]
mov ecx, dword [edi + 4]
mov dword [esp + 0x20], esi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], esi
mov ecx, dword [ecx + eax*4]
mov dword [esp + 0x74], esi
mov dword [esp + 0x18], esi
cmp word [ecx + 8], si
jne 0x47f77e
mov edx, dword [ecx]
sub edx, 0x1c
je 0x47f773
sub edx, ebx
jne 0x47fd54
mov dword [esp + 0x20c], 2
jmp 0x47f77a
mov dword [esp + 0x20c], ebx
inc eax
mov dword [ebp], eax
mov eax, dword [edi + 4]
mov ecx, dword [ebp]
mov edx, dword [eax + ecx*4]
cmp word [edx + 8], 0x33
jne 0x47fd4b
mov ecx, dword [ebp]
mov edx, dword [eax + ecx*4]
mov eax, dword [edx]
push eax
lea esi, [esp + 0x38]
mov byte [esp + 0x23], 1
call fcn.0040df50
lea ecx, [esp + 0x5c]
push ecx
mov ecx, dword [esp + 0x210]
lea edx, [esp + 0x78]
push edx
call fcn.0040c3e0
mov eax, dword [esp + 0x74]
test eax, eax
jne 0x47f8d0
push 0xa
push 8
lea eax, [esp + 0x180]
push eax
call fcn.00443e70
push eax
call fcn.00415b78
add esp, 0x10
lea ecx, [esp + 0x178]
push ecx
lea eax, [esp + 0x50]
call fcn.004021e0
push 0x2e
lea eax, [esp + 0x50]
call fcn.00403470
mov edx, dword [ebp]
mov eax, dword [edi + 4]
mov ecx, dword [eax + edx*4]
mov edx, dword [ecx]
push edx
lea eax, [esp + 0x50]
call fcn.0040c140
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x1c]
push ecx
mov ecx, 0x10
lea esi, [esp + 0x54]
call fcn.0040c3e0
mov esi, dword [esp + 0x18]
test esi, esi
jne 0x47f885
mov edi, 0x4848e8
lea ebx, [esp + 0x20]
call fcn.0040e6d0
mov ecx, dword [esp + 0x5c]
lea eax, [esi + 0x10]
mov edx, ebx
lea esi, [esp + 0x4c]
call fcn.004019e0
lea edx, [esp + 0x5c]
push edx
lea eax, [esp + 0x1c]
push eax
mov ecx, 0x10
call fcn.0040c3e0
cmp dword [esp + 0x18], 0
je 0x47fd68
mov edi, dword [esp + 0x204]
mov esi, dword [esp + 0x18]
mov byte [esp + 0x1f], 0
push 0x4a7cdc
call fcn.0043423f
test al, al
je 0x47f8a2
push 2
push 0x400
push esi
lea ecx, [esp + 0x40]
push ecx
jmp 0x47f8af
push 1
push 0x400
push esi
lea edx, [esp + 0x40]
push edx
call fcn.0045ee98
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x78]
push ecx
mov ecx, dword [esp + 0x214]
lea esi, [esp + 0x3c]
call fcn.0040c3e0
jmp 0x47f8f0
cmp dword [esp + 0x5c], 0x400
jne 0x47fe40
push eax
call fcn.004355fd
mov dword [esp + 0x18], eax
test eax, eax
je 0x47fe40
inc dword [ebp]
mov eax, dword [ebp]
mov edx, dword [edi + 4]
mov eax, dword [edx + eax*4]
cmp word [eax + 8], 0x4e
jne 0x47faab
xor ebx, ebx
lea ebx, [ebx]
inc dword [ebp]
mov eax, dword [ebp]
mov ecx, dword [edi + 4]
mov edx, dword [ecx + eax*4]
movsx eax, word [edx + 0xa]
push 0xffffffffffffffff
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x208]
push ebp
push edi
mov dword [esp + 0x24], eax
call fcn.0040ab50
test eax, eax
jne 0x47fd8c
lea ecx, [esp + 0x20]
call fcn.0040c760
test eax, eax
jle 0x47fda0
mov eax, dword [ebp]
mov edx, dword [edi + 4]
mov ecx, dword [edx + eax*4]
cmp word [ecx + 8], 0x4f
jne 0x47fdb4
inc eax
lea ecx, [esp + 0x20]
mov dword [ebp], eax
call fcn.0040c760
mov edx, dword [ebp]
mov dword [esp + ebx*4 + 0x78], eax
mov eax, dword [edi + 4]
mov ecx, dword [eax + edx*4]
inc ebx
cmp word [ecx + 8], 0x4e
mov dword [esp + 0x70], ebx
je 0x47f90f
cmp ebx, 1
jl 0x47fdc0
mov esi, dword [esp + 0x18]
push esi
call fcn.00442fa3
test al, al
je 0x47fa54
push 0
push esi
call fcn.004354dd
cmp eax, ebx
jne 0x47fa54
xor edx, edx
test ebx, ebx
jle 0x47faab
lea eax, [edx + 1]
push eax
push esi
mov dword [esp + 0x50], eax
call fcn.004354dd
cmp eax, dword [esp + edx*4 + 0x78]
jne 0x47f9e1
mov edx, dword [esp + 0x48]
cmp edx, ebx
jl 0x47f9c0
jmp 0x47faab
cmp edx, ebx
jge 0x47faab
lea edx, [esp + 0x20]
push edx
call fcn.0045e85e
mov dword [esp + 0x10], 0
lea esp, [esp]
mov eax, dword [esp + 0x10]
mov esi, dword [esp + eax*4 + 0x78]
lea edx, [esp + 0x20]
call fcn.0040d0f0
test al, al
je 0x47fdd4
mov eax, dword [esp + 0x10]
inc eax
cmp eax, ebx
mov dword [esp + 0x10], eax
jl 0x47f9ff
push 0
mov eax, edx
call fcn.0040e7e0
add esp, 4
test al, al
jne 0x47fde5
mov ebx, dword [esp + 0x18]
push ebx
lea ecx, [esp + 0x24]
push ecx
call fcn.00476958
lea edx, [esp + 0x20]
push edx
call fcn.00409210
jmp 0x47faab
push esi
call fcn.0045e85e
mov dword [esp + 0x10], 0
test ebx, ebx
jle 0x47fa97
jmp 0x47fa6f
mov eax, dword [esp + 0x10]
mov esi, dword [esp + eax*4 + 0x78]
mov edx, dword [esp + 0x18]
call fcn.0040d0f0
test al, al
je 0x47fdf1
mov eax, dword [esp + 0x10]
inc eax
cmp eax, ebx
mov dword [esp + 0x10], eax
jl 0x47fa6f
mov esi, edx
push 0
mov eax, esi
call fcn.0040e7e0
add esp, 4
test al, al
je 0x47fe02
mov eax, dword [ebp]
mov ecx, dword [edi + 4]
mov edx, dword [ecx + eax*4]
cmp word [edx + 8], 0x41
jne 0x47fd12
cmp byte [esp + 0x1f], 0
lea esi, [eax + 1]
mov dword [ebp], esi
mov ebx, dword [edi + 4]
mov eax, dword [ebx + esi*4]
mov ecx, dword [esp + 0x60]
pushal
and al, 0x51
call 0x7454582f
add byte [esi + 0xd], al
inc edi
add byte [eax + 0xd], bl
insd dword es:[edi], dx
mov dword [esp + ebx*4 + 0x78], eax
pop eax
or eax, 0x9c44896d
js 0x47fb40
jg 0x47faee
mov ecx, dword [eax + edx*4]
je 0x47fb13
and al, 0x20
inc esp
and al, 0x58
and byte [esp + 0x58], al
mov ecx, dword [edi*8 + 0x4865a8]
inc edi
cmp edi, 7
lea esi, [esi + ecx + 1]
jl 0x47fad3
mov eax, dword [esp + 0x10]
inc eax
cmp esp, dword [ebx + ecx*4]
lea esi, [esi + ecx + 1]
jl 0x47fae1
mov eax, dword [esp + 0x10]
inc esp
and al, 0x10
inc eax
cmp esp, dword [ebx + ecx*4]
lea edi, [edx + 0x78]
inc eax
cmp esp, dword [ebx + ecx*4]
lea edi, [ecx + 8]
dec esi
mov dword [eax + edi], esi
pop ebp
jne 0x47fdea
add esi, 0xfffffffe
mov dword [esp + 0x3c], 1
mov dword [esp + 0x44], esi
lea esp, [esp]
mov edx, dword [esp + 0x44]
push edx
and al, 0
add byte [eax], al
add byte [ebx + 0x52442454], cl
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x24]
push edx
push edi
call fcn.00460ed4
test al, al
je 0x47fdea
lea eax, [esp + 0x18]
push 0x484a5c
push eax
call fcn.00445975
add esp, 8
test al, al
je 0x47fb96
or dword [ebp + 0x88], 1
lea ecx, [esp + 0x28]
push ecx
lea esi, [ebp + 0x8c]
call fcn.0040df50
and al, 0x20
push eax
lea ecx, [esp + 0x5e]
xor al, al
pop ebx
ret 0xbd04
add byte [eax], al
add bh, al
inc esp
and al, 0x54
add byte [eax], al
add byte [eax], al
adc al, byte [ebx + eax*8]
dec eax
add eax, dword [eax]
cmp eax, ebx
jne 0x47fdc9
mov ecx, dword [eax + 0x18]
call 0x41d34dea
add al, 3
ret
sub al, 2
add bl, dl
pop esp
adc eax, esi
mov eax, dword [ebx + edi - 0x32]
cmp ecx, esi
adc eax, 0x10c28cd9
lea eax, [esp + 0x14]
inc esp
and al, 0x14
push eax
push edi
call fcn.00410eda
cmp eax, 0xffffffff
add al, 0
inc dword [eax + eax]
add byte [ebx + 0x578b0045], cl
add al, 0x8b
or dword [ebx - 0x298fadef], ecx
add al, byte [ecx]
sbb al, 0x1a
add byte [eax], al
invalid
push edx
add byte [eax], al
add byte [eax], al
adc al, byte [ebx + eax*8]
add byte [edx], dl
add al, 0xc3
dec eax
add eax, dword [eax]
cmp eax, dword [eax]
push 0x402
and al, 1
add byte [eax], al
push 0
push 0
lea ecx, [esp + 0x28]
push ecx
call dword [0x3482690]
test edi, esi
add byte [ebp + 0x27], al
std
invalid
inc dword [eax]
jne 0xf48fd18
add byte [eax], al
add ch, ch
push ebx
inc esp
cmp edi, dword [esi + esi*4 + 0x75]
jne 0x47fd8b
add byte [ebx + 0x755b1838], al
lea eax, [esi]
cmp dword [eax], 0x18
pop ebx
jne 0x47fd5c
push es
add bh, bh
push cs
mov dword [esi + 4], edi
jle 0x47fdda
mov dword [esi], esp
add esp, 4
add byte [eax], al
add byte [ecx + 0x5250247c], cl
add al, 0
add byte [eax], al
mov dword [esp + 0x50], edi
push edx
add byte [eax], al
add byte [edx], dl
add al, 0xc3
dec eax
add eax, dword [eax]
cmp eax, dword [eax]
push 0x83b70402
mov bh, 0x83
push eax
call fcn.00451d4b
push es
jl 0x47fd89
dec esp
and al, 0x20
push ecx
push ebx
or dword [esp + eax*2], edi
cmp al, 0x44
inc esi
add dl, byte [eax]
add byte [ebx + 0x6e5338ec], al
pcmpgtb mm1, qword [eax]
push 0xaf3d7784
xor ebp, dword [eax + 0x4e0e244e]
cmp esi, edi
jle 0x47fda2
in al, dx
dec eax
test dword [ebx], eax
add eax, dword [ebx]
add dword [ebx], eax
add eax, dword [ebx]
add eax, dword [eax]
push edx
mov dword [ebp + esi*2 + 0x4c], edi
and al, 0x10
push edi
lea ecx, [esp + ecx*8]
push esp
adc al, 0xfc
cmp dword [eax - 0x49], ebx
adc dword [eax - 0x18], 0x47
inc edi
adc dword [0x6e2a], eax
mov eax, dword [esp + 0xc]
dec esi
add al, 0x50
call 0xbc4d1231
push edx
add al, 0x88
and al, 0x30
mov edx, dword [esp + 0x2c]
push 0x3a
dec esp
and al, 0x74
push ecx
call dword [0x1c0b3305]
sbb al, byte [eax]
add byte [ebp + 0x4c8d7c44], cl