joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4005d064
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x4005d086
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x4005d086
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x4005d086
ret
cmp word [ebx + 4], 0x14c
jne 0x4005d086
test word [ebx + 0x16], 2
je 0x4005d086
test word [ebx + 0x16], 0x100
je 0x4005d086
cmp word [ebx + 0x18], 0x10b
jne 0x4005d086
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x4005d086
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x4005d112
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x4005d0a6
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.40043ff1
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x4005d086
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8

Function at 0x4005d112
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x4005d086
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x4005d086
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x4005d086
ret
cmp word [ebx + 4], 0x14c
jne 0x4005d086
test word [ebx + 0x16], 2
je 0x4005d086
test word [ebx + 0x16], 0x100
je 0x4005d086
cmp word [ebx + 0x18], 0x10b
jne 0x4005d086
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x4005d086
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x4005d112
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x4005d0a6
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.40043ff1
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x4005d086
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8
Function at 0x4005d1c9
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x4005d222
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x4005d1c9
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x4005d1d8
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x40462e7b
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x4005d229
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.4004409f
cmp eax, dword [ebp + 0xc]
pop eax
je 0x4005d2c8
add edi, 4
add eax, 2
dec ecx
jne 0x4005d20e
call 0x4005d275
loope 0x4005d26b
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x4005d2c5
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x4005d2d6
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x4005d289
cmp eax, ecx
ja 0x4005d289
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x4005d313
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x4005d309
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.4004457e
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x4005d1d8
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x4005d222
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x4005d1c9
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x4005d1d8
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x40462e7b
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x4005d229
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.4004409f
cmp eax, dword [ebp + 0xc]
pop eax
je 0x4005d2c8
add edi, 4
add eax, 2
dec ecx
jne 0x4005d20e
call 0x4005d275
loope 0x4005d26b
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x4005d2c5
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x4005d2d6
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x4005d289
cmp eax, ecx
ja 0x4005d289
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x4005d313
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x4005d309
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.4004457e
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x401215
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push esi
mov esi, dword [sym.imp.USER32.dll_LoadIconA]
push edi
push 0x7f00
xor edi, edi
push edi
mov dword [ebp - 0x24], str.construct
mov dword [ebp - 0x44], 0x401000
mov dword [ebp - 0x48], 3
mov dword [ebp - 0x4c], 0x30
call esi
push 0x7f00
push edi
mov dword [ebp - 0x34], eax
call esi
push 0x7f00
push edi
mov dword [ebp - 0x20], eax
call dword [sym.imp.USER32.dll_LoadCursorW]
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push edi
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x3c], edi
call esi
push edi
mov dword [0x4030f0], eax
mov dword [ebp - 0x38], eax
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExA]
test ax, ax
je 0x401327
push 1
push dword [0x4030f0]
call dword [sym.imp.USER32.dll_LoadBitmapA]
push edi
push edi
call esi
push eax
push edi
push edi
push 0x80000000
push 0x80000000
push 0x80000000
push 0x80000000
push 0xcf0000
push str.displayed
push str.construct
push edi
call dword [sym.imp.USER32.dll_CreateWindowExA]
push 0
push eax
mov dword [0x4030f8], eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov esi, dword [sym.imp.USER32.dll_GetMessageA]
push edi
push edi
push edi
lea edx, [ebp - 0x1c]
push edx
call esi
test eax, eax
je 0x401327
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
push ebx
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageA]
lea eax, [ebp - 0x1c]
push eax
call edi
lea ecx, [ebp - 0x1c]
push ecx
call ebx
push 0
push 0
push 0
lea edx, [ebp - 0x1c]
push edx
call esi
test eax, eax
jne 0x40130a
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
nop
pop eax
add eax, 0x403d6f
nop
nop
sub eax, 0x403d15
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x430030
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
popal
nop
jmp fcn.00401219
Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x408ecc
nop
mov ecx, 0x34da2ba6
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x430024
nop
nop
nop
nop
mov eax, section..rsrc
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x9657e29
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x430084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
popal
jmp 0x401219

Function at 0x40f080
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x40b015
lea edi, [esi - 0xa015]
push edi
or ebp, 0xffffffff
jmp 0x40f0a2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x40f0a9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x40f098
mov eax, 1
add ebx, ebx
jne 0x40f0bb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x40f0b0
jne 0x40f0cc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40f0b0
xor ecx, ecx
sub eax, 3
jb 0x40f0e0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40f152
mov ebp, eax
add ebx, ebx
jne 0x40f0eb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x40f0f8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40f11c
inc ecx
add ebx, ebx
jne 0x40f108
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x40f0fd
jne 0x40f119
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40f0fd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40f13c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40f12d
jmp 0x40f09e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40f13c
add edi, ecx
jmp 0x40f09e
pop esi
mov edi, esi
mov ecx, 0x265
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40f15a
cmp byte [edi], 2
jne 0x40f15a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x40f15f
lea edi, [esi + 0xd000]
mov eax, dword [edi]
or eax, eax
je 0x40f1ce
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xf000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xf064]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40f18c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xf068]
or eax, eax
je 0x40f1c8
mov dword [ebx], eax
add ebx, 4
jmp 0x40f1a9
call dword [esi + 0xf06c]
popal
jmp 0x40354a
Function at 0x430004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
call 0x43000c
nop
nop
nop
nop
pop eax
nop
add eax, reloc.user32.dll_OpenClipboard
nop
sub eax, 0x403d15
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp loc.00401219
Function at 0x401240
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x425ab8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
mov eax, dword [0x431e90]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], 0
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0x30], 0
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [esp + 0x34]
test eax, eax
je 0x40128d
mov eax, dword [eax]
jmp 0x40128f
xor eax, eax
mov ecx, dword [esi]
lea edx, [esp + 0xc]
push edx
push eax
mov eax, dword [ecx + 0x6c]
push esi
call eax
test eax, eax
jge 0x4012ad
push 0x42b9ac
push esi
push eax
call fcn.00423c70
push 0x10
lea ecx, [esp + 0x10]
push ecx
push 0x10
push ebx
call fcn.0040e7cb
mov esi, dword [esp + 0x44]
xor edx, edx
add esp, 0x10
mov word [esp + 0xc], dx
test esi, esi
je 0x401306
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x401306
test esi, esi
je 0x401306
mov eax, dword [esi]
test eax, eax
je 0x4012ed
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x4012fd
push eax
call fcn.00402251
add esp, 4
push esi
call fcn.00402251
add esp, 4
mov eax, ebx
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x28
ret 4

Function at 0x401320
Capabilities:
Encode data using xor
Get common file path

Disassembly:
push ebp
mov ebp, dword [esp + 8]
mov eax, str.abc123
push edi
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x401330
push esi
sub eax, edx
push str.001001ABCABC_n
mov edi, eax
call fcn.0040e986
push str.001001ABCABC_n
call fcn.0040e986
mov esi, dword [sym.imp.KERNEL32.dll_GetTempPathW]
add esp, 8
push 0x436098
push 0x104
call esi
push 0x436098
push 0x104
call esi
push 0x436098
push 0x104
call esi
xor ecx, ecx
pop esi
test ebx, ebx
jbe 0x401399
mov eax, ecx
xor edx, edx
div edi
inc ecx
mov al, byte [edx + str.abc123]
xor byte [ecx + ebp - 1], al
cmp ecx, ebx
jb 0x401384
pop edi
pop ebp
ret
Function at 0x40e7bc
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x431e90]
jne 0x40e7c6
repz ret
jmp fcn.00411ebf

Function at 0x41a738
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00412514
and dword [ebp - 4], 0
cmp dword [0x435e60], 0
mov ebx, eax
jne 0x41a7e9
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x41a89a
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x41a89a
push eax
call fcn.004124a2
mov dword [esp], 0x42a428
push edi
mov dword [0x435e60], eax
call esi
push eax
call fcn.004124a2
mov dword [esp], 0x42a414
push edi
mov dword [0x435e64], eax
call esi
push eax
call fcn.004124a2
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x435e68], eax
call esi
push eax
call fcn.004124a2
pop ecx
mov dword [0x435e70], eax
test eax, eax
je 0x41a7e9
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004124a2
pop ecx
mov dword [0x435e6c], eax
mov eax, dword [0x435e6c]
cmp eax, ebx
je 0x41a841
cmp dword [0x435e70], ebx
je 0x41a841
push eax
call fcn.0041251d
push dword [0x435e70]
mov esi, eax
call fcn.0041251d
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x41a841
test edi, edi
je 0x41a841
call esi
test eax, eax
je 0x41a838
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x41a838
test byte [ebp - 0xc], 1
jne 0x41a841
or dword [ebp + 0x10], 0x200000
jmp 0x41a87a
mov eax, dword [0x435e64]
cmp eax, ebx
je 0x41a87a
push eax
call fcn.0041251d
pop ecx
test eax, eax
je 0x41a87a
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x41a87a
mov eax, dword [0x435e68]
cmp eax, ebx
je 0x41a87a
push eax
call fcn.0041251d
pop ecx
test eax, eax
je 0x41a87a
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x435e60]
call fcn.0041251d
pop ecx
test eax, eax
je 0x41a89a
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x41a89c
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401000
Capabilities:
Encode data using xor

Disassembly:
mov bl, 0x8b
in al, dx
xor dword [eax], 0x830c
mov dh, 0xd4
add al, ah
add byte [ebx + 0x56], dl
mov dword [0x410ce8], eax
mov edx, 0x4115a8
mov dword [0xbd414044], eax
mov dword [0x411d04], eax
xor ebx, ebx
mov dword [0x414048], eax
push edi
lea eax, [ebp - 1]
push ebx
lea ecx, [ebp + 8]
nop
push ecx
mov dword [0xc317f0], 0xad29f
sbb bl, byte [0x853c40]
call 0x1b405d20
push 0x405fe0
call 0x101b52c
add esp, 4
les edx, [ebx + 0x1c]
push 0x41404c
cmp byte [esi + edi], ah
add byte [ebx + 0x458b0c55], cl
or byte [ebx + 0x41404c0d], cl
add byte [edx - 0x35], dl
lea edi, [ecx + edx*4]
push ecx
push edx
call fcn.00405ac0
mov edx, dword [ebp - 0x7a]
xor eax, dword [ebp - 4]
lea ecx, [ebp - 5]
push eax
push ecx
push 0x404b14
push edx
call 0xbc5b70
test eax, eax
jne 0x401534
mov esi, dword [0x40ca68]
shld dword [esi - 0x403f3005], ebp, 0x83
clc
cmp dword [edi], ecx
xchg dword [esi + 4], esp
add byte [eax], al
invalid
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 8]
mov esi, dword [0x40f880]
dec ecx
cmp dword [eax + 0x4e], ecx
add byte [ecx + 0x39], cl
dec eax
dec esi
je 0x40153f
mov edx, dword [ebp + 0xc]
mov ebp, dword [eax - 0x38]
rol byte [eax], 0x56
rol dword [eax - 0x75], 2
push eax
push 0x98d0dc
push ecx
call esi
mov ecx, edi
or al, 0x8b
add dl, byte [eax - 0x18]
test al, 0x45
add byte [eax], al
mov eax, dword [ebp - 0xc]
add esp, 0x10
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 0x1c]
fst dword [edx + ecx*4]
inc ecx
mov dword [eax + 0xc], ecx
mov eax, dword [0x4140c9]
sahf
push eax
call 0x22408050
inc ecx
add byte [esi + 0x6ac9e850], bl
add byte [edx], ah
push eax
cwde
sal dword [eax + eax], cl
cmp dword [ecx], 0xffffffcb
test eax, eax
je 0x4015b0
mov ecx, dword [ebp + 0xc]
mov eax, dword [sym.imp.MSVCRT.dll__iob]
and edi, 0x40
mov edx, dword [ecx]
push edx
push 0x48a1e8c8
push eax
mov byte [0xc4d8bd6], al
retf 0x5211
call 0xd2f43305
sbb dword [esi - 0x5ce706f0], 0x40
add byte [ebx], bh
arpl word [ecx], dx
imul eax, dword [edx + 0x60cf20], 0x45a72f7e
or al, 0x8b
adc eax, sym.imp.MSVCRT.dll__iob
pop esp
and byte [esi - 0x63], cl
add byte [ebx + 0x88b40c2], al
push ecx
jecxz 0x40157e
rol byte [eax], 1
push edx
salc
salc
cmp byte [ebp + 0xc], al
jns 0x4015f1
push ecx
shl byte [ecx], 1
sub eax, 0x63f10000
mov ah, 0x40
add byte [ebx + 0xd8b76c4], al
adc dl, ah
inc eax
add byte [ebx], bh
sal dword [ebx + ebp], 0x8b
push ebp
inc edx
mov ecx, dword [0xd5c0c8]
cmp dword [0x862e8bde], 0x68
pop eax
rol byte [eax + 0x33], 1
push ecx
mov byte [0xc558bd6], al
mov edx, dword [eax + edx*2]
call fcn.00404310
mov ebx, dword [eax + 0x40d010]
movsd dword es:[edi], dword [esi]
invalid
Function at 0x401800
Capabilities:
Encode data using xor

Disassembly:
add esp, 8
test eax, eax
je 0x40181c
push ecx
je 0x40180c
push esp
ja 0x40185d
push eax
push 0x413c40
push str._through__s:_d_
call esi
add esp, 0xc
push ebp
adc al, 0xd0
inc eax
add byte [ebp - 0x2b7f4740], al
inc eax
add byte [ebp + 0x25], dh
mov eax, 0xe6d47c
call 0x4059849c
add bh, bh
imul esp, dword [ebp + ecx - 0x38], 0xffffffc0
inc eax
add byte [ebx - 0xaedf3f], al
mov dword [ebp - 0x7cb2bf56], ebx
mov al, byte [0xf9f2170c]
rol byte [eax], 1
xor byte [0x8e407858], dh
or eax, sym.imp.MSVCRT.dll__iob
add ecx, 0x20
push ecx
dec dword [ecx + 0x4d40aa9d]
and dword [eax - 0x60de8f4], 0xffffffd0
inc eax
add byte [eax], dh
xor eax, 0x8e407858
push 0xb9000833
push edx
call esi
salc
mov dword [0x8d0bb0], eax
mov eax, dword [0x40d010]
and bh, dl
push eax
call esi
push 0x41a84c0d
add byte [ebx - 0xc2fe7eb], cl
sub byte [ebx - 0x375cef3c], al
inc ecx
add byte [edx], ch
push ecx
push edx
sub eax, 0x4117f8
call fcn.00406010
test eax, eax
je 0x401837
invalid

Function at 0x406840
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push ebx
xchg esp, eax
movsb byte es:[edi], byte [esi]
or byte [esi + 0x57], dl
in eax, 0x43
add al, 0x83
clc
ficomp word [ebp + 0x19484]
add byte [ebx - 0x36f5efb5], cl
je 0x60faef
mov esi, dword [ebp + 0xc]
mov ecx, dword [esi + 0x14]
mov edx, 0x521ad056
push ecx
call dword [sym.imp.WSOCK32.dll_connect]
push ss
clc
jbe 0x40688b
test dword [edi], esi
add dword [eax], eax
add byte [ebx + 0x40c18635], cl
add cl, ah
insb byte es:[edi], dx
test dword [eax - 0x7c297b49], ebx
invalid
mov bh, 0x84
salc
invalid
invalid
Function at 0x40189d
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push ecx
push edx
push esi
push edi
enter 4, 0
mov esi, eax
mov edx, dword [0x403050]
mov ebx, eax
add edx, eax
mov eax, 0x403054
call fcn.004017e0
lea edx, [ebp - 4]
push edx
mov edx, esi
or dl, 0x40
mov edi, 0x40277c
push edx
sub edi, fcn.00401f26
push edi
xor eax, eax
push fcn.00401f26
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.DLL_VirtualProtect]
cmp dword [ebp - 4], 0
je 0x401907
mov eax, fcn.00401f26
mov ebx, esi
mov edx, edi
call fcn.004017e0
mov edx, 0x1c000
mov eax, 0x403054
mov ebx, esi
call fcn.004010f2
leave
pop edi
pop esi
pop edx
pop ecx
pop ebx
ret

Function at 0x401dfd
Capabilities:
Check if file exists
Check mutex on windows
Get common file path

Disassembly:
push ebx
push ecx
push edx
push esi
enter 0x460, 0
lea ebx, [ebp - 0x258]
push ebx
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHFOLDER.DLL_SHGetFolderPathW]
push 0x104
lea ebx, [ebp - 0x460]
push ebx
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
push 0
push 0
push 0
lea ebx, [ebp - 0x460]
mov byte [ebp - 0x10], 0
call dword [sym.imp.KERNEL32.DLL_CreateMutexA]
push ebx
mov byte [ebp - 8], 0
call dword [sym.imp.SHLWAPI.DLL_PathFileExistsW]
push 0
push 0
push 3
push 0
push 0
push 0x80000000
lea ebx, [ebp - 0x258]
push ebx
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov ebx, eax
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push 0
push 0
push 0
push 0
mov esi, eax
call dword [sym.imp.KERNEL32.DLL_GetFileTime]
push ebx
lea ebx, [ebp - 8]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push ebx
lea ebx, [ebp - 0x10]
push ebx
lea ebx, [ebp - 0x50]
call dword [sym.imp.KERNEL32.DLL_lstrcpyA]
push ebx
push ebx
push ebx
sub esi, 5
mov byte [ebp - 0x50], 0
call dword [sym.imp.SHLWAPI.DLL_PathCombineA]
mov eax, esi
jmp 0x401666

Function at 0x416900
Capabilities:
Decompress data using aplib

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
cld
mov dl, 0x80
xor ebx, ebx
movsb byte es:[edi], byte [esi]
mov bl, 2
call fcn.0041698f
jae 0x41690e
xor ecx, ecx
call fcn.0041698f
jae 0x41693d
xor eax, eax
call fcn.0041698f
jae 0x41694d
mov bl, 2
inc ecx
mov al, 0x10
call fcn.0041698f
adc al, al
jae 0x41692f
jne 0x416979
stosb byte es:[edi], al
jmp 0x416911
call fcn.0041699b
sub ecx, ebx
jne 0x416956
call fcn.00416999
jmp 0x416975
lodsb al, byte [esi]
shr eax, 1
je 0x416983
adc ecx, ecx
jmp 0x416972
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
call fcn.00416999
cmp eax, 0x7d00
jae 0x416972
cmp ah, 5
jae 0x416973
cmp eax, 0x7f
ja 0x416974
inc ecx
inc ecx
xchg ebp, eax
mov eax, ebp
mov bl, 1
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x416911
sub edi, dword [esp + 0x28]
mov dword [esp + 0x1c], edi
popal
ret 8
Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x403d6f
sub eax, 0x403d15
nop
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp fcn.00401219