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

Disassembly:
mov ebp, dword [esp + 0x44]
mov eax, dword [ebx + ebp]
mov edi, dword [ebx]
mov ebx, dword [esi + 0x24]
mov dword [esp + 0x74], eax
cmp ebx, edx
mov dword [esp + 0x70], edi
je 0x46dc63
add eax, ecx
mov dword [esp + 0x30], 0xffffffff
mov dword [esp + 0x78], 0xfffffffd
mov dword [esi + 0x24], edx
lea eax, [eax + ecx*2 - 3]
mov dword [esp + 0x74], eax
lea eax, [edi + ecx - 1]
mov edi, dword [esi + 0x20]
mov dword [esp + 0x70], eax
lea eax, [ecx + ecx*2 + 3]
lea ebp, [edi + eax*2]
mov eax, dword [esp + 0x74]
jmp 0x46dc7a
mov ebp, dword [esi + 0x20]
mov edi, 1
mov dword [esp + 0x30], edi
mov dword [esp + 0x78], 3
mov dword [esi + 0x24], edi
mov dword [esp + 0x2c], edx
mov dword [esp + 0x28], edx
mov dword [esp + 0x24], edx
xor edx, edx
xor ebx, ebx
xor edi, edi
xor esi, esi
cmp ecx, edx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], esi
jbe 0x46de3e
mov dword [esp + 0x34], ecx
jmp 0x46dcac
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x78]
movsx edx, word [ebp + ecx*2]
lea ecx, [edx + esi + 8]
mov esi, dword [esp + 0x10]
sar ecx, 4
xor edx, edx
mov dl, byte [eax]
mov ecx, dword [esi + ecx*4]
mov esi, dword [esp + 0x20]
add ecx, edx
xor edx, edx
mov dl, byte [ecx + esi]
mov ecx, dword [esp + 0x78]
mov esi, edx
movsx edx, word [ebp + ecx*2 + 2]
lea ecx, [edx + edi + 8]
mov edi, dword [esp + 0x10]
sar ecx, 4
xor edx, edx
mov dl, byte [eax + 1]
mov edi, dword [edi + ecx*4]
mov ecx, dword [esp + 0x20]
add edi, edx
xor edx, edx
mov dl, byte [edi + ecx]
mov edi, edx
mov edx, dword [esp + 0x78]
movsx edx, word [ebp + edx*2 + 4]
lea edx, [edx + ebx + 8]
xor ebx, ebx
mov bl, byte [eax + 2]
mov eax, dword [esp + 0x10]
sar edx, 4
mov edx, dword [eax + edx*4]
mov eax, esi
add edx, ebx
xor ebx, ebx
sar eax, 3
mov bl, byte [edx + ecx]
mov ecx, edi
sar ecx, 2
mov edx, ebx
mov dword [esp + 0x50], ecx
sar edx, 3
shl ecx, 5
mov dword [esp + 0x4c], edx
add ecx, edx
mov edx, dword [esp + 0x48]
mov edx, dword [edx + eax*4]
cmp word [edx + ecx*2], 0
lea ecx, [edx + ecx*2]
mov dword [esp + 0x54], ecx
jne 0x46dd6d
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x50]
push ecx
push edx
push eax
mov eax, dword [esp + 0x78]
push eax
call fcn.0046d720
mov ecx, dword [esp + 0x64]
add esp, 0x10
xor eax, eax
xor edx, edx
mov ax, word [ecx]
mov ecx, dword [esp + 0x70]
dec eax
mov byte [ecx], al
mov ecx, dword [esp + 0x58]
mov dl, byte [eax + ecx]
mov ecx, dword [esp + 0x5c]
sub esi, edx
xor edx, edx
mov dl, byte [eax + ecx]
mov ecx, dword [esp + 0x60]
sub edi, edx
xor edx, edx
mov dl, byte [eax + ecx]
lea eax, [esi + esi]
sub ebx, edx
mov edx, dword [esp + 0x14]
mov ecx, esi
add esi, eax
add edx, esi
add esi, eax
mov word [ebp], dx
mov edx, dword [esp + 0x24]
add edx, esi
add esi, eax
invalid
lea ebp, [ebp + eax*2]
mov eax, dword [esp + 0x34]
add edx, ecx
dec eax
mov dword [esp + 0x70], edx
mov dword [esp + 0x34], eax
jne 0x46dca8
mov ecx, dword [esp + 0x64]
mov esi, dword [esp + 0x38]
xor edx, edx
jmp 0x46de42
mov esi, dword [esp + 0x38]
mov ax, word [esp + 0x14]
mov ebx, dword [esp + 0x3c]
mov word [ebp], ax
mov ax, word [esp + 0x18]
mov word [ebp + 2], ax
mov ax, word [esp + 0x1c]
mov word [ebp + 4], ax
mov eax, dword [esp + 0x40]
add ebx, 4
dec eax
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], eax
jne 0x46dc16
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x58
ret