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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x1c
mov ebx, edx
mov esi, ecx
mov al, byte [esp + 0x34]
cmp byte [esp + 0x30], 0
je 0x4507d3
movzx ecx, byte [ebx]
test cl, 1
je 0x4507d7
mov ecx, dword [ebx + 4]
jmp 0x4507d9
xor ecx, ecx
jmp 0x4507df
shr ecx, 1
cmp ecx, 4
sete cl
mov dh, byte [esp + 0x3c]
mov dl, byte [esp + 0x38]
movsx eax, al
cmp eax, 1
je 0x45087b
test eax, eax
jne case.default.0x450887
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], ecx
test cl, cl
je 0x450b0a
movzx eax, byte [ebx]
lea edi, [ebx + 1]
mov ecx, eax
shr ecx, 1
mov edx, dword [ebx + 8]
mov esi, dword [ebx + 4]
add esi, edx
test al, 1
lea ecx, [ebx + ecx + 1]
cmovne ecx, esi
cmovne edi, edx
mov dh, byte [esp + 0x3c]
lea eax, [edi + 3]
mov dword [esp + 0xc], ecx
cmp eax, ecx
je 0x450b0a
lea ecx, [edi + 4]
mov esi, dword [esp + 0xc]
cmp ecx, esi
je 0x450944
mov edx, esi
sub edx, eax
cmp edx, 3
jne 0x45095b
mov al, byte [edi]
mov cl, byte [edi + 3]
mov byte [edi], cl
mov byte [edi + 3], al
movzx eax, word [edi + 1]
movzx ecx, word [edi + 4]
mov word [edi + 1], cx
mov word [edi + 4], ax
mov dh, byte [esp + 0x3c]
jmp 0x450b0a
movsx eax, dh
cmp eax, 4
ja case.default.0x450887
jmp dword [eax*4 + 0x4b34f0]
mov dword [esi], 0x4000203
jmp 0x450b2f
mov byte [esi], 3
mov byte [esi + 3], 4
movsx eax, dl
cmp eax, 2
je 0x45098e
cmp eax, 1
je 0x450996
test eax, eax
jne case.default.0x450887
jmp 0x450912
mov byte [esi], 2
mov byte [esi + 3], 3
movsx eax, dl
cmp eax, 2
je 0x4509ae
cmp eax, 1
je 0x4509d5
test eax, eax
jne case.default.0x450887
mov word [esi + 1], 0x400
jmp 0x450bcc
mov byte [esi], 3
mov byte [esi + 3], 4
movsx eax, dl
cmp eax, 2
je 0x45098e
cmp eax, 1
je 0x450996
test eax, eax
jne case.default.0x450887
mov word [esi + 1], 2
jmp 0x450bcc
mov byte [esi], 2
mov byte [esi + 3], 4
movsx eax, dl
cmp eax, 2
je 0x45099e
cmp eax, 1
je 0x4509a6
test eax, eax
jne case.default.0x450887
mov word [esi + 1], 3
jmp 0x450bcc
mov al, byte [edi + 3]
movzx ecx, word [edi]
mov dl, byte [edi + 2]
mov byte [esi - 1], dl
mov word [esi - 3], cx
mov byte [edi], al
jmp 0x450b0a
mov ecx, 3
mov eax, ecx
mov ecx, edx
cdq
idiv ecx
test edx, edx
jne 0x450960
test ecx, ecx
mov dh, byte [esp + 0x3c]
je 0x450b0a
mov dword [esp + 8], edi
lea ebp, [edi + ecx]
test cl, 1
jne 0x450a07
mov eax, ebp
jmp 0x450a56
mov word [esi + 1], 0x201
jmp 0x4509b4
mov word [esi + 1], 2
jmp 0x4509db
mov word [esi + 1], 0x300
jmp 0x4509db
mov word [esi + 1], 0x103
jmp 0x4509b4
mov word [esi + 1], 0x104
test cl, cl
je 0x450bcc
movzx eax, byte [ebx]
test al, 1
jne 0x4509f1
shr eax, 1
lea ecx, [eax - 1]
add cl, cl
mov byte [ebx], cl
mov byte [ebx + eax], 0
jmp 0x450bcc
mov word [esi + 1], 0x400
test cl, cl
jne 0x450bcc
mov ecx, ebx
push 0x20
call fcn.0041df20
jmp 0x450bcc
mov eax, dword [ebx + 4]
mov ecx, dword [ebx + 8]
lea edx, [eax - 1]
mov dword [ebx + 4], edx
mov byte [ecx + eax - 1], 0
jmp 0x450bcc
lea eax, [ebp - 1]
mov dl, byte [ebp - 1]
mov byte [esp + 3], dl
add ebp, 2
mov edx, eax
mov edi, dword [esp + 0xc]
nop word [eax + eax]
mov esi, ebp
mov ebp, edx
movzx edx, byte [esi]
mov byte [ebp], dl
mov edx, edi
sub edx, esi
lea ebp, [esi + 3]
mov dword [esp + 4], ebp
mov ebp, dword [esp + 8]
sub ebp, edx
add ebp, 3
cmp edx, 3
cmovg ebp, dword [esp + 4]
mov edx, esi
cmp ebp, eax
jne 0x450a20
mov dl, byte [esp + 3]
mov byte [esi], dl
mov dh, byte [esp + 0x3c]
cmp ecx, 1
mov edi, dword [esp + 8]
je 0x450b0a
mov dword [esp + 0x10], ebx
nop word [eax + eax]
lea edx, [eax - 1]
mov cl, byte [eax - 1]
mov byte [esp + 8], cl
lea esi, [eax + 2]
mov dword [esp + 4], edx
mov ecx, dword [esp + 0xc]
nop word cs:[eax + eax]
nop
mov ebp, esi
movzx ebx, byte [esi]
mov byte [edx], bl
mov edx, ecx
sub edx, esi
lea ebx, [esi + 3]
mov esi, edi
sub esi, edx
add esi, 3
cmp edx, 3
cmovg esi, ebx
mov edx, ebp
cmp esi, dword [esp + 4]
jne 0x450a90
mov dl, byte [esp + 8]
mov byte [ebp], dl
lea edx, [eax - 2]
mov bl, byte [eax - 2]
mov byte [esp + 4], bl
add eax, 1
mov esi, edx
nop dword [eax]
mov ebp, eax
movzx eax, byte [eax]
mov byte [esi], al
mov esi, ecx
sub esi, ebp
lea ebx, [ebp + 3]
mov eax, edi
sub eax, esi
add eax, 3
cmp esi, 3
cmovg eax, ebx
mov esi, ebp
cmp eax, edx
jne 0x450ad0
mov al, byte [esp + 4]
mov byte [ebp], al
mov eax, edx
cmp edx, edi
mov ebx, dword [esp + 0x10]
mov dh, byte [esp + 0x3c]
jne 0x450a70
movsx eax, dh
cmp eax, 4
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov dl, byte [esp + 0x38]
ja case.default.0x450887
jmp dword [eax*4 + 0x4b3504]
mov dword [esi], 0x2000403
movsx eax, dl
test eax, eax
je 0x450bcc
cmp eax, 2
je 0x450bcc
cmp eax, 1
jne case.default.0x450887
jmp 0x450c0b
mov byte [esi], 4
mov byte [esi + 3], 3
movsx eax, dl
cmp eax, 2
je 0x450bd4
cmp eax, 1
jne 0x450ba0
mov word [esi + 1], 0x200
jmp 0x450c0b
mov byte [esi], 3
mov byte [esi + 3], 2
movsx eax, dl
cmp eax, 2
je 0x450bf5
cmp eax, 1
je 0x450bfd
test eax, eax
jne case.default.0x450887
mov word [esi + 1], 4
jmp 0x450bcc
mov byte [esi], 4
mov byte [esi + 3], 3
movsx eax, dl
cmp eax, 2
je 0x450bd4
cmp eax, 1
je 0x450bdc
test eax, eax
jne case.default.0x450887
jmp 0x450bed
mov byte [esi], 4
mov byte [esi + 3], 2
movsx eax, dl
cmp eax, 2
je 0x450c05
cmp eax, 1
je 0x450c1e
test eax, eax
jne case.default.0x450887
mov word [esi + 1], 0x300
jmp 0x450bcc
mov dword [esi], 0x4000302
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret
mov word [esi + 1], 0x102
jmp 0x450c24
test cl, cl
jne 0x450bed
mov ecx, ebx
push 0x20
push 1
push 0
call fcn.0041e3d0
mov word [esi + 1], 0x200
jmp 0x450bcc
mov word [esi + 1], 0x401
jmp 0x450c24
mov word [esi + 1], 4
jmp 0x450c0b
mov word [esi + 1], 3
test cl, cl
jne 0x450bcc
mov ecx, ebx
push 0x20
push 1
push 0
call fcn.0041e3d0
jmp 0x450bcc
mov word [esi + 1], 0x301
test cl, cl
je 0x450bcc
mov ecx, ebx
push 1
push 0
call fcn.0041e6b0
jmp 0x450bcc