Function at 0x451f00
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x1c
mov ebp, edx
mov esi, ecx
mov al, byte [esp + 0x34]
cmp byte [esp + 0x30], 0
je 0x451f24
movzx ecx, byte [ebp]
test cl, 1
je 0x451f28
mov ecx, dword [ebp + 4]
jmp 0x451f2a
xor ecx, ecx
jmp 0x451f30
shr ecx, 1
cmp ecx, 4
sete cl
mov dl, byte [esp + 0x38]
movsx eax, al
cmp eax, 1
je 0x451fc3
test eax, eax
jne case.default.0x451fd1
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], ecx
test cl, cl
je 0x45228e
movzx eax, byte [ebp]
lea ebx, [ebp + 2]
mov ecx, eax
and ecx, 0xfffffffe
test al, 1
lea eax, [ebp + ecx + 2]
mov ecx, dword [ebp + 4]
mov edx, dword [ebp + 8]
lea ecx, [edx + ecx*2]
cmove ecx, eax
cmovne ebx, edx
lea eax, [ebx + 6]
mov dword [esp + 4], ecx
cmp eax, ecx
je 0x45228e
lea ecx, [ebx + 8]
mov esi, dword [esp + 4]
cmp ecx, esi
je 0x452096
mov edx, esi
sub edx, eax
cmp edx, 6
jne 0x4520af
movzx eax, word [ebx]
movzx ecx, word [ebx + 6]
mov word [ebx], cx
mov word [ebx + 6], ax
mov eax, dword [ebx + 2]
mov ecx, dword [ebx + 8]
mov dword [ebx + 2], ecx
mov dword [ebx + 8], eax
jmp 0x45228e
movsx eax, byte [esp + 0x3c]
cmp eax, 4
ja case.default.0x451fd1
jmp dword [eax*4 + 0x4b35b8]
mov byte [esi], 3
mov byte [esi + 3], 4
movsx eax, dl
cmp eax, 2
je 0x452150
cmp eax, 1
je 0x452158
test eax, eax
jne case.default.0x451fd1
jmp 0x45205c
mov byte [esi], 2
mov byte [esi + 3], 3
movsx eax, dl
cmp eax, 2
je 0x452170
cmp eax, 1
je 0x45219c
test eax, eax
jne case.default.0x451fd1
mov word [esi + 1], 0x400
jmp 0x452352
mov byte [esi], 3
mov byte [esi + 3], 4
movsx eax, dl
cmp eax, 2
je 0x452150
cmp eax, 1
je 0x452158
test eax, eax
jne case.default.0x451fd1
mov word [esi + 1], 2
jmp 0x452352
mov byte [esi], 2
mov byte [esi + 3], 4
movsx eax, dl
cmp eax, 2
je 0x452160
cmp eax, 1
je 0x452168
test eax, eax
jne case.default.0x451fd1
mov word [esi + 1], 3
jmp 0x452352
movzx eax, word [ebx + 6]
mov ecx, dword [ebx]
movzx edx, word [ebx + 4]
mov word [esi - 2], dx
mov dword [esi - 6], ecx
mov word [ebx], ax
jmp 0x45228e
sar edx, 1
mov esi, 3
nop word cs:[eax + eax]
mov eax, esi
mov esi, edx
cdq
idiv esi
test edx, edx
jne 0x4520c0
test esi, esi
je 0x45228e
lea ecx, [ebx + esi*2]
lea edx, [esi + esi]
add edx, 0xfffffffe
test dl, 2
jne 0x4521d0
mov dword [esp + 8], edx
lea eax, [ecx - 2]
movzx edx, word [ecx - 2]
mov word [esp + 0xe], dx
add ecx, 4
mov dword [esp], ebx
mov edi, eax
mov ebx, dword [esp + 4]
nop word cs:[eax + eax]
nop dword [eax + eax]
mov esi, ecx
movzx ecx, word [ecx]
mov word [edi], cx
mov ecx, ebx
sub ecx, esi
mov edi, ecx
shr edi, 1
mov edx, 3
sub edx, edi
cmp ecx, 6
lea edi, [esi + 6]
mov ecx, dword [esp]
lea ecx, [ecx + edx*2]
cmovg ecx, edi
mov edi, esi
cmp ecx, eax
jne 0x452110
movzx ecx, word [esp + 0xe]
mov word [esi], cx
mov ebx, dword [esp]
mov edx, dword [esp + 8]
jmp 0x4521d2
mov word [esi + 1], 0x201
jmp 0x452176
mov word [esi + 1], 2
jmp 0x4521a2
mov word [esi + 1], 0x300
jmp 0x4521a2
mov word [esi + 1], 0x103
jmp 0x452176
mov word [esi + 1], 0x104
test cl, cl
je 0x452352
movzx eax, byte [ebp]
test al, 1
jne 0x4521b8
shr eax, 1
lea ecx, [eax - 1]
add cl, cl
mov byte [ebp], cl
mov word [ebp + eax*2], 0
jmp 0x452352
mov word [esi + 1], 0x400
test cl, cl
jne 0x452352
mov ecx, ebp
push 0x20
call fcn.00420510
jmp 0x452352
mov eax, dword [ebp + 4]
mov ecx, dword [ebp + 8]
lea edx, [eax - 1]
mov dword [ebp + 4], edx
mov word [ecx + eax*2 - 2], 0
jmp 0x452352
mov eax, ecx
test edx, edx
je 0x45228e
mov dword [esp + 0x10], ebp
nop
lea edx, [eax - 2]
movzx ecx, word [eax - 2]
mov word [esp + 8], cx
lea esi, [eax + 4]
mov dword [esp], edx
mov ecx, dword [esp + 4]
nop word cs:[eax + eax]
mov edi, esi
movzx esi, word [esi]
mov word [edx], si
mov edx, ecx
sub edx, edi
mov esi, edx
shr esi, 1
mov ebp, 3
sub ebp, esi
cmp edx, 6
lea edx, [edi + 6]
lea esi, [ebx + ebp*2]
cmovg esi, edx
mov edx, edi
cmp esi, dword [esp]
jne 0x452200
movzx edx, word [esp + 8]
mov word [edi], dx
lea edx, [eax - 4]
movzx esi, word [eax - 4]
mov word [esp], si
add eax, 2
mov edi, edx
nop word cs:[eax + eax]
nop dword [eax]
mov esi, eax
movzx eax, word [eax]
mov word [edi], ax
mov eax, ecx
sub eax, esi
mov edi, eax
shr edi, 1
mov ebp, 3
sub ebp, edi
cmp eax, 6
lea edi, [esi + 6]
lea eax, [ebx + ebp*2]
cmovg eax, edi
mov edi, esi
cmp eax, edx
jne 0x452250
movzx eax, word [esp]
mov word [esi], ax
mov eax, edx
cmp edx, ebx
mov ebp, dword [esp + 0x10]
jne 0x4521e0
movsx eax, byte [esp + 0x3c]
cmp eax, 4
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov dl, byte [esp + 0x38]
ja case.default.0x451fd1
jmp dword [eax*4 + 0x4b35cc]
mov dword [esi], 0x2000403
mov byte [esi], 4
mov byte [esi + 3], 3
movsx eax, dl
cmp eax, 2
je 0x45235a
cmp eax, 1
jne 0x452326
mov word [esi + 1], 0x200
jmp 0x452391
mov byte [esi], 3
mov byte [esi + 3], 2
movsx eax, dl
cmp eax, 2
je 0x45237b
cmp eax, 1
je 0x452383
test eax, eax
jne case.default.0x451fd1
mov word [esi + 1], 4
jmp 0x452352
mov byte [esi], 4
mov byte [esi + 3], 3
movsx eax, dl
cmp eax, 2
je 0x45235a
cmp eax, 1
je 0x452362
test eax, eax
jne case.default.0x451fd1
jmp 0x452373
mov byte [esi], 4
mov byte [esi + 3], 2
movsx eax, dl
cmp eax, 2
je 0x45238b
cmp eax, 1
je 0x4523a4
test eax, eax
jne case.default.0x451fd1
mov word [esi + 1], 0x300
jmp 0x452352
mov word [esi + 1], 0x102
jmp 0x4523aa
test cl, cl
jne 0x452373
mov ecx, ebp
push 0x20
push 1
push 0
call fcn.00420a10
mov word [esi + 1], 0x200
jmp 0x452352
mov word [esi + 1], 0x401
jmp 0x4523aa
mov word [esi + 1], 4
jmp 0x452391
mov word [esi + 1], 3
mov word [esi + 1], 0x301
test cl, cl
je 0x452352
mov ecx, ebp
push 1
push 0
call fcn.00420ce0
jmp 0x452352