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

Disassembly:
push 0xffffffffffffffff
push 0x579e38
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
push ebx
push ebp
mov ebp, ecx
push esi
push edi
mov dword [esp + 0x10], ebp
mov eax, dword [esp + 0x78]
mov dword [esp + 0x70], 1
mov eax, dword [eax - 8]
cmp eax, 4
jg 0x4855c0
mov ecx, dword [esp + 0x7c]
mov ecx, dword [ecx - 8]
cmp ecx, 4
jg 0x4855c0
mov edx, dword [esp + 0x80]
test edx, edx
je 0x485493
test eax, eax
je 0x4855c0
test ecx, ecx
je 0x4855c0
mov edi, dword [ebp + 0x2f8]
test edi, edi
je 0x485493
mov bl, 2
mov esi, edi
mov edi, dword [edi]
lea ecx, [esp + 0x50]
lea edx, [esi + 0xc]
push edx
call fcn.00462f38
lea eax, [esi + 0x10]
lea ecx, [esp + 0x54]
push eax
mov byte [esp + 0x74], bl
call fcn.00462f38
mov ecx, dword [esi + 0x14]
mov dword [esp + 0x58], ecx
mov edx, dword [esi + 0x18]
mov dword [esp + 0x5c], edx
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x60], eax
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x4c], 0x592af8
test eax, eax
jne 0x4855a4
lea ecx, [esp + 0x54]
mov byte [esp + 0x70], 5
call fcn.00462da6
lea ecx, [esp + 0x50]
mov byte [esp + 0x70], 1
call fcn.00462da6
test edi, edi
jne 0x485425
lea ecx, [esp + 0x18]
call fcn.00462ea8
lea ecx, [esp + 0x1c]
mov byte [esp + 0x70], 6
call fcn.00462ea8
or ebx, 0xffffffff
xor esi, esi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x14], 0x592af8
lea edx, [esp + 0x78]
lea ecx, [esp + 0x18]
push edx
mov byte [esp + 0x74], 7
call fcn.00462ed8
lea eax, [esp + 0x7c]
lea ecx, [esp + 0x1c]
push eax
call fcn.00462ed8
mov edi, dword [ebp + 0x2f8]
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x88]
mov eax, dword [esp + 0x80]
cmp edi, esi
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], eax
je 0x48569e
mov bl, 9
mov esi, edi
mov ebp, edi
mov edi, dword [edi]
lea ecx, [esi + 0xc]
push ecx
lea ecx, [esp + 0x38]
call fcn.00462f38
lea edx, [esi + 0x10]
lea ecx, [esp + 0x38]
push edx
mov byte [esp + 0x74], 8
call fcn.00462f38
mov eax, dword [esi + 0x14]
mov dword [esp + 0x3c], eax
mov ecx, dword [esi + 0x18]
mov dword [esp + 0x40], ecx
mov edx, dword [esi + 0x1c]
mov dword [esp + 0x44], edx
mov eax, dword [esi + 0x20]
mov dword [esp + 0x48], eax
mov dword [esp + 0x30], 0x592af8
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x18]
mov byte [esp + 0x70], bl
mov eax, dword [ecx - 8]
mov ecx, dword [edx - 8]
cmp eax, ecx
jle 0x4855f6
lea ecx, [esp + 0x38]
mov byte [esp + 0x70], 0xc
call fcn.00462da6
lea ecx, [esp + 0x34]
mov byte [esp + 0x70], 7
call fcn.00462da6
test edi, edi
jne 0x485519
mov ebp, dword [esp + 0x10]
or ebx, 0xffffffff
jmp 0x48569e
lea ecx, [esp + 0x54]
mov byte [esp + 0x70], 4
call fcn.00462da6
lea ecx, [esp + 0x50]
mov byte [esp + 0x70], 1
call fcn.00462da6
lea ecx, [esp + 0x78]
mov byte [esp + 0x70], 0
call fcn.00462da6
lea ecx, [esp + 0x7c]
mov dword [esp + 0x70], 0xffffffff
call fcn.00462da6
xor eax, eax
mov ecx, dword [esp + 0x68]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x64
ret 0x14
mov eax, dword [esp + 0x10]
test ebp, ebp
lea edi, [eax + 0x2f4]
jne 0x485614
lea ecx, [esp + 0x14]
push ecx
mov ecx, edi
call fcn.0048c830
mov esi, eax
jmp 0x485640
mov edx, dword [ebp + 4]
push ebp
push edx
mov ecx, edi
call fcn.0048c8f0
mov esi, eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esi + 8]
call fcn.00485710
mov eax, dword [ebp + 4]
test eax, eax
je 0x48563a
mov dword [eax], esi
jmp 0x48563d
mov dword [edi + 4], esi
mov dword [ebp + 4], esi
lea ecx, [esp + 0x38]
mov byte [esp + 0x70], 0xa
call fcn.00462da6
lea ecx, [esp + 0x34]
mov byte [esp + 0x70], 7
call fcn.00462da6
lea ecx, [esp + 0x1c]
mov byte [esp + 0x70], 0xb
call fcn.00462da6
lea ecx, [esp + 0x18]
mov byte [esp + 0x70], 1
call fcn.00462da6
lea ecx, [esp + 0x78]
mov byte [esp + 0x70], 0
call fcn.00462da6
lea ecx, [esp + 0x7c]
mov dword [esp + 0x70], 0xffffffff
call fcn.00462da6
mov eax, esi
jmp 0x4855e1
mov ecx, dword [ebp + 0x2fc]
lea esi, [ebp + 0x2f4]
push 0
push ecx
mov ecx, esi
call fcn.0048c8f0
mov edi, eax
lea edx, [esp + 0x14]
push edx
lea ecx, [edi + 8]
call fcn.00485710
mov eax, dword [esi + 8]
test eax, eax
je 0x4856ce
mov dword [eax], edi
jmp 0x4856d1
mov dword [esi + 4], edi
lea ecx, [esp + 0x14]
mov dword [esi + 8], edi
mov byte [esp + 0x70], 1
call fcn.0047fc00
lea ecx, [esp + 0x78]
mov byte [esp + 0x70], 0
call fcn.00462da6
lea ecx, [esp + 0x7c]
mov dword [esp + 0x70], ebx
call fcn.00462da6
mov eax, edi
jmp 0x4855e1