joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4d4620
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x4d4653
push esi
call fcn.004e29e0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x4d464c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x4d46d9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x4d46c2
mov eax, dword [esi + 8]
test eax, eax
je 0x4d4677
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x4d46be
cmp eax, 2
je 0x4d46c2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4d466a
cmp eax, 3
je 0x4d469d
cmp eax, 1
jne 0x4d466a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x4d466a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x4d466a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.004d4700
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x4d46e8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.004d4700
add esp, 4
pop esi
ret

Function at 0x4d4f70
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x4d4f91
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x4d4f91
mov eax, dword [eax + 0x44]
test eax, eax
je 0x4d4f91
mov edx, dword [esp + 8]
push edx
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x4f0f30
Capabilities:
Check os version

Disassembly:
mov edx, dword [0x614500]
sub esp, 0x23c
test edx, edx
push esi
push edi
jne 0x4f0f76
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edx, eax
test edx, edx
mov dword [0x614500], edx
jne 0x4f0f76
push eax
push 0x5ccde4
push 0x5ccdd4
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
pop edi
xor eax, eax
pop esi
add esp, 0x23c
ret
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, 0x46
xor eax, eax
lea edi, [esp + 0xc]
mov dword [esp + 8], 0x11c
push str.RtlGetVersion
rep stosd dword es:[edi], eax
push edx
call esi
test eax, eax
je 0x4f0fb9
lea ecx, [esp + 8]
push ecx
call eax
mov esi, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov al, byte [esp + 0x122]
jmp 0x4f1033
mov ecx, 0x45
xor eax, eax
lea edi, [esp + 0x128]
lea edx, [esp + 0x128]
rep stosd dword es:[edi], eax
push edx
mov dword [esp + 0x12c], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4f0f6b
mov eax, dword [0x614500]
push str.RtlGetNtVersionNumbers
push eax
call esi
lea ecx, [esp + 0x134]
lea edx, [esp + 0x130]
push ecx
lea ecx, [esp + 0x130]
push edx
push ecx
call eax
mov al, byte [esp + 0x24e]
mov esi, dword [esp + 0x138]
mov ecx, dword [esp + 0x13c]
mov edi, dword [esp + 0x140]
add esp, 0xc
mov byte [esp + 0x122], al
mov edx, dword [esp + 0x248]
test edx, edx
je 0x4f1056
mov dword [edx + 8], edi
mov edi, dword [esp + 0x122]
and edi, 0xff
mov dword [edx], esi
mov dword [edx + 4], ecx
mov dword [edx + 0xc], edi
cmp esi, 5
jne 0x4f10ce
test ecx, ecx
jne 0x4f106d
pop edi
mov eax, 0x14
pop esi
add esp, 0x23c
ret
cmp ecx, 1
jne 0x4f1080
pop edi
mov eax, 0x13
pop esi
add esp, 0x23c
ret
cmp ecx, 2
jne 0x4f0f6b
cmp al, 1
jne 0x4f109b
pop edi
mov eax, 0x12
pop esi
add esp, 0x23c
ret
cmp word [esp + 0x120], 0x8000
jne 0x4f10b5
pop edi
mov eax, 0xf
pop esi
add esp, 0x23c
ret
xor eax, eax
pop edi
cmp word [esp + 0x118], ax
pop esi
setne al
add eax, 0x10
add esp, 0x23c
ret
cmp esi, 6
jne 0x4f1135
test ecx, ecx
jne 0x4f10e9
dec al
pop edi
neg al
sbb eax, eax
pop esi
add eax, 0xd
add esp, 0x23c
ret
cmp ecx, 1
jne 0x4f1100
dec al
pop edi
neg al
sbb eax, eax
pop esi
add eax, 0xb
add esp, 0x23c
ret
cmp ecx, 2
jne 0x4f1117
dec al
pop edi
neg al
sbb eax, eax
pop esi
add eax, 9
add esp, 0x23c
ret
cmp ecx, 3
jne 0x4f0f6b
xor edx, edx
cmp al, 1
setne dl
add edx, 6
pop edi
mov eax, edx
pop esi
add esp, 0x23c
ret
cmp esi, 0xa
jne 0x4f0f6b
test ecx, ecx
jne 0x4f0f6b
dec al
pop edi
neg al
sbb eax, eax
pop esi
and al, 0xfe
add eax, 5
add esp, 0x23c
ret

Function at 0x4f3340
Capabilities:
Write file on windows

Disassembly:
push ecx
mov eax, dword [ecx]
test eax, eax
jne 0x4f334b
pop ecx
ret 8
mov edx, dword [esp + 0xc]
lea ecx, [esp]
push 0
push ecx
mov ecx, dword [esp + 0x10]
push edx
push ecx
push eax
mov dword [esp + 0x14], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ecx
ret 8
Function at 0x4f36b0
Capabilities:
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
mov ebp, dword [esp + 0x18]
push esi
push edi
xor edi, edi
cmp ebx, edi
mov word [ebp], di
je 0x4f380c
mov esi, dword [esp + 0x1c]
cmp esi, edi
je 0x4f380c
push 0xf0000000
push 1
push edi
lea eax, [esp + 0x28]
push edi
push eax
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x24], edi
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x4f37e3
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x20]
push ecx
push edi
push edi
push 0x8003
push edx
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x4f37e3
mov eax, dword [esp + 0x20]
push edi
push esi
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x4f37e3
mov edx, dword [esp + 0x20]
mov esi, dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
lea ecx, [esp + 0x18]
push edi
push ecx
push edi
push 2
push edx
mov dword [esp + 0x2c], 4
call esi
test eax, eax
je 0x4f37e3
mov eax, dword [esp + 0x18]
push eax
call fcn.0051acf7
mov ebx, eax
add esp, 4
cmp ebx, edi
je 0x4f37e3
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x18]
push edi
push ecx
push ebx
push 2
push edx
call esi
cmp eax, edi
mov dword [esp + 0x10], eax
je 0x4f37da
mov eax, dword [esp + 0x18]
cmp eax, 0x10
jb 0x4f37aa
mov eax, ebx
mov ecx, ebp
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
jmp 0x4f37d6
mov ecx, eax
mov esi, ebx
mov edx, ecx
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x10
lea edi, [ebp + eax*2]
sub ecx, eax
xor eax, eax
shr ecx, 1
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
xor edi, edi
mov word [ebp + 0x20], di
push ebx
call fcn.0051ac0e
add esp, 4
mov eax, dword [esp + 0x20]
cmp eax, edi
je 0x4f37f2
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov eax, dword [esp + 0x1c]
cmp eax, edi
je 0x4f3802
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
Function at 0x4f3820
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0xc
test eax, eax
je 0x4f3847
cmp word [eax], 0x5a4d
jne 0x4f3847
mov ecx, dword [eax + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x4f3847
test word [eax + 4], 0x14c
jne 0x4f384f
xor eax, eax
add esp, 0xc
ret 8
mov edx, dword [eax + 0x54]
mov cx, word [eax + 6]
push ebx
mov dword [esp + 4], edx
push ebp
xor edx, edx
mov dx, word [eax + 0x14]
push esi
mov esi, dword [eax + 0x50]
push edi
mov edi, dword [esp + 0x24]
mov word [esp + 0x14], cx
lea ecx, [edx + eax + 0x18]
mov eax, dword [edi]
mov dword [esp + 0x18], ecx
test eax, eax
jne 0x4f3898
cmp esi, dword [0x55a114]
jne 0x4f3888
xor esi, esi
push 0
push esi
mov ecx, edi
call fcn.004f0bb0
mov edx, dword [edi]
mov dword [edx], esi
jmp 0x4f38d6
mov ebx, dword [eax]
mov eax, dword [eax + 0xc]
cmp eax, esi
jae 0x4f38b2
lea eax, [eax + esi + 0x1000]
push 0
push eax
mov ecx, edi
call fcn.004f0bb0
mov ecx, dword [edi]
cmp esi, ebx
mov dword [ecx], esi
mov eax, dword [edi]
mov edx, dword [eax + 8]
mov eax, dword [eax]
mov byte [edx + eax], 0
ja 0x4f38d6
jae 0x4f38d6
mov ecx, dword [edi]
inc esi
cmp esi, ebx
mov edx, dword [ecx + 8]
mov byte [edx + esi - 1], 0
jb 0x4f38c7
mov edi, dword [edi]
test edi, edi
je 0x4f38e1
mov ebp, dword [edi + 8]
jmp 0x4f38e3
xor ebp, ebp
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x20]
mov eax, ecx
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov dword [esp + 0x24], ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x14]
test cx, cx
jbe 0x4f3964
mov ebx, dword [esp + 0x18]
lea eax, [ebx + 0xc]
lea edx, [ebx + 0x14]
add ebx, 0x10
and ecx, 0xffff
mov dword [esp + 0x10], ecx
mov edi, dword [eax]
test edi, edi
je 0x4f3950
mov ecx, dword [ebx]
test ecx, ecx
je 0x4f3950
mov esi, dword [edx]
add edi, ebp
add esi, dword [esp + 0x20]
mov ebp, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
mov ebp, dword [esp + 0x24]
and ecx, 3
add ebx, 0x28
add edx, 0x28
add eax, 0x28
rep movsb byte es:[edi], byte [esi]
jmp 0x4f3959
add ebx, 0x28
add edx, 0x28
add eax, 0x28
mov ecx, dword [esp + 0x10]
dec ecx
mov dword [esp + 0x10], ecx
jne 0x4f391f
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
Function at 0x4fdb10
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x602234]
xor edx, edx
cmp eax, edx
jne 0x4fdb36
xor eax, eax
mov byte [eax + 0x602134], al
inc eax
cmp eax, 0x100
jl 0x4fdb1e
mov dword [0x602234], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x602134
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x4fdbc7
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x4fdb9a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x4fdb68
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x4fdc40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x4fdc93
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x4fdc7a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x504610
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x53cfae
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.00504f30
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x5adaac
call fcn.0052b852
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x5046a3
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0052b852
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x50469c
push 0
mov ecx, eax
call fcn.004fb740
mov dword [esi + 0xc], eax
jmp 0x5046a5
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x5046a5
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x52dfcb
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x52e003
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0052bfb8
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0052bf90
jmp 0x52e00f
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x52f6b9
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x52f6fb
call fcn.005353e5
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x52f6fb
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x52f6f2
xor eax, eax
jmp 0x52f703
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0052f709
pop edi
pop esi
pop ebx
ret 4

Function at 0x535915
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x535943
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x535961
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0053587b
jmp 0x535961
mov eax, dword [esi + 0x14]
test eax, eax
je 0x535961
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0053587b
test edi, edi
mov eax, edi
jne 0x53594b
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x2d8c3208
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x2d8c3217
pop dword [ebp - 0x40]
mov eax, 0x32a66e5e
sub eax, 0x51a3c47
sub dword [ebp - 0x40], eax
mov dword [ebp - 0x50], 0x962f0598
add dword [ebp - 0x50], 0xb8233fb3
mov dword [ebp - 0x4c], 0x16805ab6
sub dword [ebp - 0x4c], 0xe44d0e71
mov dword [ebp - 0x48], 0x6289b035
add dword [ebp - 0x48], 0xe9c293f9
mov dword [ebp - 0x44], 0xc456ea1c
add dword [ebp - 0x44], 0x3ba915e4
lea eax, [ebp - 0x50]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x40]
call dword [eax]
mov dword [ebp - 0x50], 0xdfc9eeef
sub dword [ebp - 0x50], 0x6b578599
mov dword [ebp - 0x4c], 0x8fb6e088
add dword [ebp - 0x4c], 0xb1b580ed
mov dword [ebp - 0x48], 0x94682396
sub dword [ebp - 0x48], 0x30f8b72a
mov dword [ebp - 0x44], 0x7674db39
sub dword [ebp - 0x44], 0x7674db39
lea ebx, [ebp - 0x50]
push ebx
push eax
mov eax, 0x4b4e6b0e
add eax, 0xe240a592
add eax, dword [ebp - 0x40]
call dword [eax]
push 0x40
push 0x1000
push 0x68994
push 0
call eax
mov ecx, 0x71e6e34f
add ecx, 0x8e196197
mov edi, eax
mov esi, 0x2d9a2c00
add esi, dword [ebp - 0x40]
mov ebx, 0x15106297
add ebx, 0xd0c76d30
xor dword [ebp - 0x2c], edx
mov edx, dword [esi]
sub dword [ebp - 0x24], edx
xor edx, ebx
add dword [ebp - 0x2c], 0xc6a60c39
mov dword [edi], edx
add edi, 4
add esi, 4
loop 0x2d8c332e
add eax, 0x1066b
mov ebx, eax
add eax, 5
mov ecx, 0x2d800000
add ecx, dword [ebp - 0x40]
call ebx
leave
ret
Function at 0x100015a5
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
pushal
call 0x100015b4
pop dword [ebp - 0xc]
mov eax, 0xca2673e3
add eax, 0x45d9a1d1
sub dword [ebp - 0xc], eax
mov dword [ebp - 0x1c], 0x99067b9b
sub dword [ebp - 0x1c], 0x4ab43650
mov dword [ebp - 0x18], 0xc1a24d1
sub dword [ebp - 0x18], 0xd9e6d88c
mov dword [ebp - 0x14], 0x16ad38d0
sub dword [ebp - 0x14], 0xca60f4a2
mov dword [ebp - 0x10], 0x6f10d3a8
add dword [ebp - 0x10], 0x90ef2c58
lea eax, [ebp - 0x1c]
push eax
mov eax, 0xf951a071
sub eax, 0xe951706d
add eax, dword [ebp - 0xc]
call dword [eax]
mov dword [ebp - 0x1c], 0x7f45b065
add dword [ebp - 0x1c], 0xf52cb8f1
mov dword [ebp - 0x18], 0xf1f04a3d
add dword [ebp - 0x18], 0x4f7c1738
mov dword [ebp - 0x14], 0x83ccdc87
add dword [ebp - 0x14], 0xdfa28fe5
mov dword [ebp - 0x10], 0xcca4714f
add dword [ebp - 0x10], 0x335b8eb1
lea ebx, [ebp - 0x1c]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0xc]
call dword [eax]
push 0x40
push 0x1000
push 0x33db3
push 0
call eax
mov ecx, 0x3d7d
mov edx, eax
mov edi, 0x10006400
add edi, dword [ebp - 0xc]
mov esi, 0x14950687
xor dword [ebp - 4], edi
mov ebx, dword [edi]
add dword [ebp - 4], ebx
add ebx, esi
sub dword [ebp - 4], eax
mov dword [edx], ebx
xor dword [ebp - 4], eax
add edx, 0xf3c38463
sub edx, 0xf3c3845f
add edi, 0x185bf019
add edi, 0xe7a40feb
loop 0x100016bf
add eax, 0xe71ae29
sub eax, 0xe70c562
xor ebx, ebx
add ebx, eax
add eax, 0x24e08ae7
sub eax, 0x24e08ae2
mov ecx, 0x2d2ab54d
sub ecx, 0x1d2ab54d
add ecx, dword [ebp - 0xc]
call ebx
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x40729f
sub eax, 0x407245
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x432030
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43201e
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x4c60cd
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.004c6270
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x4c6245
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x4c6245
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x4c61f4
jg 0x4c6126
test eax, eax
je 0x4c61ea
push 1
push 0x1000
call fcn.004b7674
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x4c614c
mov eax, dword [ebp + 0x14]
push 0xc
pop edi
mov byte [eax + 0x1c], 1
mov dword [eax + 0x18], edi
jmp 0x4c61e1
push 0x8000
push ebx
call fcn.004aea60
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 0x4c6178
jg 0x4c6173
cmp ecx, 0x1000
jb 0x4c6178
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.004bccf6
add esp, 0x10
cmp eax, 0xffffffff
je 0x4c61bd
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 0x4c6173
jl 0x4c61a4
test ecx, ecx
jne 0x4c6165
push dword [ebp - 0xc]
push ebx
call fcn.004aea60
push esi
call fcn.004b5ac6
add esp, 0xc
xor edi, edi
jmp 0x4c6256
cmp byte [edi + 0x24], 0
je 0x4c61d4
cmp dword [edi + 0x20], 5
jne 0x4c61d4
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x4c61df
mov edi, dword [edi + 0x18]
jmp 0x4c61e1
xor edi, edi
push esi
call fcn.004b5ac6
pop ecx
jmp 0x4c6256
test ecx, ecx
jg 0x4c61b6
jl 0x4c61f4
test eax, eax
jae 0x4c61b6
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.004c4470
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x4c6217
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x4c61b6
jmp 0x4c624e
push ebx
call fcn.004bbf00
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x4c61b6
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 0x4c6256
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x4c6253
mov edi, dword [edi + 0x18]
jmp 0x4c6256
push 0x16
pop edi
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.004c4470
add esp, 0x10
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x56f000
Capabilities:
Packed with generic packer

Disassembly:
pushal
push 0x56f031
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push 0x56f03a
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea edx, [0x56f047]
push 0
push 0
push 0
push edx
push 0
push 0
call eax
popal
jmp fcn.0049fbd6
Function at 0x10010dc
Capabilities:
Get hostname
Initialize winsock library
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x400
push ebx
push esi
push edi
push 0x1002040
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
cmp eax, 0xffffffff
jne 0x100110e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x2713
call fcn.01001439
mov edi, dword [ebp + 0xc]
xor ebx, ebx
mov esi, 0x10010ac
jmp 0x1001121
cmp al, 0x73
jne 0x1001142
xor ebx, ebx
inc ebx
push esi
push edi
push dword [ebp + 8]
call fcn.01001475
cmp eax, 0xffffffff
jne 0x100111a
mov eax, dword [0x1002004]
cmp dword [edi + eax*4], 0
je 0x1001154
push 0x2714
jmp 0x1001147
push 0x2710
push 2
call fcn.010013ca
pop ecx
pop ecx
push 1
jmp 0x10011d0
push 0x400
lea eax, [ebp - 0x400]
push eax
call dword [sym.imp.WS2_32.dll_gethostname]
test eax, eax
jge 0x100117d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x2712
call fcn.01001439
jmp 0x1001150
test ebx, ebx
je 0x1001199
lea eax, [ebp - 0x400]
push 0x2e
push eax
call dword [sym.imp.msvcrt.dll_strchr]
test eax, eax
pop ecx
pop ecx
je 0x1001199
and byte [eax], 0
lea eax, [ebp - 0x400]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10011a2
sub eax, edx
push eax
lea eax, [ebp - 0x400]
push eax
lea eax, [ebp - 0x400]
push eax
call dword [sym.imp.USER32.dll_CharToOemBuffA]
lea eax, [ebp - 0x400]
push eax
call dword [sym.imp.msvcrt.dll_puts]
pop ecx
push 0
call dword [sym.imp.msvcrt.dll_exit]
int3

Function at 0x503b8c
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
mov ecx, ebp
push ebp
mov ebp, esp
mov dword [0x505076], ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x505298], eax
mov dword [0x505220], 0x503376
mov dword [0x50521c], 2
jmp 0x503bbc
mov dword [0x505224], 0
mov dword [0x505228], 0
mov dword [0x505218], 0x30
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [0x50522c], eax
mov dword [0x505240], 0x50408c
mov dword [0x505238], 0xf
mov dword [0x50506e], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x505230], eax
mov dword [0x505244], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x505234], eax
push 0x505218
call dword [sym.imp.user32.dll_RegisterClassExA]
push 0
push dword [0x50506e]
push 0
push 0
push 0x1e5
push 0x21e
push 0xffffe52a
push 0xfffff588
push 0x40000
push str.wait
push str.aroka
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x505290], eax
push 5
push dword [0x505290]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x505290]
call dword [sym.imp.user32.dll_UpdateWindow]
jmp 0x503c8f
push 0
push 0
push 0
push 0x505248
call dword [sym.imp.user32.dll_GetMessageA]
or eax, eax
je 0x503cbc
push 0x505248
call dword [sym.imp.user32.dll_TranslateMessage]
push 0x505248
call dword [sym.imp.user32.dll_DispatchMessageA]
jmp 0x503c8f
mov eax, dword [0x505250]
jmp 0x503cc9
call 0x502c0d
ret