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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x38], ebx
mov edi, edx
mov esi, eax
xor eax, eax
push ebp
push 0x5d4ef5
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [esi + 0x20], 0
je 0x5d4edf
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
je 0x5d4edf
mov eax, edi
mov edx, dword [eax]
call dword [edx]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov edx, dword [ebp + 8]
mov dword [edx], eax
mov eax, dword [esi + 0xc]
mov edx, dword [eax + 0x6c]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0x80]
mov edx, 0x5d4f10
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0x60]
inc eax
mov edx, 6
call fcn.0042eb70
mov dword [ebp - 8], eax
mov eax, dword [esi + 0x10]
cmp byte [eax + 0x1c], 0
je 0x5d4ae6
mov edx, dword [eax + 0x18]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0x80]
mov eax, edi
mov edx, dword [eax]
call dword [edx + 4]
mov dl, 1
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov eax, dword [ebp + 0xc]
sub dword [eax], 6
mov edx, 0x5d4f10
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0x60]
sar eax, 1
jns 0x5d4a63
adc eax, 0
mov dword [ebp - 0xc], eax
mov eax, dword [esi + 0x10]
cmp dword [eax + 0x20], 0
jne 0x5d4a8d
mov eax, dword [esi + 0x1c]
push eax
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx]
sub ecx, dword [ebp - 0xc]
mov eax, dword [esi + 0xc]
mov edx, dword [eax + 0x2c]
add edx, 4
mov eax, edi
mov ebx, dword [eax]
call dword [ebx + 0x64]
jmp 0x5d4aac
mov eax, dword [esi + 0x10]
mov eax, dword [eax + 0x20]
push eax
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx]
sub ecx, dword [ebp - 0xc]
mov eax, dword [esi + 0xc]
mov edx, dword [eax + 0x2c]
add edx, 4
mov eax, edi
mov ebx, dword [eax]
call dword [ebx + 0x64]
mov edx, 0x5d4f10
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0x60]
inc eax
mov edx, 6
call fcn.0042eb70
mov edx, dword [ebp + 0xc]
add dword [edx], eax
mov eax, dword [esi + 0xc]
mov edx, dword [eax + 0x6c]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0x80]
mov eax, edi
mov edx, dword [eax]
call dword [edx + 4]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov edx, dword [ebp + 8]
mov dword [edx], eax
mov edx, 0x5d4f10
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0x60]
sar eax, 1
jns 0x5d4b03
adc eax, 0
mov dword [ebp - 0xc], eax
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x5d4ecd
inc eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
mov edx, dword [ebp - 4]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x1c]
test al, al
je 0x5d4ec1
cmp byte [ebp + 0x10], 0
jne 0x5d4d66
mov eax, dword [esi + 0x14]
cmp eax, dword [ebp - 4]
je 0x5d4b57
mov edx, dword [ebp - 4]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x24]
test al, al
je 0x5d4d66
mov eax, dword [esi + 0x18]
cmp eax, dword [ebp - 4]
je 0x5d4b6d
mov edx, dword [ebp - 4]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x28]
test al, al
je 0x5d4b90
mov eax, edi
mov edx, dword [eax]
call dword [edx + 4]
mov edx, dword [esi + 0xc]
mov edx, dword [edx + 0x74]
mov edx, dword [edx + 0x28]
mov ecx, dword [eax]
call dword [ecx + 4]
mov eax, dword [esi + 0xc]
mov eax, dword [eax + 0x74]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x10], eax
jmp 0x5d4bb1
mov eax, edi
mov edx, dword [eax]
call dword [edx + 4]
mov edx, dword [esi + 0xc]
mov edx, dword [edx + 0x74]
mov edx, dword [edx + 0x20]
mov ecx, dword [eax]
call dword [ecx + 4]
mov eax, dword [esi + 0xc]
mov eax, dword [eax + 0x74]
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
dec dword [eax]
mov eax, edi
mov edx, dword [eax]
call dword [edx + 4]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
sub eax, dword [ebp - 0xc]
add eax, dword [ebp - 8]
push eax
lea eax, [ebp - 0x24]
push eax
mov ebx, dword [esi + 0xc]
mov ecx, dword [ebx + 0x34]
sub ecx, 5
mov edx, dword [ebp + 0xc]
mov edx, dword [edx]
sub edx, dword [ebp - 0xc]
mov eax, dword [ebx + 0x2c]
add eax, 4
inc eax
call fcn.004c7648
lea edx, [ebp - 0x24]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, edi
mov edx, dword [eax]
call dword [edx]
mov edx, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 4]
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx]
sub ecx, dword [ebp - 0xc]
mov eax, dword [esi + 0xc]
mov edx, dword [eax + 0x2c]
add edx, 4
inc edx
mov eax, edi
mov ebx, dword [eax]
call dword [ebx + 0x54]
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx]
sub ecx, dword [ebp - 0xc]
mov eax, dword [esi + 0xc]
mov edx, dword [eax + 0x34]
sub edx, 5
mov eax, edi
mov ebx, dword [eax]
call dword [ebx + 0x50]
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx]
sub ecx, dword [ebp - 0xc]
inc ecx
mov eax, dword [esi + 0xc]
mov edx, dword [eax + 0x2c]
add edx, 4
mov eax, edi
mov ebx, dword [eax]
call dword [ebx + 0x54]
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx]
sub ecx, dword [ebp - 0xc]
add ecx, dword [ebp - 8]
mov eax, dword [esi + 0xc]
mov edx, dword [eax + 0x2c]
add edx, 4
mov eax, edi
mov ebx, dword [eax]
call dword [ebx + 0x50]
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx]
sub ecx, dword [ebp - 0xc]
add ecx, dword [ebp - 8]
mov eax, dword [esi + 0xc]
mov edx, dword [eax + 0x2c]
add edx, 4
inc edx
mov eax, edi
mov ebx, dword [eax]
call dword [ebx + 0x54]
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx]
sub ecx, dword [ebp - 0xc]
add ecx, dword [ebp - 8]
mov eax, dword [esi + 0xc]
mov edx, dword [eax + 0x34]
sub edx, 5
mov eax, edi
mov ebx, dword [eax]
call dword [ebx + 0x50]
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx]
sub ecx, dword [ebp - 0xc]
inc ecx
mov eax, dword [esi + 0xc]
mov edx, dword [eax + 0x34]
sub edx, 5
mov eax, edi
mov ebx, dword [eax]
call dword [ebx + 0x54]
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx]
sub ecx, dword [ebp - 0xc]
add ecx, dword [ebp - 8]
mov eax, dword [esi + 0xc]
mov edx, dword [eax + 0x34]
sub edx, 5
mov eax, edi
mov ebx, dword [eax]
call dword [ebx + 0x50]
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx]
sub ecx, dword [ebp - 0xc]
inc ecx
mov eax, dword [esi + 0xc]
mov edx, dword [eax + 0x2c]
add edx, 4
inc edx
mov eax, edi
mov ebx, dword [eax]
call dword [ebx + 0x30]
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx]
sub ecx, dword [ebp - 0xc]
add ecx, dword [ebp - 8]
dec ecx
mov eax, dword [esi + 0xc]
mov edx, dword [eax + 0x2c]
add edx, 4
inc edx
mov eax, edi
mov ebx, dword [eax]
call dword [ebx + 0x30]
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx]
sub ecx, dword [ebp - 0xc]
inc ecx
mov eax, dword [esi + 0xc]
mov edx, dword [eax + 0x34]
sub edx, 5
dec edx
mov eax, edi
mov ebx, dword [eax]
call dword [ebx + 0x30]
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx]
sub ecx, dword [ebp - 0xc]
add ecx, dword [ebp - 8]
dec ecx
mov eax, dword [esi + 0xc]
mov edx, dword [eax + 0x34]
sub edx, 5
dec edx
mov eax, edi
mov ebx, dword [eax]
call dword [ebx + 0x30]
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov edx, dword [ebp + 8]
mov dword [edx], eax
mov eax, dword [ebp + 0xc]
inc dword [eax]
mov eax, dword [esi + 0xc]
mov eax, dword [eax + 0x2c]
add eax, 6
push eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
push eax
mov ecx, edi
mov edx, dword [ebp - 4]
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0x2c]
test al, al
jne 0x5d4e3f
mov edx, dword [ebp - 4]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x34]
test al, al
je 0x5d4dad
mov edx, dword [ebp - 4]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov edx, eax
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0x78]
jmp 0x5d4dc4
mov edx, dword [ebp - 4]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x30]
push eax
mov eax, edi
mov edx, dword [eax]
call dword [edx]
pop edx
mov ecx, dword [eax]
call dword [ecx + 4]
mov edx, dword [ebp - 4]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x3c]
test al, al
je 0x5d4de7
mov edx, dword [ebp - 4]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov edx, eax
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0x7c]
jmp 0x5d4e0d
mov eax, edi
mov edx, dword [eax]
call dword [edx + 4]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov edx, dword [ebp - 4]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x30]
push eax
mov eax, edi
mov edx, dword [eax]
call dword [edx + 4]
pop edx
mov ecx, dword [eax]
call dword [ecx + 4]
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
add eax, 2
push eax
lea eax, [ebp - 0x34]
push eax
mov eax, dword [esi + 0xc]
mov ebx, dword [eax + 0x2c]
mov ecx, ebx
add ecx, 0x13
mov edx, dword [ebp + 0xc]
mov edx, dword [edx]
dec edx
mov eax, ebx
add eax, 6
call fcn.004c7648
lea edx, [ebp - 0x34]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0x3c]
cmp byte [ebp + 0x10], 0
jne 0x5d4e60
mov eax, dword [esi + 0x14]
cmp eax, dword [ebp - 4]
jne 0x5d4e60
mov eax, edi
mov edx, dword [eax]
call dword [edx + 4]
mov edx, 0x8000
mov ecx, dword [eax]
call dword [ecx + 4]
jmp 0x5d4e78
mov eax, edi
mov edx, dword [eax]
call dword [edx + 4]
mov edx, dword [esi + 0xc]
mov edx, dword [edx + 0x68]
mov edx, dword [edx + 0x278]
mov ecx, dword [eax]
call dword [ecx + 4]
mov eax, edi
mov edx, dword [eax]
call dword [edx + 4]
mov dl, 1
mov ecx, dword [eax]
call dword [ecx + 0xc]
lea ecx, [ebp - 0x38]
mov edx, dword [ebp - 4]
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0x18]
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx]
sub ecx, dword [ebp - 0xc]
mov eax, dword [esi + 0xc]
mov edx, dword [eax + 0x2c]
add edx, 0x17
mov eax, edi
mov ebx, dword [eax]
call dword [ebx + 0x64]
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov edx, dword [ebp + 8]
mov dword [edx], eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp - 8]
add dword [eax], edx
inc dword [ebp - 4]
dec dword [ebp - 0x14]
jne 0x5d4b21
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov edx, dword [ebp + 8]
mov dword [edx], eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp - 8]
add dword [eax], edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5d4efc
lea eax, [ebp - 0x38]
call fcn.004055b8
ret