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

Disassembly:
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
sub esp, 0x6c
push ebx
mov ebx, dword [esp + 0x80]
push edi
mov edi, dword [esp + 0x7c]
push eax
push ecx
mov ecx, dword [esp + 0x98]
lea eax, [esp + 0x28]
push edx
mov edx, dword [esp + 0x98]
push eax
push ecx
push edx
push edi
push ebx
call fcn.00547180
add esp, 0x20
test eax, eax
je 0x4d190d
pop edi
mov eax, 1
pop ebx
add esp, 0x6c
ret
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x34]
mov edx, dword [ebx + 8]
mov ebx, dword [esp + 0x28]
sub eax, ecx
push ebp
mov ebp, dword [esp + 0x3c]
mov dword [esp + 0xa0], eax
mov eax, dword [edi + 8]
push esi
mov esi, dword [esp + 0x48]
imul ebx, eax
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x9c], edx
sub esi, ebp
imul ebp, dword [esp + 0x9c]
lea edx, [eax + eax*2]
lea ecx, [ecx + ecx*2]
add ebx, edx
mov edx, dword [edi + 4]
add ebx, edx
mov edx, dword [esp + 0x8c]
add ebp, ecx
mov cl, byte [esp + 0x28]
add ebp, dword [edx + 4]
test cl, cl
je 0x4d1d90
mov edx, dword [esp + 0xa4]
mov edi, dword [esp + 0x34]
mov ecx, edx
sub eax, edi
mov edi, dword [esp + 0xa0]
and ecx, 7
add eax, ecx
mov dword [esp + 0x94], ecx
sar edx, 3
lea edi, [edi + eax*2]
mov dword [esp + 0x98], edx
add eax, edi
mov edi, dword [esp + 0xa4]
mov dword [esp + 0x84], eax
mov eax, ecx
sub eax, edi
mov edi, dword [esp + 0x9c]
lea edi, [edi + eax*2]
add eax, edi
test esi, esi
mov dword [esp + 0x9c], eax
jle 0x4d1efd
mov dword [esp + 0xa4], esi
test edx, edx
jle 0x4d1cb7
lea esi, [ebp + 5]
lea edi, [ebx + 5]
mov dword [esp + 0x8c], edx
mov eax, dword [esp + 0x90]
mov ecx, ebp
push eax
push ebx
call fcn.004d1f10
mov al, byte [esi - 2]
xor ecx, ecx
mov cl, byte [edi - 2]
mov edx, eax
and edx, 0xff
shl edx, 1
sub ecx, edx
mov cl, byte [ecx + 0x60ef03]
add cl, al
mov al, byte [esi - 1]
mov edx, eax
mov byte [esi - 2], cl
and edx, 0xff
xor ecx, ecx
mov cl, byte [edi - 1]
shl edx, 1
sub ecx, edx
mov dl, byte [ecx + 0x60ef03]
add dl, al
mov al, byte [esi]
mov ecx, eax
mov byte [esi - 1], dl
and ecx, 0xff
xor edx, edx
mov dl, byte [edi]
shl ecx, 1
sub edx, ecx
mov cl, byte [edx + 0x60ef03]
xor edx, edx
add cl, al
mov byte [esi], cl
mov al, byte [esi + 1]
mov dl, byte [edi + 1]
mov ecx, eax
and ecx, 0xff
shl ecx, 1
sub edx, ecx
mov dl, byte [edx + 0x60ef03]
add dl, al
mov al, byte [esi + 2]
mov ecx, eax
mov byte [esi + 1], dl
and ecx, 0xff
xor edx, edx
mov dl, byte [edi + 2]
shl ecx, 1
sub edx, ecx
mov cl, byte [edx + 0x60ef03]
add cl, al
mov al, byte [esi + 3]
mov edx, eax
mov byte [esi + 2], cl
and edx, 0xff
xor ecx, ecx
mov cl, byte [edi + 3]
shl edx, 1
sub ecx, edx
mov dl, byte [ecx + 0x60ef03]
xor ecx, ecx
add dl, al
mov byte [esi + 3], dl
mov al, byte [esi + 4]
mov cl, byte [edi + 4]
mov edx, eax
and edx, 0xff
shl edx, 1
sub ecx, edx
mov cl, byte [ecx + 0x60ef03]
add cl, al
mov al, byte [esi + 5]
mov edx, eax
mov byte [esi + 4], cl
and edx, 0xff
shl edx, 1
xor ecx, ecx
mov cl, byte [edi + 5]
sub ecx, edx
mov dl, byte [ecx + 0x60ef03]
add dl, al
mov al, byte [esi + 6]
mov ecx, eax
mov byte [esi + 5], dl
and ecx, 0xff
xor edx, edx
mov dl, byte [edi + 6]
shl ecx, 1
sub edx, ecx
mov cl, byte [edx + 0x60ef03]
xor edx, edx
add cl, al
mov byte [esi + 6], cl
mov al, byte [esi + 7]
mov dl, byte [edi + 7]
mov ecx, eax
and ecx, 0xff
shl ecx, 1
sub edx, ecx
mov dl, byte [edx + 0x60ef03]
add dl, al
mov al, byte [esi + 8]
mov ecx, eax
mov byte [esi + 7], dl
and ecx, 0xff
xor edx, edx
mov dl, byte [edi + 8]
shl ecx, 1
sub edx, ecx
mov cl, byte [edx + 0x60ef03]
add cl, al
mov al, byte [esi + 9]
mov edx, eax
mov byte [esi + 8], cl
and edx, 0xff
xor ecx, ecx
mov cl, byte [edi + 9]
shl edx, 1
sub ecx, edx
mov dl, byte [ecx + 0x60ef03]
add dl, al
mov byte [esi + 9], dl
mov al, byte [esi + 0xa]
mov ecx, eax
xor edx, edx
mov dl, byte [edi + 0xa]
and ecx, 0xff
shl ecx, 1
sub edx, ecx
mov cl, byte [edx + 0x60ef03]
add cl, al
mov al, byte [esi + 0xb]
mov edx, eax
mov byte [esi + 0xa], cl
and edx, 0xff
xor ecx, ecx
mov cl, byte [edi + 0xb]
shl edx, 1
sub ecx, edx
mov dl, byte [ecx + 0x60ef03]
add dl, al
mov al, byte [esi + 0xc]
mov ecx, eax
mov byte [esi + 0xb], dl
and ecx, 0xff
xor edx, edx
mov dl, byte [edi + 0xc]
shl ecx, 1
sub edx, ecx
mov cl, byte [edx + 0x60ef03]
add cl, al
mov byte [esi + 0xc], cl
mov al, byte [esi + 0xd]
mov edx, eax
xor ecx, ecx
mov cl, byte [edi + 0xd]
and edx, 0xff
shl edx, 1
sub ecx, edx
mov dl, byte [ecx + 0x60ef03]
add ebp, 0x18
add dl, al
mov al, byte [esi + 0xe]
mov ecx, eax
mov byte [esi + 0xd], dl
and ecx, 0xff
xor edx, edx
mov dl, byte [edi + 0xe]
add esi, 0x18
shl ecx, 1
sub edx, ecx
add ebx, 0x18
add edi, 0x18
mov cl, byte [edx + 0x60ef03]
xor edx, edx
add cl, al
mov al, byte [esi - 9]
mov byte [esi - 0xa], cl
mov dl, byte [edi - 9]
mov ecx, eax
and ecx, 0xff
shl ecx, 1
sub edx, ecx
mov dl, byte [edx + 0x60ef03]
add dl, al
mov byte [esi - 9], dl
mov al, byte [esi - 8]
mov ecx, eax
xor edx, edx
mov dl, byte [edi - 8]
and ecx, 0xff
shl ecx, 1
sub edx, ecx
mov cl, byte [edx + 0x60ef03]
xor edx, edx
add cl, al
mov al, byte [esi - 7]
mov byte [esi - 8], cl
mov dl, byte [edi - 7]
mov ecx, eax
and ecx, 0xff
shl ecx, 1
sub edx, ecx
xor ecx, ecx
mov dl, byte [edx + 0x60ef03]
add dl, al
mov al, byte [esi - 6]
mov byte [esi - 7], dl
mov cl, byte [edi - 6]
mov edx, eax
and edx, 0xff
shl edx, 1
sub ecx, edx
mov cl, byte [ecx + 0x60ef03]
add cl, al
mov eax, dword [esp + 0x8c]
mov byte [esi - 6], cl
dec eax
mov dword [esp + 0x8c], eax
jne 0x4d19f0
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0x98]
test ecx, ecx
jle 0x4d1d5f
mov eax, ebx
mov edi, ebx
sub eax, ebp
lea esi, [ebp + 1]
mov dword [esp + 0xa0], eax
mov dword [esp + 0x8c], ecx
mov al, byte [esi - 1]
xor ecx, ecx
mov cl, byte [edi]
mov edx, eax
and edx, 0xff
add edi, 3
shl edx, 1
sub ecx, edx
add esi, 3
mov dl, byte [ecx + 0x60ef03]
xor ecx, ecx
add dl, al
mov al, byte [esi - 3]
mov byte [esi - 4], dl
mov edx, dword [esp + 0xa0]
mov cl, byte [edx + esi - 3]
mov edx, eax
and edx, 0xff
shl edx, 1
sub ecx, edx
mov cl, byte [ecx + 0x60ef03]
add cl, al
mov al, byte [esi - 2]
mov edx, eax
mov byte [esi - 3], cl
and edx, 0xff
xor ecx, ecx
mov cl, byte [edi - 1]
shl edx, 1
sub ecx, edx
mov dl, byte [ecx + 0x60ef03]
add dl, al
mov eax, dword [esp + 0x8c]
mov byte [esi - 2], dl
dec eax
mov dword [esp + 0x8c], eax
jne 0x4d1cd6
mov edx, dword [esp + 0x98]
mov ecx, dword [esp + 0x94]
mov edi, dword [esp + 0x9c]
mov esi, dword [esp + 0x84]
mov eax, dword [esp + 0xa4]
add ebp, edi
add ebx, esi
dec eax
mov dword [esp + 0xa4], eax
jne 0x4d19db
pop esi
pop ebp
pop edi
xor eax, eax
pop ebx
add esp, 0x6c
ret
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x60]
mov dword [esp + 0x10], ecx
lea eax, [eax + eax*2]
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0xa0]
imul eax, dword [esp + 0x78]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x64]
mov dword [esp + 0x84], ecx
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x6c]
test esi, esi
mov dword [esp + 0x20], eax
mov dword [esp + 0x90], ecx
mov dword [esp + 0x8c], edx
jle 0x4d1efd
lea ecx, [ebp + 2]
mov ebp, dword [esp + 0xa4]
mov dword [esp + 0x98], ecx
mov dword [esp + 0x94], esi
mov edx, dword [esp + 0x8c]
mov esi, dword [esp + 0x84]
add edx, esi
mov dword [esp + 0x8c], edx
js 0x4d1e36
mov edi, dword [esp + 0xa0]
mov esi, dword [esp + 0x90]
add ebx, edi
sub edx, esi
mov dword [esp + 0x8c], edx
mov edi, dword [esp + 0x10]
mov dword [esp + 0x24], ebx
test ebp, ebp
jle 0x4d1eca
mov esi, ecx
add edi, dword [esp + 0x14]
js 0x4d1e57
mov eax, dword [esp + 0x18]
add ebx, 3
sub edi, eax
mov al, byte [esi - 2]
xor edx, edx
mov dl, byte [ebx]
mov ecx, eax
and ecx, 0xff
add esi, 3
shl ecx, 1
sub edx, ecx
mov cl, byte [edx + 0x60ef03]
add cl, al
mov al, byte [esi - 4]
mov edx, eax
mov byte [esi - 5], cl
and edx, 0xff
xor ecx, ecx
mov cl, byte [ebx + 1]
shl edx, 1
sub ecx, edx
mov dl, byte [ecx + 0x60ef03]
xor ecx, ecx
add dl, al
mov al, byte [esi - 3]
mov byte [esi - 4], dl
mov cl, byte [ebx + 2]
mov edx, eax
and edx, 0xff
shl edx, 1
sub ecx, edx
mov edx, dword [esp + 0x1c]
add ebx, edx
mov cl, byte [ecx + 0x60ef03]
add cl, al
dec ebp
mov byte [esi - 3], cl
jne 0x4d1e48
mov eax, dword [esp + 0x20]
mov ebp, dword [esp + 0xa4]
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x98]
mov esi, dword [esp + 0x9c]
lea ebx, [edx + eax]
mov edx, dword [esp + 0x94]
add ecx, esi
dec edx
mov dword [esp + 0x98], ecx
mov dword [esp + 0x94], edx
jne 0x4d1e04
pop esi
pop ebp
pop edi
xor eax, eax
pop ebx
add esp, 0x6c
ret