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

Disassembly:
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
sub esp, 0x9c
push ebp
mov ebp, dword [esp + 0xa8]
push esi
mov esi, dword [esp + 0xb4]
push eax
push ecx
mov ecx, dword [esp + 0xcc]
lea eax, [esp + 0x58]
push edx
mov edx, dword [esp + 0xcc]
push eax
push ecx
push edx
push ebp
push esi
call fcn.00547180
add esp, 0x20
test eax, eax
je 0x4d9786
pop esi
mov eax, 1
pop ebp
add esp, 0x9c
ret
mov esi, dword [esi + 8]
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x68]
mov dword [esp + 0xc], esi
mov esi, dword [esp + 0x58]
push ebx
push edi
mov edi, dword [esp + 0x78]
imul esi, eax
mov ebx, dword [esp + 0x74]
mov edx, dword [esp + 0x6c]
sub edi, ecx
imul ecx, dword [esp + 0x14]
mov dword [esp + 0x28], esi
mov esi, dword [esp + 0x5c]
sub ebx, edx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x28]
lea edx, [edx + edx*2]
add ecx, edx
mov edx, dword [esp + 0xbc]
lea eax, [eax + esi*4]
mov dword [esp + 0x44], ebx
add eax, dword [ebp + 4]
mov ebp, dword [edx + 4]
mov dl, byte [esp + 0x58]
add ecx, ebp
test dl, dl
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
je 0x4d9ad4
mov ebp, ebx
mov edx, ebx
sar ebp, 3
mov dword [esp + 0x30], ebp
mov ebp, dword [esp + 0x64]
and edx, 7
sub esi, ebp
mov ebp, dword [esp + 0x10]
add esi, edx
mov dword [esp + 0x2c], edx
lea esi, [ebp + esi*4]
mov dword [esp + 0x38], esi
mov esi, edx
sub esi, ebx
mov ebx, dword [esp + 0x14]
lea ebx, [ebx + esi*2]
add esi, ebx
test edi, edi
mov dword [esp + 0x34], esi
jle 0x4d9c80
mov ebx, dword [esp + 0xc4]
mov ebp, dword [esp + 0xc0]
mov dword [esp + 0x28], edi
mov esi, dword [esp + 0x30]
test esi, esi
jle 0x4d99f1
mov edx, dword [esp + 0x30]
lea edi, [ecx + 0x13]
lea esi, [eax + 0x1a]
mov dword [esp + 0x20], edx
jmp 0x4d9866
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
push ebx
push ebp
push eax
call fcn.004edbf0
push ebx
lea eax, [esi - 0x16]
push ebp
push eax
lea ecx, [edi - 0x10]
call fcn.004edbf0
push ebx
lea ecx, [esi - 0x12]
push ebp
push ecx
lea ecx, [edi - 0xd]
call fcn.004edbf0
push ebx
lea edx, [esi - 0xe]
push ebp
push edx
lea ecx, [edi - 0xa]
call fcn.004edbf0
push ebx
lea eax, [esi - 0xa]
push ebp
push eax
lea ecx, [edi - 7]
call fcn.004edbf0
push ebx
lea ecx, [esi - 6]
push ebp
push ecx
lea ecx, [edi - 4]
call fcn.004edbf0
xor edx, edx
xor eax, eax
mov dl, byte [esi + 1]
xor ecx, ecx
shl edx, 8
mov cl, byte [edi + 1]
mov ah, byte [edx + ebp + 0xa2ee04]
xor edx, edx
mov dl, byte [esi]
mov dword [esp + 0x14], eax
xor eax, eax
mov ah, byte [ebx + 0xa3ed04]
mov dword [esp + 0x10], eax
mov cl, byte [ecx + eax + 0xa2ee04]
mov eax, dword [esp + 0x14]
add cl, byte [edx + eax + 0xa2ee04]
xor edx, edx
mov dl, byte [esi - 1]
push ecx
xor ecx, ecx
mov dl, byte [edx + eax + 0xa2ee04]
mov cl, byte [edi]
mov eax, dword [esp + 0x14]
add dl, byte [ecx + eax + 0xa2ee04]
mov eax, dword [esp + 0x18]
xor ecx, ecx
mov cl, byte [esi - 2]
push edx
xor edx, edx
mov cl, byte [ecx + eax + 0xa2ee04]
mov dl, byte [edi - 1]
mov eax, dword [esp + 0x18]
add cl, byte [edx + eax + 0xa2ee04]
push ecx
lea ecx, [edi - 1]
call fcn.004d9c90
xor ecx, ecx
xor eax, eax
mov cl, byte [esi + 5]
xor edx, edx
mov dh, byte [ebx + 0xa3ed04]
shl ecx, 8
mov dword [esp + 0x10], edx
mov ah, byte [ecx + ebp + 0xa2ee04]
xor ecx, ecx
mov cl, byte [esi + 4]
mov dword [esp + 0x14], eax
mov al, byte [ecx + eax + 0xa2ee04]
mov ecx, dword [esp + 0x10]
xor edx, edx
mov dl, byte [edi + 4]
add al, byte [edx + ecx + 0xa2ee04]
mov ecx, dword [esp + 0x14]
xor edx, edx
mov dl, byte [esi + 3]
push eax
xor eax, eax
mov dl, byte [edx + ecx + 0xa2ee04]
mov al, byte [edi + 3]
mov ecx, dword [esp + 0x14]
add dl, byte [eax + ecx + 0xa2ee04]
mov ecx, dword [esp + 0x18]
xor eax, eax
mov al, byte [edi + 2]
push edx
xor edx, edx
mov dl, byte [esi + 2]
mov dl, byte [edx + ecx + 0xa2ee04]
mov ecx, dword [esp + 0x18]
add dl, byte [eax + ecx + 0xa2ee04]
lea ecx, [edi + 2]
push edx
call fcn.004d9c90
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
add ecx, 0x18
add edi, 0x18
add edx, 0x20
add esi, 0x20
dec eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x20], eax
jne 0x4d985e
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x18]
test edx, edx
jle 0x4d9aa4
mov edi, ecx
lea esi, [eax + 2]
mov dword [esp + 0x10], edx
xor edx, edx
xor eax, eax
mov dl, byte [esi + 1]
xor ecx, ecx
shl edx, 8
mov cl, byte [edi + 2]
mov ah, byte [edx + ebp + 0xa2ee04]
xor edx, edx
mov dl, byte [esi]
mov dword [esp + 0x20], eax
xor eax, eax
mov ah, byte [ebx + 0xa3ed04]
mov dword [esp + 0x14], eax
mov cl, byte [ecx + eax + 0xa2ee04]
mov eax, dword [esp + 0x20]
add cl, byte [edx + eax + 0xa2ee04]
xor edx, edx
mov dl, byte [esi - 1]
push ecx
xor ecx, ecx
mov dl, byte [edx + eax + 0xa2ee04]
mov cl, byte [edi + 1]
mov eax, dword [esp + 0x18]
add dl, byte [ecx + eax + 0xa2ee04]
mov eax, dword [esp + 0x24]
xor ecx, ecx
mov cl, byte [esi - 2]
push edx
xor edx, edx
mov cl, byte [ecx + eax + 0xa2ee04]
mov dl, byte [edi]
mov eax, dword [esp + 0x1c]
add cl, byte [edx + eax + 0xa2ee04]
push ecx
mov ecx, edi
call fcn.004d9c90
mov eax, dword [esp + 0x10]
add esi, 4
add edi, 3
dec eax
mov dword [esp + 0x10], eax
jne 0x4d9a02
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x34]
mov edi, dword [esp + 0x38]
add ecx, esi
mov esi, dword [esp + 0x28]
add eax, edi
dec esi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x28], esi
jne 0x4d9842
pop edi
pop ebx
pop esi
xor eax, eax
pop ebp
add esp, 0x9c
ret
mov edx, dword [esp + 0x98]
mov esi, dword [esp + 0x8c]
shl edx, 2
mov dword [esp + 0x30], esi
mov esi, dword [esp + 0x90]
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x10]
imul edx, dword [esp + 0xa8]
mov dword [esp + 0x54], esi
mov esi, dword [esp + 0xa0]
mov dword [esp + 0x38], esi
mov esi, dword [esp + 0x94]
mov dword [esp + 0x4c], esi
mov esi, dword [esp + 0xa4]
mov dword [esp + 0x34], esi
mov esi, dword [esp + 0x9c]
test edi, edi
mov dword [esp + 0x48], edx
mov dword [esp + 0x1c], esi
jle 0x4d9c80
add ecx, 2
mov dword [esp + 0x20], edi
mov dword [esp + 0x2c], ecx
jmp 0x4d9b4d
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x38]
add esi, edi
mov dword [esp + 0x1c], esi
js 0x4d9b6d
mov ebp, dword [esp + 0x10]
mov edi, dword [esp + 0x34]
add eax, ebp
sub esi, edi
mov dword [esp + 0x1c], esi
mov esi, dword [esp + 0x30]
mov dword [esp + 0x50], eax
test ebx, ebx
mov dword [esp + 0x18], esi
jle 0x4d9c59
mov dword [esp + 0x28], ebx
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x54]
add edx, esi
mov dword [esp + 0x18], edx
js 0x4d9ba2
mov esi, dword [esp + 0x4c]
add eax, 4
sub edx, esi
mov dword [esp + 0x18], edx
mov esi, dword [esp + 0xc0]
mov edi, dword [esp + 0xc4]
xor edx, edx
xor ebx, ebx
mov dl, byte [eax + 3]
add ecx, 3
shl edx, 8
mov bh, byte [edx + esi + 0xa2ee04]
xor edx, edx
mov dh, byte [edi + 0xa3ed04]
mov esi, ebx
mov edi, edx
xor edx, edx
mov dl, byte [eax + 1]
xor ebx, ebx
mov bl, byte [ecx - 4]
mov dl, byte [edx + esi + 0xa2ee04]
add dl, byte [ebx + edi + 0xa2ee04]
xor ebx, ebx
mov bl, byte [eax + 2]
mov ebp, ebx
xor ebx, ebx
mov bl, byte [ecx - 3]
mov dword [esp + 0x3c], ebx
mov bl, byte [esi + ebp + 0xa2ee04]
mov ebp, dword [esp + 0x3c]
add bl, byte [edi + ebp + 0xa2ee04]
mov byte [esp + 0x27], bl
xor ebx, ebx
mov bl, byte [eax]
mov ebp, ebx
xor ebx, ebx
mov bl, byte [ecx - 5]
mov dword [esp + 0x3c], ebx
mov bl, byte [esi + ebp + 0xa2ee04]
mov esi, dword [esp + 0x3c]
add bl, byte [esi + edi + 0xa2ee04]
mov edi, dword [esp + 0x40]
mov byte [ecx - 4], dl
mov dl, byte [esp + 0x27]
mov byte [ecx - 3], dl
mov edx, dword [esp + 0x28]
mov byte [ecx - 5], bl
add eax, edi
dec edx
mov dword [esp + 0x28], edx
jne 0x4d9b85
mov ebx, dword [esp + 0x44]
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x2c]
mov esi, dword [esp + 0x14]
add eax, edx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x20]
add ecx, esi
dec eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x20], eax
jne 0x4d9b49
pop edi
pop ebx
pop esi
xor eax, eax
pop ebp
add esp, 0x9c
ret