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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x1fc
lea ecx, [esp + 0x214]
mov ebp, dword [esp + 0x210]
mov esi, dword [ebp]
mov bl, 1
test esi, esi
je 0x45b039
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 0x10]
je 0x45b065
movzx eax, word [eax]
cmp ax, 0xffff
je 0x45b083
cmp dword [ebp], 0
sete bl
mov esi, dword [ecx]
test esi, esi
je 0x45b0b6
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 0x10]
je 0x45b092
movzx eax, word [eax]
cmp ax, 0xffff
je 0x45b0b0
test bl, bl
jne 0x45b0ba
mov eax, dword [esp + 0x224]
or byte [eax], 4
xor ebx, ebx
jmp 0x45c64d
mov eax, dword [esi]
mov edi, dword [eax + 0x24]
mov ecx, edi
call dword [0x4a24bc]
mov ecx, esi
call edi
lea ecx, [esp + 0x214]
cmp ax, 0xffff
jne 0x45b032
mov dword [ebp], 0
mov esi, dword [ecx]
test esi, esi
jne 0x45b03f
jmp 0x45b0b6
mov eax, dword [esi]
mov edi, dword [eax + 0x24]
mov ecx, edi
call dword [0x4a24bc]
mov ecx, esi
call edi
lea ecx, [esp + 0x214]
cmp ax, 0xffff
jne 0x45b050
mov dword [ecx], 0
test bl, bl
jne 0x45b054
movzx ecx, byte [esp + 0x218]
xorps xmm0, xmm0
movsd qword [esp + 0x40], xmm0
mov dword [esp + 0x48], 0
movsd qword [esp + 0x10], xmm0
mov dword [esp + 0x18], 0
movsd qword [esp + 0x34], xmm0
mov dword [esp + 0x3c], 0
movsd qword [esp + 0x58], xmm0
mov dword [esp + 0x60], 0
movsd qword [esp + 0x24], xmm0
mov dword [esp + 0x2c], 0
lea edi, [esp + 0x54]
lea eax, [esp + 0x58]
lea edx, [esp + 0x34]
lea ebx, [esp + 0x10]
movzx ecx, cl
lea ebp, [esp + 0x66]
lea esi, [esp + 0x68]
push edi
push eax
push edx
push ebx
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x78]
push eax
push ebp
push esi
push dword [esp + 0x23c]
push ecx
call fcn.0045ce10
add esp, 0x28
mov esi, dword [esp + 0x238]
mov ecx, dword [esp + 0x234]
mov eax, dword [esp + 0x230]
mov eax, dword [eax]
mov dword [ecx], eax
lea eax, [esp + 0x1fc]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x6c]
mov dword [esp + 0x1c], 0x458be0
mov dword [esp + 0xc], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x50], eax
mov ebp, dword [esp + 0x210]
jmp 0x45b1c2
lea eax, [esp + 0x214]
mov dword [eax], edi
mov eax, dword [esp]
mov esi, dword [esp + 4]
mov edx, dword [esp + 0x20]
inc edx
mov dword [esp + 0x20], edx
cmp edx, 4
je 0x45c2d2
mov dword [esp + 4], esi
mov dword [esp], eax
mov ebx, dword [ebp]
mov cl, 1
test ebx, ebx
je 0x45b217
mov eax, dword [ebx + 0xc]
cmp eax, dword [ebx + 0x10]
je 0x45b1f0
movzx eax, word [eax]
cmp ax, 0xffff
je 0x45b210
cmp dword [ebp], 0
sete cl
jmp 0x45b217
mov eax, dword [ebx]
mov ebp, dword [eax + 0x24]
mov ecx, ebp
call dword [0x4a24bc]
mov ecx, ebx
call ebp
mov ebp, dword [esp + 0x210]
mov cl, 1
cmp ax, 0xffff
jne 0x45b1e3
mov dword [ebp], 0
mov esi, dword [esp + 4]
lea eax, [esp + 0x214]
mov edi, dword [eax]
test edi, edi
je 0x45b27c
mov eax, dword [edi + 0xc]
cmp eax, dword [edi + 0x10]
je 0x45b250
movzx eax, word [eax]
cmp ax, 0xffff
je 0x45b26f
test cl, cl
jne 0x45b286
jmp 0x45c2cf
mov ebx, ecx
mov eax, dword [edi]
mov esi, dword [eax + 0x24]
mov ecx, esi
call dword [0x4a24bc]
mov ecx, edi
call esi
mov esi, dword [esp + 4]
mov ecx, ebx
cmp ax, 0xffff
jne 0x45b239
lea eax, [esp + 0x214]
mov dword [eax], 0
xor edi, edi
test cl, cl
jne 0x45c2bc
mov eax, dword [esp + 0x20]
movzx eax, byte [esp + eax + 0x68]
cmp eax, 4
ja case.default.0x45b298
jmp dword [eax*4 + 0x45c814]
cmp dword [esp + 0x20], 3
mov eax, dword [esp]
je 0x45c2d2
nop dword [eax]
mov ebx, dword [ebp]
mov dl, 1
test ebx, ebx
jne 0x45c130
jmp 0x45c166
mov dword [esp + 8], 0
jmp 0x45b2d6
add eax, 2
mov dword [ebx + 0xc], eax
mov ebx, dword [ebp]
mov cl, 1
test ebx, ebx
je 0x45b2f7
mov eax, dword [ebx + 0xc]
cmp eax, dword [ebx + 0x10]
je 0x45b320
movzx eax, word [eax]
cmp ax, 0xffff
je 0x45b339
cmp dword [ebp], 0
sete cl
lea eax, [esp + 0x214]
mov ebx, dword [eax]
test ebx, ebx
je 0x45b37d
mov eax, dword [ebx + 0xc]
cmp eax, dword [ebx + 0x10]
je 0x45b350
movzx eax, word [eax]
cmp ax, 0xffff
je 0x45b370
test cl, cl
jne 0x45b385
jmp 0x45b6ab
mov eax, dword [ebx]
mov esi, dword [eax + 0x24]
mov ecx, esi
call dword [0x4a24bc]
mov ecx, ebx
call esi
mov cl, 1
cmp ax, 0xffff
jne 0x45b2f0
mov dword [ebp], 0
lea eax, [esp + 0x214]
mov ebx, dword [eax]
test ebx, ebx
jne 0x45b304
jmp 0x45b37d
mov byte [esp + 0x4c], cl
mov eax, dword [ebx]
mov esi, dword [eax + 0x24]
mov ecx, esi
call dword [0x4a24bc]
mov ecx, ebx
call esi
movzx ecx, byte [esp + 0x4c]
cmp ax, 0xffff
jne 0x45b315
lea eax, [esp + 0x214]
mov dword [eax], 0
test cl, cl
jne 0x45b6ab
mov eax, dword [esp + 0x210]
mov ebx, dword [eax]
mov eax, dword [ebx + 0xc]
cmp eax, dword [ebx + 0x10]
je 0x45b3b0
movzx ebp, word [eax]
mov ebx, dword [esp + 0x234]
jmp 0x45b3ca
mov eax, dword [ebx]
mov esi, dword [eax + 0x24]
mov ecx, esi
call dword [0x4a24bc]
mov ecx, ebx
call esi
mov ebx, dword [esp + 0x234]
mov ebp, eax
mov edi, dword [esp + 0x22c]
mov eax, dword [edi]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x4a24bc]
movzx eax, bp
mov ecx, edi
push eax
push 4
call esi
test al, al
je 0x45b460
mov eax, dword [ebx]
mov ecx, dword [esp + 4]
cmp eax, ecx
jne 0x45b546
mov eax, dword [esp + 0x230]
mov edi, dword [eax]
mov ebx, dword [eax + 4]
mov esi, ecx
sub esi, edi
add esi, esi
sub ecx, edi
mov eax, 2
cmove esi, eax
mov dword [esp + 4], ecx
cmp ecx, 0x7fffffff
mov eax, 0xffffffff
cmovae esi, eax
cmp ebx, 0x458be0
je 0x45b4f4
push esi
push edi
call sub.msvcrt.dll_realloc
add esp, 8
test eax, eax
je 0x45c69e
mov ecx, dword [esp + 0x230]
mov dword [ecx], eax
jmp 0x45b529
movzx eax, byte [esp + 0x40]
test al, 1
je 0x45b480
mov eax, dword [esp + 0x44]
test eax, eax
jne 0x45b48a
jmp 0x45b6ab
shr eax, 1
test eax, eax
je 0x45b6ab
cmp dword [esp + 8], 0
je 0x45b6ab
cmp bp, word [esp + 0x64]
jne 0x45b6ab
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x30]
cmp ecx, edx
jne 0x45b598
mov esi, edx
mov eax, dword [esp]
sub esi, eax
add esi, esi
sub edx, eax
mov ecx, 4
cmove esi, ecx
mov ebp, edx
cmp edx, 0x7fffffff
mov ecx, 0xffffffff
cmovae esi, ecx
cmp dword [esp + 0x1c], 0x458be0
je 0x45b554
push esi
push eax
call sub.msvcrt.dll_realloc
add esp, 8
test eax, eax
jne 0x45b580
jmp 0x45c69e
push esi
call sub.msvcrt.dll_malloc
add esp, 4
test eax, eax
je 0x45c69e
mov ecx, dword [esp + 0x230]
mov dword [ecx], eax
test edi, edi
je 0x45b529
mov ecx, ebx
call dword [0x4a24bc]
push edi
call ebx
add esp, 4
mov ecx, dword [esp + 0x230]
mov eax, dword [ecx]
mov dword [ecx + 4], fcn.00498f4e
add eax, dword [esp + 4]
mov ebx, dword [esp + 0x234]
mov dword [ebx], eax
and esi, 0xfffffffe
add esi, dword [ecx]
mov dword [esp + 4], esi
lea ecx, [eax + 2]
mov dword [ebx], ecx
mov word [eax], bp
inc dword [esp + 8]
jmp 0x45b5ad
push esi
call sub.msvcrt.dll_malloc
add esp, 4
test eax, eax
je 0x45c69e
mov ebx, dword [esp]
test ebx, ebx
je 0x45b580
mov ecx, dword [esp + 0x1c]
mov edi, eax
call dword [0x4a24bc]
push ebx
call ecx
mov eax, edi
add esp, 4
mov ecx, ebp
add ecx, eax
and esi, 0xfffffffc
add esi, eax
mov dword [esp + 0x1c], fcn.00498f4e
mov dword [esp + 0x30], esi
mov dword [esp], eax
mov eax, dword [esp + 8]
mov dword [ecx], eax
add ecx, 4
mov dword [esp + 0x50], ecx
mov dword [esp + 8], 0
mov ebp, dword [esp + 0x210]
mov ebx, dword [ebp]
mov eax, dword [ebx + 0xc]
cmp eax, dword [ebx + 0x10]
jne 0x45b2d0
mov eax, dword [ebx]
mov esi, dword [eax + 0x28]
mov ecx, esi
call dword [0x4a24bc]
mov ecx, ebx
call esi
jmp 0x45b2d6
cmp dword [esp + 0x20], 2
jb 0x45b6e5
cmp dword [esp + 0xc], 0
jne 0x45b6e5
cmp dword [esp + 0x20], 2
setne al
cmp byte [esp + 0x6b], 0
sete cl
test dword [esp + 0x220], 0x200
jne 0x45b89b
or al, cl
je 0x45b89b
mov dword [esp + 0xc], 0
mov eax, dword [esp]
jmp 0x45b1b0
movzx ecx, byte [esp + 0x34]
mov edx, ecx
and dl, 1
je 0x45b712
mov eax, dword [esp + 0x38]
test eax, eax
je 0x45b71e
mov ebx, dword [ebp]
mov eax, dword [ebx + 0xc]
cmp eax, dword [ebx + 0x10]
je 0x45b953
movzx eax, word [eax]
lea esi, [esp + 0x36]
test dl, dl
je 0x45b662
mov esi, dword [esp + 0x3c]
cmp ax, word [esi]
jne 0x45b84c
mov ebx, dword [ebp]
mov eax, dword [ebx + 0xc]
cmp eax, dword [ebx + 0x10]
je 0x45ba45
add eax, 2
mov dword [ebx + 0xc], eax
jmp 0x45ba60
cmp dword [esp + 0x20], 3
je 0x45c2bc
mov ebx, dword [ebp]
mov eax, dword [ebx + 0xc]
cmp eax, dword [ebx + 0x10]
mov dword [esp + 8], edi
je 0x45b798
movzx ebx, word [eax]
jmp 0x45b7ab
mov edx, dword [esp + 0x50]
cmp dword [esp], edx
setne al
cmp dword [esp + 8], 0
setne cl
and cl, al
cmp cl, 1
jne 0x45b77b
mov edi, dword [esp + 0x30]
cmp edx, edi
je 0x45b9c6
mov eax, dword [esp]
mov ecx, edx
mov ebp, dword [esp + 0x210]
jmp 0x45bd59
mov dword [esp + 8], edi
movzx ebx, byte [esp + 0x10]
mov bh, bl
and bh, 1
mov esi, dword [esp + 0x18]
mov ebp, esi
lea eax, [esp + 0x12]
cmove ebp, eax
mov edi, ebp
cmp dword [esp + 0x20], 0
jne 0x45b8b4
jmp 0x45bae3
mov eax, ecx
shr eax, 1
test eax, eax
jne 0x45b644
movzx eax, byte [esp + 0x58]
mov edx, eax
and dl, 1
je 0x45b860
mov edi, dword [esp + 0x5c]
test edi, edi
je 0x45b86c
mov ebx, dword [ebp]
mov ecx, dword [ebx + 0xc]
cmp ecx, dword [ebx + 0x10]
je 0x45ba17
movzx ecx, word [ecx]
lea esi, [esp + 0x5a]
test dl, dl
je 0x45b758
mov esi, dword [esp + 0x60]
cmp cx, word [esi]
jne 0x45b97f
mov ebx, dword [ebp]
mov ecx, dword [ebx + 0xc]
cmp ecx, dword [ebx + 0x10]
je 0x45bcbe
add ecx, 2
mov dword [ebx + 0xc], ecx
jmp 0x45bcd9
mov eax, dword [esp]
mov ebp, dword [esp + 0x210]
cmp dword [esp + 0x54], 0
mov dword [esp], eax
jg 0x45bd74
jmp 0x45be98
mov eax, dword [ebx]
mov esi, dword [eax + 0x24]
mov ecx, esi
call dword [0x4a24bc]
mov ecx, ebx
call esi
mov ebx, eax
mov edi, dword [esp + 0x22c]
mov eax, dword [edi]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x4a24bc]
movzx eax, bx
mov ecx, edi
push eax
push 8
call esi
mov edi, dword [esp + 8]
test al, al
je 0x45c2a8
mov ebx, dword [ebp]
mov eax, dword [ebx + 0xc]
cmp eax, dword [ebx + 0x10]
je 0x45b802
lea ecx, [eax + 2]
mov dword [ebx + 0xc], ecx
movzx ebx, word [eax]
movzx ecx, byte [esp + 0x24]
test cl, 1
jne 0x45b81f
mov esi, 4
cmp ecx, 8
je 0x45b833
jmp 0x45c23c
mov eax, dword [ebx]
mov esi, dword [eax + 0x28]
mov ecx, esi
call dword [0x4a24bc]
mov ecx, ebx
call esi
mov ebx, eax
movzx ecx, byte [esp + 0x24]
test cl, 1
je 0x45b7f3
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
and esi, 0xfffffffe
dec esi
cmp eax, esi
jne 0x45c271
lea ecx, [esp + 0x24]
push 0
push 0
push esi
push esi
push 1
push esi
call fcn.00469120
mov eax, esi
jmp 0x45c271
mov esi, dword [esp + 4]
movzx eax, byte [esp + 0x58]
mov edx, eax
and dl, 1
jne 0x45b72e
mov edi, eax
shr edi, 1
test edi, edi
jne 0x45b73a
test cl, 1
je 0x45b991
mov ecx, dword [esp + 0x38]
test al, 1
jne 0x45b99e
shr al, 1
movzx eax, al
test ecx, ecx
jne 0x45b9aa
test eax, eax
jne 0x45b9b2
jmp case.default.0x45b298
mov dword [esp + 8], edi
movzx ebx, byte [esp + 0x10]
test bl, 1
mov esi, dword [esp + 0x18]
mov ebp, esi
lea eax, [esp + 0x12]
cmove ebp, eax
mov bh, bl
and bh, 1
lea eax, [esp + 0x68]
mov ecx, dword [esp + 0x20]
cmp byte [ecx + eax - 1], 1
ja 0x45bae1
mov eax, ebx
shr al, 1
test bh, bh
mov ecx, esi
movzx eax, al
cmovne eax, dword [esp + 0x14]
lea edx, [esp + 0x12]
cmove ecx, edx
lea eax, [ecx + eax*2]
cmp ebp, eax
jne 0x45b907
jmp 0x45ba90
movzx eax, bl
shr eax, 1
lea ecx, [esp + 0x12]
add ebp, 2
lea eax, [ecx + eax*2]
cmp ebp, eax
je 0x45ba90
movzx edi, word [ebp]
mov ebx, dword [esp + 0x22c]
mov eax, dword [ebx]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x4a24bc]
mov ecx, ebx
push edi
push 8
call esi
movzx ebx, byte [esp + 0x10]
mov esi, dword [esp + 0x18]
mov bh, bl
test al, al
je 0x45ba8d
and bh, 1
je 0x45b8f0
mov eax, dword [esp + 0x14]
mov ecx, esi
add ebp, 2
lea eax, [ecx + eax*2]
cmp ebp, eax
jne 0x45b907
jmp 0x45ba90
mov eax, dword [ebx]
mov esi, dword [eax + 0x24]
mov ecx, esi
call dword [0x4a24bc]
mov ecx, ebx
call esi
movzx ecx, byte [esp + 0x34]
mov edx, ecx
and dl, 1
lea esi, [esp + 0x36]
test dl, dl
jne 0x45b65e
jmp 0x45b662
movzx ecx, byte [esp + 0x34]
mov esi, dword [esp + 4]
test cl, 1
jne 0x45b875
shr cl, 1
movzx ecx, cl
test al, 1
je 0x45b881
mov eax, dword [esp + 0x5c]
test ecx, ecx
je 0x45b88e
test eax, eax
jne 0x45c2a8
test ecx, ecx
mov eax, dword [esp + 0x228]
setne byte [eax]
mov eax, dword [esp]
jmp 0x45b1b0
mov esi, edi
mov eax, dword [esp]
sub esi, eax
add esi, esi
sub edi, eax
mov ecx, 4
cmove esi, ecx
mov dword [esp + 0x30], edi
cmp edi, 0x7fffffff
mov ecx, 0xffffffff
cmovae esi, ecx
cmp dword [esp + 0x1c], 0x458be0
je 0x45bd10
push esi
push eax
call sub.msvcrt.dll_realloc
add esp, 8
test eax, eax
mov ebp, dword [esp + 0x210]
jne 0x45bd42
jmp 0x45c6b5
mov eax, dword [ebx]
mov esi, dword [eax + 0x24]
mov ecx, esi
call dword [0x4a24bc]
mov ecx, ebx
call esi
mov ecx, eax
movzx eax, byte [esp + 0x58]
mov edx, eax
and dl, 1
lea esi, [esp + 0x5a]
test dl, dl
jne 0x45b754
jmp 0x45b758
mov eax, dword [ebx]
mov esi, dword [eax + 0x28]
mov ecx, esi
call dword [0x4a24bc]
mov ecx, ebx
call esi
movzx ecx, byte [esp + 0x34]
mov edx, ecx
and dl, 1
mov eax, dword [esp + 0x228]
mov byte [eax], 0
test dl, dl
mov esi, dword [esp + 4]
je 0x45ba78
mov eax, dword [esp + 0x38]
jmp 0x45ba7d
shr cl, 1
movzx eax, cl
cmp eax, 2
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x34]
jmp 0x45bd01
and bh, 1
test bh, bh
mov edi, esi
lea eax, [esp + 0x12]
cmove edi, eax
movzx eax, byte [esp + 0x24]
test al, 1
je 0x45baaa
mov ecx, dword [esp + 0x28]
jmp 0x45baae
mov ecx, eax
shr ecx, 1
mov edx, ebp
sub edx, edi
sar edx, 1
cmp edx, ecx
ja 0x45bae3
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x26]
test byte [esp + 0x4c], 1
je 0x45bacb
mov eax, dword [esp + 0x2c]
lea eax, [eax + ecx*2]
add edx, edx
sub eax, edx
push edx
push edi
push eax
call sub.msvcrt.dll_memcmp
add esp, 0xc
test eax, eax
jne 0x45bae3
mov edi, ebp
shr bl, 1
test bh, bh
movzx eax, bl
cmovne eax, dword [esp + 0x14]
lea ecx, [esp + 0x12]
cmove esi, ecx
lea eax, [esi + eax*2]
mov ebp, dword [esp + 0x210]
cmp edi, eax
jne 0x45bb56
mov esi, dword [esp + 4]
test dword [esp + 0x220], 0x200
je case.default.0x45b298
movzx eax, byte [esp + 0x10]
test al, 1
je 0x45bc88
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
jmp 0x45bc8e
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
add edi, 2
lea eax, [ecx + eax*2]
cmp edi, eax
je 0x45bca5
mov ebx, dword [ebp]
mov cl, 1
test ebx, ebx
je 0x45bb77
mov eax, dword [ebx + 0xc]
cmp eax, dword [ebx + 0x10]
je 0x45bba0
movzx eax, word [eax]
cmp ax, 0xffff
je 0x45bbb9
cmp dword [ebp], 0
sete cl
mov ebx, dword [esp + 8]
test ebx, ebx
je 0x45bbfd
mov eax, dword [ebx + 0xc]
cmp eax, dword [ebx + 0x10]
je 0x45bbd0
movzx eax, word [eax]
cmp ax, 0xffff
je 0x45bbf0
test cl, cl
jne 0x45bc0d
jmp 0x45bb04
mov eax, dword [ebx]
mov esi, dword [eax + 0x24]
mov ecx, esi
call dword [0x4a24bc]
mov ecx, ebx
call esi
mov cl, 1
cmp ax, 0xffff
jne 0x45bb70
mov dword [ebp], 0
mov ebx, dword [esp + 8]
test ebx, ebx
jne 0x45bb83
jmp 0x45bbfd
mov byte [esp + 0x4c], cl
mov eax, dword [ebx]
mov esi, dword [eax + 0x24]
mov ecx, esi
call dword [0x4a24bc]
mov ecx, ebx
call esi
movzx ecx, byte [esp + 0x4c]
cmp ax, 0xffff
jne 0x45bb94
lea eax, [esp + 0x214]
mov dword [eax], 0
mov dword [esp + 8], 0
test cl, cl
jne 0x45bca1
mov ebx, dword [ebp]
mov eax, dword [ebx + 0xc]
cmp eax, dword [ebx + 0x10]
je 0x45bc20
movzx eax, word [eax]
jmp 0x45bc31
mov eax, dword [ebx]
mov esi, dword [eax + 0x24]
mov ecx, esi
call dword [0x4a24bc]
mov ecx, ebx
call esi
cmp ax, word [edi]
jne 0x45bb04
mov ebx, dword [ebp]
mov eax, dword [ebx + 0xc]
cmp eax, dword [ebx + 0x10]
je 0x45bc50
add eax, 2
mov dword [ebx + 0xc], eax
jmp 0x45bc61
mov eax, dword [ebx]
mov esi, dword [eax + 0x28]
mov ecx, esi
call dword [0x4a24bc]
mov ecx, ebx
call esi
movzx eax, byte [esp + 0x10]
test al, 1
mov esi, dword [esp + 4]
jne 0x45bb40
shr eax, 1
lea ecx, [esp + 0x12]
add edi, 2
lea eax, [ecx + eax*2]
cmp edi, eax
jne 0x45bb56
jmp 0x45bca5
shr eax, 1
lea ecx, [esp + 0x12]
lea eax, [ecx + eax*2]
cmp edi, eax
mov eax, dword [esp]
je 0x45b1b0
jmp 0x45c2ab
mov esi, dword [esp + 4]
test dword [esp + 0x220], 0x200
jne 0x45bb19
mov eax, dword [esp]
jmp 0x45b1b0
mov eax, dword [ebx]
mov esi, dword [eax + 0x28]
mov ecx, esi
call dword [0x4a24bc]
mov ecx, ebx
call esi
movzx eax, byte [esp + 0x58]
mov edx, eax
and dl, 1
mov ecx, dword [esp + 0x228]
mov byte [ecx], 1
test dl, dl
mov esi, dword [esp + 4]
je 0x45bcf1
mov eax, dword [esp + 0x5c]
jmp 0x45bcf6
shr al, 1
movzx eax, al
cmp eax, 2
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x58]
cmovae eax, ecx
mov dword [esp + 0xc], eax
mov eax, dword [esp]
jmp 0x45b1b0
push esi
mov ebx, eax
call sub.msvcrt.dll_malloc
add esp, 4
test eax, eax
mov ebp, dword [esp + 0x210]
je 0x45c6b5
test ebx, ebx
je 0x45bd42
mov ecx, dword [esp + 0x1c]
mov edi, eax
call dword [0x4a24bc]
push ebx
call ecx
mov eax, edi
add esp, 4
mov ecx, dword [esp + 0x30]
add ecx, eax
and esi, 0xfffffffc
add esi, eax
mov dword [esp + 0x1c], fcn.00498f4e
mov dword [esp + 0x30], esi
mov edx, dword [esp + 8]
mov dword [ecx], edx
add ecx, 4
mov dword [esp + 0x50], ecx
cmp dword [esp + 0x54], 0
mov dword [esp], eax
jle 0x45be98
mov ebx, dword [ebp]
mov cl, 1
test ebx, ebx
je 0x45bd95
mov eax, dword [ebx + 0xc]
cmp eax, dword [ebx + 0x10]
je 0x45bdbc
movzx eax, word [eax]
cmp ax, 0xffff
je 0x45bddc
cmp dword [ebp], 0
sete cl
lea eax, [esp + 0x214]
mov ebp, dword [eax]
test ebp, ebp
je 0x45be1b
mov eax, dword [ebp + 0xc]
cmp eax, dword [ebp + 0x10]
je 0x45bdf2
movzx eax, word [eax]
cmp ax, 0xffff
je 0x45be0e
test cl, cl
jne 0x45be25
jmp 0x45c2a8
mov eax, dword [ebx]
mov esi, dword [eax + 0x24]
mov ecx, esi
call dword [0x4a24bc]
mov ecx, ebx
call esi
mov ebp, dword [esp + 0x210]
mov cl, 1
cmp ax, 0xffff
jne 0x45bd8e
mov dword [ebp], 0
lea eax, [esp + 0x214]
mov ebp, dword [eax]
test ebp, ebp
jne 0x45bda2
jmp 0x45be1b
mov ebx, ecx
mov eax, dword [ebp]
mov esi, dword [eax + 0x24]
mov ecx, esi
call dword [0x4a24bc]
mov ecx, ebp
call esi
mov ecx, ebx
cmp ax, 0xffff
jne 0x45bdb3
lea eax, [esp + 0x214]
mov dword [eax], 0
xor ebp, ebp
test cl, cl
jne 0x45c2a8
mov eax, dword [esp + 0x210]
mov ebx, dword [eax]
mov eax, dword [ebx + 0xc]
cmp eax, dword [ebx + 0x10]
je 0x45be3b
movzx eax, word [eax]
jmp 0x45be4c
mov eax, dword [ebx]
mov esi, dword [eax + 0x24]
mov ecx, esi
call dword [0x4a24bc]
mov ecx, ebx
call esi
cmp ax, word [esp + 0x66]
jne 0x45c2a8
mov eax, dword [esp + 0x210]
mov ebx, dword [eax]
mov eax, dword [ebx + 0xc]
cmp eax, dword [ebx + 0x10]
je 0x45be70
add eax, 2
mov dword [ebx + 0xc], eax
jmp 0x45be81
mov eax, dword [ebx]
mov esi, dword [eax + 0x28]
mov ecx, esi
call dword [0x4a24bc]
mov ecx, ebx
call esi
cmp dword [esp + 0x54], 0
jg 0x45beca
lea eax, [esp + 0x214]
mov dword [eax], ebp
mov ebp, dword [esp + 0x210]
mov eax, dword [esp + 0x234]
mov eax, dword [eax]
mov ecx, dword [esp + 0x230]
cmp eax, dword [ecx]
mov eax, dword [esp]
mov esi, dword [esp + 4]
jne 0x45b1b0
jmp 0x45c2ab
add ecx, 2
mov dword [ebx + 0xc], ecx
test eax, eax
jle 0x45be88
mov eax, dword [esp + 0x210]
mov ebx, dword [eax]
mov cl, 1
test ebx, ebx
je 0x45bef7
mov eax, dword [ebx + 0xc]
cmp eax, dword [ebx + 0x10]
je 0x45bf20
movzx eax, word [eax]
cmp ax, 0xffff
je 0x45bf39
mov eax, dword [esp + 0x210]
cmp dword [eax], 0
sete cl
test ebp, ebp
je 0x45bf4a
mov eax, dword [ebp + 0xc]
cmp eax, dword [ebp + 0x10]
je 0x45c020
movzx eax, word [eax]
cmp ax, 0xffff
setne al
jne 0x45bf15
xor ebp, ebp
xor cl, al
je 0x45bf54
jmp 0x45c29f
mov eax, dword [ebx]
mov esi, dword [eax + 0x24]
mov ecx, esi
call dword [0x4a24bc]
mov ecx, ebx
call esi
mov cl, 1
cmp ax, 0xffff
jne 0x45beea
mov eax, dword [esp + 0x210]
mov dword [eax], 0
test ebp, ebp
jne 0x45befb
xor ebp, ebp
test cl, cl
jne 0x45c29f
mov eax, dword [esp + 0x210]
mov ebx, dword [eax]
mov eax, dword [ebx + 0xc]
cmp eax, dword [ebx + 0x10]
je 0x45bf70
movzx ebx, word [eax]
jmp 0x45bf83
mov eax, dword [ebx]
mov esi, dword [eax + 0x24]
mov ecx, esi
call dword [0x4a24bc]
mov ecx, ebx
call esi
mov ebx, eax
mov edi, dword [esp + 0x22c]
mov eax, dword [edi]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x4a24bc]
movzx eax, bx
mov ecx, edi
push eax
push 4
call esi
test al, al
je 0x45c29f
mov dword [esp + 8], ebp
mov eax, dword [esp + 0x234]
mov eax, dword [eax]
mov ebp, dword [esp + 4]
cmp eax, ebp
jne 0x45c098
mov ecx, dword [esp + 0x230]
mov edi, dword [ecx]
mov eax, ebp
sub eax, edi
mov esi, 2
sub ebp, edi
je 0x45bfdc
add eax, eax
mov esi, eax
mov ebx, dword [ecx + 4]
cmp ebp, 0x7fffffff
mov eax, 0xffffffff
cmovae esi, eax
cmp ebx, 0x458be0
je 0x45c048
push esi
push edi
call sub.msvcrt.dll_realloc
add esp, 8
test eax, eax
je 0x45c6a3
mov edx, dword [esp + 0x230]
mov dword [edx], eax
jmp 0x45c07d
mov ebx, ecx
mov eax, dword [ebp]
mov esi, dword [eax + 0x24]
mov ecx, esi
call dword [0x4a24bc]
mov ecx, ebp
call esi
mov ecx, ebx
cmp ax, 0xffff
setne al
je 0x45bf13
jmp 0x45bf15
push esi
call sub.msvcrt.dll_malloc
add esp, 4
test eax, eax
je 0x45c6a3
mov edx, dword [esp + 0x230]
mov dword [edx], eax
test edi, edi
je 0x45c07d
mov ecx, ebx
call dword [0x4a24bc]
push edi
call ebx
add esp, 4
mov edx, dword [esp + 0x230]
mov eax, dword [edx]
mov dword [edx + 4], fcn.00498f4e
add eax, ebp
mov ecx, dword [esp + 0x234]
mov dword [ecx], eax
and esi, 0xfffffffe
add esi, dword [edx]
mov dword [esp + 4], esi
mov ecx, dword [esp + 0x210]
mov ebx, dword [ecx]
mov ecx, dword [ebx + 0xc]
cmp ecx, dword [ebx + 0x10]
mov ebp, dword [esp + 8]
je 0x45c0c0
movzx ecx, word [ecx]
mov esi, dword [esp + 0x234]
jmp 0x45c0dc
mov eax, dword [ebx]
mov esi, dword [eax + 0x24]
mov ecx, esi
call dword [0x4a24bc]
mov ecx, ebx
call esi
mov ecx, eax
mov esi, dword [esp + 0x234]
mov eax, dword [esi]
lea edx, [eax + 2]
mov dword [esi], edx
mov word [eax], cx
mov eax, dword [esp + 0x54]
dec eax
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0x210]
mov ebx, dword [ecx]
mov ecx, dword [ebx + 0xc]
cmp ecx, dword [ebx + 0x10]
jne 0x45bec0
mov eax, dword [ebx]
mov esi, dword [eax + 0x28]
mov ecx, esi
call dword [0x4a24bc]
mov ecx, ebx
call esi
mov eax, dword [esp + 0x54]
test eax, eax
jg 0x45beca
jmp 0x45be88
mov eax, dword [ebx + 0xc]
cmp eax, dword [ebx + 0x10]
je 0x45c13d
movzx eax, word [eax]
jmp 0x45c150
mov eax, dword [ebx]
mov esi, dword [eax + 0x24]
mov ecx, esi
call dword [0x4a24bc]
mov ecx, ebx
call esi
mov dl, 1
cmp ax, 0xffff
je 0x45c15f
cmp dword [ebp], 0
sete dl
jmp 0x45c166
mov dword [ebp], 0
test edi, edi
je 0x45c177
mov eax, dword [edi + 0xc]
cmp eax, dword [edi + 0x10]
je 0x45c182
movzx eax, word [eax]
jmp 0x45c197
xor edi, edi
test dl, dl
je 0x45c1ae
jmp 0x45b1a0
mov eax, dword [edi]
mov esi, dword [eax + 0x24]
mov ecx, esi
mov ebx, edx
call dword [0x4a24bc]
mov ecx, edi
call esi
mov dl, bl
cmp ax, 0xffff
setne al
mov ecx, 0
cmove edi, ecx
xor dl, al
jne 0x45b1a0
mov ebx, dword [ebp]
mov eax, dword [ebx + 0xc]
cmp eax, dword [ebx + 0x10]
je 0x45c1be
movzx ebx, word [eax]
jmp 0x45c1d1
mov eax, dword [ebx]
mov esi, dword [eax + 0x24]
mov ecx, esi
call dword [0x4a24bc]
mov ecx, ebx
call esi
mov ebx, eax
mov dword [esp + 8], edi
mov edi, dword [esp + 0x22c]
mov eax, dword [edi]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x4a24bc]
movzx eax, bx
mov ecx, edi
mov edi, dword [esp + 8]
push eax
push 8
call esi
test al, al
je 0x45b1a0
mov ebx, dword [ebp]
mov eax, dword [ebx + 0xc]
cmp eax, dword [ebx + 0x10]
je 0x45c215
lea ecx, [eax + 2]
mov dword [ebx + 0xc], ecx
movzx ebx, word [eax]
jmp 0x45c228
mov eax, dword [ebx]
mov esi, dword [eax + 0x28]
mov ecx, esi
call dword [0x4a24bc]
mov ecx, ebx
call esi
mov ebx, eax
movzx ecx, byte [esp + 0x24]
test cl, 1
jne 0x45c24d
mov esi, 4
cmp ecx, 8
je 0x45c25d
mov eax, ecx
shr eax, 1
add cl, 2
mov byte [esp + 0x24], cl
lea edx, [esp + 0x26]
jmp 0x45c280
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
and esi, 0xfffffffe
dec esi
cmp eax, esi
jne 0x45c271
lea ecx, [esp + 0x24]
push 0
push 0
push esi
push esi
push 1
push esi
call fcn.00469120
mov eax, esi
mov edx, dword [esp + 0x2c]
lea ecx, [eax + 1]
mov dword [esp + 0x28], ecx
nop dword [eax]
lea ecx, [edx + eax*2]
mov word [edx + eax*2], bx
mov word [ecx + 2], 0
mov ebx, dword [ebp]
mov dl, 1
test ebx, ebx
jne 0x45c130
jmp 0x45c166
lea eax, [esp + 0x214]
mov dword [eax], ebp
mov eax, dword [esp]
mov ecx, dword [esp + 0x224]
or byte [ecx], 4
xor ebx, ebx
jmp 0x45c577
mov eax, dword [esp]
mov ecx, dword [esp + 0xc]
test ecx, ecx
mov dword [esp], eax
jne 0x45c2e1
jmp 0x45c4ae
mov eax, dword [esp]
mov ecx, dword [esp + 0xc]
test ecx, ecx
mov dword [esp], eax
je 0x45c4ae
movzx eax, byte [ecx]
test al, 1
je 0x45c2f8
mov eax, dword [ecx + 4]
cmp eax, 2
mov eax, dword [esp]
jae 0x45c306
jmp 0x45c4ae
shr eax, 1
cmp eax, 2
mov eax, dword [esp]
jb 0x45c4ae
lea eax, [ecx + 2]
mov dword [esp + 4], eax
mov ebp, 1
jmp 0x45c32f
mov eax, dword [ecx + 4]
inc ebp
cmp ebp, eax
mov eax, dword [esp]
jae 0x45c4ae
mov eax, dword [esp + 0x210]
mov edi, dword [eax]
mov bl, 1
test edi, edi
je 0x45c350
mov eax, dword [edi + 0xc]
cmp eax, dword [edi + 0x10]
je 0x45c370
movzx eax, word [eax]
jmp 0x45c381
lea ecx, [esp + 0x214]
mov edi, dword [ecx]
test edi, edi
jne 0x45c3c3
jmp 0x45c404
mov eax, dword [edi]
mov esi, dword [eax + 0x24]
mov ecx, esi
call dword [0x4a24bc]
mov ecx, edi
call esi
lea ecx, [esp + 0x214]
cmp ax, 0xffff
je 0x45c3b0
mov eax, dword [esp + 0x210]
cmp dword [eax], 0
sete bl
mov edi, dword [ecx]
test edi, edi
jne 0x45c3c3
jmp 0x45c404
mov eax, dword [esp + 0x210]
mov dword [eax], 0
mov edi, dword [ecx]
test edi, edi
je 0x45c404
mov eax, dword [edi + 0xc]
cmp eax, dword [edi + 0x10]
je 0x45c3e0
movzx eax, word [eax]
cmp ax, 0xffff
je 0x45c3fe
test bl, bl
jne 0x45c40c
jmp 0x45c2a8
mov eax, dword [edi]
mov esi, dword [eax + 0x24]
mov ecx, esi
call dword [0x4a24bc]
mov ecx, edi
call esi
lea ecx, [esp + 0x214]
cmp ax, 0xffff
jne 0x45c3d4
mov dword [ecx], 0
test bl, bl
jne 0x45c2a8
mov eax, dword [esp + 0x210]
mov edi, dword [eax]
mov eax, dword [edi + 0xc]
cmp eax, dword [edi + 0x10]
je 0x45c430
movzx eax, word [eax]
jmp 0x45c441
mov eax, dword [edi]
mov esi, dword [eax + 0x24]
mov ecx, esi
call dword [0x4a24bc]
mov ecx, edi
call esi
mov edx, dword [esp + 0xc]
test byte [edx], 1
mov ecx, dword [esp + 4]
je 0x45c451
mov ecx, dword [edx + 8]
cmp ax, word [ecx + ebp*2]
jne 0x45c2a8
mov eax, dword [esp + 0x210]
mov edi, dword [eax]
mov eax, dword [edi + 0xc]
cmp eax, dword [edi + 0x10]
je 0x45c480
add eax, 2
mov dword [edi + 0xc], eax
jmp 0x45c491
mov eax, dword [edi]
mov esi, dword [eax + 0x28]
mov ecx, esi
call dword [0x4a24bc]
mov ecx, edi
call esi
mov ecx, dword [esp + 0xc]
movzx eax, byte [ecx]
test al, 1
jne 0x45c320
shr eax, 1
inc ebp
cmp ebp, eax
mov eax, dword [esp]
jb 0x45c32f
mov bl, 1
mov edi, dword [esp + 0x50]
cmp eax, edi
je 0x45c577
movzx eax, byte [esp + 0x40]
test al, 1
je 0x45c4d5
mov ecx, dword [esp + 0x44]
mov edx, edi
sub edx, dword [esp]
cmp edx, 5
jge 0x45c4e3
jmp 0x45c526
mov ecx, eax
shr ecx, 1
mov edx, edi
sub edx, dword [esp]
cmp edx, 5
jl 0x45c526
test ecx, ecx
je 0x45c526
add edi, 0xfffffffc
mov ecx, dword [esp]
cmp edi, ecx
jbe 0x45c52b
lea eax, [ecx + 4]
mov ecx, edi
nop word cs:[eax + eax]
mov edx, dword [eax - 4]
mov esi, dword [ecx]
mov dword [eax - 4], esi
mov dword [ecx], edx
add ecx, 0xfffffffc
lea edx, [eax + 4]
cmp eax, ecx
mov eax, edx
jb 0x45c500
movzx ecx, byte [esp + 0x40]
test cl, 1
je 0x45c535
mov eax, dword [esp + 0x48]
jmp 0x45c539
mov eax, dword [esp]
jmp 0x45c577
test al, 1
je 0x45c550
mov eax, dword [esp + 0x48]
jmp 0x45c554
lea eax, [esp + 0x41]
cmp edi, dword [esp]
jbe 0x45c554
test cl, 1
je 0x45c65a
mov ecx, dword [esp + 0x44]
jmp 0x45c65c
lea eax, [esp + 0x41]
movzx eax, byte [eax]
mov ecx, eax
dec cl
cmp cl, 0x7d
ja 0x45c572
mov ecx, dword [edi]
dec ecx
cmp ecx, eax
mov eax, dword [esp]
mov bl, 1
jae 0x45c2ab
jmp 0x45c577
mov eax, dword [esp]
mov bl, 1
mov esi, eax
test byte [esp + 0x24], 1
jne 0x45c5ad
test byte [esp + 0x58], 1
jne 0x45c5ca
test byte [esp + 0x34], 1
jne 0x45c5e7
test byte [esp + 0x10], 1
jne 0x45c604
test byte [esp + 0x40], 1
jne 0x45c625
test esi, esi
jne 0x45c63d
jmp 0x45c64d
mov eax, dword [esp + 0x24]
add eax, eax
and eax, 0xfffffffc
push eax
push dword [esp + 0x30]
call fcn.0046ae20
add esp, 8
test byte [esp + 0x58], 1
je 0x45c587
mov eax, dword [esp + 0x58]
add eax, eax
and eax, 0xfffffffc
push eax
push dword [esp + 0x64]
call fcn.0046ae20
add esp, 8
test byte [esp + 0x34], 1
je 0x45c58e
mov eax, dword [esp + 0x34]
add eax, eax
and eax, 0xfffffffc
push eax
push dword [esp + 0x40]
call fcn.0046ae20
add esp, 8
test byte [esp + 0x10], 1
je 0x45c595
mov eax, dword [esp + 0x10]
add eax, eax
and eax, 0xfffffffc
push eax
push dword [esp + 0x1c]
call fcn.0046ae20
add esp, 8
test byte [esp + 0x40], 1
je 0x45c5a0
mov eax, dword [esp + 0x40]
and eax, 0xfffffffe
push eax
push dword [esp + 0x4c]
call fcn.0046ae20
add esp, 8
test esi, esi
je 0x45c64d
mov ecx, dword [esp + 0x1c]
call dword [0x4a24bc]
push esi
call ecx
add esp, 4
mov eax, ebx
add esp, 0x1fc
pop esi
pop edi
pop ebx
pop ebp
ret
shr ecx, 1
add ecx, eax
mov esi, ecx
mov edx, dword [esp]
jmp 0x45c689
mov ecx, esi
sub ecx, eax
xor ebx, ebx
cmp ecx, 2
setge bl
add eax, ebx
add edx, 4
cmp edx, edi
jae 0x45c554
movzx ecx, byte [eax]
mov ebx, ecx
dec bl
cmp bl, 0x7d
ja 0x45c670
cmp dword [edx], ecx
je 0x45c670
jmp 0x45c2a8
call fcn.0046d2d0
lea eax, [esp + 0x214]
mov ecx, dword [esp + 8]
mov dword [eax], ecx
call fcn.0046d2d0
call fcn.0046d2d0
push eax
call fcn.0043f290
lea ecx, [esp + 0x214]
mov edx, dword [esp + 8]
mov dword [ecx], edx
push eax
call fcn.0043f290
push eax
call fcn.0043f290
jmp 0x45c706
mov ecx, edi
mov edi, eax
lea eax, [esp + 0x214]
mov dword [eax], ecx
jmp 0x45c72c
test byte [esp + 0x24], 1
jne 0x45c762
test byte [esp + 0x58], 1
jne 0x45c77f
test byte [esp + 0x34], 1
jne 0x45c79c
test byte [esp + 0x10], 1
jne 0x45c7b9
test byte [esp + 0x40], 1
jne 0x45c7da
cmp dword [esp], 0
jne 0x45c7f4
jmp 0x45c806
mov eax, dword [esp + 0x24]
add eax, eax
and eax, 0xfffffffc
push eax
push dword [esp + 0x30]
call fcn.0046ae20
add esp, 8
test byte [esp + 0x58], 1
je 0x45c73a
mov eax, dword [esp + 0x58]
add eax, eax
and eax, 0xfffffffc
push eax
push dword [esp + 0x64]
call fcn.0046ae20
add esp, 8
test byte [esp + 0x34], 1
je 0x45c741
mov eax, dword [esp + 0x34]
add eax, eax
and eax, 0xfffffffc
push eax
push dword [esp + 0x40]
call fcn.0046ae20
add esp, 8
test byte [esp + 0x10], 1
je 0x45c748
mov eax, dword [esp + 0x10]
add eax, eax
and eax, 0xfffffffc
push eax
push dword [esp + 0x1c]
call fcn.0046ae20
add esp, 8
test byte [esp + 0x40], 1
je 0x45c753
mov eax, dword [esp + 0x40]
and eax, 0xfffffffe
push eax
push dword [esp + 0x4c]
call fcn.0046ae20
add esp, 8
cmp dword [esp], 0
je 0x45c806
mov ecx, dword [esp + 0x1c]
call dword [0x4a24bc]
push dword [esp]
call ecx
add esp, 4
push edi
call fcn.0046cac0
push eax
call fcn.0043f290
nop
lahf
mov dl, 69
add byte [ebp - 0x26ffba4a], al
mov ch, 0x45
add byte [eax], ch
mov dh, 0x45
add dl, al
mov dl, 0x45
add ah, cl
int3