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

Disassembly:
sub esp, 0x40
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov edi, dword [esi + 0x44]
push edi
lea ecx, [esp + 0x40]
call fcn.005f9de0
push edi
lea ecx, [esp + 0x18]
call fcn.005f9d70
push edi
lea ecx, [esp + 0x2c]
call fcn.0046e1db
mov ecx, dword [esi + 0x44]
mov ebp, dword [esp + 0x14]
xor eax, eax
test ecx, ecx
jle 0x5fc2a9
xor ecx, ecx
lea esp, [esp]
mov edx, dword [esi + 0x40]
mov ebx, dword [esp + 0x3c]
add edx, ecx
mov ebp, dword [edx]
add ebx, ecx
mov dword [ebx], ebp
mov ebp, dword [edx + 4]
mov dword [ebx + 4], ebp
mov ebp, dword [edx + 8]
mov dword [ebx + 8], ebp
mov edx, dword [edx + 0xc]
mov ebp, dword [esp + 0x14]
mov dword [ebx + 0xc], edx
mov edx, dword [esi + 0x40]
movzx edx, word [ecx + edx + 8]
mov ebx, dword [esi + 0x4c]
mov dx, word [ebx + edx*4]
mov word [ebp + eax*4], dx
mov word [ebp + eax*4 + 2], ax
mov edx, dword [esi + 0x44]
inc eax
add ecx, 0x10
cmp eax, edx
jl 0x5fc260
dec edi
cmp edi, 1
mov byte [esp + 0x10], 0
jle 0x5fc2c9
mov eax, dword [esp + 0x10]
push eax
dec edi
push edi
lea ecx, [ebp + 4]
push 0
push ecx
call fcn.005f83f0
add esp, 0x10
mov eax, dword [esi + 0x44]
mov ebx, dword [esp + 0x28]
xor ecx, ecx
test eax, eax
jle 0x5fc323
xor edx, edx
lea eax, [ebp + 2]
jmp 0x5fc2e0
movzx edi, word [eax]
mov dword [ebx + edi*4], ecx
movzx edi, word [eax]
mov ebx, dword [esp + 0x3c]
shl edi, 4
add edi, ebx
mov ebp, dword [edi]
mov ebx, dword [esi + 0x40]
add ebx, edx
mov dword [ebx], ebp
mov ebp, dword [edi + 4]
mov dword [ebx + 4], ebp
mov ebp, dword [edi + 8]
mov dword [ebx + 8], ebp
mov edi, dword [edi + 0xc]
mov dword [ebx + 0xc], edi
mov edi, dword [esi + 0x44]
mov ebx, dword [esp + 0x28]
inc ecx
add eax, 4
add edx, 0x10
cmp ecx, edi
jl 0x5fc2e0
mov ebp, dword [esp + 0x14]
mov eax, dword [esi + 0x44]
mov ecx, 1
cmp eax, ecx
jle 0x5fc35a
mov edi, 0x10
mov edx, dword [esi + 0x40]
mov eax, dword [edx + edi + 0xc]
add edx, edi
test al, 1
jne 0x5fc345
mov dword [eax], ecx
jmp 0x5fc34f
mov edx, dword [esi + 0x78]
and eax, 0xfffffffe
mov word [eax + edx], cx
mov eax, dword [esi + 0x44]
inc ecx
add edi, 0x10
cmp ecx, eax
jl 0x5fc334
mov eax, dword [esi + 0x70]
xor edi, edi
cmp eax, edi
mov dword [esp + 0x10], edi
jle 0x5fc39e
mov edx, dword [esi + 0x78]
mov eax, dword [edx + edi + 8]
add edx, edi
dec eax
js 0x5fc38b
mov ecx, dword [edx + 4]
movzx ebp, word [ecx + eax*2]
mov bp, word [ebx + ebp*4]
lea ecx, [ecx + eax*2]
dec eax
mov word [ecx], bp
jns 0x5fc373
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x70]
inc eax
add edi, 0x10
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x5fc367
lea edx, [esi + 0x50]
mov esi, 3
mov edi, dword [edx]
mov eax, dword [edx - 4]
xor ecx, ecx
test edi, edi
jle 0x5fc3c8
add eax, 2
movzx edi, word [eax]
mov di, word [ebx + edi*4]
mov word [eax], di
mov edi, dword [edx]
inc ecx
add eax, 4
cmp ecx, edi
jl 0x5fc3b4
add edx, 0xc
dec esi
jne 0x5fc3a6
mov eax, dword [esp + 0x38]
mov ecx, dword [0x9617f0]
lea eax, [eax*4 + 0xf]
and eax, 0xfffffff0
je 0x5fc3fc
mov edx, dword [ecx + 0x14]
mov esi, dword [esp + 0x34]
cmp esi, edx
je 0x5fc3f3
test edx, edx
jne 0x5fc3fc
mov edx, dword [ecx]
push eax
push esi
call dword [edx + 0x28]
jmp 0x5fc40c
mov esi, dword [ecx + 8]
mov edx, dword [ecx + 0xc]
sub esi, eax
add edx, eax
mov dword [ecx + 8], esi
mov dword [ecx + 0xc], edx
mov eax, dword [esp + 0x30]
test eax, eax
js 0x5fc42b
mov ecx, dword [0x9617f0]
mov edx, dword [ecx]
and eax, 0x7fffffff
push 0x12
shl eax, 2
push eax
push ebx
call dword [edx + 0x14]
mov eax, dword [esp + 0x24]
mov ecx, dword [0x9617f0]
lea eax, [eax*4 + 0xf]
and eax, 0xfffffff0
je 0x5fc459
mov edx, dword [ecx + 0x14]
mov esi, dword [esp + 0x20]
cmp esi, edx
je 0x5fc450
test edx, edx
jne 0x5fc459
mov edx, dword [ecx]
push eax
push esi
call dword [edx + 0x28]
jmp 0x5fc469
mov esi, dword [ecx + 8]
mov edx, dword [ecx + 0xc]
sub esi, eax
add edx, eax
mov dword [ecx + 8], esi
mov dword [ecx + 0xc], edx
mov eax, dword [esp + 0x1c]
test eax, eax
js 0x5fc488
mov ecx, dword [0x9617f0]
mov edx, dword [ecx]
and eax, 0x7fffffff
push 0x12
shl eax, 2
push eax
push ebp
call dword [edx + 0x14]
mov eax, dword [esp + 0x4c]
mov ecx, dword [0x9617f0]
shl eax, 4
add eax, 0xf
and eax, 0xfffffff0
je 0x5fc4b5
mov edx, dword [ecx + 0x14]
mov esi, dword [esp + 0x48]
cmp esi, edx
je 0x5fc4ac
test edx, edx
jne 0x5fc4b5
mov edx, dword [ecx]
push eax
push esi
call dword [edx + 0x28]
jmp 0x5fc4c5
mov esi, dword [ecx + 8]
mov edx, dword [ecx + 0xc]
sub esi, eax
add edx, eax
mov dword [ecx + 8], esi
mov dword [ecx + 0xc], edx
mov eax, dword [esp + 0x44]
test eax, eax
pop edi
pop esi
pop ebp
pop ebx
js 0x5fc4ec
mov ecx, dword [0x9617f0]
mov edx, dword [ecx]
and eax, 0x7fffffff
push 0x12
shl eax, 4
push eax
mov eax, dword [esp + 0x34]
push eax
call dword [edx + 0x14]
add esp, 0x40
ret