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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5d81ba
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 1
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xb0]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 4]
lea eax, [eax + eax*2]
movzx eax, byte [eax + 0x9b152a]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x198]
mov eax, dword [edx + eax*4 + 8]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x5d819c
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0xe4], 0
jne 0x5d7ca3
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0xc], eax
jmp 0x5d8192
xor edx, edx
push ebp
push 0x5d8182
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xe4]
mov edx, dword [0x5c2a48]
call fcn.004033d8
test al, al
je 0x5d7d2f
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0xf8], 0
je 0x5d7d2f
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xe4]
cmp dword [eax + 0x58], 0
je 0x5d7d2f
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xe4]
mov esi, dword [eax + 0x58]
lea eax, [ebp - 0x10]
mov edx, dword [esi + 0x6c]
call fcn.00404120
mov al, byte [esi + 0x98]
mov byte [ebp - 0x11], al
xor edx, edx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x18c]
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0xf8]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x194]
mov dl, 1
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x18c]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xe4]
mov edx, dword [eax]
call dword [edx + 0x38]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x198]
cmp byte [eax + 0x78], 1
jne 0x5d7d61
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x198]
mov cl, 1
mov edx, dword [ebp - 0xc]
call fcn.005d78ac
jmp 0x5d7d81
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x198]
mov ecx, 1
mov edx, dword [ebp - 0xc]
call fcn.005d785c
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x60], 1
mov eax, dword [ebp - 0xc]
mov esi, dword [eax + 0x20]
test esi, esi
je 0x5d7da9
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x198]
xor ecx, ecx
mov edx, esi
call fcn.005d785c
xor eax, eax
mov dword [esi + 0x60], eax
mov esi, dword [esi + 0x18]
test esi, esi
jne 0x5d7d8b
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xe4]
mov edx, dword [eax]
call dword [edx + 0x44]
test al, al
jne 0x5d810f
push ebp
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x20]
call fcn.005d7bf8
pop ecx
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x78]
test eax, eax
je 0x5d7de0
mov edx, dword [ebp + 8]
push edx
call fcn.005d7b8c
pop ecx
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x7c]
test eax, eax
je 0x5d7def
call fcn.005d5908
xor edi, edi
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax + 0xe4]
mov eax, ebx
mov edx, dword [0x5c2a48]
call fcn.004033d8
test al, al
je 0x5d7e31
mov eax, dword [ebx + 0x58]
mov edx, 0x5d81d0
call fcn.004a6160
mov edi, eax
test edi, edi
je 0x5d7e2a
mov eax, edi
mov edx, dword [eax]
call dword [edx + 0x54]
mov dword [ebp - 0x1c], eax
jmp 0x5d7e31
mov dword [ebp - 0x1c], 1
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xb0]
imul dword [ebp - 0x1c]
mov dword [ebp - 0x1c], eax
jmp 0x5d80d4
mov eax, dword [0x9ba79c]
cmp byte [eax + 0x119], 0
jne 0x5d80ea
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 0xc]
call fcn.005d7b8c
pop ecx
mov byte [ebp - 5], 1
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x19c]
cmp eax, dword [ebp - 4]
jle 0x5d7eb1
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 4]
inc eax
call fcn.005d7c24
pop ecx
mov eax, dword [ebp + 8]
cmp dword [eax - 4], 0
jle 0x5d7ebb
mov eax, dword [ebp - 0xc]
cmp byte [eax + 0xd0], 0
je 0x5d7ea5
mov eax, dword [ebp + 8]
push eax
call fcn.005d7bac
pop ecx
jmp 0x5d7ebb
mov eax, dword [ebp + 8]
dec dword [eax - 4]
mov byte [ebp - 5], 0
jmp 0x5d7ebb
mov eax, dword [ebp + 8]
push eax
call fcn.005d7bac
pop ecx
test edi, edi
jne 0x5d7edb
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0xb0], 1
jg 0x5d7edb
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xe4]
mov edx, dword [eax]
call dword [edx + 0x3c]
jmp 0x5d7f10
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x1c]
jl 0x5d7f0d
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xe4]
mov edx, dword [eax]
call dword [edx + 0x3c]
mov dword [ebp - 0x18], 1
mov eax, edi
mov edx, dword [eax]
call dword [edx + 0x54]
mov edx, dword [ebp - 0xc]
imul dword [edx + 0xb0]
mov dword [ebp - 0x1c], eax
jmp 0x5d7f10
inc dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
mov esi, dword [eax + 0x20]
test esi, esi
je 0x5d8049
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xe4]
mov edx, dword [eax]
call dword [edx + 0x44]
test al, al
jne 0x5d7f60
lea eax, [esi + 0x68]
call fcn.00406160
test al, al
jne 0x5d7f60
lea ecx, [ebp - 0x2c]
mov edx, dword [esi + 0xf4]
mov eax, dword [0x9ba780]
call fcn.005ba978
lea eax, [ebp - 0x2c]
lea edx, [esi + 0x68]
call fcn.00405f24
je 0x5d803e
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xe4]
mov edx, dword [eax]
call dword [edx + 0x44]
test al, al
jne 0x5d7f80
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xe4]
mov edx, dword [eax]
call dword [edx + 0x40]
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax + 0x24]
cmp esi, ebx
je 0x5d7fc9
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebx + 0x7c]
call fcn.005d7b8c
pop ecx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x198]
xor ecx, ecx
mov edx, ebx
call fcn.005d785c
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x5d7fc2
mov edx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x198]
xor ecx, ecx
call fcn.005d785c
mov ebx, dword [ebx + 0x14]
cmp esi, ebx
jne 0x5d7f8a
mov eax, dword [ebp + 8]
push eax
mov eax, dword [esi + 0x7c]
call fcn.005d7b8c
pop ecx
mov eax, dword [ebp + 8]
push eax
call fcn.005d7bac
pop ecx
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xe4]
mov edx, dword [eax]
call dword [edx + 0x44]
test al, al
jne 0x5d8049
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xe4]
mov edx, dword [eax]
call dword [edx + 0x3c]
cmp byte [esi + 0xd1], 0
je 0x5d8020
cmp byte [esi + 0xd5], 0
je 0x5d8020
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x198]
call fcn.005d7a50
push ebp
mov eax, esi
call fcn.005d7bf8
pop ecx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x198]
xor ecx, ecx
mov edx, dword [ebp - 0xc]
call fcn.005d785c
jmp 0x5d8049
mov esi, dword [esi + 0x18]
test esi, esi
jne 0x5d7f1e
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x198]
cmp byte [eax + 0x78], 1
jne 0x5d806d
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x198]
mov cl, 2
mov edx, dword [ebp - 0xc]
call fcn.005d78ac
jmp 0x5d80c6
cmp byte [ebp - 5], 0
je 0x5d80c6
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x198]
inc dword [eax + 0x88]
mov eax, dword [ebp - 0xc]
inc dword [eax + 0x60]
mov eax, dword [ebp - 0xc]
inc dword [eax + 0x5c]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xe4]
mov edx, dword [eax]
call dword [edx + 0x44]
test al, al
jne 0x5d80c6
mov eax, dword [ebp - 0xc]
cmp byte [eax + 0xd1], 0
je 0x5d80c6
mov eax, dword [ebp - 0xc]
cmp byte [eax + 0xd5], 0
je 0x5d80c6
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x198]
call fcn.005d7a50
mov eax, dword [0x9ba79c]
cmp byte [eax + 0x119], 0
jne 0x5d80ea
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xe4]
mov edx, dword [eax]
call dword [edx + 0x44]
test al, al
je 0x5d7e45
mov eax, dword [ebp + 8]
cmp dword [eax - 4], 0
jne 0x5d8109
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0x7c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x198]
call fcn.005d77b8
jmp 0x5d810f
mov eax, dword [ebp + 8]
dec dword [eax - 4]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5d8189
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xe4]
mov edx, dword [0x5c2a48]
call fcn.004033d8
test al, al
je 0x5d8181
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0xf8], 0
je 0x5d8181
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xe4]
cmp dword [eax + 0x58], 0
je 0x5d8181
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xe4]
mov esi, dword [eax + 0x58]
xor edx, edx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x18c]
mov edx, dword [ebp - 0x10]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x194]
mov dl, byte [ebp - 0x11]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x18c]
ret
cmp dword [ebp - 0xc], 0
jne 0x5d7c89
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5d81c1
lea eax, [ebp - 0x2c]
call fcn.00406124
lea eax, [ebp - 0x10]
call fcn.00404088
ret