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

Disassembly:
sub esp, 0x30
push ebx
push ebp
push esi
mov esi, ecx
cmp byte [esi + 0xd1], 0
push edi
jne 0x5d25a1
mov ecx, dword [esi + 0x70]
call fcn.0064f480
mov byte [esi + 0xd1], 1
mov eax, dword [esi + 0x5c]
mov ebp, dword [esp + 0x44]
mov edi, dword [esp + 0x48]
mov ecx, dword [esi + 0x60]
mov dword [esp + 0x38], eax
xor eax, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x70]
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], edi
mov dword [esp + 0x3c], ecx
cmp byte [eax + 0x30], 0
je 0x5d25fb
add eax, 0x31
push eax
lea edx, [esp + 0x34]
push edx
call fcn.005358f0
add esp, 8
mov ebx, dword [esi + 0x70]
mov eax, dword [ebx + 0x40]
test eax, eax
je 0x5d2a21
cmp eax, 5
jne 0x5d2a13
cmp byte [0x992082], 0
je 0x5d2626
push 0x1b16358
call dword [0x794290]
cmp byte [0x992082], 0
mov ebx, dword [ebx + 4]
je 0x5d263d
push 0x1b16358
call dword [0x79428c]
push 0
push 0x975b3c
push 0x97128c
push 0
push ebx
call fcn.00664fc0
add esp, 4
push eax
call fcn.0074d229
add esp, 0x14
test eax, eax
je 0x5d26bc
mov ebx, dword [esi + 0x70]
mov edx, dword [ebx + 0xa4]
mov eax, dword [eax + 0xa4]
mov cl, byte [eax]
cmp cl, byte [edx]
jne 0x5d2690
test cl, cl
je 0x5d268c
mov cl, byte [eax + 1]
cmp cl, byte [edx + 1]
jne 0x5d2690
add eax, 2
add edx, 2
test cl, cl
jne 0x5d2670
xor eax, eax
jmp 0x5d2695
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x5d26a1
cmp dword [ebx + 0xac], eax
jne 0x5d26bc
mov ecx, ebx
call fcn.0064f1d0
mov ecx, dword [esi + 0x70]
call fcn.0064fa10
mov eax, dword [esi + 0x70]
mov eax, dword [eax + 0xb4]
mov dword [esi + 0x4c], eax
call fcn.00534760
mov ecx, dword [esi + 0x70]
cmp dword [ecx + 0xac], 9
jl 0x5d2a21
mov eax, dword [ecx + 0xb4]
mov edx, dword [esp + 0x30]
push 0
push eax
mov dword [esi + 0x4c], eax
lea eax, [esp + 0x4c]
push eax
add ecx, 0xa8
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], edi
call fcn.00435130
push eax
call fcn.00534b10
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x5c]
sub ecx, dword [eax + 0x28]
add esp, 0x10
add ecx, ebp
push 0
mov dword [esp + 0x48], ecx
mov ecx, dword [esi + 0x70]
add eax, 0x20
push eax
lea edx, [esp + 0x4c]
push edx
add ecx, 0xa8
mov dword [esp + 0x54], edi
call fcn.00435130
push eax
call fcn.00534b10
mov ecx, dword [esi + 0x4c]
mov eax, dword [esi + 0x60]
sub eax, dword [ecx + 0x6c]
mov edx, dword [esp + 0x40]
add esp, 0x10
add ecx, 0x60
add eax, edi
push 0
push ecx
mov ecx, dword [esi + 0x70]
mov dword [esp + 0x50], eax
lea eax, [esp + 0x4c]
push eax
add ecx, 0xa8
mov dword [esp + 0x50], edx
call fcn.00435130
push eax
call fcn.00534b10
mov ecx, dword [esi + 0x4c]
mov eax, dword [esi + 0x60]
sub eax, dword [ecx + 0x8c]
mov edx, dword [esi + 0x5c]
sub edx, dword [ecx + 0x88]
add esp, 0x10
add ecx, 0x80
add eax, edi
push 0
push ecx
mov ecx, dword [esi + 0x70]
mov dword [esp + 0x50], eax
lea eax, [esp + 0x4c]
add edx, ebp
push eax
add ecx, 0xa8
mov dword [esp + 0x50], edx
call fcn.00435130
push eax
call fcn.00534b10
mov eax, dword [esi + 0x4c]
mov ecx, dword [eax + 0x28]
mov edx, dword [esi + 0x5c]
add ecx, ebp
mov dword [esp + 0x30], ecx
sub edx, dword [eax + 8]
add esp, 0x10
sub edx, dword [eax + 0x28]
mov dword [esp + 0x28], edx
mov ecx, dword [eax + 0x1c]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x24], edi
mov ecx, dword [eax + 0x10]
mov dword [esp + 0x10], ecx
mov edx, dword [eax + 0x14]
mov dword [esp + 0x14], edx
mov edx, dword [eax + 0x18]
mov dword [esp + 0x18], edx
mov eax, dword [eax + 0x1c]
add ecx, 1
mov dword [esp + 0x10], ecx
sub edx, 2
push 0
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esi + 0x70]
mov dword [esp + 0x20], edx
lea edx, [esp + 0x28]
push edx
add ecx, 0xa8
mov dword [esp + 0x28], eax
call fcn.00435130
push eax
call fcn.005347d0
mov eax, dword [esi + 0x4c]
mov ecx, dword [eax + 0x88]
mov edx, dword [esi + 0x5c]
add ecx, ebp
mov dword [esp + 0x30], ecx
sub edx, dword [eax + 0x68]
add esp, 0x10
sub edx, dword [eax + 0x88]
push 0
mov dword [esp + 0x2c], edx
mov ecx, dword [eax + 0x7c]
mov edx, dword [esi + 0x60]
mov dword [esp + 0x30], ecx
sub edx, dword [eax + 0x7c]
add edx, edi
mov dword [esp + 0x28], edx
mov ecx, dword [eax + 0x70]
mov dword [esp + 0x14], ecx
mov edx, dword [eax + 0x74]
mov dword [esp + 0x18], edx
mov edx, dword [eax + 0x78]
mov dword [esp + 0x1c], edx
mov eax, dword [eax + 0x7c]
add ecx, 1
mov dword [esp + 0x14], ecx
sub edx, 2
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esi + 0x70]
mov dword [esp + 0x20], edx
lea edx, [esp + 0x28]
push edx
add ecx, 0xa8
mov dword [esp + 0x28], eax
call fcn.00435130
push eax
call fcn.005347d0
mov eax, dword [esi + 0x4c]
mov edx, dword [esi + 0x60]
mov dword [esp + 0x30], ebp
mov ecx, dword [eax + 0x38]
mov dword [esp + 0x38], ecx
sub edx, dword [eax + 0x6c]
add esp, 0x10
sub edx, dword [eax + 0xc]
mov dword [esp + 0x2c], edx
mov ecx, dword [eax + 0xc]
add ecx, edi
mov dword [esp + 0x24], ecx
mov edx, dword [eax + 0x30]
mov dword [esp + 0x10], edx
mov ecx, dword [eax + 0x34]
mov dword [esp + 0x14], ecx
mov edx, dword [eax + 0x38]
mov dword [esp + 0x18], edx
mov eax, dword [eax + 0x3c]
add ecx, 1
sub eax, 2
mov dword [esp + 0x14], ecx
mov dword [esp + 0x1c], eax
push 0
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x28]
push ecx
mov ecx, dword [esi + 0x70]
add ecx, 0xa8
call fcn.00435130
push eax
call fcn.005347d0
mov eax, dword [esi + 0x4c]
mov edx, dword [esi + 0x5c]
sub edx, dword [eax + 0x58]
add esp, 0x10
add edx, ebp
mov dword [esp + 0x20], edx
mov ecx, dword [eax + 0x58]
mov edx, dword [esi + 0x60]
mov dword [esp + 0x28], ecx
sub edx, dword [eax + 0x8c]
push 0
sub edx, dword [eax + 0x2c]
mov dword [esp + 0x30], edx
mov ecx, dword [eax + 0x2c]
add ecx, edi
mov dword [esp + 0x28], ecx
mov edx, dword [eax + 0x50]
mov dword [esp + 0x14], edx
mov ecx, dword [eax + 0x54]
mov dword [esp + 0x18], ecx
mov edx, dword [eax + 0x58]
mov dword [esp + 0x1c], edx
mov eax, dword [eax + 0x5c]
add ecx, 1
sub eax, 2
mov dword [esp + 0x18], ecx
mov dword [esp + 0x20], eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x28]
push ecx
mov ecx, dword [esi + 0x70]
add ecx, 0xa8
call fcn.00435130
push eax
call fcn.005347d0
mov eax, dword [esi + 0x4c]
mov edx, dword [eax + 0x38]
mov ecx, dword [esi + 0x5c]
add edx, ebp
mov dword [esp + 0x30], edx
sub ecx, dword [eax + 0x58]
mov edx, dword [esi + 0x60]
sub ecx, dword [eax + 0x38]
add esp, 0x10
mov dword [esp + 0x28], ecx
sub edx, dword [eax + 0x7c]
push 0
sub edx, dword [eax + 0x1c]
mov dword [esp + 0x30], edx
mov ecx, dword [eax + 0x1c]
add ecx, edi
mov dword [esp + 0x28], ecx
mov ecx, dword [eax + 0x40]
mov dword [esp + 0x14], ecx
mov edx, dword [eax + 0x44]
mov dword [esp + 0x18], edx
mov ebx, dword [eax + 0x48]
mov dword [esp + 0x1c], ebx
mov eax, dword [eax + 0x4c]
add edx, 1
add ecx, 1
sub ebx, 2
sub eax, 2
mov dword [esp + 0x18], edx
lea edx, [esp + 0x14]
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x1c], ebx
push edx
lea eax, [esp + 0x28]
mov ecx, dword [esi + 0x70]
push eax
add ecx, 0xa8
call fcn.00435130
push eax
call fcn.005347d0
add esp, 0x10
jmp 0x5d2a21
lea ecx, [esp + 0x30]
push ebx
push ecx
call fcn.005bd420
add esp, 8
mov edx, dword [esp + 0x4c]
push edx
sub esp, 8
mov eax, esp
mov dword [eax], ebp
mov dword [eax + 4], edi
mov eax, dword [esi]
mov edx, dword [eax + 0xbc]
mov ecx, esi
call edx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret 0xc