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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x3c
mov edi, dword [ebp + 0x10]
mov dword [esp], 0x14c
call fcn.00a5b598
mov esi, eax
mov dword [esp + 8], 0x14c
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.00a5b648
mov edx, dword [edi]
mov ebx, dword [ebp + 0x18]
cmp edx, 0x28
mov dword [esi + 0x138], 0
mov dword [esi + 0x148], ebx
mov ebx, 0x28
mov dword [esi + 0x140], 0xffffffff
cmovge ebx, edx
mov dword [esp], ebx
call fcn.00a5b598
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esi + 0x34], eax
mov dword [esp], eax
call fcn.00a5b5c0
mov edi, dword [esi + 0x34]
mov ecx, 0
mov dword [edi], ebx
add ebx, 0x30
mov dword [esi + 0x2c], ecx
mov dword [esp], ebx
mov dword [esi + 0x20], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0xffffffff
mov dword [esi + 0x30], 1
call fcn.00a5b598
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esi + 0x134], eax
mov dword [esp], eax
call fcn.00a5b648
mov edx, dword [esi + 0x34]
mov edi, dword [esi + 0x134]
mov eax, dword [edx]
add edi, 0x30
mov dword [esp + 4], edx
mov dword [esp], edi
mov dword [esp + 8], eax
call fcn.00a5b5c0
mov edx, dword [esi + 0x134]
mov eax, dword [0xc7d850]
mov ecx, dword [edx + 0x34]
mov edi, dword [edx + 0x38]
mov dword [edx + 4], 0
mov dword [edx + 8], ecx
mov dword [edx + 0xc], edi
mov dword [edx + 0x18], ecx
mov dword [edx + 0x1c], edi
mov dword [edx], 0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov edi, dword [0xc7d854]
mov ecx, dword [0xc7d858]
mov dword [esi + 0xa4], eax
mov dword [ebp - 0x10], eax
mov eax, dword [0xc7d85c]
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], eax
mov dword [esi + 0xa8], edi
mov dword [esi + 0xac], ecx
mov dword [esi + 0xb0], eax
mov edi, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [esi + 0xbc], ecx
mov dword [esi + 0xc0], eax
mov dword [esi + 0xb8], edi
mov edi, dword [edx + 0x40]
mov ecx, dword [0xc7d830]
mov dword [esi + 0xb4], edi
mov dword [ebp - 0x20], ecx
mov dword [esi + 0xd0], ecx
mov ecx, dword [0xc7d83c]
mov edi, dword [0xc7d838]
mov eax, dword [0xc7d834]
mov dword [ebp - 0x2c], ecx
mov dword [esi + 0xdc], ecx
mov dword [esi + 0xe8], edx
mov dword [ebp - 0x28], edi
mov dword [esi + 0xd8], edi
mov dword [esi + 0xe4], ebx
mov dword [ebp - 0x24], eax
mov dword [esi + 0xd4], eax
mov dword [esi + 0xc4], 0
mov dword [esi + 0xc8], 1
mov dword [esi + 0xe0], 0
mov dword [esp], 0x64
call fcn.00a5b598
mov ebx, dword [esi + 0x134]
mov dword [esp + 8], 0x58
mov dword [esp + 4], ebx
mov dword [esi + 0x138], eax
mov dword [esp], eax
call fcn.00a5b5c0
mov edi, dword [esi + 0x138]
cld
xor eax, eax
add edi, 0x58
mov ecx, 3
rep stosd dword es:[edi], eax
mov ebx, dword [esi + 0x134]
mov edi, dword [esi + 0x138]
mov eax, dword [ebx + 0x10]
mov dword [edi + 0x40], 0
mov word [edi + 0x3e], 0x18
mov dword [edi + 0x10], eax
mov edx, dword [ebx + 0x14]
mov dword [edi + 0x14], edx
lea edx, [esi + 0xec]
mov ecx, dword [ebx + 0x18]
mov dword [ebp - 0x34], edx
mov dword [edi + 0x18], ecx
mov eax, dword [ebx + 0x1c]
mov dword [edi + 0x1c], eax
mov dword [esp], edx
mov dword [esp + 8], 0x48
mov dword [esp + 4], 0
call fcn.00a5b648
mov ecx, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x14]
mov dword [esi + 0xec], ecx
mov eax, dword [ebp - 0x18]
mov dword [esi + 0xf0], ebx
mov edi, dword [ebp - 0x1c]
mov edx, dword [0xc7d7d0]
mov ecx, dword [0xc7d7d4]
mov ebx, dword [0xc7d7d8]
mov dword [esi + 0xf4], eax
mov dword [esi + 0xf8], edi
mov dword [esi + 0xfc], edx
mov dword [esi + 0x100], ecx
mov dword [esi + 0x104], ebx
mov eax, dword [0xc7d7dc]
mov edi, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x2c]
mov dword [esi + 0x108], eax
mov dword [esi + 0x120], ecx
mov dword [esi + 0x124], ebx
mov dword [esi + 0x118], edi
mov ebx, dword [esi + 0x138]
mov dword [esi + 0x11c], edx
mov edx, dword [ebx + 0x38]
movsx edi, word [ebx + 0x3e]
mov dword [esi + 0x10c], 1
imul edx, dword [ebx + 0x34]
lea eax, [edi + 0xe]
add edi, 7
cmovs edi, eax
mov dword [esi + 0x110], 0
mov dword [esi + 0x128], 0
sar edi, 3
cld
imul edx, edi
mov ecx, edx
sar ecx, 0x1f
mov eax, ecx
xor eax, edx
sub eax, ecx
mov ecx, 0xd
mov dword [esi + 0x114], eax
mov dword [ebx + 0x44], eax
mov dword [esi + 0x12c], 0x58
mov dword [esi + 0x130], ebx
lea ebx, [esi + 0x6c]
xor eax, eax
mov edi, ebx
rep stosd dword es:[edi], eax
mov al, 0x34
mov ecx, dword [esi + 0x34]
mov edi, dword [ecx]
mov dword [esp + 4], ecx
mov dword [esp], ebx
cmp edi, 0x35
cmovb eax, edi
mov dword [esp + 8], eax
call fcn.00a5b5c0
mov eax, dword [esi + 0x74]
imul eax, dword [esi + 0x70]
lea ecx, [esi + 0xa4]
mov ebx, dword [ebp - 0x34]
cdq
mov dword [esp + 8], ecx
mov word [esi + 0x7a], 0x18
xor eax, edx
mov dword [esi + 0x6c], 0x28
mov dword [esi + 0x7c], 0
sub eax, edx
mov edx, dword [ebp + 0xc]
mov dword [esp + 0xc], ebx
imul edi, eax, 3
mov eax, dword [ebp + 8]
mov dword [esp + 4], edx
mov dword [esi + 0x80], edi
mov dword [esp], eax
call fcn.005f99a6
test eax, eax
mov ecx, eax
mov dword [esi + 0xa0], eax
je 0x5f8e5a
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x5f8de2
mov edi, dword [esi + 0x6c]
mov edx, dword [esi + 0x70]
mov eax, dword [esi + 0x74]
mov ebx, dword [esi + 0x78]
mov ecx, dword [esi + 0x7c]
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edx
mov edi, dword [esi + 0x80]
mov edx, dword [esi + 0x84]
mov dword [esi + 0x40], eax
mov eax, dword [esi + 0x88]
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ecx
mov ebx, dword [esi + 0x8c]
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edx
mov dword [esi + 0x54], eax
mov ecx, dword [esi + 0x90]
mov edi, dword [esi + 0x94]
mov edx, dword [esi + 0x98]
mov eax, dword [esi + 0x9c]
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], edx
mov dword [esi + 0x68], eax
mov dword [esi + 0x13c], 0
mov dword [esp], 0xc7d930
call fcn.00a5b650
mov eax, dword [0xb412c4]
test eax, eax
mov ebx, 0xb412c0
je 0x5f8d64
mov edi, dword [ebx]
mov edx, dword [esi + 0x138]
mov word [edx + 0x3e], ax
mov dword [edx + 0x40], edi
mov edx, dword [ebx + 8]
mov ecx, dword [edx]
mov dword [esi + 0xfc], ecx
mov eax, dword [edx + 4]
mov dword [esi + 0x100], eax
mov edi, dword [edx + 8]
mov dword [esi + 0x104], edi
mov edi, dword [ebp - 0x34]
mov ecx, dword [edx + 0xc]
mov edx, dword [esi + 0xa0]
mov dword [esi + 0x108], ecx
mov eax, dword [edx + 8]
mov ecx, dword [eax]
mov dword [esp + 0xc], 1
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov eax, dword [edx + 8]
mov dword [esp], eax
call dword [ecx + 0x24]
sub esp, 0x10
test eax, eax
jne 0x5f8d56
mov eax, dword [ebx + 0xc]
or dword [esi + 0x13c], eax
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x5f8dd2
mov dword [esp + 4], eax
mov dword [esp], 0xc7d959
call fcn.00a5b650
add ebx, 0x14
mov eax, dword [ebx + 4]
test eax, eax
jne 0x5f8ccb
mov dword [esp], 0xa
call fcn.00a5b5e8
mov eax, dword [esi + 0x13c]
test eax, eax
jne 0x5f8e45
mov ebx, dword [esi + 0x138]
mov eax, dword [0xc7d7d0]
mov edi, dword [0xc7d7d4]
mov word [ebx + 0x3e], 0x18
mov dword [ebx + 0x40], 0
mov edx, dword [0xc7d7d8]
mov ecx, dword [0xc7d7dc]
mov ebx, dword [esi]
mov dword [esi + 0xfc], eax
mov dword [esi + 0x100], edi
mov dword [esi + 0x104], edx
mov dword [esi + 0x108], ecx
mov dword [esi + 0x144], ebx
mov eax, esi
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 4], ebx
mov dword [esp], 0xc7d95d
jmp 0x5f8d51
mov edi, dword [esi + 0x74]
mov eax, dword [ecx + 8]
mov edx, dword [esi + 0x138]
neg edi
mov ebx, dword [ebp - 0x34]
mov dword [esi + 0x74], edi
mov dword [edx + 0x38], edi
mov edx, dword [eax]
mov dword [esp + 0xc], 1
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov edi, dword [ecx + 8]
mov dword [esp], edi
call dword [edx + 0x24]
sub esp, 0x10
test eax, eax
je 0x5f8c3d
mov dword [esp], 0xc7d964
call fcn.00a5b5f0
mov ebx, dword [esi + 0x74]
neg ebx
mov ecx, dword [esi + 0x138]
mov dword [esi + 0x74], ebx
mov dword [ecx + 0x38], ebx
jmp 0x5f8c3d
mov dword [esp + 4], eax
mov dword [esp], 0xc7d994
call fcn.00a5b650
jmp 0x5f8d7e
mov dword [esp], 0xc7d9c3
call fcn.00a5b5f0
xor eax, eax
jmp 0x5f8dca