Function at 0x4db630
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 + 0xb0]
push esi
mov esi, dword [esp + 0xac]
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 esi
push ebp
call fcn.00547180
add esp, 0x20
test eax, eax
je 0x4db686
pop esi
mov eax, 1
pop ebp
add esp, 0x9c
ret
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x68]
mov esi, dword [esi + 8]
push ebx
push edi
mov edi, dword [esp + 0x78]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x60]
mov ebx, dword [esp + 0x74]
mov edx, dword [esp + 0x6c]
sub edi, ecx
imul ecx, dword [esp + 0x18]
imul eax, esi
mov dword [esp + 0x20], esi
mov esi, dword [esp + 0x5c]
sub ebx, edx
lea edx, [edx + edx*2]
lea ebp, [esi + esi*2]
add ecx, edx
mov edx, dword [esp + 0xbc]
add eax, ebp
mov ebp, dword [esp + 0xb4]
mov dword [esp + 0x40], 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 + 0x10], eax
mov dword [esp + 0x14], ecx
je 0x4db9f0
mov ebp, ebx
mov edx, ebx
sar ebp, 3
mov dword [esp + 0x24], ebp
mov ebp, dword [esp + 0x64]
and edx, 7
sub esi, ebp
mov ebp, dword [esp + 0x20]
add esi, edx
mov dword [esp + 0x28], edx
lea ebp, [ebp + esi*2]
add esi, ebp
mov dword [esp + 0x34], esi
mov esi, edx
sub esi, ebx
mov ebx, dword [esp + 0x18]
lea ebx, [ebx + esi*2]
add esi, ebx
test edi, edi
mov dword [esp + 0x2c], esi
jle 0x4dbb85
mov dword [esp + 0x20], edi
mov esi, dword [esp + 0x24]
test esi, esi
jle 0x4db921
mov ebx, dword [esp + 0xc0]
mov ebp, dword [esp + 0xc4]
mov edx, dword [esp + 0x24]
lea edi, [eax + 0xd]
shl ebx, 8
shl ebp, 8
lea esi, [ecx + 0xd]
mov dword [esp + 0x18], edx
jmp 0x4db76f
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0xc4]
push edx
mov edx, dword [esp + 0xc4]
push edx
push eax
call fcn.004dbba0
mov eax, dword [esp + 0xc4]
mov ecx, dword [esp + 0xc0]
push eax
lea edx, [edi - 0xa]
push ecx
push edx
lea ecx, [esi - 0xa]
call fcn.004dbba0
mov eax, dword [esp + 0xc4]
mov ecx, dword [esp + 0xc0]
push eax
lea edx, [edi - 7]
push ecx
push edx
lea ecx, [esi - 7]
call fcn.004dbba0
mov eax, dword [esp + 0xc4]
mov ecx, dword [esp + 0xc0]
push eax
lea edx, [edi - 4]
push ecx
push edx
lea ecx, [esi - 4]
call fcn.004dbba0
xor eax, eax
xor edx, edx
mov al, byte [esi + 1]
mov dl, byte [edi + 1]
lea ecx, [esi - 1]
mov al, byte [eax + ebp + 0xa2ee04]
add al, byte [edx + ebx + 0xa2ee04]
xor edx, edx
mov dl, byte [esi]
push eax
xor eax, eax
mov al, byte [edi]
mov dl, byte [edx + ebp + 0xa2ee04]
add dl, byte [eax + ebx + 0xa2ee04]
xor eax, eax
mov al, byte [edi - 1]
push edx
xor edx, edx
mov dl, byte [ecx]
mov al, byte [eax + ebx + 0xa2ee04]
add al, byte [edx + ebp + 0xa2ee04]
push eax
call fcn.004d9c90
xor edx, edx
xor eax, eax
mov dl, byte [esi + 4]
mov al, byte [edi + 4]
lea ecx, [esi + 2]
mov dl, byte [edx + ebp + 0xa2ee04]
add dl, byte [eax + ebx + 0xa2ee04]
xor eax, eax
mov al, byte [esi + 3]
push edx
xor edx, edx
mov dl, byte [edi + 3]
mov al, byte [eax + ebp + 0xa2ee04]
add al, byte [edx + ebx + 0xa2ee04]
xor edx, edx
mov dl, byte [edi + 2]
push eax
xor eax, eax
mov al, byte [ecx]
mov dl, byte [edx + ebx + 0xa2ee04]
add dl, byte [eax + ebp + 0xa2ee04]
push edx
call fcn.004d9c90
mov eax, dword [esp + 0xc4]
mov ecx, dword [esp + 0xc0]
push eax
push ecx
lea edx, [edi + 5]
push edx
lea ecx, [esi + 5]
call fcn.004dbba0
xor eax, eax
xor edx, edx
mov al, byte [esi + 0xa]
mov dl, byte [edi + 0xa]
lea ecx, [esi + 8]
mov al, byte [eax + ebp + 0xa2ee04]
add al, byte [edx + ebx + 0xa2ee04]
xor edx, edx
mov dl, byte [esi + 9]
push eax
xor eax, eax
mov al, byte [edi + 9]
mov dl, byte [edx + ebp + 0xa2ee04]
add dl, byte [eax + ebx + 0xa2ee04]
xor eax, eax
mov al, byte [edi + 8]
push edx
xor edx, edx
mov dl, byte [ecx]
mov al, byte [eax + ebx + 0xa2ee04]
add al, byte [edx + ebp + 0xa2ee04]
push eax
call fcn.004d9c90
mov edx, dword [esp + 0x14]
mov eax, 0x18
add edx, eax
add esi, eax
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x10]
add edx, eax
add edi, eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x10], edx
dec eax
mov dword [esp + 0x18], eax
jne 0x4db767
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
test edx, edx
jle 0x4db9c0
mov edi, dword [esp + 0xc0]
mov ebx, dword [esp + 0xc4]
shl edi, 8
shl ebx, 8
mov ebp, eax
sub eax, ecx
lea esi, [ecx + 2]
mov dword [esp + 0x30], eax
mov dword [esp + 0x18], edx
jmp 0x4db952
mov eax, dword [esp + 0x30]
xor edx, edx
lea ecx, [esi - 2]
mov dl, byte [eax + esi]
xor eax, eax
mov al, byte [esi]
mov dl, byte [edx + edi + 0xa2ee04]
add dl, byte [eax + ebx + 0xa2ee04]
xor eax, eax
mov al, byte [esi - 1]
push edx
xor edx, edx
mov dl, byte [ebp + 1]
mov al, byte [eax + ebx + 0xa2ee04]
add al, byte [edx + edi + 0xa2ee04]
xor edx, edx
mov dl, byte [ebp]
push eax
xor eax, eax
mov al, byte [ecx]
mov dl, byte [edx + edi + 0xa2ee04]
add dl, byte [eax + ebx + 0xa2ee04]
push edx
call fcn.004d9c90
mov eax, dword [esp + 0x18]
add ebp, 3
add esi, 3
dec eax
mov dword [esp + 0x18], eax
jne 0x4db94e
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x2c]
mov edi, dword [esp + 0x34]
mov esi, dword [esp + 0x20]
add ecx, ebx
add eax, edi
dec esi
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], esi
jne 0x4db737
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]
mov dword [esp + 0x4c], esi
mov esi, dword [esp + 0x90]
lea edx, [edx + edx*2]
mov dword [esp + 0x44], esi
mov esi, dword [esp + 0xa0]
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x34], esi
imul edx, dword [esp + 0xa8]
mov esi, dword [esp + 0x94]
mov dword [esp + 0x48], edx
mov dword [esp + 0x54], esi
mov esi, dword [esp + 0xa4]
mov dword [esp + 0x3c], esi
mov esi, dword [esp + 0x9c]
test edi, edi
mov dword [esp + 0x14], esi
jle 0x4dbb85
add ecx, 2
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], ecx
jmp 0x4dba69
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x34]
add esi, edi
mov dword [esp + 0x14], esi
js 0x4dba89
mov ebp, dword [esp + 0x20]
mov edi, dword [esp + 0x3c]
add eax, ebp
sub esi, edi
mov dword [esp + 0x14], esi
mov esi, dword [esp + 0x4c]
mov dword [esp + 0x50], eax
test ebx, ebx
mov dword [esp + 0x10], esi
jle 0x4dbb5e
mov esi, dword [esp + 0xc0]
mov edi, dword [esp + 0xc4]
shl esi, 8
shl edi, 8
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], ebx
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x44]
add edx, ebx
mov dword [esp + 0x10], edx
js 0x4dbad6
mov ebx, dword [esp + 0x54]
add eax, 3
sub edx, ebx
mov dword [esp + 0x10], edx
xor edx, edx
xor ebx, ebx
mov dl, byte [eax + 1]
mov bl, byte [ecx - 1]
add ecx, 3
mov dl, byte [edx + esi + 0xa2ee04]
add dl, byte [ebx + edi + 0xa2ee04]
xor ebx, ebx
mov bl, byte [eax + 2]
mov edi, ebx
xor ebx, ebx
mov bl, byte [ecx - 3]
mov ebp, ebx
mov bl, byte [edi + esi + 0xa2ee04]
mov edi, dword [esp + 0x28]
add bl, byte [edi + ebp + 0xa2ee04]
mov byte [esp + 0x1f], bl
xor ebx, ebx
mov bl, byte [eax]
mov edi, ebx
xor ebx, ebx
mov bl, byte [ecx - 5]
mov ebp, ebx
mov bl, byte [edi + esi + 0xa2ee04]
mov edi, dword [esp + 0x28]
add bl, byte [edi + ebp + 0xa2ee04]
mov ebp, dword [esp + 0x38]
mov byte [ecx - 4], dl
mov dl, byte [esp + 0x1f]
mov byte [ecx - 3], dl
mov edx, dword [esp + 0x24]
mov byte [ecx - 5], bl
add eax, ebp
dec edx
mov dword [esp + 0x24], edx
jne 0x4dbab9
mov ebx, dword [esp + 0x40]
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x2c]
mov esi, dword [esp + 0x18]
add eax, edx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x30]
add ecx, esi
dec eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], eax
jne 0x4dba65
pop edi
pop ebx
pop esi
xor eax, eax
pop ebp
add esp, 0x9c
ret