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

Disassembly:
sub esp, 0xcc
push ebx
mov ebx, ecx
mov eax, dword [ebx + 0x2c]
test eax, eax
je 0x5d1363
mov eax, dword [eax + 8]
test eax, eax
jne 0x5d137d
mov eax, dword [esp + 0xd4]
push eax
call fcn.00574ebc
add esp, 4
pop ebx
add esp, 0xcc
ret 8
mov ecx, dword [eax + 0x3e0]
push esi
push ecx
lea edx, [esp + 0x5c]
push edx
call fcn.0057611c
add esp, 8
mov esi, ebx
mov eax, dword [ebx + 0x2c]
test eax, eax
je 0x5d13a0
mov eax, dword [eax + 8]
jmp 0x5d13a2
xor eax, eax
cmp esi, dword [eax + 0xe0]
je 0x5d13eb
mov ecx, esi
call fcn.0058162c
test eax, eax
je 0x5d13d0
mov ecx, dword [esi + 4]
mov edx, dword [ecx + 0x20]
lea eax, [esp + 0x58]
push eax
add edx, 0x34c
push edx
push eax
call fcn.00575d0c
add esp, 0xc
lea ecx, [esp + 0x58]
push ecx
lea edx, [esi + 0x30]
push edx
mov eax, ecx
push eax
call fcn.00575d0c
mov esi, dword [esi + 8]
add esp, 0xc
test esi, esi
jne 0x5d1394
mov eax, dword [ebx + 0x2c]
test eax, eax
je 0x5d13f7
mov eax, dword [eax + 8]
jmp 0x5d13f9
xor eax, eax
push ebp
lea ecx, [esp + 0x5c]
push ecx
push eax
mov edx, ecx
push edx
call fcn.00575d0c
mov ebp, dword [esp + 0xe8]
push ebp
call fcn.00574ebc
mov eax, dword [ebx + 0x18]
add esp, 0x10
test eax, eax
je 0x5d18eb
mov ecx, dword [eax + 0x78]
cmp ecx, 6
je 0x5d1430
cmp ecx, 0x61
jne 0x5d1473
mov al, byte [esp + 0xe0]
test al, al
je 0x5d1459
push 1
push 1
push ebp
lea eax, [ebx + 0x30]
push eax
push ebx
call fcn.005cb19c
add esp, 0x14
pop ebp
pop esi
pop ebx
add esp, 0xcc
ret 8
push 0
push 1
push ebp
push ebx
call fcn.005cb2fc
add esp, 0x10
pop ebp
pop esi
pop ebx
add esp, 0xcc
ret 8
test eax, eax
je 0x5d18eb
cmp dword [eax + 0x78], 9
jne 0x5d14a7
mov ecx, dword [ebx + 4]
mov ecx, dword [ecx + 0x18]
push ebp
call fcn.0056a71c
push eax
lea edx, [esp + 0x64]
push edx
call fcn.00575aec
add esp, 0xc
pop ebp
pop esi
pop ebx
add esp, 0xcc
ret 8
test eax, eax
je 0x5d18eb
cmp dword [eax + 0x78], 2
jne 0x5d18eb
mov ecx, dword [eax + 0x68]
mov dl, byte [ecx + 0x5ee]
test dl, dl
push edi
je 0x5d167f
test dword [ebx + 0x54], 0x2000000
je 0x5d14db
mov edx, dword [ebx + 0x78]
mov ebx, dword [edx]
jmp 0x5d14de
mov ebx, dword [ebx + 0x78]
test ebx, ebx
je 0x5d18ea
mov eax, dword [ebx + 0x60]
test eax, eax
je 0x5d18ea
mov ecx, dword [ebx + 0x58]
mov edx, dword [ebx + 0x5c]
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 0x54]
mov dword [esp + 0x20], eax
mov al, byte [esp + 0xe4]
test al, al
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edx
je 0x5d1524
mov eax, 1
mov dword [esp + 0x14], 4
jmp 0x5d152e
xor eax, eax
mov dword [esp + 0x14], 1
cmp eax, dword [esp + 0x14]
mov esi, eax
mov dword [esp + 0x18], esi
jge 0x5d18ea
mov eax, dword [esp + esi*4 + 0x1c]
test eax, eax
je 0x5d1661
mov edi, dword [eax + 0x38]
test edi, edi
je 0x5d1661
lea eax, [esp + 0x90]
push eax
lea ecx, [esp + 0x64]
push ecx
lea edx, [edi + 0x30]
push edx
call fcn.00575d0c
mov al, byte [esp + 0xf0]
add esp, 0xc
test al, al
jne 0x5d15be
mov eax, dword [edi + 0x18]
test eax, eax
je 0x5d15be
mov eax, dword [eax + 0x78]
cmp eax, 6
je 0x5d158d
cmp eax, 0x61
jne 0x5d15be
push 1
push 0
lea eax, [esp + 0xb4]
push eax
lea ecx, [esp + 0x9c]
push ecx
push edi
call fcn.005cb19c
push ebp
lea edx, [esp + 0xc4]
push ebp
push edx
call fcn.00576fcc
add esp, 0x20
jmp 0x5d1661
lea esi, [edi + 0x7c]
mov eax, esi
mov ebx, dword [eax]
mov ebp, dword [eax + 4]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
push esi
lea eax, [esp + 0x94]
mov dword [esp + 0x88], ecx
push eax
mov ecx, edi
mov dword [esp + 0x90], edx
call fcn.005cdf0c
mov al, byte [esp + 0xe4]
test al, al
je 0x5d162b
push 0
mov ecx, edi
call fcn.005c97dc
mov ecx, dword [eax]
mov dword [esp + 0x2c], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x30], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x34], ecx
mov edx, dword [eax + 0xc]
mov eax, dword [esp + 0xe0]
push eax
push eax
lea eax, [esp + 0x34]
mov dword [esp + 0x40], edx
push eax
jmp 0x5d1635
mov eax, dword [esp + 0xe0]
push eax
push eax
push esi
call fcn.00576fcc
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x94]
mov dword [esi], ebx
mov dword [esi + 4], ebp
mov ebp, dword [esp + 0xec]
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
mov esi, dword [esp + 0x24]
add esp, 0xc
mov eax, dword [esp + 0x14]
inc esi
cmp esi, eax
mov dword [esp + 0x18], esi
jl 0x5d153e
pop edi
pop ebp
pop esi
pop ebx
add esp, 0xcc
ret 8
mov ecx, dword [eax + 0x70]
test ecx, ecx
je 0x5d18ea
mov eax, dword [eax + 0x68]
lea ecx, [esp + 0x3c]
mov dword [esp + 0x18], eax
call fcn.00538c2c
mov eax, dword [ebx + 0x18]
mov ecx, dword [eax + 0x74]
mov edx, dword [eax + 0x70]
push ecx
push 0
push edx
lea ecx, [esp + 0x48]
call fcn.005d42bc
mov eax, dword [ebx + 0x18]
cmp byte [eax + 0x7e], 0x22
mov eax, dword [esp + 0x40]
jne 0x5d16c4
add eax, 2
mov dword [esp + 0x40], eax
mov edi, dword [esp + 0x3c]
mov cl, byte [eax + edi]
inc eax
test cl, cl
mov byte [esp + 0x13], cl
je 0x5d18ea
xor ebp, ebp
mov edi, edi
lea esi, [eax + edi]
add eax, 2
mov dword [esp + 0x40], eax
xor ecx, ecx
mov ch, byte [esi + 1]
xor edx, edx
mov cl, byte [esi]
mov esi, ecx
lea ecx, [eax + edi]
add eax, 2
mov dword [esp + 0x40], eax
mov dh, byte [ecx + 1]
lea eax, [esp + 0x90]
push eax
mov dl, byte [ecx]
lea ecx, [esp + 0x40]
add dx, word [ebx + 0x1c]
mov edi, edx
call fcn.005d5e6c
mov ecx, dword [ebx + 0x18]
cmp byte [ecx + 0x7e], 0x22
jne 0x5d1733
push 1
lea edx, [esp + 0x80]
push edx
lea ecx, [esp + 0x44]
call fcn.005d5fbc
test byte [esp + 0x13], 0x10
je 0x5d1777
mov eax, dword [ebx + 0x18]
mov ecx, dword [eax + 0x68]
mov eax, dword [ecx + 0x210]
cmp eax, ebp
jne 0x5d174f
call fcn.005d85cc
cmp eax, 8
jl 0x5d1777
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0x24], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x28], ebp
call fcn.0058062c
lea ecx, [esp + 0x1c]
call fcn.005805bc
test byte [esp + 0x13], 0x20
je 0x5d179c
mov edx, dword [ebx + 0x18]
mov ecx, dword [edx + 0x68]
mov eax, dword [ecx + 0x210]
cmp eax, ebp
jne 0x5d1793
call fcn.005d85cc
cmp eax, 8
jl 0x5d179c
inc dword [esp + 0x40]
mov ecx, dword [esp + 0x18]
push esi
call fcn.005d52cc
mov esi, eax
test byte [esp + 0x13], 8
mov dword [esp + 0x14], esi
je 0x5d18d2
cmp esi, ebp
je 0x5d18d2
mov eax, ebx
and eax, 0xfffff000
mov ecx, dword [eax]
mov edx, dword [ecx + 0x128]
mov eax, dword [edx + 0x1c]
push eax
call fcn.005aea0c
mov ebp, eax
mov eax, dword [ebx + 0x2c]
add esp, 4
push eax
mov ecx, ebp
call fcn.005850fc
movzx ecx, di
mov dword [ebp + 0x1c], ecx
mov dword [ebp + 0x18], esi
lea edi, [ebp + 0x30]
mov ecx, 7
lea esi, [esp + 0x90]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0xac]
call fcn.005a335c
lea edx, [esp + 0xac]
push edx
mov ecx, ebp
call fcn.005cd17c
mov edi, dword [esp + 0x14]
cmp dword [edi + 0x78], 9
jne 0x5d1839
lea eax, [ebx + 0x20]
push eax
lea ecx, [ebp + 0x20]
call fcn.005b0a0c
mov ecx, ebp
call fcn.005cdbcc
lea ecx, [esp + 0xc0]
push ecx
lea edx, [esp + 0x64]
push edx
lea eax, [esp + 0x98]
push eax
call fcn.00575d0c
add esp, 0xc
lea esi, [ebp + 0x7c]
push esi
lea ecx, [esp + 0xc4]
push ecx
mov ecx, ebp
call fcn.005cdf0c
mov al, byte [esp + 0xe4]
test al, al
je 0x5d18b5
mov eax, dword [edi + 0x78]
cmp eax, 9
je 0x5d18c7
cmp eax, 4
je 0x5d18c7
push 0
mov ecx, ebp
call fcn.005c97dc
mov edx, dword [eax]
mov dword [esp + 0x2c], edx
mov ecx, dword [eax + 4]
mov dword [esp + 0x30], ecx
mov edx, dword [eax + 8]
mov dword [esp + 0x34], edx
mov eax, dword [eax + 0xc]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0xe0]
push eax
push eax
lea ecx, [esp + 0x34]
push ecx
jmp 0x5d18bf
mov eax, dword [esp + 0xe0]
push eax
push eax
push esi
call fcn.00576fcc
add esp, 0xc
mov edx, dword [ebp]
push 1
mov ecx, ebp
call dword [edx]
xor ebp, ebp
mov eax, dword [esp + 0x40]
mov edi, dword [esp + 0x3c]
mov cl, byte [eax + edi]
inc eax
test cl, cl
mov byte [esp + 0x13], cl
jne 0x5d16dc
pop edi
pop ebp
pop esi
pop ebx
add esp, 0xcc
ret 8