Function at 0x40201b
Capabilities:
Packed with generic packer

Disassembly:
mov dword [esi + 0xc], eax
pop esi
pop ebp
ret 0x14
add byte [eax], al
mov ebx, dword [ebp + 0xc]
movzx eax, word [ebx + 0x86]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x34]
push eax
push dword [esi]
call dword [0x48f634]
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x28]
mov edx, dword [esi + 0x44]
mov edi, dword [esi + 0x48]
mov dword [ebp + 0x10], ecx
mov dword [ebp + 0xc], eax
mov dword [ebp - 8], edx
mov dword [ebp + 8], edi
test ecx, ecx
je 0x43bd51
test eax, eax
je 0x43bd68
cmp dword [esi + 0x19c], 0
jne 0x43bd7f
lea eax, [ebp - 0x34]
push eax
push dword [ebx]
call dword [0x48f694]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x34]
sub eax, ecx
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x30]
sub edx, eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x1c]
push eax
in al, 0x50
push dword [esi]
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x1c], ecx
call dword [0x48f670]
mov edi, dword [ebp - 0x1c]
jge 0x401e32
mov eax, edi
imul eax, dword [ebp - 8]
mov esi, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
cdq
idiv dword [ebp + 0x10]
mov word [ebx + 0x88], ax
mov eax, esi
imul eax, dword [ebp + 8]
cdq
idiv dword [ebp + 0xc]
mov word [ebx + 0x8a], ax
mov eax, dword [ebp - 0xc]
imul eax, dword [ebp - 8]
cdq
idiv dword [ebp + 0x10]
mov word [ebx + 0x8c], ax
mov eax, dword [ebp - 0x10]
imul eax, dword [ebp + 8]
cdq
idiv dword [ebp + 0xc]
mov word [ebx + 0x8e], ax
test cx, cx
je 0x401f2d
test ecx, 0x100
je 0x401ed3
mov eax, dword [ebp - 0xc]
mov word [ebx + 0x8c], ax
test cl, 6
jne 0x401ed3
test cl, 8
jne 0x43bd91
mov eax, dword [ebp + 0x10]
cdq
sub eax, edx
sar eax, 1
cmp edi, eax
jg 0x43bdaf
test ecx, 0x200
je 0x401f02
mov eax, dword [ebp - 0x10]
mov word [ebx + 0x8e], ax
test cl, 0x60
jne 0x401f02
test cl, cl
js 0x43bdd1
mov eax, dword [ebp + 0xc]
cdq
sub eax, edx
sar eax, 1
cmp esi, eax
jg 0x43bdef
ret 0xf8d1
mov edx, dword [ebp + 8]
mov eax, ecx
and eax, 2
jne 0x43be13
test cl, 4
jne 0x43be1f
mov eax, ecx
and eax, 0x20
jne 0x43be61
test cl, 0x40
inc eax
jne 0x43be6d
inc eax
lahf
add eax, dword [eax]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp byte [edi + 0x90], 7
mov word [edi + 0x88], ax
mov ax, word [esi + 0x5c]
mov word [edi + 0x8a], ax
je 0x401fb7
xchg dword [edx + 0x74000000], ecx
pop edi
mov ax, word [esi + 0x60]
mov word [edi + 0x8c], ax
mov ax, word [esi + 0x64]
mov word [edi + 0x8e], ax
lea eax, [ebp - 0x24]
push eax
push dword [edi]
call dword [0x48f634]
or ebx, 0xffffffff
cmp dword [esi + 0x58], ebx
je 0x401fbf
cmp dword [esi + 0x5c], ebx
je 0x401fcc
lea eax, [ebp - 0x24]
push eax
push dword [edi]
call dword [0x48f694]
cmp dword [esi + 0x60], ebx
je 0x43bd2d
cmp dword [esi + 0x64], ebx
je 0x43bd3f
cmp byte [edi + 0x90], 0
jne 0x401f2d
jmp 0x43bd3f
cmp byte [ebp + 0x10], 0
je 0x401f6e
jmp 0x401f58
mov ax, word [ebp - 0x24]
mov eax, dword [ebp - 0x24]
mov word [edi + 0x88], ax
jmp 0x401f82
mov ax, word [ebp - 0x20]
mov word [edi + 0x8a], ax
jmp 0x401f87
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x4c6810]
push esi
mov esi, dword [ebp + 8]
push edi
push 0
mov eax, dword [eax + esi*4]
mov edi, dword [eax]
or byte [edi + 0x6a], dl
add byte [ebx + 0x388bb004], cl
push edi
call fcn.00401b41
cmp dword [edi + 0x18], 0
jne 0x43bef3
mov ecx, dword [0x4c6834]
push 3
pop edx
mov dword [ebp - 4], edx
cmp ecx, edx
jl 0x402101
mov eax, dword [0x4c6824]
mov eax, dword [eax + edx*4]
mov esi, dword [eax]
test esi, esi
je 0x4020f2
add byte [eax], al
mov eax, dword [esi + 4]
cmp eax, dword [edi + 4]
jne 0x4020f2
movzx eax, byte [esi + 0x90]
sub eax, 0xa
je 0x43bf4d
sub eax, 6
je 0x43bf4d
sub eax, 3
je 0x43bf1e
sub eax, 8
jne 0x43bf05
push esi
push edi
call fcn.00401b41
cmp dword [esi + 0x64], 0
jne 0x43bf69
cmp dword [esi + 0x68], 0
jne 0x43bf7b
cmp dword [esi + 0x44], 0
jne 0x43bf8d
cmp dword [esi + 0x50], 0
jne 0x43bf9f
rcr dword [esi + 0x3e830003], cl
add byte [ebx + ecx - 1], dh
cmp dword [esi], 0
je 0x4020dc
push dword [esi]
call dword [0x48f63c]
call dword ss:[0x48f63c]
and dword [esi], 0
push dword [ebp - 4]
mov ecx, 0x4c67b0
call fcn.0040246d
mov ecx, dword [0x4c6834]
mov edx, dword [ebp - 4]
add eax, dword [eax]
add byte [ebx + 0x4c68340d], cl
add byte [ebx - 0x76bd03ab], cl
push ebp
cld
inc edx
mov dword [ebp - 4], edx
cmp edx, ecx
jle 0x402054
mov esi, dword [ebp + 8]
cmp dword [edi + 0x20], 0
jne 0x43bfb1
cmp dword [edi + 0x24], 0
jne 0x43bfbf
mov edx, dword [0x4c6810]
mov eax, dword [edx + esi*4]
mov ecx, dword [eax]
test ecx, ecx
je 0x402130
push ecx
call fcn.004010f0
mov edx, dword [0x4c6810]
mov eax, dword [edx + esi*4]
and dword [eax], 0
mov edx, dword [0x4c67d0]
dec edx
mov dword [0x4c67d0], edx
cmp esi, dword [0x4c681c]
jne 0x402152
or dword [0x4c681c], 0xffffffff
mov ecx, dword [0x4c6814]
cmp edx, 1
je 0x43bfcd
pop edi
pop esi
test edx, edx
jne 0x402181
push dword [0x4c67d4]
push edx
call dword [0x48f70c]
and dword [0x4c67d4], 0
mov ecx, dword [0x4c6814]
test ecx, ecx
je 0x40219f
mov eax, dword [0x4c6810]
mov eax, dword [eax + ecx*4 - 4]
cmp dword [eax], 0
jne 0x40219f
mov ecx, 0x4c680c
call fcn.00403532
jmp 0x40217b
mov esp, ebp
pop ebp
ret 4
cmp byte [ecx - 0xf74fbba], cl
jmp 0x401d0b
test byte [ebx + 0x8fffc60], al
add edi, edi
adc eax, 0x8548f71c
jmp 0x401dc7
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x24]
mov word [edi - 0x1f42ff74], ax
jmp 0x401fc0
loopne 0x43bdd0
mov dword [edi + 0xf6008e], eax
jmp 0x401f51
test byte [edx - 0x760003a0], ah
push ebp
adc cl, ch
lcall 0xc45, 0xc7fffc60
add byte [eax], al
cmp eax, dword [eax]
test dword [ebp + 0xf], ebx
test byte [ebx - 0x760003a0], dl
jge 0x43bdaa
jmp 0x401e2e
loopne 0x43bdd7
clc
mov dword [ebp + 8], edi
jmp 0x401e3b
or cl, ch
xchg byte [eax - 4], ah
dec dword [ebx - 0x307407bb]
sub eax, dword [ebp + 0x10]
cdq
sub eax, edx
sar eax, 1
sub ecx, eax
mov word [ebx - 0x7affff78], cx
mov ecx, dword [ebp - 0x14]
jmp 0x401ef7
popal
cld
dec dword [ebx + 0x10452bc7]
add eax, dword [ebp - 0xc]
imul eax, dword [ebp - 8]
cdq
idiv dword [ebp + 0x10]
sub eax, dword [ebp - 0xc]
add eax, dword [ebp - 8]
mov word [ebx - 0x7affff78], ax
jmp 0x401ef7
adc byte [ebx], al
inc ebp
hlt
test ecx, ebp
add ah, byte [ecx - 4]
dec dword [ebx - 0x3174f7bb]
sub eax, dword [ebp + 0xc]
cdq
sub eax, edx
sar eax, 1
sub ecx, eax
mov word [ebx - 0x7affff76], cx
mov ecx, dword [ebp - 0x14]
jmp 0x401f26
mov eax, esi
sub eax, dword [ebp + 0xc]
add eax, dword [ebp - 0x10]
imul eax, dword [ebp + 8]
cdq
idiv dword [ebp + 0xc]
mov edx, dword [ebp + 8]
sub eax, dword [ebp - 0x10]
add eax, edx
mov word [ebx - 0x7affff76], ax
jmp 0x401f29
add byte [eax], al
test dword [esi + 0x2b], esp
jge 0x43be63
add di, word [ebp - 8]
add di, word [ebp - 0xc]
mov word [ebx - 0x1f42ff74], di
jmp 0x401f3d
loopne 0x43be4c
salc
pushal
cld
jmp [ebx]
mov word [eax], es
mov ebp, 0x7d0366e0
clc
add di, word [ebp - 0xc]
mov word [ebx - 0x7affff78], di
jmp 0x401f3d
add si, word [ebp - 0x10]
mov word [ebx + 0xf6008e], si
jmp 0x401f51
add eax, dword [ebp + 0xc]
jmp 0x43bf0f
or al, 0
mov ebx, dword [ebp + 0xf]
test byte [eax], bl
popal
cld
inc dword [ecx]
inc ecx
pop esp
add dword [ecx + 0x5c], eax
jmp 0x402027
dec eax
loopne 0x43bea4
sbb byte [bx + si], al
jmp 0x402064
invalid
cmp al, 0
jmp 0x4020c8
push dword [esi + 0x40]
call dword [0x48f08c]
and dword [esi + 0x40], 0
jmp 0x4020c8
push dword [esi + 0x64]
call dword [0x48f0c8]
and dword [esi + 0x64], 0
jmp 0x4020d2
push dword [esi + 0x68]
call dword [0x48f73c]
and dword [esi + 0x68], 0
jmp 0x4020dc
push dword [esi + 0x44]
call dword [0x48f0c8]
and dword [esi + 0x44], 0
jmp 0x4020e6
and esp, dword [ecx - 4]
invalid
push ax
add cl, ch
sbb esp, dword [ecx - 4]
invalid