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

Disassembly:
push 0xffffffffffffffff
push 0x531a58
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebx
push ebp
push esi
push edi
mov eax, dword [0x59099c]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x8c]
mov esi, dword [esp + 0x90]
xor ebx, ebx
cmp ebp, ebx
jne 0x47efd3
cmp esi, ebx
je 0x47f4c7
cmp dword [esp + 0x88], ebx
je 0x47f4c7
lea ecx, [esp + 0x50]
call fcn.0041f476
mov dword [esp + 0x54], eax
mov byte [eax + 0x29], 1
mov eax, dword [esp + 0x54]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x54]
mov dword [eax], eax
mov eax, dword [esp + 0x54]
mov dword [eax + 8], eax
mov dword [esp + 0x58], ebx
lea ecx, [esp + 0x44]
mov dword [esp + 0x80], ebx
call fcn.0041f476
mov dword [esp + 0x48], eax
mov byte [eax + 0x29], 1
mov eax, dword [esp + 0x48]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x48]
mov dword [eax], eax
mov eax, dword [esp + 0x48]
mov dword [eax + 8], eax
mov dword [esp + 0x4c], ebx
cmp ebp, ebx
mov byte [esp + 0x80], 1
je 0x47f166
cmp dword [ebp], ebx
mov dword [esp + 0x8c], ebx
je 0x47f166
mov esi, ebp
jmp 0x47f060
mov edx, dword [esi]
mov eax, edx
mov dword [esp + 0x74], 7
mov dword [esp + 0x70], ebx
mov word [esp + 0x60], bx
lea edi, [eax + 2]
jmp 0x47f080
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x47f080
sub eax, edi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x64]
call fcn.0040adab
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 0x58]
mov byte [esp + 0x88], 2
call fcn.0041d514
mov edi, 8
cmp dword [esp + 0x74], edi
mov byte [esp + 0x80], 1
jb 0x47f0d5
mov edx, dword [esp + 0x60]
push edx
call fcn.0050b609
add esp, 4
mov esi, dword [esi]
mov eax, esi
mov dword [esp + 0x74], 7
mov dword [esp + 0x70], ebx
mov word [esp + 0x60], bx
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x47f0f0
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [esp + 0x64]
call fcn.0040adab
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x4c]
mov byte [esp + 0x88], 3
call fcn.0041d514
cmp dword [esp + 0x74], edi
mov byte [esp + 0x80], 1
jb 0x47f140
mov edx, dword [esp + 0x60]
push edx
call fcn.0050b609
add esp, 4
mov eax, dword [esp + 0x8c]
add eax, 1
cmp dword [ebp + eax*4], ebx
lea esi, [ebp + eax*4]
mov dword [esp + 0x8c], eax
jne 0x47f060
mov esi, dword [esp + 0x90]
cmp esi, ebx
je 0x47f207
xor edi, edi
cmp dword [esi], ebx
je 0x47f207
mov eax, esi
lea ebx, [ebx]
mov edx, dword [eax]
mov eax, edx
mov dword [esp + 0x74], 7
mov dword [esp + 0x70], ebx
mov word [esp + 0x60], bx
lea esi, [eax + 2]
jmp 0x47f1a0
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x47f1a0
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x64]
call fcn.0040adab
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 0x4c]
mov byte [esp + 0x88], 4
call fcn.0041d514
cmp dword [esp + 0x74], 8
mov byte [esp + 0x80], 1
jb 0x47f1f1
mov edx, dword [esp + 0x60]
push edx
call fcn.0050b609
add esp, 4
mov eax, dword [esp + 0x90]
add edi, 1
cmp dword [eax + edi*4], ebx
lea eax, [eax + edi*4]
jne 0x47f180
mov ecx, dword [esp + 0x88]
mov eax, dword [ecx + 4]
mov edi, dword [eax]
mov ebp, ecx
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], ebp
lea ecx, [ecx]
cmp ebp, ebx
mov edx, dword [esp + 0x88]
mov esi, dword [edx + 4]
je 0x47f232
cmp ebp, edx
je 0x47f237
call fcn.0050bbb1
cmp edi, esi
je 0x47f3a5
cmp ebp, ebx
jne 0x47f248
call fcn.0050bbb1
cmp edi, dword [ebp + 4]
jne 0x47f252
call fcn.0050bbb1
lea esi, [edi + 0xc]
push esi
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x4c]
call fcn.0047d680
mov eax, dword [esp + 0x14]
cmp eax, ebx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x28], ecx
je 0x47f27c
lea edx, [esp + 0x44]
cmp eax, edx
je 0x47f281
call fcn.0050bbb1
mov eax, dword [esp + 0x28]
cmp dword [esp + 0x18], eax
je 0x47f2f0
cmp edi, dword [ebp + 4]
jne 0x47f295
call fcn.0050bbb1
push esi
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x58]
call fcn.0047d680
mov esi, dword [eax]
cmp esi, ebx
mov edi, dword [eax + 4]
mov ebp, dword [esp + 0x54]
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], edi
je 0x47f2c1
lea edx, [esp + 0x50]
cmp esi, edx
je 0x47f2c6
call fcn.0050bbb1
cmp edi, ebp
je 0x47f2da
push edi
push esi
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x5c]
call fcn.0040d4ea
lea ecx, [esp + 0x1c]
call fcn.004228c3
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x1c]
jmp 0x47f220
mov esi, dword [esp + 0x94]
cmp esi, ebx
je 0x47f313
cmp edi, dword [ebp + 4]
jne 0x47f305
call fcn.0050bbb1
push 0xffffffffffffffff
lea eax, [edi + 0xc]
push ebx
push eax
mov ecx, esi
call fcn.0040ad18
mov esi, dword [esp + 0x98]
cmp esi, ebx
je 0x47f32d
cmp edi, dword [ebp + 4]
jne 0x47f328
call fcn.0050bbb1
mov ecx, dword [edi + 0x68]
mov dword [esi], ecx
mov esi, dword [esp + 0x48]
mov edx, dword [esp + 0x48]
mov ecx, dword [edx]
push esi
lea eax, [esp + 0x48]
push eax
mov edx, eax
push ecx
push edx
lea eax, [esp + 0x48]
push eax
mov ecx, edx
mov byte [esp + 0x94], bl
call fcn.0040c285
mov ecx, dword [esp + 0x48]
push ecx
call fcn.0050b609
mov eax, dword [esp + 0x58]
add esp, 4
push eax
lea ecx, [esp + 0x54]
push ecx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov edx, dword [eax]
push edx
mov esi, ecx
push esi
lea edx, [esp + 0x48]
push edx
mov dword [esp + 0x94], 0xffffffff
call fcn.0040c285
mov eax, dword [esp + 0x54]
push eax
call fcn.0050b609
add esp, 4
mov eax, 0x80000001
jmp 0x47f4c9
cmp dword [esp + 0x58], ebx
je 0x47f45d
mov edi, dword [esp + 0x94]
cmp edi, ebx
je 0x47f3d7
mov eax, dword [esp + 0x54]
mov esi, dword [eax]
cmp esi, eax
jne 0x47f3c9
call fcn.0050bbb1
push 0xffffffffffffffff
lea eax, [esi + 0xc]
push ebx
push eax
mov ecx, edi
call fcn.0040ad18
mov eax, dword [esp + 0x98]
cmp eax, ebx
je 0x47f3ee
mov ecx, dword [esp + 0x88]
mov edx, dword [ecx + 0x40]
mov dword [eax], edx
mov eax, dword [esp + 0x48]
mov edx, dword [eax]
push eax
lea ecx, [esp + 0x48]
push ecx
push edx
mov esi, ecx
push esi
lea eax, [esp + 0x48]
push eax
mov byte [esp + 0x94], bl
call fcn.0040c285
mov ecx, dword [esp + 0x48]
push ecx
call fcn.0050b609
mov eax, dword [esp + 0x58]
add esp, 4
push eax
lea ecx, [esp + 0x54]
push ecx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov edx, dword [eax]
push edx
mov esi, ecx
push esi
lea edx, [esp + 0x48]
push edx
mov dword [esp + 0x94], 0xffffffff
call fcn.0040c285
mov eax, dword [esp + 0x54]
push eax
call fcn.0050b609
add esp, 4
mov eax, 0x80000000
jmp 0x47f4c9
mov eax, dword [esp + 0x48]
mov edx, dword [eax]
push eax
lea ecx, [esp + 0x48]
push ecx
mov esi, ecx
push edx
push esi
lea ecx, [esp + 0x48]
push ecx
mov ecx, esi
mov byte [esp + 0x94], bl
call fcn.0040c285
mov edx, dword [esp + 0x48]
push edx
call fcn.0050b609
mov eax, dword [esp + 0x58]
add esp, 4
push eax
lea ecx, [esp + 0x54]
push ecx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov edx, dword [eax]
push edx
mov esi, ecx
push esi
lea eax, [esp + 0x48]
push eax
mov dword [esp + 0x94], 0xffffffff
call fcn.0040c285
mov ecx, dword [esp + 0x54]
push ecx
call fcn.0050b609
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret 0x14