joyce8/EMBER2024-capa huggingface dataset:
Function at 0x423505
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00423376

Function at 0x423768
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x444b98]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x4237a8
cmp byte [ebx], 0xa
jne 0x4237a8
or byte [eax + edi + 0x28], 4
jmp 0x4237ad
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x4238ab
mov al, byte [edx]
cmp al, 0x1a
je 0x42388d
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x4237dc
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x423801
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x42380b
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x4237be
jmp 0x4238ab
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x423888
cmp dword [ebp - 0xc], 0
je 0x423888
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x444b98]
test byte [eax + edi + 0x28], 0x48
je 0x423862
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x42384d
mov byte [esi], dl
jmp 0x42385e
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x444b98]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x4238ab
cmp byte [ebp - 1], 0xa
jne 0x423871
cmp esi, ebx
jne 0x423871
mov byte [esi], 0xa
jmp 0x4238aa
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.004242e8
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x4238ab
mov byte [esi], 0xd
jmp 0x4238aa
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x444b98]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x4238a7
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x4238ab
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x4238b4
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x444b98]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x4238f7
cmp word [esi], dx
jne 0x4238f7
or byte [edi + eax + 0x28], 4
jmp 0x4238fc
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x423a4f
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x423a2f
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x42393e
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x423974
cmp eax, edx
jae 0x423980
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x423916
jmp 0x423a4f
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x423a2b
cmp dword [ebp - 0x14], 0
je 0x423a2b
mov eax, dword [ebx*4 + 0x444b98]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x423a03
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x4239cc
mov word [esi], cx
jmp 0x4239ff
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x444b98]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x444b98]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x444b98]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x423a4f
pop ebx
cmp word [ebp - 4], bx
jne 0x423a14
cmp esi, dword [ebp + 0xc]
jne 0x423a14
mov word [esi], bx
jmp 0x423a4c
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.004242e8
add esp, 0x10
cmp word [ebp - 4], bx
je 0x423a4f
push 0xd
jmp 0x423a48
mov ecx, dword [ebx*4 + 0x444b98]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x423a46
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x423a4f
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x429d73
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x429e10
push ebx
push esi
call fcn.00429d3c
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.004289c1
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x429dbd
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x429e0f
push edi
push eax
call fcn.004244c7
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x429ddd
call fcn.00421938
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x429e0e
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.004289c1
add esp, 0x20
test eax, eax
jne 0x429dfc
push edi
call fcn.00421938
jmp 0x429e04
push ebx
call fcn.00421938
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret
Function at 0x430fd5
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00430f51
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x43114d
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x43114d
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x4310fc
jg 0x43102e
test eax, eax
je 0x4310f2
push 1
push 0x1000
call fcn.004218db
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x431054
mov eax, dword [ebp + 0x14]
push 0xc
pop edi
mov byte [eax + 0x1c], 1
mov dword [eax + 0x18], edi
jmp 0x4310e9
push 0x8000
push ebx
call fcn.0041f433
mov edi, dword [ebp + 0x14]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x431080
jg 0x43107b
cmp ecx, 0x1000
jb 0x431080
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.00423176
add esp, 0x10
cmp eax, 0xffffffff
je 0x4310c5
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x43107b
jl 0x4310ac
test ecx, ecx
jne 0x43106d
push dword [ebp - 0xc]
push ebx
call fcn.0041f433
push esi
call fcn.00421938
add esp, 0xc
xor edi, edi
jmp 0x43115e
cmp byte [edi + 0x24], 0
je 0x4310dc
cmp dword [edi + 0x20], 5
jne 0x4310dc
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x4310e7
mov edi, dword [edi + 0x18]
jmp 0x4310e9
xor edi, edi
push esi
call fcn.00421938
pop ecx
jmp 0x43115e
test ecx, ecx
jg 0x4310be
jl 0x4310fc
test eax, eax
jae 0x4310be
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.004242e8
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x43111f
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x4310be
jmp 0x431156
push ebx
call fcn.0042a596
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x4310be
mov esi, dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [esi + 0x24], 1
mov dword [esi + 0x20], eax
pop edi
mov byte [esi + 0x1c], 1
mov dword [esi + 0x18], edi
jmp 0x43115e
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x43115b
mov edi, dword [edi + 0x18]
jmp 0x43115e
push 0x16
pop edi
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.004242e8
add esp, 0x10
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x406fc0
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x406ffe
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x406ff6
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407000
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x406fe6
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x4070d0
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407101
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407101
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407101
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x5094c0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x7000]
push edi
jmp 0x5094da
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x5094e1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5094d0
mov eax, 1
add ebx, ebx
jne 0x5094f3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x5094e8
jne 0x509504
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x5094e8
xor ecx, ecx
sub eax, 3
jb 0x509518
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x50958a
mov ebp, eax
add ebx, ebx
jne 0x509523
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x509530
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x509554
inc ecx
add ebx, ebx
jne 0x509540
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x509535
jne 0x509551
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x509535
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x509574
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x509565
jmp 0x5094d6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x509574
add edi, ecx
jmp 0x5094d6
pop esi
lea edi, [esi + 0x7000]
mov eax, dword [edi]
or eax, eax
je 0x5095dc
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xb678]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xb6f0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x509591
mov ecx, edi
jns 0x5095c0
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xb6f8]
or eax, eax
je 0x5095d6
mov dword [ebx], eax
add ebx, 4
jmp 0x5095ae
call dword [esi + 0xb6f4]
mov ebp, dword [esi + 0xb6fc]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ff]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x509610
sub esp, 0xffffff80
jmp 0x501d80
Function at 0x401710
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov dword [ebp - 0x114], str.55222
mov eax, dword [sym.imp.KERNEL32.dll_lstrcatA]
mov dword [ebp - 0x11c], eax
push 0x104
lea ecx, [ebp - 0x110]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edx, dword [ebp - 0x114]
push edx
lea eax, [ebp - 0x110]
push eax
call dword [ebp - 0x11c]
push 0
push 0x80
push 3
push 0
push 3
push 1
lea ecx, [ebp - 0x110]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x118], eax
cmp dword [ebp - 0x118], 0xffffffff
je 0x40178a
cmp dword [ebp - 0x118], 0
je 0x40178a
jmp 0x4017ec
mov edx, dword [ebp + 8]
cmp dword [edx + 4], 0
je 0x4017ec
mov dword [ebp - 0x120], 0x3c41
mov eax, dword [ebp + 8]
add eax, 8
mov dword [0x4360b4], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
mov dword [0x4360d0], edx
mov dword [ebp - 0x120], 0x3c41
mov dword [ebp - 0x120], 0x3c41
call fcn.004011c0
mov eax, dword [ebp + 8]
mov dword [0x4360cc], eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push 1
call fcn.00401a60
add esp, 0xc
mov dword [ebp + 8], eax
jmp 0x40178a
mov esp, ebp
pop ebp
ret

Function at 0x401aa0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [0x4360c0], 0x24e1
mov eax, dword [0x4360c0]
sub eax, 0x24e1
mov dword [0x4360c0], eax
mov ecx, 1
test ecx, ecx
je 0x401b4b
mov edx, dword [0x4360c0]
cmp edx, dword [ebp + 0xc]
jb 0x401ad7
jmp 0x401b4b
cmp dword [0x4360c0], 0
jne 0x401af5
push 0x263
push 0
call dword [sym.imp.USER32.dll_LoadIconA]
test eax, eax
je 0x401af5
xor eax, eax
jmp 0x401b4b
mov eax, dword [ebp + 8]
add eax, dword [0x4360c0]
mov ecx, dword [eax]
add ecx, dword [0x4360c0]
mov edx, dword [ebp + 8]
add edx, dword [0x4360c0]
mov dword [edx], ecx
mov dword [ebp - 4], 0x1a79
mov eax, dword [0x4360c0]
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax + 2]
push edx
mov eax, dword [ebp + 8]
add eax, dword [0x4360c0]
push eax
call fcn.004011d0
add esp, 8
mov ecx, dword [0x4360c0]
add ecx, 4
mov dword [0x4360c0], ecx
jmp 0x401abd
mov esp, ebp
pop ebp
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x401750
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
lea eax, [ebp + 8]
mov ecx, dword [0x4013c8]
push eax
add ecx, 0x40
push 0x40d29a
xlatb
call dword [sym.imp.MSVCRT.dll_fprintf]
rol dword [eax], 0xa1
std
add al, byte [ecx]
add esp, 0xc
test dword [ebp + 0x74], ebx
and eax, 0x22546850
inc ecx
add bh, bh
adc eax, 0xfdc148
add esp, 8
push 1
call dword [sym.imp.MSVCRT.dll_exit]
nop
push ebp
inc edx
mov cl, 0x3f
in al, dx
mov eax, 0xa4000000
js 0x40179e
leave
add byte [ebp - 0x1cb30540], al
inc ecx
test eax, eax
cli
dec esp
jecxz 0x4017e5
add byte [esp + edx + 0x68], dh
jns 0x40175d
inc ecx
add byte [eax + 0x6d], dl
sahf
inc eax
add byte [eax], al
dec esi
mov ebx, edi
dec edx
add al, byte [ecx]
jmp 0x4017cf
mov dword [0x94411808], eax
mov eax, dword [0xd9410288]
push ebx
push esi
mov esi, dword [0x40c1a1]
mov word [0x410bb4], cx
or eax, dword [ecx]
pushal
rol byte [edi + 0x158b5d75], 0
sbb byte [ecx - 0x1a], al
dec edx
stc
cwde
mov esp, 0x9220040
mov eax, dword [0x410278]
add esp, 8
test dword [esi + 0x74a11574], ebx
add al, byte [ecx]
push eax
cmp eax, 0x413c40
push 0xd8409e84
pop edx
and dword [ebx + 0x1499a56b], eax
rol byte [eax], 1
test dword [ebx + 0x1d480b8], ebx
add byte [ebx - 0x2b8347fb], al
inc eax
add byte [eax - 0x66], dl
insb byte es:[edi], dx
aam 0x40
add bh, bh
salc
mov ecx, dword [0x640c0c8]
add ecx, 0x20
push ecx
call dword [sym.imp.MSVCRT.dll_fflush]
les ecx, [si]
mov edx, dword [0x40d007]
mov ecx, ecx
pop eax
rol dword [eax + eax + 0x68], 0x60
or byte [eax], al
add byte [edx - 1], dl
salc
mov dword [0x410bb0], eax
mov eax, dword [0x32d05a]
push 0x20
push eax
js 0x4018af
mov esi, edi
dec esp
inc eax
cmp al, 0
mov edx, dword [0x2ad018]
adc dword [edi + 0xbc8a310], 0xffffff87
add byte [edx], ch
push ecx
push edx
invalid
salc
or eax, 0x410be1
mov edx, dword [0x41de52]
push 0
push 0x40d19c
push eax
mov eax, dword [0x41404c]
push ecx
push str.Host:
push edx
push eax
call 0xa9405890
or eax, esp
sbb al, 8
dec eax
inc eax
cmc
add bl, ch
add eax, 0x414048a1
add byte [ebx + 0x7a02bd0d], cl
add byte [ebp - 0x656a8a37], ch
or dword [eax + eax*2 + 0x41], ecx
and eax, 0x9c681a38
add bh, byte [edx]
lodsd eax, dword [esi]
leave
jne 0x401883
lcall 0x3825, 0x41404c09
sbb ch, byte [eax - 0x64]
rol dword [eax + 0x16], 1
jp 0x401941
aam 0x40
add byte [eax + 0x28], ch
aam 0x40
out 0x3d, al
sbb byte [ebp + 0x3f84], ch
add esp, 0x18
mov dword [0x414048], eax
mov ecx, dword [0x410284]
test ecx, ecx
jne 0x40193a
mov ecx, dword [eax + 0x41404c]
push 0
push str.Accept:___r_n
xchg esi, eax
push edx
call 0x94405890
add esp, 0x10
mov edx, 0x414048
jmp 0x4142794c
xor al, 0x76
arpl word [ebx + 0x41026115], cx
add byte [esi - 0x6bfee04], bh
test edx, edx
jne 0x4018e7
mov esi, 0x4102d4
mov ebx, dword [edi]
mov ah, 0x21
inc ecx
add byte [ecx - 0x2e], dl
mov edx, dword [0xf1414040]
jne 0x40196e
mov edx, dword [0x4142e4]
xor ecx, ecx
invalid

Function at 0x402a32
Capabilities:
Encode data using xor

Disassembly:
pop esi
push esi
xor dword [esi], ebx
lodsd eax, dword [esi]
add ebx, eax
test eax, eax
jne 0x402a34
ret
Function at 0x40a341
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [eax + 8]
push 0xffffffffffffff8f
push eax
call dword [0x40e6cd]
ffree st(0)
ljmp 0x9000
aam 4
sbb cl, byte [ebx + 0x40c09835]
add bh, bh
salc
sub byte [ebp + 0x5dbb0575], cl
ret 0x6f
pop ebp
xchg ebp, eax
add al, 0
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
pop ebx
nop
mov ebp, esp
mov ecx, dword [ebp + 8]
xchg esp, eax
mov eax, dword [ecx + 4]
test dword [edi + ecx + 0x4b], ecx
adc ebp, 0x30
push ecx
out dx, al
dec esi
sub al, 0xc0
inc eax
add byte [ecx], bl
rcr byte [esi + 0x20], 0xc2
sbb eax, eax
pop esi
and dl, al
add al, 0
cmp eax, 0xffffffe7
jne 0x40a2ed
mov eax, dword [ecx + 8]
push eax
in al, 0xf0
xor byte [edx + 0x40], bh
add bl, ch
mov ch, 0x83
clc
add dh, byte [ebp - 0x1d]
mov ecx, dword [ecx + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
test eax, edi
jne 0x40a358
mov esi, dword [0xbb409298]
call esi
xor al, 0xc0
insd dword es:[edi], dx
leave
call [esi]
push ds
jg 0x40a313
mov al, byte [0x5d5e000a]
push edx
add al, 0
nop
nop
loopne 0x40a32f
nop
push ebp
mov ebp, esp
or eax, dword [ebp + 8]
push 0x40a280
push eax
mov eax, dword [eax]
push eax
xchg edi, eax

Function at 0x40b840
Capabilities:
Encode data using xor

Disassembly:
push ecx
cmp eax, 0xad0d00
outsd dx, dword [esi]
dec esp
nop
mov eax, dword [0x73811472]
fst qword [eax]
add byte [eax], al
sub eax, 0x9000
test dword [ecx], eax
xor dword [ebx - 0x23], 0x2d000010
add byte [eax + 0x1850000], dl
dec ebx
add byte [eax], dl
add byte [eax], al
jae 0x40b84c
sub ecx, eax
mov edx, eax
push ss
add dword [ebx - 0x31f77413], ecx
mov esp, 0xccc350a6
Function at 0x432001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x40c7d0
mov ecx, 0x247d26e7
nop
nop
nop
nop
nop
test eax, eax
nop
je 0x43204e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x432024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f314
nop
mov ecx, 0x24a66c3d
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x432084
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43206c
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x12f4058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x12f41a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x12f407e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x12f406a
add dl, dl
jne 0x12f4089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x12f40dc
xor eax, eax
add dl, dl
jne 0x12f4096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x12f417d
add dl, dl
jne 0x12f40a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x12f40b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x12f40bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x12f40c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x12f40d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x12f4075
mov eax, 1
add dl, dl
jne 0x12f40ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x12f40f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x12f40e1
sub eax, ebx
mov ebx, 1
jne 0x12f4128
mov ecx, 1
add dl, dl
jne 0x12f410e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x12f4119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x12f4105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x12f4075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x12f413f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x12f414a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x12f4136
cmp eax, 0x7d00
jae 0x12f416d
cmp eax, 0x500
jb 0x12f4168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x12f4075
cmp eax, 0x7f
ja 0x12f4170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x12f4075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x12f419e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x12f4075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx