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

Disassembly:
sub esp, 0x24
push ebp
mov ebp, dword [esp + 0x30]
test ebp, ebp
push esi
mov esi, ecx
je 0x5d1c64
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x5d1c64
mov eax, dword [eax + 0x78]
cmp eax, 6
je 0x5d1980
cmp eax, 0x61
je 0x5d1980
cmp eax, 0x62
jne 0x5d1c64
mov eax, dword [ebp + 0x20]
test eax, eax
je 0x5d1c64
mov ecx, dword [eax + 0x2c]
mov eax, dword [ecx + 0x210]
test eax, eax
jne 0x5d199d
call fcn.005d85cc
mov ecx, dword [esi + 0x94]
mov dword [esp + 0xc], eax
mov dword [esi], 1
mov eax, ebp
mov eax, dword [eax + 8]
cmp eax, ecx
je 0x5d19c5
test eax, eax
je 0x5d19c5
mov edx, dword [eax + 8]
test edx, edx
je 0x5d19c5
inc dword [esi]
jmp 0x5d19af
push edi
mov edi, dword [esi]
cmp edi, 0x20
jle 0x5d19d8
pop edi
pop esi
xor al, al
pop ebp
add esp, 0x24
ret 8
dec edi
push ebx
js 0x5d1a16
lea ebx, [esi + edi*4 + 4]
mov al, byte [esi + 0x118]
test al, al
je 0x5d1a02
mov eax, dword [ebp + 0x14]
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], eax
call fcn.005ae2fc
mov dword [ebx + 0x94], eax
jmp 0x5d1a07
mov ecx, dword [ebp + 0x1c]
mov dword [ebx], ecx
mov ebp, dword [ebp + 8]
test ebp, ebp
je 0x5d1a16
dec edi
sub ebx, 4
test edi, edi
jge 0x5d19e0
mov edi, dword [esp + 0x3c]
mov eax, dword [edi + 0x10]
xor edx, edx
test eax, eax
je 0x5d1c58
jmp 0x5d1a2c
mov ecx, dword [eax + 0x18]
test ecx, ecx
je 0x5d1a3a
cmp dword [ecx + 0x78], 4
jne 0x5d1a3a
inc edx
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x5d1a2c
test edx, edx
je 0x5d1c58
shl edx, 4
push edx
call fcn.0071528c
add esp, 4
test eax, eax
mov dword [esi + 0x8c], eax
jne 0x5d1a6b
pop ebx
pop edi
pop esi
xor al, al
pop ebp
add esp, 0x24
ret 8
mov ebp, dword [edi + 0x10]
test ebp, ebp
je 0x5d1ba8
lea ebx, [ebx]
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x5d1b9d
cmp dword [eax + 0x78], 4
jne 0x5d1b9d
lea edx, [esp + 0x13]
push edx
lea eax, [esp + 0x1c]
push eax
push 0
push 0x7fffffff
push 0
push ebp
mov dword [esp + 0x30], 0
call fcn.005c4a9c
add esp, 0x18
test al, al
je 0x5d1a5f
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x38]
push ecx
push edi
push edx
lea ecx, [esp + 0x28]
call fcn.0057418c
push edi
call fcn.007152ac
mov eax, dword [esp + 0x20]
mov ecx, dword [esi + 0x90]
mov ebx, dword [eax + 0x10]
lea edi, [esi + 0x90]
add esp, 4
lea edx, [esp + 0x1c]
mov dword [esp + 0x20], ecx
push edx
lea ecx, [esp + 0x24]
call fcn.0057470c
mov eax, dword [esp + 0x20]
cmp dword [edi], eax
jne 0x5d1b0f
test eax, eax
jne 0x5d1b0f
mov dword [edi], eax
jmp 0x5d1b19
push eax
push edi
call fcn.007148fc
add esp, 8
mov edx, dword [esi + 0x84]
mov eax, dword [esi + 0x88]
mov ecx, dword [esi + 0x8c]
add edx, ebx
shl eax, 4
mov dword [esi + 0x84], edx
mov dword [eax + ecx], ebx
mov al, byte [esi + 0x118]
test al, al
je 0x5d1b68
mov edx, dword [ebp + 0x14]
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], edx
call fcn.005ae2fc
mov ecx, dword [esi + 0x88]
mov edx, dword [esi + 0x8c]
shl ecx, 4
mov dword [ecx + edx + 0xc], eax
jmp 0x5d1b7e
mov eax, dword [esi + 0x88]
mov ecx, dword [esi + 0x8c]
mov edx, dword [ebp + 0x1c]
shl eax, 4
mov dword [eax + ecx + 4], edx
mov eax, dword [ebp + 4]
mov ecx, dword [esi + 0x88]
mov eax, dword [eax + 0x24]
mov edx, dword [esi + 0x8c]
shl ecx, 4
mov dword [ecx + edx + 8], eax
inc dword [esi + 0x88]
mov ebp, dword [ebp + 0xc]
test ebp, ebp
jne 0x5d1a7c
mov ecx, dword [esi + 0x88]
dec ecx
mov dword [esp + 0x1c], ecx
js 0x5d1c47
lea ecx, [ecx]
cmp ecx, 1
jl 0x5d1c3c
mov edx, 0x10
mov dword [esp + 0x20], ecx
mov edi, edi
mov eax, dword [esi + 0x8c]
mov edi, dword [eax + edx - 8]
mov ebx, dword [eax + edx + 8]
add eax, edx
cmp edi, ebx
jle 0x5d1c2e
lea ecx, [eax - 0x10]
mov ebp, ecx
mov edi, dword [ebp]
mov ebx, dword [ebp + 4]
mov dword [esp + 0x28], ebx
mov ebx, dword [ebp + 8]
mov ebp, dword [ebp + 0xc]
mov dword [esp + 0x30], ebp
mov ebp, dword [eax]
mov dword [ecx], ebp
mov ebp, dword [eax + 4]
mov dword [ecx + 4], ebp
mov ebp, dword [eax + 8]
mov dword [ecx + 8], ebp
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
mov ecx, dword [esi + 0x8c]
mov eax, dword [esp + 0x28]
add ecx, edx
mov dword [ecx], edi
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x30]
mov dword [ecx + 8], ebx
mov dword [ecx + 0xc], eax
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
add edx, 0x10
dec eax
mov dword [esp + 0x20], eax
jne 0x5d1bcc
dec ecx
mov dword [esp + 0x1c], ecx
jns 0x5d1bbc
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
push ecx
push edx
mov ecx, esi
call fcn.005d022c
pop ebx
pop edi
pop esi
mov al, 1
pop ebp
add esp, 0x24
ret 8
pop esi
xor al, al
pop ebp
add esp, 0x24
ret 8