Function at 0x40a2b9
Capabilities:
Packed with generic packer

Disassembly:
jmp 0x40a286
call 0x40a21f
jmp 0x40a228
jmp 0x40a21a
pushal
push pe_nt_image_headers32
jmp 0x40a272
lea esi, [ebp - 0x19e]
mov eax, dword [esi]
cmp eax, 1
je 0x40a492
mov dword [esi], 1
mov edx, ebp
mov eax, dword [ebp - 0x20a]
sub edx, eax
mov dword [ebp - 0x20a], edx
add dword [ebp - 0x1da], edx
lea esi, [ebp - 0x196]
add dword [esi], edx
mov esi, dword [esi]
mov edi, ebp
jmp 0x40a231
push 0x1000
push 0x1000
push 0
call dword [ebp - 0x172]
jmp 0x40a28c
jmp 0x40a2af
jmp 0x40a236
mov dword [ebp - 0x1e2], eax
call 0x40a297
pop ebx
mov ecx, 0x354
add ebx, ecx
push eax
push ebx
call fcn.0040a543
popal
add edi, dword [ebp - 0x21a]
jmp 0x40a2ca
pushal
popal
pushal
pushfd
call 0x40a2b9
pop ebp
sub ebp, 0x9e
nop
nop
nop
nop
nop
nop
nop
nop
jmp 0x40a288
mov ebx, edi
add edi, 4
mov ecx, 0
push edi
push ecx
push edx
push ebx
push dword [ebp - 0x16e]
push dword [ebp - 0x172]
mov edx, esi
mov ecx, edi
mov eax, dword [ebp - 0x1e2]
add eax, 0x5a9
call eax
pop ebx
pop edx
pop ecx
pop edi
cmp ecx, 0
je 0x40a303
add ebx, 8
jmp 0x40a2c8
push 0x8000
push 0
push dword [ebp - 0x1e2]
call dword [ebp - 0x16e]
lea esi, [ebp - 0x1da]
mov ecx, dword [esi + 8]
lea edx, [esi + 0x10]
mov esi, dword [esi]
mov edi, esi
cmp ecx, 0
je 0x40a36a
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40a32b
mov eax, dword [edi]
cmp byte [edx + 1], 0
je 0x40a350
mov bl, byte [edx]
cmp byte [edi], bl
jne 0x40a32b
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
jmp 0x40a35a
mov bl, byte [edi + 4]
xchg ah, al
rol eax, 0x10
xchg ah, al
sub eax, edi
add eax, esi
mov dword [edi], eax
add edi, 5
sub bl, 0xe8
mov eax, ebx
loop 0x40a330
call fcn.0040a49a
lea ecx, [ebp - 0x1c6]
mov eax, dword [ecx + 8]
cmp eax, 0
je 0x40a402
mov esi, edx
sub esi, dword [ecx + 0x10]
je 0x40a402
mov dword [ecx + 0x10], esi
lea esi, [ebp - 0x196]
mov esi, dword [esi]
lea ebx, [esi - 4]
mov eax, dword [ecx]
cmp eax, 1
je 0x40a3a7
mov edi, edx
add edi, dword [ecx + 8]
mov ecx, dword [ecx + 0x10]
jmp 0x40a3af
mov edi, esi
add edi, dword [ecx + 8]
mov ecx, dword [ecx + 0x10]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x40a3d8
cmp al, 0xef
ja 0x40a3c2
add ebx, eax
add dword [ebx], ecx
jmp 0x40a3af
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
or eax, eax
jne 0x40a3bc
mov eax, dword [edi]
add edi, 4
jmp 0x40a3bc
xor ebx, ebx
xchg esi, edi
mov eax, dword [esi]
cmp eax, 0
je 0x40a402
lodsd eax, dword [esi]
or eax, eax
je 0x40a3f0
add ebx, eax
add word [edi + ebx], cx
jmp 0x40a3e3
xor ebx, ebx
shr ecx, 0x10
lodsd eax, dword [esi]
or eax, eax
je 0x40a402
add ebx, eax
add word [edi + ebx], cx
jmp 0x40a3f5
lea edi, [ebp - 0x20a]
mov edx, dword [edi]
lea edi, [ebp - 0x1ae]
mov eax, dword [edi]
cmp eax, 1
jne 0x40a459
add edx, dword [esi + 4]
push esi
push edx
push esi
push 4
push 0x100
push edx
call dword [ebp - 0x176]
pop edi
pop esi
pop edx
pop ebx
pop ecx
pop esi
add ebx, 0xc
call 0x40a439
pop eax
add dword [eax + 0x5c], eax
mov ebx, dword [eax + 0x5c]
add ebx, 0x60
mov dword [eax + 0x17], ebx
popfd
popal
jmp 0x40a44d
jmp 0x40a44f
push 0
ret
mov ebx, ebp
sub ebx, 8
xor ecx, ecx
mov cl, byte [ebx]
cmp ecx, 0
je 0x40a434
inc ebx
lea esi, [ebp - 0x20a]
mov edx, dword [esi]
push esi
push ecx
push ebx
push edx
push esi
push dword [ebx]
push dword [ebx + 4]
mov eax, dword [ebx + 8]
add eax, edx
push eax
call dword [ebp - 0x176]
jmp 0x40a42d
popal
popfd
jmp 0x408000