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

Disassembly:
sub esp, 0xac
mov edx, dword [esp + 0xc4]
push ebx
mov ebx, dword [esp + 0xbc]
push ebp
mov ebp, dword [esp + 0xc4]
push esi
mov esi, eax
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0xbc]
push edi
mov edi, ecx
mov ecx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0xd0]
add eax, ebp
add edx, esi
test eax, eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], edx
jl 0x4d035f
cmp ebp, ecx
jg 0x4d035f
test edx, edx
jl 0x4d035f
cmp esi, dword [esp + 0x20]
jg 0x4d035f
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x18]
lea eax, [esp + 0x3c]
call fcn.00556460
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x28], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x2c], edx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0xc4]
mov ecx, esi
sub ecx, ebx
mov dword [esp + 0x18], ecx
mov ecx, dword [edx + 4]
mov edx, dword [edx + 8]
mov eax, ebp
sub ecx, edi
sub edx, ebx
sub eax, edi
add ecx, ebp
add edx, esi
cmp dword [esp + 0x30], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
jl 0x4d035f
cmp dword [esp + 0x28], ecx
jg 0x4d035f
mov eax, dword [esp + 0x18]
cmp dword [esp + 0x34], eax
jl 0x4d035f
cmp dword [esp + 0x2c], edx
jg 0x4d035f
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x18]
lea eax, [esp + 0x3c]
call fcn.00556460
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov dword [esp + 0x2c], ecx
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
sub ecx, edx
mov dword [esp + 0x28], edx
xor edx, edx
cmp ecx, edx
mov dword [esp + 0x4c], ecx
jle 0x4d035f
sub eax, dword [esp + 0x2c]
cmp eax, edx
mov dword [esp + 0x48], eax
jle 0x4d035f
mov eax, dword [esp + 0xc4]
mov ecx, dword [eax + 4]
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], edx
mov edx, dword [eax + 8]
mov eax, dword [esp + 0xd0]
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0xd4]
add eax, edi
add edx, ebx
test eax, eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], edx
jl 0x4d035f
cmp edi, ecx
jg 0x4d035f
test edx, edx
jl 0x4d035f
cmp ebx, dword [esp + 0x44]
jg 0x4d035f
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x3c]
lea eax, [esp + 0xac]
call fcn.00556460
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x14], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x18], edx
mov edx, dword [eax + 0xc]
mov eax, edi
sub eax, ebp
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x24]
sub eax, ebp
add eax, edi
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x1c], ecx
sub eax, esi
mov ecx, ebx
sub ecx, esi
add eax, ebx
mov dword [esp + 0x20], edx
lea edx, [esp + 0x14]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x44], eax
push edx
lea ecx, [esp + 0x3c]
lea eax, [esp + 0xac]
call fcn.00556460
mov esi, dword [eax]
mov edi, dword [eax + 4]
mov ebx, dword [eax + 8]
mov ebp, dword [eax + 0xc]
lea eax, [esp + 0x14]
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebp
call fcn.00556390
test al, al
jne 0x4d035f
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x2c]
push 0
push eax
mov eax, dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0xcc]
push edx
push eax
push ecx
lea eax, [esp + 0x68]
call fcn.004d24c0
push edi
mov eax, ebp
mov ecx, ebx
sub eax, edi
mov edi, dword [esp + 0xc8]
sub ecx, esi
push esi
lea esi, [esp + 0x80]
call fcn.004d3380
mov edx, dword [esp + 0x64]
cmp edx, dword [esp + 0x50]
mov byte [esp + 0x12], 0
mov byte [esp + 0x11], 0
mov byte [esp + 0x10], 0
mov byte [esp + 0x13], 0xff
jae 0x4d035f
mov eax, dword [esp + 0x8c]
mov edi, dword [esp + 0x78]
lea ecx, [ecx]
cmp eax, edi
jae 0x4d035f
lea edx, [esp + 0x50]
lea ecx, [esp + 0x4c]
call dword [esp + 0x70]
mov ebx, dword [eax]
lea edx, [esp + 0x78]
lea ecx, [esp + 0x48]
mov dword [esp + 0x24], ebx
call dword [esp + 0x98]
mov eax, dword [eax]
mov dl, byte [esp + 0x27]
mov dword [esp + 0x10], eax
movzx esi, dl
shr eax, 0x18
or cl, 0xff
add eax, esi
sub cl, dl
cmp eax, 0xff
mov byte [esp + 0x13], 0xff
jg 0x4d0230
mov byte [esp + 0x13], al
movzx eax, byte [esp + 0x12]
movzx edi, cl
movzx ecx, byte [esp + 0x26]
imul eax, edi
imul ecx, esi
add ecx, eax
mov eax, 0x80808081
imul ecx
add edx, ecx
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
movzx edx, byte [esp + 0x11]
mov byte [esp + 0x12], cl
imul edx, edi
movzx ecx, bh
imul ecx, esi
add ecx, edx
mov eax, 0x80808081
imul ecx
add edx, ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
movzx edx, byte [esp + 0x10]
imul edx, edi
movzx ecx, bl
imul ecx, esi
mov byte [esp + 0x11], al
add ecx, edx
mov eax, 0x80808081
imul ecx
add edx, ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [esp + 0x10]
lea ecx, [esp + 0x78]
mov byte [esp + 0x10], al
call dword [esp + 0xa0]
mov eax, dword [esp + 0x8c]
mov edi, dword [esp + 0x78]
cmp eax, edi
jae 0x4d0317
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x94]
add ecx, dword [esp + 0x84]
add edx, 1
add eax, 1
cmp edx, dword [esp + 0x7c]
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], edx
mov dword [esp + 0x8c], eax
jne 0x4d0317
add ecx, dword [esp + 0x80]
mov dword [esp + 0x94], 0
mov dword [esp + 0x90], ecx
mov esi, dword [esp + 0x64]
mov ebx, dword [esp + 0x50]
cmp esi, ebx
jae 0x4d035f
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x6c]
add ecx, dword [esp + 0x5c]
add edx, 1
add esi, 1
cmp edx, dword [esp + 0x54]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], edx
mov dword [esp + 0x64], esi
jne 0x4d0357
add ecx, dword [esp + 0x58]
mov dword [esp + 0x6c], 0
mov dword [esp + 0x68], ecx
cmp esi, ebx
jb 0x4d01e0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xac
ret 0x18