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
test edi, edi
je 0x4478b7
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x14]
test ecx, 0xe20f5a6f
jne 0x4148c4
test edi, edi
je 0x4149b3
test ebx, ebx
je 0x4149b3
cmp dword [ebp + 0x18], 0
mov eax, dword [ebp + 0x1c]
je 0x4478f4
test eax, eax
js 0x4148ce
test edx, edx
js 0x4148d8
test esi, esi
js 0x4149a9
cmp esi, edx
jg 0x4149a9
bnd 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
mov eax, 1
mov dword [ebp - 8], eax
mov dword [ebp - 0xb0], eax
test ecx, 0x8000000
jne 0x4148f3
test ecx, 0x8000
jne 0x4148fd
xor 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
test esi, esi
movzx eax, word [edi + 0x26]
mov esi, dword [ebp + 0x10]
inc dword [ebp + 0x47b70ff6]
mov esi, dword es:[ebp + 0x10]
mov dword [ebp - 0xe0], eax
mov eax, 0x989680
mov ecx, eax
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]
mov eax, ebx
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
xor eax, eax
mov dword [ebp - 0xa8], eax
test ebx, 0x2000000
jne 0x41491b
xor 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
xor eax, eax
mov dword [ebp - 0xb4], eax
test ecx, 0x400
jne 0x414939
xor eax, eax
mov dword [ebp - 0xa0], eax
test ecx, 0x10000000
jne 0x414943
xor 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
xor 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
mov edx, ecx
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 0x414874
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 int.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
add byte [eax], al
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
mov esp, ebp
pop ebp
ret
cmp edx, eax
jae 0x41460f
movzx edx, word [edx]
cmp edx, 0xff
ja 0x414965
xchg dword [esi], esp
add al, byte [eax]
add byte [ebx + 0x1b8ca], cl
add byte [eax], al
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 0x414874
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 0x414874
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
mov eax, 2
jmp 0x41426b
mov eax, 1
jmp 0x41426b
mov eax, 1
jmp 0x4143b2
mov eax, 1
jmp 0x4143c6
mov eax, 1
jmp 0x4143da
mov eax, 1
jmp 0x4143f4
mov eax, 1
jmp 0x414408
mov eax, 1
jmp 0x41441c
mov eax, 1
jmp 0x414430
mov eax, 1
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
mov byte [ebp - 4], 1
inc edi
jmp 0x998240b8
enter 0xffffffffffffc483, 0x53
push ebx
push ebx
push ebx
push ebx
xor edx, edx
xor ecx, ecx
call 0xc80f49d9
inc ebp
push eax
adc al, 0xe9
sub eax, 0x4c7444ce
add al, ch
invalid
aam 0xd0
retf 0x45c7
jmp 0x414216
or al, 0x7f
jae 0xb84605d9
out 0xff, eax
test eax, eax
jg 0x48473a
mov eax, 0xacd868f6
dec ebx
retf 0x4cd
jne 0x447987
jge 0x101c4299
mov ecx, dword [ebp + 0xc]
push eax
call 0xfc4532be
add byte [edi], bh
mov ecx, 0x3f00fc00
mov ax, word [eax]
and ax, cx
mov ecx, 0x3f00dc00
cmp ax, cx
sar dword [ecx + 0x3f00dc00], 0x66
cmp eax, ecx
jne 0x414299
mov eax, 0xacd868f5
dec ebx
nop
push 0x904bacd8
int 0xc4
add al, 0xe9
jle 0x447954
mov eax, dword [eax + 8]
mov dword [ebp - 0x532797fc], eax
dec ebx
dec edi
leave
xlatb
jnp 0x76d06a35
adc al, 0x89
mov ch, 0xe8
aas
cmpsd dword [esi], dword es:[edi]
add ecx, dword [ebx + 0x44e91075]
leave
les eax, [ecx + ebp*8]
jle 0x447979
jmp 0x5094313
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x532797fc]
dec ebx
cmp ecx, ecx
les eax, [ecx + ebp*8]
dec ebp
invalid
les eax, [ecx + edi]
inc edi
adc byte [edi], cl
cmp dword [esi], 0xffffffc9
dec dword [ebp - 0x7674f2b1]
test dword [eax + ebp*2], eax
fsubr dword [ebx + ecx*2 - 0x720036d0]
dec edi
or eax, 0xfc13b14
xor dword [edx], 0xffffffc9
leave
dec dword [ebp + 0x3b140d4f]
ror dword [edi], 0x83
xor cl, cl
dec dword [ebp + 0x7fc0e889]
cld
invalid
jmp dword [eax*4 - 0xb76e764]
add al, byte [eax]
jmp 0x88a03b6
fld qword [ebp]
add dword [edi], ecx
test dword [ebx + 0x100], ebx
test dword [edi + edi*8 - 1], ebp
invalid
add cl, ch
popal
retf 0xace8
jmp 0xea0d05f9
leave
call 0xec0b72bc
sub cl, byte [ebx - 0x247bf0cb]
leave
call 0x8e3833c8
invalid
call 0x8988415d
mov ch, 0xe9
add dword [eax - 0x28], ebp
xor ah, byte [edi + 0x468d0875]
cli
fdiv dword [edx]
cmpsd dword [esi], dword es:[edi]
jne 0x447b66
lea eax, [esi - 6]
jmp 0x41473a
jne 0x447b50
mov ecx, dword [ebx + 8]
call 0xca02d271
dec dword [ebp - 0x72726ab1]
pushal
invalid
pop eax
dec edx
aas
mov ax, word [eax*8 + 0x3f4a2f54]
add ax, bx
movzx eax, ax
mov dword [ebp - 0x14], eax
jmp 0x414809
pop eax
dec edx
aas
mov ax, word [eax*8 + 0x3f4a2f54]
add ax, bx
movzx eax, ax
mov dword [ebp - 0x18], eax
jmp 0x2db945d7
or byte [ebx - 0xf727201], cl
invalid
movzx eax, word [edx]
cmp ax, cx
je 0x414628
cmp ax, word [ebp - 0x14]
cmp eax, dword [ebp - 0x14]
je 0x414628
add edx, 2
mov dword [ebp - 4], edx
cmp edx, dword [ebp + 0x10]
jb 0x447d7c
jmp 0x101c4628
rol dh, cl
call dword [0xa3ad41e]
jne 0x414628
add edx, 2
mov dword [ebp - 4], edx
jmp 0xc4c84628
cmp edx, eax
je 0x447f94
add al, 0xcb
jae 0xa62d488d
add eax, 0xe2ebe845
jbe 0x447f98
add byte [ebx + 0x2d74c92f], al
das
leave
je 0x447fc9
sar dword [ebp - 0x28], cl
add byte [edi], cl
test dword [eax], edx
invalid
fadd dword [eax]
jne 0xa62d46b6
add eax, 0x45898845
fmul dword [ecx - 0x7a720773]
sar ah, 1
inc esi
add esp, 0x74
xor byte [ebp - 0x17fc1b7a], cl
mov eax, 0xf04f883
xchg esi, esi
invalid
test ebx, ebp
add dword [ebx + eax*4 - 0x75], 0x488d8d85
dec dword [ebx + 0x2c8589d1]
invalid
invalid
mov dword [ebp - 0x50], esi
jmp 0x4dd045e9
mov dword [eax + 4], ebx
invalid
jo 0x448145
mov eax, 0xfef08df4
jmp 0xa62d48b2
call 0x189586ef
mov ecx, dword [ebp - 0x4c]
mov dword [edx], ecx
jmp 0x2db9473a
xchg esp, eax
inc esp
and al, 0x10
push ss
push dword [ebp - 0x2797fe17]
call dword [0x4a5748]
cld
dec edx
add ah, bh
dec dword [ebp - 0x173ac517]
xchg ebx, eax
cmp esi, ebx
jl 0x4146e4
xor ecx, ecx
jmp 0x101c46ed
jbe 0xa62d4703
inc edi
mov dword [esi], 0xffd86801
lea esi, [esi + 4]
cmp edi, eax
jb 0x4481e1
jmp 0xa62d4703
add byte [eax], al
add byte [ebx - 0x3174f318], cl
sbb dword [edx], eax
clc
cld
mov edx, 0xfffeb434
std
jmp 0x48475d
adc byte [edi + edi*2], cl
call fcn.004099c7
push 0x4e
jmp 0xfd411f23