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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
mov edx, dword [0x4b850c]
mov dword [esp + 0x4c], edx
xor edx, edx
mov esi, dword [esp + 0x70]
mov eax, dword [esp + 0x74]
mov dword [esp + 0x20], esi
test eax, eax
je 0x43e6e5
test esi, esi
je 0x43e6e5
mov edx, dword [esp + 0x78]
mov ebp, dword [esi]
movzx ebx, byte [esi + 0xb]
mov edi, dword [edx*4 + 0x48dbec]
mov edx, ebp
mov dword [esp + 0x2c], ebp
lea ecx, [ebp - 1]
mov byte [esp + 0x18], bl
imul edx, edi
mov dword [esp + 0x38], edx
mov esi, edx
lea edx, [edx - 1]
cmp bl, 2
je 0x43e8c0
cmp bl, 4
je 0x43e7a0
cmp bl, 1
jne 0x43e5e0
shr edx, 3
shr ecx, 3
lea ebx, [eax + ecx]
add eax, edx
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x34], ebx
and edx, 0x10000
mov dword [esp + 0x28], edx
je 0x43ea33
lea edx, [ebp + 7]
mov dword [esp + 0x24], 0xffffffff
and edx, 7
mov dword [esp + 0x1c], 0
mov dword [esp + 0x28], 7
mov ebx, edx
lea edx, [esi + 7]
and edx, 7
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x43e75e
mov dword [esp + 0x2c], 0
lea esi, [esi]
mov esi, dword [esp + 0x34]
movzx ecx, byte [esi]
bt ecx, ebx
setb cl
test edi, edi
jle 0x43e5ac
mov dword [esp + 0x18], edi
movzx ebp, cl
xor esi, esi
mov dword [esp + 0x30], ebx
jmp 0x43e571
mov edi, dword [esp + 0x24]
add esi, 1
add edx, edi
mov edi, dword [esp + 0x18]
cmp esi, edi
je 0x43e5a8
mov ecx, 7
mov ebx, 0x7f7f
mov edi, ebp
sub ecx, edx
sar ebx, cl
mov ecx, ebx
movzx ebx, byte [eax]
and ebx, ecx
mov ecx, edx
shl edi, cl
or ebx, edi
mov byte [eax], bl
cmp dword [esp + 0x1c], edx
jne 0x43e560
mov edi, dword [esp + 0x18]
add esi, 1
mov edx, dword [esp + 0x28]
sub eax, 1
cmp esi, edi
jne 0x43e571
mov ebx, dword [esp + 0x30]
cmp dword [esp + 0x1c], ebx
je 0x43e750
mov esi, dword [esp + 0x24]
add ebx, esi
mov ecx, dword [esp + 0x20]
add dword [esp + 0x2c], 1
mov esi, dword [esp + 0x2c]
cmp esi, dword [ecx]
jb 0x43e538
movzx eax, byte [ecx + 0xb]
mov byte [esp + 0x18], al
jmp 0x43e6be
movzx ebx, byte [esp + 0x18]
shr bl, 3
movzx ebx, bl
imul ecx, ebx
imul edx, ebx
lea ebp, [eax + ecx]
mov ecx, dword [esp + 0x2c]
add edx, eax
test ecx, ecx
je 0x43e6be
mov eax, ebx
mov dword [esp + 0x1c], edi
xor esi, esi
neg eax
mov dword [esp + 0x2c], edx
mov dword [esp + 0x18], eax
imul eax, edi
mov dword [esp + 0x3c], eax
mov eax, ebx
and eax, 2
mov dword [esp + 0x28], eax
lea esi, [esi]
lea eax, [esp + 0x44]
mov dword [esp + 0xc], 8
mov dword [esp + 8], ebx
mov dword [esp + 4], ebp
mov dword [esp], eax
call fcn.00464b70
mov edx, dword [esp + 0x1c]
test edx, edx
jle 0x43e6a1
mov dword [esp + 0x30], ebp
mov ecx, dword [esp + 0x2c]
xor edi, edi
mov dword [esp + 0x34], esi
lea esi, [esi]
cmp ebx, 4
jae 0x43e700
test ebx, ebx
je 0x43e680
movzx eax, byte [esp + 0x44]
mov byte [ecx], al
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x43e790
mov eax, dword [esp + 0x18]
add edi, 1
add ecx, eax
mov eax, dword [esp + 0x1c]
cmp edi, eax
jne 0x43e660
mov edi, dword [esp + 0x3c]
add dword [esp + 0x2c], edi
mov ebp, dword [esp + 0x30]
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x18]
add esi, 1
add ebp, eax
mov eax, dword [esp + 0x20]
cmp esi, dword [eax]
jb 0x43e628
movzx eax, byte [eax + 0xb]
mov byte [esp + 0x18], al
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x38]
mov dword [eax], esi
movzx eax, byte [esp + 0x18]
cmp al, 7
jbe 0x43e770
shr al, 3
movzx eax, al
imul eax, esi
mov esi, dword [esp + 0x20]
mov dword [esi + 4], eax
mov eax, dword [esp + 0x4c]
sub eax, dword [0x4b850c]
jne 0x43ea5c
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
lea esi, [ecx + 4]
mov eax, dword [esp + 0x44]
mov edx, ecx
lea ebp, [esp + 0x44]
and esi, 0xfffffffc
sub edx, esi
mov dword [ecx], eax
mov eax, dword [esp + ebx + 0x40]
sub ebp, edx
add edx, ebx
and edx, 0xfffffffc
mov dword [ecx + ebx - 4], eax
cmp edx, 4
jb 0x43e680
mov dword [esp + 0x24], ecx
and edx, 0xfffffffc
xor eax, eax
mov ecx, dword [ebp + eax]
mov dword [esi + eax], ecx
add eax, 4
cmp eax, edx
jb 0x43e735
mov ecx, dword [esp + 0x24]
jmp 0x43e680
sub dword [esp + 0x34], 1
mov ebx, dword [esp + 0x28]
jmp 0x43e5bc
mov eax, dword [esp + 0x20]
mov dword [eax], 0
lea esi, cs:[esi]
movzx eax, byte [esp + 0x18]
mov esi, dword [esp + 0x38]
imul eax, esi
add eax, 7
shr eax, 3
jmp 0x43e6de
movzx eax, word [esp + ebx + 0x42]
mov word [ecx + ebx - 2], ax
jmp 0x43e680
shr ecx, 1
shr edx, 1
lea esi, [eax + ecx]
add eax, edx
mov dword [esp + 0x34], esi
mov esi, dword [esp + 0x7c]
and esi, 0x10000
mov dword [esp + 0x28], esi
mov esi, dword [esp + 0x2c]
je 0x43ea04
lea edx, [esi*4 + 4]
mov esi, dword [esp + 0x38]
mov dword [esp + 0x24], 0xfffffffc
and edx, 4
mov dword [esp + 0x1c], 0
mov dword [esp + 0x28], 4
mov ebx, edx
lea edx, [esi*4 + 4]
and edx, 4
mov esi, dword [esp + 0x2c]
test esi, esi
je 0x43e75e
mov dword [esp + 0x2c], 0
lea esi, cs:[esi]
mov esi, dword [esp + 0x34]
mov ecx, ebx
movzx ebp, byte [esi]
sar ebp, cl
and ebp, 0xf
test edi, edi
jle 0x43e886
mov ecx, ebp
mov dword [esp + 0x18], edi
xor esi, esi
mov dword [esp + 0x30], ebx
movzx ebp, cl
jmp 0x43e849
mov edi, dword [esp + 0x24]
add esi, 1
add edx, edi
mov edi, dword [esp + 0x18]
cmp esi, edi
je 0x43e882
mov ecx, 4
mov ebx, 0xf0f
mov edi, ebp
sub ecx, edx
sar ebx, cl
mov ecx, ebx
movzx ebx, byte [eax]
and ebx, ecx
mov ecx, edx
shl edi, cl
or ebx, edi
mov edi, dword [esp + 0x1c]
mov byte [eax], bl
cmp edx, edi
jne 0x43e838
mov edi, dword [esp + 0x18]
add esi, 1
mov edx, dword [esp + 0x28]
sub eax, 1
cmp esi, edi
jne 0x43e849
mov ebx, dword [esp + 0x30]
cmp dword [esp + 0x1c], ebx
je 0x43e8b0
mov esi, dword [esp + 0x24]
add ebx, esi
mov ecx, dword [esp + 0x20]
add dword [esp + 0x2c], 1
mov esi, dword [esp + 0x2c]
cmp esi, dword [ecx]
jb 0x43e810
jmp 0x43e5d1
sub dword [esp + 0x34], 1
mov ebx, dword [esp + 0x28]
jmp 0x43e892
shr ecx, 2
shr edx, 2
lea esi, [eax + ecx]
mov dword [esp + 0x34], esi
lea esi, [eax + edx]
mov eax, dword [esp + 0x7c]
and eax, 0x10000
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x2c]
je 0x43e9db
lea eax, [eax + eax + 6]
mov dword [esp + 0x24], 0xfffffffe
and eax, 6
mov dword [esp + 0x1c], 0
mov ecx, eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x28], 6
lea eax, [eax + eax + 6]
and eax, 6
mov ebp, dword [esp + 0x2c]
test ebp, ebp
je 0x43e75e
xor edx, edx
lea esi, [esi]
mov ebx, dword [esp + 0x34]
movzx ebp, byte [ebx]
sar ebp, cl
and ebp, 3
test edi, edi
jle 0x43e9a0
mov ebx, ebp
mov dword [esp + 0x18], edi
movzx ebp, bl
mov dword [esp + 0x2c], ecx
xor ebx, ebx
mov dword [esp + 0x30], edx
jmp 0x43e961
mov edi, dword [esp + 0x24]
add ebx, 1
add eax, edi
mov edi, dword [esp + 0x18]
cmp ebx, edi
je 0x43e998
mov ecx, 6
mov edx, 0x3f3f
mov edi, ebp
sub ecx, eax
sar edx, cl
mov ecx, edx
movzx edx, byte [esi]
and edx, ecx
mov ecx, eax
shl edi, cl
or edx, edi
mov byte [esi], dl
cmp dword [esp + 0x1c], eax
jne 0x43e950
mov edi, dword [esp + 0x18]
add ebx, 1
mov eax, dword [esp + 0x28]
sub esi, 1
cmp ebx, edi
jne 0x43e961
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
cmp dword [esp + 0x1c], ecx
je 0x43e9d0
mov ebx, dword [esp + 0x24]
add ecx, ebx
mov ebx, dword [esp + 0x20]
add edx, 1
cmp edx, dword [ebx]
jb 0x43e928
movzx eax, byte [ebx + 0xb]
mov byte [esp + 0x18], al
jmp 0x43e6be
sub dword [esp + 0x34], 1
mov ecx, dword [esp + 0x28]
jmp 0x43e9ac
neg eax
mov dword [esp + 0x24], 2
add eax, eax
mov dword [esp + 0x1c], 6
and eax, 6
mov ecx, eax
mov eax, dword [esp + 0x38]
neg eax
add eax, eax
and eax, 6
jmp 0x43e913
lea edx, [esi*4]
mov esi, dword [esp + 0x38]
mov dword [esp + 0x24], 4
and edx, 4
mov dword [esp + 0x1c], 4
mov ebx, edx
lea edx, [esi*4]
and edx, 4
jmp 0x43e7f7
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x24], 1
mov dword [esp + 0x1c], 7
neg edx
and edx, 7
mov ebx, edx
mov edx, dword [esp + 0x38]
neg edx
and edx, 7
jmp 0x43e51d
call fcn.00464ba0
lea esi, cs:[esi]
lea esi, [esi]