Function at 0x4db020
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 0x4db076
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 0x4db3de
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 0x4db570
mov dword [esp + 0x20], edi
mov esi, dword [esp + 0x24]
test esi, esi
jle 0x4db311
mov ebx, dword [esp + 0xc0]
mov ebp, dword [esp + 0xc4]
mov edx, dword [esp + 0x24]
lea edi, [eax + 0xe]
shl ebx, 8
shl ebp, 8
lea esi, [ecx + 0xe]
mov dword [esp + 0x18], edx
jmp 0x4db15f
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.004db5a0
mov eax, dword [esp + 0xc4]
mov ecx, dword [esp + 0xc0]
push eax
lea edx, [edi - 0xb]
push ecx
push edx
lea ecx, [esi - 0xb]
call fcn.004db5a0
mov eax, dword [esp + 0xc4]
mov ecx, dword [esp + 0xc0]
push eax
lea edx, [edi - 8]
push ecx
push edx
lea ecx, [esi - 8]
call fcn.004db5a0
mov eax, dword [esp + 0xc4]
mov ecx, dword [esp + 0xc0]
push eax
lea edx, [edi - 5]
push ecx
push edx
lea ecx, [esi - 5]
call fcn.004db5a0
xor eax, eax
lea ecx, [esi - 2]
mov al, byte [edi - 2]
xor edx, edx
mov dl, byte [ecx]
mov al, byte [eax + ebx + 0xa2ee04]
add al, byte [edx + ebp + 0xa2ee04]
xor edx, edx
mov dl, byte [esi - 1]
push eax
xor eax, eax
mov al, byte [edi - 1]
mov dl, byte [edx + ebp + 0xa2ee04]
add dl, byte [eax + ebx + 0xa2ee04]
xor eax, eax
mov al, byte [esi]
push edx
xor edx, edx
mov dl, byte [edi]
mov al, byte [eax + ebp + 0xa2ee04]
add al, byte [edx + ebx + 0xa2ee04]
push eax
call fcn.004db580
xor edx, edx
lea ecx, [esi + 1]
mov dl, byte [edi + 1]
xor eax, eax
mov al, byte [ecx]
mov dl, byte [edx + ebx + 0xa2ee04]
add dl, byte [eax + ebp + 0xa2ee04]
xor eax, eax
mov al, byte [esi + 2]
push edx
xor edx, edx
mov dl, byte [edi + 2]
mov al, byte [eax + ebp + 0xa2ee04]
add al, byte [edx + ebx + 0xa2ee04]
xor edx, edx
mov dl, byte [esi + 3]
push eax
xor eax, eax
mov al, byte [edi + 3]
mov dl, byte [edx + ebp + 0xa2ee04]
add dl, byte [eax + ebx + 0xa2ee04]
push edx
call fcn.004db580
mov eax, dword [esp + 0xc4]
mov ecx, dword [esp + 0xc0]
push eax
push ecx
lea edx, [edi + 4]
push edx
lea ecx, [esi + 4]
call fcn.004db5a0
xor eax, eax
lea ecx, [esi + 7]
mov al, byte [edi + 7]
xor edx, edx
mov dl, byte [ecx]
mov al, byte [eax + ebx + 0xa2ee04]
add al, byte [edx + ebp + 0xa2ee04]
xor edx, edx
mov dl, byte [esi + 8]
push eax
xor eax, eax
mov al, byte [edi + 8]
mov dl, byte [edx + ebp + 0xa2ee04]
add dl, byte [eax + ebx + 0xa2ee04]
xor eax, eax
mov al, byte [esi + 9]
push edx
xor edx, edx
mov dl, byte [edi + 9]
mov al, byte [eax + ebp + 0xa2ee04]
add al, byte [edx + ebx + 0xa2ee04]
push eax
call fcn.004db580
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 0x4db157
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
test edx, edx
jle 0x4db3ae
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 + 1]
mov dword [esp + 0x30], eax
mov dword [esp + 0x18], edx
xor edx, edx
lea ecx, [esi - 1]
mov dl, byte [ebp]
xor eax, eax
mov al, byte [ecx]
mov dl, byte [edx + edi + 0xa2ee04]
add dl, byte [eax + ebx + 0xa2ee04]
xor eax, eax
push edx
mov edx, dword [esp + 0x34]
mov al, byte [edx + esi]
xor edx, edx
mov dl, byte [esi]
mov al, byte [eax + edi + 0xa2ee04]
add al, byte [edx + ebx + 0xa2ee04]
xor edx, edx
mov dl, byte [esi + 1]
push eax
xor eax, eax
mov al, byte [ebp + 2]
mov dl, byte [edx + ebx + 0xa2ee04]
add dl, byte [eax + edi + 0xa2ee04]
push edx
call fcn.004db580
mov eax, dword [esp + 0x18]
add ebp, 3
add esi, 3
dec eax
mov dword [esp + 0x18], eax
jne 0x4db33c
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 0x4db127
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 0x4db570
inc ecx
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], ecx
jmp 0x4db455
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x34]
add esi, edi
mov dword [esp + 0x14], esi
js 0x4db475
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 0x4db549
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 0x4db4c2
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]
add ecx, 3
mov dl, byte [edx + esi + 0xa2ee04]
add dl, byte [ebx + edi + 0xa2ee04]
xor ebx, ebx
mov bl, byte [eax]
mov edi, ebx
xor ebx, ebx
mov bl, byte [ecx - 4]
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 + 2]
mov edi, ebx
xor ebx, ebx
mov bl, byte [ecx - 2]
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 - 3], dl
mov dl, byte [esp + 0x1f]
mov byte [ecx - 4], dl
mov edx, dword [esp + 0x24]
mov byte [ecx - 2], bl
add eax, ebp
dec edx
mov dword [esp + 0x24], edx
jne 0x4db4a5
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 0x4db451
pop edi
pop ebx
pop esi
xor eax, eax
pop ebp
add esp, 0x9c
ret