joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10011a44
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
mov edx, 1
cmp dword [esi + 0x1c], edx
jbe 0x10011b4f
push ebx
push edi
lea eax, [esi + 0x32]
xor ebx, ebx
xor ecx, ecx
mov bl, byte [eax - 1]
mov cl, byte [eax + 1]
add eax, 0x10
mov edi, dword [ebx*4 + 0x1001d9dc]
mov ecx, dword [ecx*4 + 0x1001e1dc]
xor ebx, ebx
xor ecx, edi
mov bl, byte [eax - 0x10]
mov edi, dword [ebx*4 + 0x1001dddc]
xor ebx, ebx
mov bl, byte [eax - 0x12]
xor ecx, edi
mov edi, dword [ebx*4 + 0x1001d5dc]
xor ebx, ebx
xor ecx, edi
mov dword [eax - 0x12], ecx
mov bl, byte [eax - 0xc]
xor ecx, ecx
mov cl, byte [eax - 0xb]
mov edi, dword [ebx*4 + 0x1001dddc]
xor ebx, ebx
mov ecx, dword [ecx*4 + 0x1001e1dc]
mov bl, byte [eax - 0xd]
xor ecx, edi
mov edi, dword [ebx*4 + 0x1001d9dc]
xor ebx, ebx
mov bl, byte [eax - 0xe]
xor ecx, edi
mov edi, dword [ebx*4 + 0x1001d5dc]
xor ebx, ebx
xor ecx, edi
mov dword [eax - 0xe], ecx
mov bl, byte [eax - 8]
xor ecx, ecx
mov cl, byte [eax - 7]
mov edi, dword [ebx*4 + 0x1001dddc]
xor ebx, ebx
mov ecx, dword [ecx*4 + 0x1001e1dc]
mov bl, byte [eax - 9]
xor ecx, edi
mov edi, dword [ebx*4 + 0x1001d9dc]
xor ebx, ebx
mov bl, byte [eax - 0xa]
xor ecx, edi
mov edi, dword [ebx*4 + 0x1001d5dc]
xor ebx, ebx
xor ecx, edi
mov dword [eax - 0xa], ecx
mov bl, byte [eax - 4]
xor ecx, ecx
mov cl, byte [eax - 3]
mov edi, dword [ebx*4 + 0x1001dddc]
xor ebx, ebx
mov ecx, dword [ecx*4 + 0x1001e1dc]
mov bl, byte [eax - 5]
xor ecx, edi
mov edi, dword [ebx*4 + 0x1001d9dc]
xor ebx, ebx
mov bl, byte [eax - 6]
xor ecx, edi
mov edi, dword [ebx*4 + 0x1001d5dc]
xor ecx, edi
inc edx
mov dword [eax - 6], ecx
mov ecx, dword [esi + 0x1c]
cmp edx, ecx
jb 0x10011a5a
pop edi
pop ebx
pop esi
ret
Function at 0x10011ff5
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
sub esp, 0x18
mov edx, dword [ecx + 0x1c]
push ebx
mov ebx, dword [esp + 0x20]
push ebp
lea eax, [edx + 2]
push esi
mov ebp, dword [ebx]
mov esi, dword [ebx + 4]
shl edx, 4
push edi
mov dword [esp + 0x10], ecx
shl eax, 4
lea edi, [ecx + edx]
mov eax, dword [ecx + eax]
mov edx, dword [edi + 0x24]
xor eax, ebp
mov ebp, dword [ebx + 8]
xor edx, esi
mov esi, dword [edi + 0x28]
mov edi, dword [edi + 0x2c]
xor esi, ebp
mov ebp, dword [ebx + 0xc]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], esi
mov ebx, dword [esp + 0x1b]
xor edi, ebp
mov dword [esp + 0x20], edi
and ebx, 0xff
mov ebp, dword [esp + 0x1e]
mov dword [esp + 0x14], eax
mov ebx, dword [ebx*4 + 0x1001d0dc]
and ebp, 0xff
and eax, 0xff
and edx, 0xff
xor ebx, dword [ebp*4 + 0x1001ccdc]
mov ebp, dword [esp + 0x21]
and ebp, 0xff
and esi, 0xff
xor ebx, dword [ebp*4 + 0x1001c8dc]
mov ebp, dword [eax*4 + 0x1001c4dc]
mov eax, dword [esp + 0x30]
xor ebx, ebp
mov ebp, dword [esp + 0x22]
mov dword [eax], ebx
mov ebx, dword [esp + 0x1f]
and ebx, 0xff
and ebp, 0xff
mov ebx, dword [ebx*4 + 0x1001d0dc]
xor ebx, dword [ebp*4 + 0x1001ccdc]
mov ebp, dword [esp + 0x15]
and ebp, 0xff
xor ebx, dword [ebp*4 + 0x1001c8dc]
mov ebp, dword [edx*4 + 0x1001c4dc]
mov edx, dword [esp + 0x23]
xor ebx, ebp
and edx, 0xff
mov dword [eax + 4], ebx
mov ebx, dword [esp + 0x16]
mov edx, dword [edx*4 + 0x1001d0dc]
and ebx, 0xff
mov ebp, dword [ebx*4 + 0x1001ccdc]
mov ebx, dword [esp + 0x19]
and ebx, 0xff
xor edx, ebp
mov ebp, dword [ebx*4 + 0x1001c8dc]
mov ebx, dword [esi*4 + 0x1001c4dc]
mov esi, dword [esp + 0x1a]
xor edx, ebp
xor edx, ebx
and esi, 0xff
mov dword [eax + 8], edx
mov edx, dword [esp + 0x17]
mov ebx, dword [esi*4 + 0x1001ccdc]

Function at 0x1001257c
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x3c4
mov eax, dword [0x1001e6e4]
and dword [ebp - 0x3bc], 0
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov esi, ecx
push dword [esi + 0x14]
mov dword [ebp - 4], eax
xor eax, eax
mov ecx, 0xed
lea edi, [ebp - 0x3b8]
rep stosd dword es:[edi], eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je fcn.10012780
mov eax, 0x592
mov dword [ebp - 0x3b4], eax
mov dword [ebp - 0x3ac], eax
mov eax, dword [esi + 0x14]
xor ecx, ecx
mov dword [ebp - 0x3b8], eax
mov eax, dword [esi + 0x430]
inc ecx
test ebx, ebx
lea edi, [eax + eax*2]
mov dword [ebp - 0x3c0], ecx
mov dword [ebp - 0x3bc], 0x3b8
mov dword [ebp - 0x3b0], ecx
lea edi, [edi*4 + 0x10031f6c]
je 0x1001262c
mov ax, word [ebx]
test ax, ax
je 0x1001262c
cmp ax, 0x5c
jne 0x1001261d
inc ebx
inc ebx
mov ax, word [ebx]
test ax, ax
jne 0x1001260d
push ebx
push 0x104
lea eax, [esi + 0x20]
push eax
call fcn.1000c008
mov ebx, dword [ebp + 8]
test bl, 1
je fcn.1001265b
push 2
pop eax
or dword [ebp - 0x3b0], eax
cmp dword [edi + 4], 0
jne 0x10013826
mov dword [ebp - 0x3c0], eax
mov ecx, esi
mov byte [esi + 0x43c], 0
call fcn.10005e90
Function at 0x10013344
Capabilities:
Terminate process

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x320
push edi
mov dword [0x1001b0ac], eax
mov dword [0x10032014], ecx
mov dword [0x1001b3d4], edx
mov dword [0x10032010], ebx
mov dword [0x1001b070], esi
mov dword [0x1003200c], edi
mov word [0x10032024], ss
mov word [0x1001e78c], cs
mov word [0x10032008], ds
mov word [0x1001e7a0], es
mov word [0x10032004], fs
mov word [0x10032000], gs
pushfd
pop dword [0x10032020]
mov eax, dword [ebp + 4]
lea ecx, [ebp + 4]
add ecx, 4
mov dword [0x1001b0a4], ecx
mov dword [0x1003201c], eax
mov dword [0x10031fe0], 0x10001
lea ecx, [ebp + 4]
mov ecx, dword [ecx - 4]
mov dword [0x10031fc0], eax
mov eax, dword [0x1001e6e4]
mov dword [ebp - 4], eax
mov eax, dword [0x1001b0a8]
xor edi, edi
inc edi
mov dword [ebp - 4], eax
push 0
mov dword [0x10032018], ecx
mov dword [0x10031fb4], 0xc0000409
mov dword [0x10031fb8], edi
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
push fcn.10004dc6
call dword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
push 0xc0000409
mov dword [ebp - 0x320], edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop edi
leave
ret
cmp ecx, dword [0x1001e6e4]
jne 0x1000c958
test ecx, 0xffff0000
jne 0x1000c958
ret

Function at 0x10013898
Capabilities:
Query or enumerate registry value

Disassembly:
call fcn.100023e4
lea eax, [ebp - 0x414]
push eax
lea ecx, [ebp - 0x45c]
call fcn.100023e4
push esi
push esi
push esi
push 1
push 0x19
push 2
lea ecx, [ebp - 0x45c]
call fcn.10004d24
lea ecx, [ebp - 0x45c]
mov dword [ebp - 0x418], esi
call fcn.10002880

Function at 0x100138d4
Capabilities:
Query or enumerate registry value

Disassembly:
cmp dword [ebp - 0x418], esi
mov dword [ebp - 0x424], 0x104
jge 0x10013826
push dword [ebp - 0x420]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x420], esi
inc dword [ebp - 0x41c]
cmp dword [ebp - 0x418], esi
jge fcn.100137ba
pop ebx
jmp fcn.100051e4
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x20c]
push eax
push ebx
push dword [ebp - 0x420]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x10013800
mov ecx, dword [ebp - 0x428]
lea eax, [ebp - 0x20c]
push eax
call fcn.100107b0
cmp eax, 0x800700a1
mov dword [ebp - 0x418], eax
jne fcn.100138d4
lea ecx, [ebp - 0x45c]
call fcn.1001107d
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x45c]
call fcn.100023e4
cmp edi, 0x80000002
lea ecx, [ebp - 0x45c]
jne 0x100138da
push 0x1001292e
inc ebx
jmp 0x100137ee
push fcn.10003670
jmp fcn.10013898
Function at 0x100138e1
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x1001e6e4]
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 4], eax
mov esi, ecx
call fcn.10013898
test eax, eax
jl 0x1001394f
mov ecx, dword [esi]
xor eax, eax
cmp dword [ecx + 4], eax
je 0x1001394f
push edi
call dword [fcn.1001396c]
test eax, eax
je fcn.100027a8
push edi
push 0x104
lea eax, [ebp - 0x20c]
push eax
call fcn.1000c008
test eax, eax
jl 0x100050b2
mov ecx, dword [esi]
lea eax, [ebp - 0x20c]
push eax
call fcn.10013010
cmp eax, 1
jne 0x1000ad6d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
call fcn.10013344
leave
ret 4

Function at 0x10013f0f
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 1
push esi
jne 0x10013fec
mov eax, 0x94
call fcn.100154f0
mov esi, esp
push esi
mov dword [esi], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x10013fb3
mov ecx, dword [esi + 0x10]
mov dword [0x100321cc], ecx
mov eax, dword [esi + 4]
mov dword [0x100321d8], eax
mov edx, dword [esi + 8]
mov dword [0x100321dc], edx
mov esi, dword [esi + 0xc]
and esi, 0x7fff
cmp ecx, 2
mov dword [0x100321d0], esi
je 0x10013f74
or esi, 0x8000
mov dword [0x100321d0], esi
shl eax, 8
add eax, edx
xor esi, esi
push esi
mov dword [0x100321d4], eax
call fcn.10015274
test eax, eax
pop ecx
je 0x10013fb3
call fcn.10015466
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x10032714], eax
call fcn.10015344
mov dword [0x1003214c], eax
call fcn.10014db7
test eax, eax
jge 0x10013fb7
call fcn.100152c5
xor eax, eax
jmp 0x10013fdd
call fcn.100151b8
test eax, eax
jl 0x10013fe5
call fcn.10014f85
test eax, eax
jl 0x10013fe5
push esi
call fcn.10014c6c
test eax, eax
pop ecx
jne 0x10013fe5
inc dword [0x10032148]
xor eax, eax
inc eax
lea esp, [ebp - 4]
pop esi
pop ebp
ret 0xc
call fcn.10014f62
jmp 0x10013fae
xor esi, esi
cmp dword [ebp + 0xc], esi
jne 0x10013fda
cmp dword [0x10032148], esi
jle 0x10013fb3
dec dword [0x10032148]
cmp dword [0x10032208], esi
jne 0x1001400e
call fcn.10014da8
call fcn.10014f62
call fcn.100152c5
jmp 0x10013fda
Function at 0x10014cd6
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
xor esi, esi
inc esi
cmp dword [0x1003220c], esi
push edi
jne 0x10014cf6
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
cmp dword [ebp + 0xc], 0
mov al, byte [ebp + 0x10]
mov dword [0x10032208], esi
mov byte [0x10032204], al
jne 0x10014d5c
mov ecx, dword [0x10032708]
test ecx, ecx
je 0x10014d3d
mov eax, dword [0x10032704]
sub eax, 4
cmp eax, ecx
jmp 0x10014d36
mov eax, dword [eax]
test eax, eax
je 0x10014d28
call eax
mov eax, dword [0x10032704]
sub eax, 4
cmp eax, dword [0x10032708]
mov dword [0x10032704], eax
jae 0x10014d20
mov eax, 0x1001b020
mov esi, 0x1001b024
cmp eax, esi
mov edi, eax
jae 0x10014d5c
mov eax, dword [edi]
test eax, eax
je 0x10014d55
call eax
add edi, 4
cmp edi, esi
jb 0x10014d4d
mov eax, 0x1001b028
mov esi, 0x1001b030
cmp eax, esi
mov edi, eax
jae 0x10014d7b
mov eax, dword [edi]
test eax, eax
je 0x10014d74
call eax
add edi, 4
cmp edi, esi
jb 0x10014d6c
cmp dword [ebp + 0x10], 0
pop edi
pop esi
jne 0x10014d95
push dword [ebp + 8]
mov dword [0x1003220c], 1
call fcn.10014c3c
pop ebp
ret

Function at 0x10015708
Capabilities:
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x8c]
sub esp, 0x10c
mov eax, dword [0x10026f34]
mov ecx, dword [ebp + 0x94]
push ebx
push esi
mov dword [ebp + 0x88], eax
xor edx, edx
push edi
xor eax, eax
cmp ecx, dword [eax*8 + 0x10026fd8]
je 0x1001573d
inc eax
cmp eax, 0x13
jb 0x1001572e
mov esi, eax
shl esi, 3
cmp ecx, dword [esi + 0x10026fd8]
jne 0x10015863
mov eax, dword [0x10032154]
cmp eax, 1
je 0x1001583b
cmp eax, edx
jne 0x1001576d
cmp dword [0x10032158], 1
je 0x1001583b
cmp ecx, 0xfc
je 0x10015863
push 0x104
lea eax, [ebp - 0x80]
push eax
push edx
mov byte [ebp + 0x84], dl
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x100157a3
lea eax, [ebp - 0x80]
push str._program_name_unknown_
push eax
call fcn.10015ea0
pop ecx
pop ecx
lea edi, [ebp - 0x80]
mov eax, edi
push eax
call fcn.10015fa0
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x100157d7
mov eax, edi
push eax
call fcn.10015fa0
mov edi, eax
lea eax, [ebp - 0x80]
sub eax, 0x3b
push 3
add edi, eax
push 0x10019718
push edi
call fcn.10017380
add esp, 0x10
push edi
call fcn.10015fa0
push dword [esi + 0x10026fdc]
mov ebx, eax
call fcn.10015fa0
lea eax, [ebx + eax + 0x1c]
pop ecx
add eax, 3
pop ecx
and eax, 0xfffffffc
call fcn.100154f0
mov ebx, esp
push str.Runtime_Error__n_nProgram:
push ebx
call fcn.10015ea0
push edi
push ebx
call fcn.10015eb0
push 0x100196f8
push ebx
call fcn.10015eb0
push dword [esi + 0x10026fdc]
push ebx
call fcn.10015eb0
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebx
call fcn.1001727d
add esp, 0x2c
jmp 0x10015863
push edx
lea eax, [ebp + 0x94]
push eax
lea esi, [esi + 0x10026fdc]
push dword [esi]
call fcn.10015fa0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
lea esp, [ebp - 0x8c]
mov ecx, dword [ebp + 0x88]
call fcn.100174d5
pop edi
pop esi
pop ebx
add ebp, 0x8c
leave
ret
Function at 0x1001727d
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [0x1003232c], ebx
push esi
push edi
jne 0x100172fd
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x10017338
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
mov dword [0x1003232c], eax
je 0x10017338
push str.GetActiveWindow
push edi
call esi
push str.GetLastActivePopup
push edi
mov dword [0x10032330], eax
call esi
cmp dword [0x100321cc], 2
mov dword [0x10032334], eax
jne 0x100172fd
push str.GetUserObjectInformationA
push edi
call esi
test eax, eax
mov dword [0x1003233c], eax
je 0x100172fd
push str.GetProcessWindowStation
push edi
call esi
mov dword [0x10032338], eax
mov eax, dword [0x10032338]
test eax, eax
je 0x10017342
call eax
test eax, eax
je 0x10017329
lea ecx, [ebp - 4]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [0x1003233c]
test eax, eax
je 0x10017329
test byte [ebp - 8], 1
jne 0x10017342
cmp dword [0x100321d8], 4
jb 0x1001733c
or byte [ebp + 0x12], 0x20
jmp 0x10017361
xor eax, eax
jmp 0x10017371
or byte [ebp + 0x12], 4
jmp 0x10017361
mov eax, dword [0x10032330]
test eax, eax
je 0x10017361
call eax
mov ebx, eax
test ebx, ebx
je 0x10017361
mov eax, dword [0x10032334]
test eax, eax
je 0x10017361
push ebx
call eax
mov ebx, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
call dword [0x1003232c]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1001818c
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
push 4
pop eax
call fcn.100154f0
mov esi, esp
push 0x1c
lea eax, [ebp - 0x28]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x10018227
mov ebx, dword [ebp - 0x24]
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x48]
mov eax, dword [0x100321cc]
lea edi, [ecx - 1]
not edi
and edi, esi
sub edi, ecx
mov esi, eax
dec esi
neg esi
sbb esi, esi
and esi, 0xfffffff1
add esi, 0x11
imul esi, ecx
add esi, ebx
cmp edi, esi
mov dword [ebp - 8], ecx
jb 0x10018227
cmp eax, 1
je 0x10018248
mov dword [ebp - 4], ebx
mov ebx, 0x1000
push 0x1c
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x10018227
mov eax, dword [ebp - 0x1c]
add dword [ebp - 4], eax
test dword [ebp - 0x18], ebx
je 0x100181f4
test byte [ebp - 0x13], 1
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], eax
je 0x10018223
xor eax, eax
inc eax
jmp 0x10018267
cmp edi, eax
jae 0x1001822b
xor eax, eax
jmp 0x10018267
cmp eax, esi
jae 0x10018232
mov dword [ebp - 4], esi
push 4
push ebx
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov eax, dword [0x100321cc]
jmp 0x1001824b
mov dword [ebp - 4], edi
dec eax
neg eax
sbb eax, eax
and eax, 0x103
lea ecx, [ebp - 0xc]
push ecx
inc eax
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea esp, [ebp - 0x58]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40595e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
pushal
call 0x40596d
pop dword [ebp - 0x3c]
mov eax, 0x40596d
sub dword [ebp - 0x3c], eax
mov dword [ebp - 0x4c], 0xb189c2de
add dword [ebp - 0x4c], 0x9cc8826d
mov dword [ebp - 0x48], 0x34eb662e
sub dword [ebp - 0x48], 0x2b819e9
mov dword [ebp - 0x44], 0x6d931812
add dword [ebp - 0x44], 0xdeb92c1c
mov dword [ebp - 0x40], 0xa9f99da5
sub dword [ebp - 0x40], 0xa9f99da5
lea eax, [ebp - 0x4c]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x3c]
call dword [eax]
mov dword [ebp - 0x4c], 0xb7fbc63b
add dword [ebp - 0x4c], 0xbc76a31b
mov dword [ebp - 0x48], 0x84d29adf
add dword [ebp - 0x48], 0xbc99c696
mov dword [ebp - 0x44], 0xd89b1fc3
add dword [ebp - 0x44], 0x8ad44ca9
mov dword [ebp - 0x40], 0xa25174f3
sub dword [ebp - 0x40], 0xa25174f3
lea ebx, [ebp - 0x4c]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x3c]
call dword [eax]
push 0x40
push 0x1000
push 0x38477
push 0
call eax
mov ecx, 0x8441860e
sub ecx, 0x844137ce
mov edi, eax
mov ebx, 0xe1105cd2
sub ebx, 0xe0cf5cd2
add ebx, dword [ebp - 0x3c]
mov edx, 0x67f60962
sub edx, 0x84dfe692
add dword [ebp - 0x30], esi
mov esi, dword [ebx]
xor esi, edx
xor dword [ebp - 0x28], ebx
mov dword [edi], esi
xor dword [ebp - 0xc], ebx
add edi, 0x282ddc52
sub edi, 0x282ddc4e
add ebx, 4
loop 0x405a80
add eax, 0xf8263350
sub eax, 0xf825077d
xor ebx, ebx
add ebx, eax
add eax, 0xad0aa43c
sub eax, 0xad0aa437
mov ecx, 0x555473f1
sub ecx, 0x551473f1
add ecx, dword [ebp - 0x3c]
call ebx
leave
ret

Function at 0x4065b0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40c17c]
jne 0x4065ba
repz ret
jmp fcn.00406941
Function at 0x401681
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.00401369
sub cl, bh
out 0x4e, al
lea eax, [ebp - 0x40]
push eax
call fcn.00401379
push eax
push esi
push dword [ebp + 8]
call fcn.0040132e
add esp, 0x10
mov dword [ebp - 0x88], eax
call fcn.00401369
push es
in eax, dx
inc ebp
sub byte [ebp + 0x5d88e845], cl
call 0xe99d9f2a
mov byte [ebp - 0x16], 0x40
mov byte [ebp - 0x15], bl
mov byte [ebp - 0x14], 0xe9
mov byte [ebp - 0x13], 0xd6
mov byte [ebp - 0x12], 0xcd
mov byte [ebp - 0x11], 0xcb
mov byte [ebp - 0x10], 0xca
mov byte [ebp - 0xf], 0xde
inc ebp
int1
faddp st(6)
inc ebp
rol esi, cl
inc ebp
stc

Function at 0x401bc9
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x349], 0x40
mov byte [ebp - 0x348], 0x56
mov byte [ebp - 0x347], 0x56
mov byte [ebp - 0x346], 0x6d
mov byte [ebp - 0x345], 0x40
mov byte [ebp - 0x344], 0x44
mov byte [ebp - 0x343], 0x55
mov byte [ebp - 0x342], 0x25
lea eax, [ebp - 0x354]
push eax
call fcn.00401379
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0040132e
add esp, 0xc
mov dword [ebp - 0x68c], eax
call dword [ebp - 0x68c]
mov dword [ebp - 0x674], eax
mov dword [ebp - 0x384], 4
and byte [ebp - 0x334], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x333]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x670], 4
and byte [ebp - 0x3c4], 0
and byte [ebp - 0x3c3], 0
mov byte [ebp - 0x3c2], 0x99
and byte [ebp - 0x3c1], 0
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
mov byte [ebp - 0x3bd], 0x2b
mov byte [ebp - 0x3bc], 9
mov byte [ebp - 0x3bb], 2
mov byte [ebp - 0x3ba], 0x13
mov byte [ebp - 0x3b9], 0xa
mov byte [ebp - 0x3b8], 3
mov byte [ebp - 0x3b7], 0x20
mov byte [ebp - 0x3b6], 0xf
mov byte [ebp - 0x3b5], 0xa
mov byte [ebp - 0x3b4], 3
mov byte [ebp - 0x3b3], 0x28
mov byte [ebp - 0x3b2], 7
mov byte [ebp - 0x3b1], 0xb
mov byte [ebp - 0x3b0], 3
mov byte [ebp - 0x3af], 0x27
mov byte [ebp - 0x3ae], 0x66
lea eax, [ebp - 0x3c4]
push eax
call fcn.00401379
pop ecx
push eax
push dword [ebp + 0x18]
Function at 0x405a99
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [0x408ed0]
xor eax, ecx
mov edx, 0xff
and eax, edx
push esi
shr ecx, 8
mov eax, dword [eax*4 + 0x408f00]
xor eax, ecx
mov ecx, dword [0x408ed8]
mov dword [0x408ed0], eax
and eax, edx
add eax, dword [0x408ed4]
mov esi, ecx
and esi, edx
imul eax, eax, 0x8088405
inc eax
mov dword [0x408ed4], eax
shr eax, 0x18
xor esi, eax
shr ecx, 8
mov eax, dword [esi*4 + 0x408f00]
pop esi
xor eax, ecx
mov dword [0x408ed8], eax
ret

Function at 0x405b80
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
push dword [0x408e58]
call fcn.00405af4
pop ecx
lea eax, [ebp - 0xc]
push 0xc
push dword [ebp + 8]
push eax
call fcn.00401000
add esp, 0xc
xor edi, edi
lea esi, [ebp + edi - 0xc]
call fcn.00405a83
xor byte [esi], al
movzx eax, byte [esi]
push eax
call fcn.00405a99
inc edi
pop ecx
cmp edi, 0xc
jl 0x405ba7
cmp dword [0x408e54], 0
movzx ax, byte [ebp - 1]
je 0x405bda
xor ecx, ecx
mov cl, byte [0x409467]
jmp 0x405be3
mov ecx, dword [0x40946a]
shr ecx, 0x18
cmp ax, cx
je 0x405bed
or eax, 0xffffffff
jmp 0x405bef
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x401317
Capabilities:
Read file on windows

Disassembly:
push 0x1c4
mov eax, 0x43209c
call fcn.0041cd86
mov ebx, ecx
xor edi, edi
push ebx
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x178], ebx
mov dword [ebp - 0x1c8], 0x4068c5
mov dword [ebp - 0x1c4], 0x406950
mov dword [ebp - 0x1c0], 0x406993
mov dword [ebp - 0x1bc], 0x4069d6
mov dword [ebp - 0x1b8], 0x406a08
mov dword [ebp - 0x1b4], 0x406a5e
mov dword [ebp - 0x1b0], 0x406a86
mov dword [ebp - 0x1ac], edi
call fcn.00405601
push str..zip
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 4], edi
call fcn.00405653
cmp dword [ebp - 0x18], 0x10
mov edx, dword [ebp - 0x2c]
jae 0x4013a2
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x1c8]
call fcn.00406c55
mov esi, 0x4000
push esi
mov dword [ebp - 0x17c], eax
call fcn.00419bf0
pop ecx
mov dword [ebp - 0x184], eax
cmp dword [ebp - 0x17c], edi
jne 0x4013e2
xor esi, esi
push edi
push 1
lea ecx, [ebp - 0x30]
call fcn.004059be
mov eax, esi
call fcn.0041cdd0
ret
lea eax, [ebp - 0x174]
push eax
push ebx
mov dword [ebp - 0x194], edi
mov dword [ebp - 0x198], edi
mov dword [ebp - 0x19c], edi
mov dword [ebp - 0x1a0], edi
mov dword [ebp - 0x1a4], edi
mov dword [ebp - 0x1a8], edi
mov dword [ebp - 0x190], edi
mov dword [ebp - 0x18c], edi
mov dword [ebp - 0x188], edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x401463
lea eax, [ebp - 0x1d0]
push eax
lea eax, [ebp - 0x160]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
lea eax, [ebp - 0x190]
push eax
lea eax, [ebp - 0x18e]
push eax
lea eax, [ebp - 0x1d0]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToDosDateTime]
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edx, dword [ebp - 0x178]
mov ecx, dword [ebp - 0x17c]
lea eax, [ebp - 0x1a8]
push 8
push eax
call fcn.00406d2c
mov ebx, eax
pop ecx
pop ecx
cmp ebx, edi
jne 0x40150e
push 0x439118
push dword [ebp - 0x178]
lea eax, [ebp - 0x180]
push eax
call fcn.00419f08
add esp, 0xc
cmp dword [ebp - 0x180], edi
je 0x401531
push dword [ebp - 0x180]
xor ebx, ebx
push esi
push 1
push dword [ebp - 0x184]
call fcn.0041a3d4
add esp, 0x10
cmp eax, esi
mov dword [ebp - 0x178], eax
jge 0x4014e5
push dword [ebp - 0x180]
call fcn.0041991c
pop ecx
test eax, eax
jne 0x4014e5
or ebx, 0xffffffff
mov eax, dword [ebp - 0x178]
cmp eax, edi
jle 0x401502
mov ecx, dword [ebp - 0x184]
mov edx, dword [ebp - 0x17c]
call fcn.00407158
mov ebx, eax
cmp ebx, edi
jne 0x40150e
cmp dword [ebp - 0x178], edi
jg 0x4014af
cmp dword [ebp - 0x180], edi
je 0x401522
push dword [ebp - 0x180]
call fcn.0041aab7
pop ecx
cmp ebx, edi
jl 0x401531
mov ebx, dword [ebp - 0x17c]
call fcn.00407233
mov eax, dword [ebp - 0x17c]
call fcn.00407406
xor esi, esi
inc esi
jmp 0x4013cf