Function at 0x414140
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, ecx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x30], 0
lea eax, [esi + esi]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x11c], eax
add eax, ebx
mov dword [ebp - 0x110], eax
mov dword [ebp - 4], eax
add eax, 0xfffffffe
mov dword [ebp - 0x104], 0
mov dword [ebp - 0x10c], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x114], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x108], 0
mov dword [ebp - 0x118], eax
or edi, edi
je 0x4478b7
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x14]
test ecx, 0xe20f5a6f
jne 0x4148c4
test edi, edi
je 0x4149b3
or ebx, ebx
je 0x4149b3
cmp dword [ebp + 0x18], 0
mov eax, dword [ebp + 0x1c]
je 0x4478f4
or eax, eax
js 0x4148ce
test edx, edx
js 0x4148d8
or esi, esi
js 0x4149a9
cmp esi, edx
jg 0x4149a9
mov eax, dword [edi]
cmp eax, 0x50435245
jne 0x447901
test byte [edi + 0xc], 2
je 0x4148e2
mov ebx, dword [edi + 8]
test ebx, 0x800
je 0x4148ec
pushfd
xor eax, eax
inc eax
popfd
mov dword [ebp - 8], eax
mov dword [ebp - 0xb0], eax
test ecx, 0x8000000
jne 0x4148f3
test ecx, 0x8000
jne 0x4148fd
sub eax, eax
cmp dword [ebp - 8], 0
mov dword [ebp - 0x74], eax
je 0x414280
test ecx, 0x2000
je 0x447915
movzx eax, word [edi + 0x22]
mov esi, dword [edi + 0x30]
movzx edx, word [edi + 0x24]
mov dword [ebp - 0xc], esi
mov esi, dword [ebp - 0x10]
lea eax, [edi + eax*2]
mov dword [ebp - 0xd0], eax
or esi, esi
movzx eax, word [edi + 0x26]
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0xe0], eax
mov eax, 0x989680
push eax
pop ecx
mov dword [ebp - 0xdc], edx
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0xfc], eax
mov dword [ebp - 0xf8], ecx
mov dword [ebp - 0x54], 0
je 0x414312
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx]
test cl, 1
je 0x4142e8
mov esi, dword [ebp - 0x10]
mov esi, dword [esi + 4]
mov dword [ebp - 0x3c], esi
mov esi, dword [ebp + 0x10]
test cl, 2
jne 0x447991
test cl, 0x10
jne 0x4479a2
test cl, 4
jne 0x4479b6
test cl, 8
jne 0x4479ca
mov ecx, dword [ebp - 0xf8]
test dword [edi + 0xc], 0x2000
jne 0x4479d8
test dword [edi + 0xc], 0x4000
jne 0x4479ef
cmp dword [ebp - 0xc], 0
jne 0x414339
mov dword [ebp - 0xc], 0x4a4710
mov ecx, dword [ebp + 0x14]
push ebx
pop eax
or eax, ecx
test al, 0x10
jne 0x447a05
mov dword [ebp - 0x20], 0
test dword [edi + 0xc], 0x100
jne 0x447a11
mov dword [ebp - 0x24], 0
test ebx, 0x40000
jne 0x447a1d
mov dword [ebp - 0x34], 0
movzx eax, word [edi + 0x26]
imul edx, eax
movzx eax, word [edi + 0x22]
mov dword [ebp - 0x68], esi
add edx, eax
lea eax, [edi + edx*2]
mov edx, dword [ebp + 8]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x88], edx
lea eax, [edx + eax*2]
mov dword [ebp - 0x84], eax
mov dword [ebp + 0x10], eax
test bl, 0x20
jne 0x414907
xor eax, eax
mov dword [ebp - 0xa4], eax
test ebx, 0x20000000
jne 0x414911
sub eax, eax
mov dword [ebp - 0xa8], eax
test ebx, 0x2000000
jne 0x41491b
sub eax, eax
mov dword [ebp - 0xac], eax
mov dword [ebp - 0xd4], 0
test cl, cl
js 0x414925
xor eax, eax
mov dword [ebp - 0xb8], eax
test ecx, 0x100
jne 0x41492f
sub eax, eax
mov dword [ebp - 0xb4], eax
test ecx, 0x400
jne 0x414939
sub eax, eax
mov dword [ebp - 0xa0], eax
test ecx, 0x10000000
jne 0x414943
sub eax, eax
mov esi, dword [edi + 0xc]
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x58], 0
test esi, 0x1000
jne 0x41494d
sub eax, eax
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0xc4], eax
lea edx, [eax + 0x100]
add eax, 0x340
mov dword [ebp - 0xbc], eax
mov eax, ecx
mov dword [ebp - 0xc0], edx
and eax, 0x1800000
jne 0x447a29
test ebx, 0x1800000
jne 0x447a4e
mov dword [ebp - 0x94], 1
test ecx, 0x700000
jne 0x414957
and ebx, 0x700000
jne 0x447a61
mov dword [ebp - 0xe8], 2
cmp dword [ebp - 0x74], 0
jne 0x447af4
mov eax, 0x55555556
imul dword [ebp + 0x1c]
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ebx, [eax + eax*2]
mov eax, 0x55555556
lea ecx, [ebx + ebx]
imul ecx
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x1c], eax
movzx eax, word [edi + 0x20]
test ax, ax
jne 0x447b0a
mov esi, dword [ebp + 0x18]
mov dword [ebp - 0xf4], esi
lea ecx, [ebx + ebx]
mov dword [ebp - 0xf0], ebx
mov eax, 0x55555556
mov dword [ebp - 0x6c], 0
imul ecx
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0xec], eax
test esi, esi
je 0x414576
movzx eax, word [edi + 0x1e]
lea ecx, [esi + ebx*4]
shl eax, 2
push ecx
pop edx
sub edx, eax
lea eax, [esi + 8]
cmp edx, eax
jb 0x41495e
sub ecx, 4
cmp ecx, edx
jae 0x414780
mov dword [esi + 4], 0xffffffff
mov eax, dword [ebp - 0xf4]
mov dword [eax], 0xffffffff
cmp dword [ebp - 0x20], 0
jne 0x4147ea
mov eax, dword [edi + 0xc]
test al, 0x10
jne 0x4147cb
cmp dword [ebp - 0x24], 0
jne 0x4147ea
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x4147ea
test byte [eax + 4], 1
mov edx, dword [ebp - 0xc0]
mov ecx, dword [ebp - 8]
jne 0x41476d
mov eax, dword [edi + 0xc]
test al, 0x40
jne 0x4147f8
mov ecx, dword [ebp - 0xe8]
mov eax, dword [ebp - 0x84]
mov edx, dword [ebp - 4]
lea ecx, [ecx]
cmp dword [ebp - 0x34], 0
mov ebx, dword [ebp + 0x10]
jne 0x447c2a
mov eax, ebx
mov esi, dword [edi + 8]
or esi, dword [ebp + 0x14]
and esi, 0x4000000
jne 0x41496f
cmp dword [ebp - 0x2c], esi
jne 0x414798
cmp dword [ebp - 0x24], esi
jne 0x447d89
mov edx, dword [ebp - 4]
cmp dword [ebp - 0x38], esi
jne 0x414728
mov dword [ebp + 0x10], ebx
test esi, esi
jne 0x414644
cmp dword [ebp - 0x74], esi
jne 0x414644
mov ecx, dword [ebp - 0x3c]
test ecx, ecx
je 0x414637
test byte [ecx + 4], 2
je 0x414637
mov eax, ebx
sub eax, edx
sar eax, 1
cmp eax, dword [ecx + 0x28]
jb case.0x447faf.996
cmp dword [ebp - 0x104], 0
jne 0x41481f
mov ecx, dword [ebp - 4]
lea eax, [ebp - 0x100]
push 0
push 0
push eax
push 2
mov dword [ebp - 0x80], edx
mov dword [ebp - 0x78], edx
push edx
mov edx, dword [ebp - 0x8c]
mov dword [ebp - 0x100], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0xd8], 0
call fcn.004149c0
mov ecx, dword [ebp - 4]
add esp, 0x14
cmp dword [ebp - 0x98], 0
mov esi, eax
jne 0x447f83
test esi, esi
jle 0x447f9e
cmp esi, 1
jne 0x4480e9
cmp dword [ebp - 0x30], 0
mov ebx, dword [ebp - 0x1c]
jne 0x44813b
test dword [ebp - 0x6c], 0x10000
mov esi, dword [ebp - 0x70]
jne 0x448181
mov eax, esi
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
movzx edi, word [edi + 0x1e]
mov eax, esi
mov ebx, dword [ebp + 0x18]
cdq
sub eax, edx
sar eax, 1
cmp eax, edi
jle 0x448190
cmp dword [ebp + 0x1c], 2
jl 0x4149a2
mov eax, dword [ebp - 0x80]
sub eax, dword [ebp - 0x88]
sar eax, 1
mov dword [ebx], eax
mov eax, dword [ebp - 0x7c]
sub eax, dword [ebp - 0x88]
sar eax, 1
mov dword [ebx + 4], eax
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x41471f
test byte [eax], 0x20
jne 0x4481db
mov eax, ecx
pop edi
pop esi
pop ebx
push ebp
pop esp
pop ebp
ret
cmp edx, eax
jae 0x41460f
movzx edx, word [edx]
cmp edx, 0xff
ja 0x414965
mov ecx, edx
mov eax, 1
and ecx, 7
shr edx, 3
shl eax, cl
mov ecx, dword [ebp - 0x38]
test byte [edx + ecx], al
mov edx, dword [ebp - 4]
jne 0x41460f
add edx, 2
mov dword [ebp - 4], edx
cmp edx, dword [ebp + 0x10]
jb 0x414730
jmp 0x41460f
add eax, 8
mov dword [ebp - 0x38], eax
jmp 0x4145b3
mov dword [ecx], 0xffffffff
sub ecx, 4
cmp ecx, edx
jae 0x414780
mov esi, dword [ebp - 0xf4]
jmp 0x414563
mov ecx, dword [ebp - 0x10c]
mov edx, dword [ebp - 4]
cmp cx, word [ebp - 0x14]
jne 0x447d5b
cmp edx, eax
jae 0x41460f
cmp word [edx], cx
je 0x41460f
add edx, 2
mov dword [ebp - 4], edx
cmp edx, eax
jb 0x4147b3
jmp 0x41460f
movzx esi, word [edi + 0x18]
movzx ebx, si
mov dword [ebp - 0x2c], 1
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10c], ebx
test al, 0x20
jne 0x447b59
mov edx, dword [ebp - 0xc0]
mov ecx, dword [ebp - 8]
jmp 0x4145b3
movzx esi, word [edi + 0x1a]
movzx ebx, si
mov dword [ebp - 0x104], 1
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x114], ebx
test al, al
jns 0x4145be
jmp 0x447bc6
mov eax, ebx
sub eax, edx
and eax, 0xfffffffe
cmp eax, 0x7d0
jge 0x414644
cmp dword [ebp - 0x2c], 0
je 0x414977
mov eax, 1
lea ecx, [edx + eax*2]
cmp ecx, dword [ebp - 0x118]
jbe 0x414644
mov esi, dword [ebp - 0x114]
mov eax, dword [ebp - 0x18]
cmp si, ax
jne 0x447f52
cmp ecx, ebx
jae case.0x447faf.996
mov ax, word [ecx]
add ecx, 2
cmp ax, si
je 0x4148b2
cmp ecx, ebx
jb 0x414865
xor esi, esi
cmp dword [ebp - 0x30], 0
jne 0x41497e
test esi, esi
jne 0x414992
mov esi, dword [ebp - 0x108]
test esi, esi
jne 0x4480fa
or eax, 0xffffffff
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x414721
test byte [ecx], 0x20
je 0x414721
jmp 0x44812e
sub ecx, 2
cmp ecx, ebx
jae case.0x447faf.996
mov dword [ebp - 0x118], ecx
jmp 0x414644
mov eax, 0xfffffffd
jmp 0x414721
mov eax, 0xfffffff1
jmp 0x414721
mov eax, 0xffffffe0
jmp 0x414721
mov eax, 0xffffffe4
jmp 0x414721
xor eax, eax
jmp 0x414248
push 2
pop eax
pushal
popal
jmp 0x41426b
nop
push 1
nop
pop eax
jmp 0x41426b
pushfd
xor eax, eax
inc eax
popfd
jmp 0x4143b2
pushfd
xor eax, eax
inc eax
popfd
jmp 0x4143c6
pushfd
xor eax, eax
inc eax
popfd
jmp 0x4143da
pushfd
xor eax, eax
inc eax
popfd
jmp 0x4143f4
pushfd
xor eax, eax
inc eax
popfd
jmp 0x414408
nop
push 1
nop
pop eax
jmp 0x41441c
pushfd
xor eax, eax
inc eax
popfd
jmp 0x414430
pushfd
xor eax, eax
inc eax
popfd
jmp 0x414466
mov ebx, ecx
jmp 0x4144bb
mov edx, eax
jmp 0x414558
mov edx, 0xff
jmp 0x41473f
mov edx, dword [ebp - 4]
jmp 0x41460f
xor eax, eax
jmp 0x414840
push dword [ebp - 0xf4]
call dword [0x4a5748]
add esp, 4
jmp 0x414880
cmp esi, 0xfffffff4
je 0x414888
mov eax, esi
jmp 0x414721
xor ecx, ecx
jmp 0x41470f
mov eax, 0xffffffe8
jmp 0x414721
mov eax, 0xfffffffe
jmp 0x414721
or edx, edx
mov edx, dword [ebp + 0xc]
jne 0x4141d1
test ebx, ebx
jne 0x4141d1
cmp edx, 0xfffffc19
jne 0x4141d1
cmp esi, edx
jne 0x4141d1
push ebx
push ebx
push ebx
push ebx
push ebx
xor edx, edx
sub ecx, ecx
call fcn.004149c0
add esp, 0x14
jmp 0x414721
test eax, eax
jg 0x4149b3
jmp 0x4141fd
sub eax, 0x45524350
neg eax
sbb eax, eax
and eax, 0x19
add eax, 0xffffffe3
jmp 0x414721
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x1c]
push eax
call fcn.0048ef60
add esp, 4
or eax, eax
je 0x447957
cmp dword [ebp + 0x1c], 2
jl 0x447939
mov edx, dword [ebp + 0x18]
mov ecx, dword [ebp - 0x1c]
mov dword [edx], ecx
mov dword [edx + 4], eax
cmp eax, 1
jg 0x44794d
cmp dword [ebp - 0x74], 1
mov eax, 0xffffffe7
jg 0x414721
mov eax, 0xfffffff6
jmp 0x414721
or esi, esi
jle 0x414280
cmp esi, dword [ebp + 0xc]
jge 0x414280
mov eax, dword [ebp - 0x110]
mov ecx, 0xfc00
mov ax, word [eax]
and ax, cx
mov ecx, 0xdc00
cmp ax, cx
jne 0x414280
mov eax, 0xfffffff5
jmp 0x414721
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov dword [ebp - 0xfc], eax
jmp 0x4142f1
mov esi, dword [ebp - 0x10]
mov esi, dword [esi + 0x14]
mov dword [ebp - 0xf8], esi
mov esi, dword [ebp + 0x10]
jmp 0x4142fa
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0xfc]
jmp 0x414303
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx + 0x10]
mov dword [ebp - 0xc], ecx
jmp 0x41430c
cmp dword [edi + 0x10], eax
jae 0x41431f
mov eax, dword [edi + 0x10]
mov dword [ebp - 0xfc], eax
jmp 0x41431f
mov eax, dword [edi + 0x14]
cmp eax, ecx
jae 0x41432c
mov dword [ebp - 0xf8], eax
jmp 0x41432c
mov dword [ebp - 0x20], 1
jmp 0x41434f
mov dword [ebp - 0x24], 1
jmp 0x414363
mov dword [ebp - 0x34], 1
jmp 0x414376
cmp eax, 0x800000
je 0x4144a5
cmp eax, 0x1000000
jne 0x447ada
mov dword [ebp - 0x94], 0
jmp 0x4144af
mov eax, ebx
shr eax, 0x17
and eax, 1
mov dword [ebp - 0x94], eax
jmp 0x4144af
cmp ebx, 0x300000
ja 0x447ac6
je 0x447aa5
cmp ebx, 0x100000
je 0x447a82
cmp ebx, 0x200000
jne 0x447ada
push 0xa
pop eax
push edi
pop edi
jmp 0x447a87
push 0xd
pop eax
push ebx
pop ebx
sub ecx, ecx
mov dword [ebp - 0xe4], 1
mov dword [ebp - 0xe8], ecx
mov word [ebp - 0xcc], ax
jmp 0x4144d1
sub ecx, ecx
mov dword [ebp - 0xe4], 2
mov dword [ebp - 0xe8], ecx
mov dword [ebp - 0xcc], 0xa000d
jmp 0x4144d1
cmp ebx, 0x400000
je 0x447ae4
cmp ebx, 0x500000
je 0x4144c7
mov eax, 0xffffffe9
jmp 0x414721
mov ecx, 1
mov dword [ebp - 0xe8], ecx
jmp 0x4144d1
test esi, 0x200
je 0x4144db
mov eax, 0xfffffff3
jmp 0x414721
push eax
pop ecx
mov eax, 0x55555556
imul ebx
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ecx, eax
jl 0x41450e
lea ebx, [ecx + 1]
lea ebx, [ebx + ebx*2]
lea eax, [ebx*4]
push eax
call dword [0x4a574c]
mov esi, eax
add esp, 4
mov dword [ebp - 0xf4], esi
test esi, esi
jne 0x447b4d
lea eax, [esi - 6]
jmp 0x414721
mov dword [ebp - 0x30], 1
jmp 0x414517
mov edx, dword [ebp - 0xc0]
mov eax, 0xff
cmp si, ax
ja 0x447b73
movzx eax, si
movzx esi, byte [eax + edx]
mov dword [ebp - 0x14], esi
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x4145b3
cmp ebx, 0x7f
jbe 0x4145b3
movzx ecx, bx
mov eax, ecx
shr eax, 7
movzx eax, byte [eax + 0x4b3b40]
shl eax, 7
and ecx, 0x8000007f
jns 0x447ba6
dec ecx
or ecx, 0xffffff80
inc ecx
add eax, ecx
movzx eax, word [eax*2 + 0x4a5840]
mov ax, word [eax*8 + 0x4a2f54]
add ax, bx
movzx eax, ax
mov dword [ebp - 0x14], eax
jmp 0x4147f0
mov eax, 0xff
cmp si, ax
ja 0x447bda
movzx eax, si
movzx eax, byte [eax + edx]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x4145be
cmp ebx, 0x7f
jbe 0x4145be
movzx ecx, bx
mov eax, ecx
shr eax, 7
movzx eax, byte [eax + 0x4b3b40]
shl eax, 7
and ecx, 0x8000007f
jns 0x447c0a
dec ecx
or ecx, 0xffffff80
inc ecx
add eax, ecx
movzx eax, word [eax*2 + 0x4a5840]
mov ax, word [eax*8 + 0x4a2f54]
add ax, bx
movzx eax, ax
mov dword [ebp - 0x18], eax
jmp 0x4145be
cmp dword [ebp - 8], 0
mov esi, edx
je 0x447cd9
cmp edx, eax
jae 0x447d51
mov edx, dword [ebp - 0xe4]
test ecx, ecx
je 0x447c6f
push dword [ebp - 8]
lea edx, [ebp - 0xe4]
push edx
mov edx, ecx
mov ecx, esi
push eax
call fcn.00415e9f
add esp, 0xc
test eax, eax
jne 0x447d4b
mov edx, dword [ebp - 0xe4]
jmp 0x447ca4
mov ecx, dword [ebp - 0x84]
lea eax, [edx + edx]
sub ecx, eax
cmp esi, ecx
ja 0x447ca4
mov ax, word [esi]
cmp ax, word [ebp - 0xcc]
jne 0x447ca4
cmp edx, 1
je 0x447d4b
mov ax, word [esi + 2]
cmp ax, word [ebp - 0xca]
je 0x447d4b
add esi, 2
cmp esi, dword [ebp + 0x10]
jae 0x447cc4
mov ax, word [esi]
mov ecx, 0xfc00
and ax, cx
mov ecx, 0xdc00
cmp ax, cx
jne 0x447cc4
add esi, 2
mov eax, dword [ebp - 0x84]
mov ecx, dword [ebp - 0xe8]
cmp esi, eax
jae 0x447d51
jmp 0x447c44
cmp edx, eax
jae 0x447d51
mov edx, dword [ebp - 0xe4]
test ecx, ecx
je 0x447d09
push 0
lea edx, [ebp - 0xe4]
push edx
mov edx, ecx
mov ecx, esi
push eax
call fcn.00415e9f
add esp, 0xc
test eax, eax
jne 0x447d4b
mov edx, dword [ebp - 0xe4]
jmp 0x447d36
mov ecx, dword [ebp - 0x84]
lea eax, [edx + edx]
sub ecx, eax
cmp esi, ecx
ja 0x447d36
mov ax, word [esi]
cmp ax, word [ebp - 0xcc]
jne 0x447d36
cmp edx, 1
je 0x447d4b
mov ax, word [esi + 2]
cmp ax, word [ebp - 0xca]
je 0x447d4b
mov eax, dword [ebp - 0x84]
add esi, 2
cmp esi, eax
jae 0x447d4b
mov ecx, dword [ebp - 0xe8]
jmp 0x447ce3
mov ecx, dword [ebp - 0xe8]
mov eax, esi
mov dword [ebp + 0x10], eax
jmp 0x4145df
cmp edx, eax
jae 0x41460f
movzx eax, word [edx]
cmp ax, cx
je 0x41460f
cmp ax, word [ebp - 0x14]
je 0x41460f
add edx, 2
mov dword [ebp - 4], edx
cmp edx, dword [ebp + 0x10]
jb 0x447d63
jmp 0x41460f
mov eax, dword [ebp - 0x88]
add eax, dword [ebp - 0x11c]
mov edx, dword [ebp - 0xe4]
cmp dword [ebp - 4], eax
jbe 0x41496f
cmp dword [ebp - 8], 0
mov eax, dword [ebp + 0x10]
je 0x447e85
cmp dword [ebp - 4], eax
jae 0x447f19
mov eax, dword [ebp - 0x88]
test ecx, ecx
je 0x447df0
cmp dword [ebp - 4], eax
jbe 0x447e35
push dword [ebp - 8]
lea edx, [ebp - 0xe4]
push edx
mov edx, ecx
mov ecx, dword [ebp - 4]
push eax
call fcn.0048ea2d
mov ecx, dword [ebp - 0xe8]
add esp, 0xc
test eax, eax
je 0x447e35
jmp 0x447f16
add edx, edx
add eax, edx
cmp dword [ebp - 4], eax
jb 0x447e35
mov ecx, dword [ebp - 4]
sub ecx, edx
mov ax, word [ecx]
cmp ax, word [ebp - 0xcc]
jne 0x447e2f
cmp dword [ebp - 0xe4], 1
je 0x447f10
mov ax, word [ecx + 2]
mov ecx, dword [ebp - 0xe8]
cmp ax, word [ebp - 0xca]
jne 0x447e35
jmp 0x447f16
mov ecx, dword [ebp - 0xe8]
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0xe4]
add eax, 2
mov dword [ebp - 4], eax
cmp eax, dword [ebp + 0x10]
jae 0x447f16
mov ax, word [eax]
mov dword [ebp - 0xc], 0xfc00
and ax, word [ebp - 0xc]
mov dword [ebp - 0xc], 0xdc00
cmp ax, word [ebp - 0xc]
mov eax, dword [ebp - 4]
jne 0x447e71
add eax, 2
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0xe8]
cmp eax, dword [ebp + 0x10]
jb 0x447dba
jmp 0x447f16
cmp dword [ebp - 4], eax
jae 0x447f19
mov eax, dword [ebp - 0x88]
test ecx, ecx
je 0x447ec0
cmp dword [ebp - 4], eax
jbe 0x447efc
push 0
lea edx, [ebp - 0xe4]
push edx
mov edx, ecx
mov ecx, dword [ebp - 4]
push eax
call fcn.0048ea2d
mov ecx, dword [ebp - 0xe8]
add esp, 0xc
test eax, eax
je 0x447ef6
jmp 0x447f16
add edx, edx
add eax, edx
cmp dword [ebp - 4], eax
jb 0x447ef6
mov ecx, dword [ebp - 4]
sub ecx, edx
mov ax, word [ecx]
cmp ax, word [ebp - 0xcc]
jne 0x447ef0
cmp dword [ebp - 0xe4], 1
je 0x447f10
mov ax, word [ecx + 2]
cmp ax, word [ebp - 0xca]
je 0x447f10
mov ecx, dword [ebp - 0xe8]
mov eax, dword [ebp - 0x88]
add dword [ebp - 4], 2
mov edx, dword [ebp + 0x10]
cmp dword [ebp - 4], edx
mov edx, dword [ebp - 0xe4]
jb 0x447e94
jmp 0x447f16
mov ecx, dword [ebp - 0xe8]
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp - 4]
cmp word [edx - 2], 0xd
jne 0x41460f
cmp ecx, 1
je 0x447f35
cmp ecx, 2
jne 0x41460f
cmp edx, eax
jae 0x41460f
cmp word [edx], 0xa
jne 0x41460f
add edx, 2
mov dword [ebp - 4], edx
jmp 0x41460f
cmp ecx, ebx
jae case.0x447faf.996
movzx esi, si
movzx edx, word [ecx]
add ecx, 2
cmp edx, esi
je 0x447f7b
movzx eax, ax
cmp edx, eax
je 0x447f7b
cmp ecx, ebx
jae case.0x447faf.996
mov eax, dword [ebp - 0x18]
jmp 0x447f5d
mov edx, dword [ebp - 4]
jmp 0x4148b2
cmp dword [ebp - 0x28], 0
jne 0x41469d
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x108], ecx
jmp 0x41469d
je case.0x447faf.995
lea eax, [esi + 0x3e4]
cmp eax, 4
ja case.default.0x447faf
jmp dword [eax*4 + 0x4481eb]
mov eax, dword [ebp - 0xd8]
mov edx, ecx
mov dword [ebp - 0xd4], eax
jmp 0x448002
mov edx, dword [ebp - 0x80]
mov dword [ebp - 0xc], edx
cmp edx, ecx
ja 0x448005
cmp dword [ebp - 8], 0
lea edx, [ecx + 2]
mov dword [ebp - 0xd4], 0
mov dword [ebp - 0xc], edx
je 0x448005
cmp edx, ebx
jae 0x448005
mov ax, word [edx]
mov ecx, 0xfc00
and ax, cx
mov ecx, 0xdc00
cmp ax, cx
jne 0x448005
add edx, 2
mov dword [ebp - 0xc], edx
mov ecx, dword [ebp - 0xe8]
xor esi, esi
mov eax, dword [ebp - 0x84]
cmp dword [ebp - 0x34], esi
je 0x44808d
test ecx, ecx
je 0x448046
cmp dword [ebp - 4], eax
jae 0x44808d
push dword [ebp - 8]
lea edx, [ebp - 0xe4]
push edx
mov edx, ecx
mov ecx, dword [ebp - 4]
push eax
call fcn.00415e9f
add esp, 0xc
test eax, eax
jne 0x414876
mov edx, dword [ebp - 0xc]
jmp 0x448081
mov ecx, dword [ebp - 0xe4]
add ecx, ecx
sub eax, ecx
mov ecx, dword [ebp - 4]
cmp ecx, eax
ja 0x448081
mov ax, word [ecx]
cmp ax, word [ebp - 0xcc]
jne 0x448081
cmp dword [ebp - 0xe4], 1
je 0x414876
mov ax, word [ecx + 2]
cmp ax, word [ebp - 0xca]
je 0x414876
mov ecx, dword [ebp - 0xe8]
mov eax, dword [ebp - 0x84]
mov dword [ebp - 4], edx
cmp dword [ebp - 0x20], esi
jne 0x414876
cmp edx, ebx
ja 0x414876
cmp edx, dword [ebp - 0x110]
jbe 0x4480de
cmp word [edx - 2], 0xd
jne 0x4480de
cmp edx, ebx
jae 0x4480de
cmp word [edx], 0xa
jne 0x4480de
test dword [edi + 0xc], 0x800
jne 0x4480de
cmp ecx, 1
je 0x4480d6
cmp ecx, 2
je 0x4480d6
cmp dword [ebp - 0xe4], 2
jne 0x4480de
add edx, 2
mov dword [ebp - 4], edx
jmp 0x4480e1
mov edx, dword [ebp - 4]
mov dword [ebp - 0x50], esi
jmp 0x4145d0
cmp esi, 0xfffffc19
je 0x4146ae
jmp 0x414876
mov ecx, dword [ebp + 0x1c]
cmp ecx, 1
jle 0x448124
mov edx, dword [ebp + 8]
sub ebx, edx
mov edi, dword [ebp - 0x28]
mov eax, dword [ebp + 0x18]
sub edi, edx
sar edi, 1
sar ebx, 1
mov dword [eax], edi
mov dword [eax + 4], ebx
cmp ecx, 2
jle 0x448124
sub esi, edx
sar esi, 1
mov dword [eax + 8], esi
mov eax, 0xfffffff4
jmp 0x414899
mov edx, dword [ecx + 0x18]
mov ecx, dword [ebp - 0x4c]
mov dword [edx], ecx
jmp 0x414721
cmp ebx, 4
jl 0x448161
lea eax, [ebx*4 - 8]
push eax
mov eax, dword [ebp - 0xf4]
add eax, 8
push eax
mov eax, dword [ebp + 0x18]
add eax, 8
push eax
call fcn.00421080
add esp, 0xc
cmp dword [ebp - 0x70], ebx
jle 0x44816d
or dword [ebp - 0x6c], 0x10000
push dword [ebp - 0xf4]
call dword [0x4a5748]
add esp, 4
jmp 0x4146bb
cmp esi, ebx
jl 0x4146cb
xor ecx, ecx
jmp 0x4146d4
test ebx, ebx
je 0x4146ea
mov eax, dword [ebp + 0x1c]
lea edi, [edi*2 + 2]
cmp edi, eax
jle 0x4481a8
mov edi, eax
lea eax, [ebx + edi*4]
xor edi, edi
mov edx, eax
lea esi, [ebx + esi*4]
sub edx, esi
add edx, 3
shr edx, 2
cmp eax, esi
sbb eax, eax
not eax
and eax, edx
jbe 0x4146ea
inc edi
mov dword [esi], 0xffffffff
lea esi, [esi + 4]
cmp edi, eax
jb 0x4481c8
jmp 0x4146ea
mov edx, dword [eax + 0x18]
mov eax, dword [ebp - 0x50]
mov dword [edx], eax
jmp 0x41471f