Function at 0x403e20
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4a8039
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
mov eax, dword [ebp + 0x10]
cmp byte [eax + 0x1d], 0
push ebx
push esi
push edi
mov dword [esp + 0x10], ecx
je 0x403e8a
push 0x4bb14c
lea ecx, [esp + 0x20]
call dword [0x4aa8d4]
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x3c]
mov dword [esp + 0x70], 0
call fcn.004012a0
push 0x4d19f8
lea ecx, [esp + 0x3c]
push ecx
mov dword [esp + 0x40], 0x4ab238
call fcn.00460010
mov ebx, eax
lea ecx, [ebp + 0xc]
mov dword [esp + 0x14], ebx
call 0x4042d0
mov eax, dword [ebx]
cmp byte [eax + 0x1d], 0
je 0x403ea5
mov edi, dword [ebx + 8]
jmp 0x403ebc
mov edx, dword [ebx + 8]
cmp byte [edx + 0x1d], 0
je 0x403eb2
mov edi, eax
jmp 0x403ebc
mov ecx, dword [ebp + 0x10]
cmp ecx, ebx
mov edi, dword [ecx + 8]
jne 0x403f32
cmp byte [edi + 0x1d], 0
mov esi, dword [ebx + 4]
jne 0x403ec8
mov dword [edi + 4], esi
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 4]
cmp dword [eax + 4], ebx
jne 0x403ed9
mov dword [eax + 4], edi
jmp 0x403ee4
cmp dword [esi], ebx
jne 0x403ee1
mov dword [esi], edi
jmp 0x403ee4
mov dword [esi + 8], edi
mov eax, dword [ecx + 4]
cmp dword [eax], ebx
jne 0x403f07
cmp byte [edi + 0x1d], 0
je 0x403ef5
mov eax, esi
jmp 0x403f02
push edi
call 0x404250
mov ecx, dword [esp + 0x14]
add esp, 4
mov edx, dword [ecx + 4]
mov dword [edx], eax
mov ecx, dword [ecx + 4]
cmp dword [ecx + 8], ebx
mov dword [esp + 0x18], ecx
jne 0x403f8d
cmp byte [edi + 0x1d], 0
je 0x403f20
mov eax, esi
mov dword [ecx + 8], eax
jmp 0x403f8d
push edi
call fcn.00404230
mov ecx, dword [esp + 0x1c]
add esp, 4
mov dword [ecx + 8], eax
jmp 0x403f8d
mov dword [eax + 4], ecx
mov eax, dword [ebx]
mov dword [ecx], eax
cmp ecx, dword [ebx + 8]
jne 0x403f42
mov esi, ecx
jmp 0x403f5c
cmp byte [edi + 0x1d], 0
mov esi, dword [ecx + 4]
jne 0x403f4e
mov dword [edi + 4], esi
mov dword [esi], edi
mov edx, dword [ebx + 8]
mov dword [ecx + 8], edx
mov eax, dword [ebx + 8]
mov dword [eax + 4], ecx
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 4]
cmp dword [eax + 4], ebx
jne 0x403f6d
mov dword [eax + 4], ecx
jmp 0x403f7b
mov eax, dword [ebx + 4]
cmp dword [eax], ebx
jne 0x403f78
mov dword [eax], ecx
jmp 0x403f7b
mov dword [eax + 8], ecx
mov eax, dword [ebx + 4]
mov dword [ecx + 4], eax
mov dl, byte [ebx + 0x1c]
mov al, byte [ecx + 0x1c]
mov byte [ecx + 0x1c], dl
mov byte [ebx + 0x1c], al
mov eax, dword [esp + 0x14]
mov bl, 1
cmp byte [eax + 0x1c], bl
jne 0x40409f
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + 4]
cmp edi, dword [edx + 4]
je 0x40409c
lea esp, [esp]
cmp byte [edi + 0x1c], bl
jne 0x40409c
mov eax, dword [esi]
cmp edi, eax
jne 0x404026
mov eax, dword [esi + 8]
cmp byte [eax + 0x1c], 0
jne 0x403fdc
mov byte [eax + 0x1c], bl
push esi
mov byte [esi + 0x1c], 0
call 0x4041d0
mov eax, dword [esi + 8]
mov ecx, dword [esp + 0x10]
cmp byte [eax + 0x1d], 0
jne 0x404058
mov edx, dword [eax]
cmp byte [edx + 0x1c], bl
jne 0x403ff1
mov edx, dword [eax + 8]
cmp byte [edx + 0x1c], bl
je 0x404054
mov edx, dword [eax + 8]
cmp byte [edx + 0x1c], bl
jne 0x40400f
mov edx, dword [eax]
mov byte [edx + 0x1c], bl
push eax
invalid
add byte [eax], bh
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
call 0xe404041
pop ds
mov edx, 0x9b4000e
int 0x21
mov eax, 0x21cd4c01
push esp
push 0x70207369
jb 0x4040c5
jb 0x4040ba
popal
insd dword es:[edi], dx
and byte [ebx + 0x61], ah
outsb dx, byte [esi]
outsb dx, byte [esi]
outsd dx, dword [esi]
je 0x404082
bound esp, qword [ebp + 0x20]
jb 0x4040dc
outsb dx, byte [esi]
and byte [ecx + 0x6e], ch
and byte [edi + ecx*2 + 0x53], al
and byte [ebp + 0x6f], ch
imul ebp, dword [esi + 0x20], 0x20534f44
insd dword es:[edi], dx
outsd dx, dword [esi]
or eax, 0x240a0d
add byte [eax], al
add byte [eax], al
add byte [eax], al
lodsb al, byte [esi]
stosb byte es:[edi], al
adc eax, 0x7bcbe817
inc esp
call 0xe884bc58
retf
jmp 0x404069
inc esp
iretd
adc eax, 0x7bcbe744
inc esp
iretd
retf
call 0x84bcac
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax + 0x45], dl
add byte [eax], al
dec esp
add dword [0xec869a00], eax
dec esp
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
loopne 0x4040fe
add ah, byte [ecx]
or eax, dword [ecx]
or byte [eax], al
add al, al
add byte [eax], al
add al, al
add byte [eax], al
add byte [eax], al
add byte [eax], al
adc byte [edi + 0x10000000], cl
add byte [eax], al
add al, dl
add byte [eax], al
add byte [eax], al
add byte [eax], dl