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
push es
add byte [eax], al
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]
sbb al, 0x40
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 fcn.0041495e
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 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
test byte [ebp - 0x74a8a9f9], 0xf1
shl ebx, 4
sbb dword [eax], 0x53
clc
inc esp
enter 0x4489, 0x24
and al, ch
sbb ecx, dword [ebp + 0x3e]
jmp 0xe4954970