Function at 0x47f4e0
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 edi, dword [esp + 0x90]
xor ebx, ebx
cmp ebp, ebx
jne 0x47f523
cmp edi, ebx
je 0x47fa19
cmp dword [esp + 0x88], ebx
je 0x47fa19
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 0x47f6b6
cmp dword [ebp], ebx
mov dword [esp + 0x8c], ebx
je 0x47f6b6
mov esi, ebp
jmp 0x47f5b0
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 0x47f5d0
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x47f5d0
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 0x47f625
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 0x47f640
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 0x47f690
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 0x47f5b0
mov edi, dword [esp + 0x90]
cmp edi, ebx
je 0x47f757
xor esi, esi
cmp dword [edi], ebx
je 0x47f757
mov eax, edi
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 edi, [eax + 2]
jmp 0x47f6f0
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x47f6f0
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 + 0x4c]
mov byte [esp + 0x88], 4
call fcn.0041d514
cmp dword [esp + 0x74], 8
mov byte [esp + 0x80], 1
jb 0x47f741
mov edx, dword [esp + 0x60]
push edx
call fcn.0050b609
add esp, 4
mov eax, dword [esp + 0x90]
add esi, 1
cmp dword [eax + esi*4], ebx
lea eax, [eax + esi*4]
jne 0x47f6d0
mov ebp, dword [esp + 0x88]
mov eax, dword [ebp + 0x38]
mov edi, dword [eax]
add ebp, 0x34
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], ebp
mov edi, edi
mov eax, dword [esp + 0x88]
mov esi, dword [eax + 0x38]
add eax, 0x34
cmp ebp, ebx
je 0x47f785
cmp ebp, eax
je 0x47f78a
call fcn.0050bbb1
cmp edi, esi
je 0x47f8f7
cmp ebp, ebx
jne 0x47f79b
call fcn.0050bbb1
cmp edi, dword [ebp + 4]
jne 0x47f7a5
call fcn.0050bbb1
lea esi, [edi + 0xc]
push esi
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x4c]
call fcn.0047d680
mov eax, dword [esp + 0x14]
cmp eax, ebx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x28], edx
je 0x47f7cf
lea ecx, [esp + 0x44]
cmp eax, ecx
je 0x47f7d4
call fcn.0050bbb1
mov edx, dword [esp + 0x28]
cmp dword [esp + 0x18], edx
je 0x47f843
cmp edi, dword [ebp + 4]
jne 0x47f7e8
call fcn.0050bbb1
push esi
lea eax, [esp + 0x30]
push eax
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 0x47f814
lea ecx, [esp + 0x50]
cmp esi, ecx
je 0x47f819
call fcn.0050bbb1
cmp edi, ebp
je 0x47f82d
push edi
push esi
lea edx, [esp + 0x40]
push edx
lea ecx, [esp + 0x5c]
call fcn.0040d4ea
lea ecx, [esp + 0x1c]
call fcn.0040bef5
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x1c]
jmp 0x47f770
mov esi, dword [esp + 0x94]
cmp esi, ebx
je 0x47f866
cmp edi, dword [ebp + 4]
jne 0x47f858
call fcn.0050bbb1
push 0xffffffffffffffff
add edi, 0xc
push ebx
push edi
mov ecx, esi
call fcn.0040ad18
mov eax, dword [esp + 0x98]
cmp eax, ebx
je 0x47f87d
mov ecx, dword [esp + 0x88]
mov edx, dword [ecx + 0x40]
mov dword [eax], edx
mov esi, dword [esp + 0x48]
mov ecx, dword [esp + 0x48]
mov ecx, dword [ecx]
push esi
lea eax, [esp + 0x48]
push eax
push ecx
mov edx, eax
push edx
lea edx, [esp + 0x48]
push edx
mov ecx, eax
mov byte [esp + 0x94], bl
call fcn.0040c285
mov eax, dword [esp + 0x48]
push eax
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]
mov esi, ecx
push edx
push esi
lea ecx, [esp + 0x48]
push ecx
mov ecx, esi
mov dword [esp + 0x94], 0xffffffff
call fcn.0040c285
mov edx, dword [esp + 0x54]
push edx
call fcn.0050b609
add esp, 4
mov eax, 0x80000001
jmp 0x47fa1b
cmp dword [esp + 0x58], ebx
je 0x47f9af
mov edi, dword [esp + 0x94]
cmp edi, ebx
je 0x47f929
mov eax, dword [esp + 0x54]
mov esi, dword [eax]
cmp esi, eax
jne 0x47f91b
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 0x47f940
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 0x47fa1b
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