joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403090
Capabilities:
Get disk information

Disassembly:
sub esp, 0x838
mov eax, dword [esp + 0x83c]
mov ecx, dword [eax]
mov edx, dword [0x430f5c]
push ebx
push ebp
push esi
mov esi, dword [eax + 4]
mov eax, dword [0x430f58]
mov dword [esp + 0x38], eax
push edi
lea eax, [esp + 0x10]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x10], 0
mov dword [esp + 0x40], 0x9e3779b9
mov dword [esp + 0x38], edx
call fcn.00403060
mov eax, dword [0x430f60]
mov edx, dword [0x430f64]
add dword [esp + 0x10], 0x23f
mov edi, dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov ebx, dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov ebp, dword [sym.imp.KERNEL32.dll_CreateHardLinkW]
mov dword [esp + 0x34], eax
mov dword [esp + 0x44], edx
mov dword [esp + 0x2c], 0x20
jmp 0x403114
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x20], 2
add dword [esp + 0x20], 3
mov eax, dword [0x2adda2c]
shl ecx, 4
add ecx, dword [esp + 0x34]
mov dword [esp + 0x14], ecx
cmp eax, 0xfa9
jne 0x403144
mov dword [0x2adda28], 0xedeb2e40
jmp 0x403155
cmp eax, 0x3eb
jne 0x403155
mov dword [0x2ada930], 0
mov eax, dword [esp + 0x28]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x10]
add dword [esp + 0x24], eax
mov eax, dword [esp + 0x28]
shr eax, 5
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x44]
lea eax, [esp + 0x18]
mov dword [0x2adda24], 0xf4ea3dee
call fcn.00403070
mov eax, dword [esp + 0x24]
xor dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
xor dword [esp + 0x18], eax
cmp dword [0x2adda2c], 0x213
jne 0x4031dc
push 0
push 0
call edi
lea ecx, [esp + 0x48]
push ecx
push 0
call ebx
push 0
push 0x402c40
push 0x402ca4
call ebp
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ChangeTimerQueueTimer]
sub esi, dword [esp + 0x18]
lea ecx, [esp + 0x14]
mov eax, esi
mov dword [esp + 0x30], esi
call fcn.00403050
mov edx, dword [esp + 0x3c]
add dword [esp + 0x14], edx
mov dword [esp + 0x1c], 0
mov eax, dword [esp + 0x10]
add dword [esp + 0x1c], eax
mov eax, dword [esp + 0x30]
nop
add dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x24], eax
mov eax, esi
shr eax, 5
add eax, dword [esp + 0x38]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x24]
xor dword [esp + 0x14], eax
cmp dword [0x2adda2c], 0x121
jne 0x403248
push 0
push 0
lea ecx, [esp + 0x50]
push ecx
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesA]
mov ecx, dword [esp + 0x14]
xor ecx, dword [esp + 0x18]
lea eax, [esp + 0x28]
mov dword [esp + 0x14], ecx
call fcn.00403080
mov eax, dword [esp + 0x40]
sub dword [esp + 0x10], eax
sub dword [esp + 0x2c], 1
jne 0x403110
mov eax, dword [esp + 0x84c]
mov edx, dword [esp + 0x28]
pop edi
mov dword [eax + 4], esi
pop esi
pop ebp
mov dword [eax], edx
pop ebx
add esp, 0x838
ret 4
Function at 0x409ec0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x430bc0]
jne 0x409eca
repz ret
jmp fcn.0040df3b

Function at 0x40d794
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.00409220
and dword [ebp - 4], 0
cmp dword [0x432d30], 0
mov ebx, eax
jne 0x40d845
push 0x401b28
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40d8f6
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x401b1c
push edi
call esi
test eax, eax
je 0x40d8f6
push eax
call fcn.004091ae
mov dword [esp], 0x401b0c
push edi
mov dword [0x432d30], eax
call esi
push eax
call fcn.004091ae
mov dword [esp], 0x401af8
push edi
mov dword [0x432d34], eax
call esi
push eax
call fcn.004091ae
mov dword [esp], 0x401adc
push edi
mov dword [0x432d38], eax
call esi
push eax
call fcn.004091ae
pop ecx
mov dword [0x432d40], eax
test eax, eax
je 0x40d845
push 0x401ac4
push edi
call esi
push eax
call fcn.004091ae
pop ecx
mov dword [0x432d3c], eax
mov eax, dword [0x432d3c]
cmp eax, ebx
je 0x40d89d
cmp dword [0x432d40], ebx
je 0x40d89d
push eax
call fcn.00409229
push dword [0x432d40]
mov esi, eax
call fcn.00409229
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40d89d
test edi, edi
je 0x40d89d
call esi
test eax, eax
je 0x40d894
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40d894
test byte [ebp - 0xc], 1
jne 0x40d89d
or dword [ebp + 0x10], 0x200000
jmp 0x40d8d6
mov eax, dword [0x432d34]
cmp eax, ebx
je 0x40d8d6
push eax
call fcn.00409229
pop ecx
test eax, eax
je 0x40d8d6
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40d8d6
mov eax, dword [0x432d38]
cmp eax, ebx
je 0x40d8d6
push eax
call fcn.00409229
pop ecx
test eax, eax
je 0x40d8d6
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x432d30]
call fcn.00409229
pop ecx
test eax, eax
je 0x40d8f6
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40d8f8
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10015c5
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
push esi
push edi
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
je 0x10016eb
cmp dword [ebp + 0xc], ebx
je 0x10016eb
lea eax, [ebp - 8]
push eax
lea eax, [ebp + 0xc]
push eax
push ebx
push 0x20006
push ebx
push 0x100128c
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, ebx
je 0x1001614
push eax
jmp 0x10016ed
mov esi, 0x1001240
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
lea eax, [edi + 1]
push 2
push eax
jmp 0x1012945
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x1012346

Function at 0x1001cfa
Capabilities:
Packed with generic packer

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x648
mov eax, dword [0x1007024]
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x618], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x638], eax
jmp loc.0101040a

Function at 0x1002b06
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1007024]
jne 0x1002b17
test ecx, 0xffff0000
jne 0x1002b17
ret
jmp fcn.01002b21

Function at 0x1002da0
Capabilities:
Packed with generic packer

Disassembly:
cmp eax, 0x1000
jae 0x1002db5
neg eax
add eax, esp
add eax, 4
test dword [eax], eax
xchg esp, eax
mov eax, dword [eax]
push eax
ret
jmp loc.01012918

Function at 0x1002f34
Capabilities:
Packed with generic packer

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
jne 0x1002f4e
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
call fcn.01003127
jmp 0x1002f9b
mov eax, dword [0x1007064]
mov ecx, dword fs:[0x2c]
push esi
lea esi, [ecx + eax*4]
push edi
mov edi, dword [esi]
cmp dword [edi + 4], 0
jne 0x1002f85
push 2
push 0x103
call dword [sym.imp.msvcrt.dll_calloc]
test eax, eax
pop ecx
pop ecx
mov ecx, edi
mov dword [ecx + 4], eax
je 0x1002f99
push 0xff
push dword [ebp + 8]
push dword [edi + 4]
jmp 0x1011076
pop edi
pop esi
pop ebp
ret 4

Function at 0x1002fe1
Capabilities:
Packed with generic packer

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
test ebx, ebx
push esi
push edi
je 0x100303a
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x100303a
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push ebx
call esi
push edi
mov dword [ebp + 8], eax
call esi
cmp dword [ebp + 8], 0
mov dword [ebp + 0xc], eax
je 0x100303a
test eax, eax
je 0x100303a
mov edx, dword [ebp + 0x10]
jmp 0x1003035
jmp 0x1012803
cmp edx, dword [ebp + 8]
jb 0x1003018
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x100304d
Capabilities:
Packed with generic packer

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x1007024]
push ebx
push esi
push edi
push 5
pop ecx
mov esi, 0x1001408
lea edi, [ebp - 0x18]
push 0x10013ec
mov dword [ebp - 4], eax
xor ebx, ebx
rep movsd dword es:[edi], dword [esi]
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je fcn.0100309c
lea eax, [ebp - 0x18]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1003095
push dword [ebp + 8]
inc ebx
call eax
push esi
jmp loc.010115b6

Function at 0x1003266
Capabilities:
Packed with generic packer

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
push esi
je 0x1003296
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x1003296
mov edx, dword [ebp + 0x10]
push edi
push edx
push dword [ebp + 8]
mov ecx, edx
xor eax, eax
mov edi, esi
push esi
rep stosw word es:[edi], ax
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
mov eax, esi
pop edi
jmp fcn.010032a8
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
call fcn.01003127
jmp loc.01011589

Function at 0x10032b2
Capabilities:
Packed with generic packer

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
push esi
je 0x10032e7
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x10032e7
mov edx, dword [ebp + 0x10]
push edi
push edx
push esi
push 0xffffffffffffffff
push dword [ebp + 8]
xor eax, eax
push eax
mov ecx, edx
mov edi, esi
push 1
rep stosw word es:[edi], ax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, esi
pop edi
jmp 0x10032f9
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp loc.01011444
pop esi
pop ebp
ret 0xc

Function at 0x1003303
Capabilities:
Packed with generic packer

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [0x1007024]
and dword [ebp - 0x204], 0
mov edx, dword [ebp + 8]
and dword [ebp - 0x208], 0
push edi
push 0x7e
mov dword [ebp - 4], eax
pop ecx
xor eax, eax
test edx, edx
lea edi, [ebp - 0x200]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
pop edi
jne 0x1003351
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp loc.010124c5
push edx
lea eax, [ebp - 0x204]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x204]
push eax
call dword [sym.imp.msvcrt.dll_wcstod]
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
call fcn.01002b06
leave
ret 4

Function at 0x1003678
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x1007024]
jmp loc.01010dcf

Function at 0x1003955
Capabilities:
Packed with generic packer

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
xor edx, edx
cmp ecx, edx
je 0x10039aa
jmp loc.01011832
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
call fcn.01003127
xor eax, eax
pop ebp
ret 0x10
Function at 0x1003d7f
Capabilities:
Packed with generic packer

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword fs:[0x2c]
mov ecx, dword [0x1007064]
push esi
lea esi, [eax + ecx*4]
push edi
mov edi, dword [esi]
cmp dword [edi + 8], 0
jne 0x1003dc2
push 2
push 0x103
call dword [sym.imp.msvcrt.dll_calloc]
test eax, eax
pop ecx
pop ecx
mov ecx, edi
mov dword [ecx + 8], eax
jne 0x1003dc2
mov eax, 0x10012f8
jmp 0x1003de4
push 0xfe
push dword [edi + 8]
push dword [ebp + 8]
call fcn.010039c2
test eax, eax
mov eax, 0x10012f8
je 0x1003de4
jmp 0x101109f
pop edi
pop esi
pop ebp
ret 4

Function at 0x100427d
Capabilities:
Packed with generic packer

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push dword [ebp + 8]
call fcn.01003def
test eax, eax
jne 0x1004293
or eax, 0xffffffff
jmp 0x10042cc
push esi
push 4
push 1
call dword [sym.imp.msvcrt.dll_calloc]
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x10042c8
mov eax, dword [ebp + 0xc]
push esi
push 4
jmp 0x101118c
or eax, 0xffffffff
pop esi
pop ebp
ret 8

Function at 0x1004370
Capabilities:
Packed with generic packer

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
jmp loc.010103dc

Function at 0x100439f
Capabilities:
Packed with generic packer

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.01003edb
mov esi, eax
test esi, esi
je 0x10043c6
mov eax, dword [esi + 4]
jmp loc.01010778
xor eax, eax
jmp 0x1004438
pop esi
pop ebp
ret 0x10

Function at 0x1004442
Capabilities:
Packed with generic packer

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 0x20000
push dword [ebp + 8]
jmp loc.01011404

Function at 0x10044b4
Capabilities:
Packed with generic packer

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
push esi
je 0x10044e1
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x10044e1
push esi
call fcn.01004466
test eax, eax
je 0x10044ee
push 1
push dword [ebp + 8]
add esi, 2
push esi
call fcn.01003882
jmp 0x10044f0
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x1010d2f
xor eax, eax
pop esi
pop ebp
ret 0xc
Function at 0x10051e5
Capabilities:
Packed with generic packer

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x1007024]
push ebx
mov ebx, dword [ebp + 8]
test ebx, ebx
push esi
push edi
push 0xe
pop ecx
mov esi, 0x100149c
lea edi, [ebp - 0x3c]
mov dword [ebp - 4], eax
rep movsd dword es:[edi], dword [esi]
je 0x1005224
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push ebx
call esi
test eax, eax
je 0x1005224
push ebx
call fcn.010050f4
cmp eax, 1
jne 0x100522c
xor eax, eax
inc eax
jmp 0x10052fd
push 2
push ebx
call esi
add eax, 5
push eax
call dword [sym.imp.msvcrt.dll_calloc]
test eax, eax
pop ecx
pop ecx
mov dword [ebp - 0x40], eax
jne 0x100525b
push 0x8007000e
call dword [sym.imp.KERNEL32.dll_SetLastError]
call fcn.01003127
xor eax, eax
jmp 0x101085b
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyW]
push ebx
push eax
call edi
and dword [ebp - 0x44], 0
lea eax, [ebp - 0x3c]
push eax
call esi
test eax, eax
jle 0x1005299
mov eax, dword [ebp - 0x44]
movzx eax, word [ebp + eax*2 - 0x3c]
push eax
push dword [ebp - 0x40]
call dword [sym.imp.msvcrt.dll_wcschr]
test eax, eax
pop ecx
pop ecx
jne 0x10052dd
inc dword [ebp - 0x44]
lea eax, [ebp - 0x3c]
push eax
call esi
cmp dword [ebp - 0x44], eax
jl 0x1005273
push ebx
push dword [ebp - 0x40]
call edi
push 0x1001498
push dword [ebp - 0x40]
call dword [sym.imp.msvcrt.dll_wcstok]
xor esi, esi
cmp eax, esi
pop ecx
pop ecx
jne 0x10052b7
mov eax, ebx
cmp word [eax], 0x2d
je 0x10052ee
push esi
push 0xa
push eax
call fcn.010034ad
cmp eax, 1
jne 0x10052ee
push 0x4ba
call dword [sym.imp.KERNEL32.dll_SetLastError]
call fcn.01003127
jmp 0x10052f1
push 0x35
call dword [sym.imp.KERNEL32.dll_SetLastError]
call fcn.01003127
xor esi, esi
jmp 0x10052f1
xor esi, esi
inc esi
push dword [ebp - 0x40]
call dword [sym.imp.msvcrt.dll_free]
pop ecx
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.01002b06
leave
ret 4
Function at 0x1005311
Capabilities:
Initialize winsock library

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x19c
mov eax, dword [0x1007024]
and dword [ebp - 0x198], 0
cmp dword [0x1007050], 0
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x19c], eax
jne 0x1005375
lea eax, [ebp - 0x194]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x100536b
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x100541b
jmp 0x1012154
push esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
lea eax, [esi + 5]
push 1
push eax
call dword [sym.imp.msvcrt.dll_calloc]
mov edi, eax
test edi, edi
pop ecx
pop ecx
jne 0x10053a6
jmp 0x1010a26
call dword [sym.imp.KERNEL32.dll_SetLastError]
call fcn.01003127
jmp 0x10053e6
push esi
push edi
push ebx
call fcn.01003207
push edi
call dword [sym.imp.WS2_32.dll_inet_addr]
cmp eax, 0xffffffff
mov dword [ebp - 0x198], eax
jne 0x10053cf
push edi
call dword [sym.imp.msvcrt.dll_free]
pop ecx
push 0x800300fd
jmp 0x1005399
push 2
push 4
lea eax, [ebp - 0x198]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyaddr]
mov esi, eax
test esi, esi
jne 0x10053ea
xor eax, eax
jmp 0x1005419
push edi
call dword [sym.imp.msvcrt.dll_free]
cmp dword [ebp + 0x10], 0
mov eax, dword [esi]
pop ecx
jne 0x1005408
push 0x10014d4
push eax
call dword [sym.imp.msvcrt.dll_strtok]
pop ecx
pop ecx
push 0xf
push dword [ebp - 0x19c]
push eax
call fcn.010032b2
xor eax, eax
inc eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
pop ebx
call fcn.01002b06
leave
ret 0xc

Function at 0x1005451
Capabilities:
Get hostname

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [0x1007024]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0x3f
xor edx, edx
pop ecx
mov dword [ebp - 4], eax
xor eax, eax
cmp ebx, edx
lea edi, [ebp - 0x100]
mov dword [ebp - 0x104], edx
rep stosd dword es:[edi], eax
push 0x3f
pop ecx
lea edi, [ebp - 0x200]
mov dword [ebp - 0x204], edx
mov dword [ebp - 0x208], edx
rep stosd dword es:[edi], eax
jmp loc.010119da

Function at 0x1005793
Capabilities:
Connect network resource

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x430
mov eax, dword [0x1007024]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x408], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x410], eax
mov eax, dword [ebp + 0x14]
push 0x7e
mov dword [ebp - 0x40c], eax
pop ecx
xor eax, eax
xor ebx, ebx
mov dword [ebp - 0x404], ebx
lea edi, [ebp - 0x400]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x7e
pop ecx
mov dword [ebp - 0x204], ebx
xor eax, eax
lea edi, [ebp - 0x200]
rep stosd dword es:[edi], eax
push esi
stosw word es:[edi], ax
jmp loc.01012077

Function at 0x100599c
Capabilities:
Packed with generic packer

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0x1001510
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
jmp loc.01012443
Function at 0x10059bd
Capabilities:
Get session user name

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x1007024]
push ebx
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_SetLastError]
push edi
mov dword [ebp - 0x20c], eax
mov eax, dword [ebp + 0x14]
xor edx, edx
push 0x7e
mov dword [ebp - 0x208], eax
pop ecx
mov dword [ebp - 0x204], edx
xor eax, eax
lea edi, [ebp - 0x200]
rep stosd dword es:[edi], eax
push edx
mov dword [ebp - 0x214], edx
stosw word es:[edi], ax
call esi
xor edi, edi
inc edi
cmp dword [ebp + 0x1c], edi
jne 0x1005a38
cmp dword [ebp - 0x208], 0
je 0x1005a38
push 0x10012fc
push dword [ebp - 0x208]
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x1005b0f
and dword [ebp - 0x210], 0
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jne 0x1005a61
push eax
push eax
push dword [ebp - 0x20c]
mov dword [ebp - 0x210], edi
call fcn.0100599c
mov edi, eax
jmp 0x1005a8f
mov eax, dword [ebp + 0x1c]
neg eax
sbb eax, eax
not eax
and eax, dword [ebp - 0x208]
push eax
push ebx
push dword [ebp - 0x20c]
jmp 0x10116fd
test edi, edi
jne 0x1005aac
cmp dword [ebp - 0x210], 1
jne 0x1005bf3
jmp 0x1011612
call esi
jmp 0x1012b2a
mov eax, 0x4c3
cmp edi, eax
ja 0x1005aed
je 0x1005bfb
cmp edi, 0x34
je 0x1005acd
cmp edi, 0x56
je 0x1005b09
cmp edi, 0x4be
jne 0x1005adc
push 0x4c6
call esi
call fcn.01003127
push edi
call esi
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.01002b06
leave
ret 0x18
cmp edi, 0x4cf
jb 0x1005adc
cmp edi, 0x4d1
jbe 0x1005acd
cmp edi, 0x52e
jmp 0x1010504
cmp dword [ebp + 0x1c], 0
je 0x1005adc
jmp 0x10127be
xor eax, eax
inc eax
jmp 0x1005ade
push eax
jmp 0x1005aa5
Function at 0x407010
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 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
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 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x430006
Capabilities:
Encode data using xor

Disassembly:
call 0x43000c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x403daa
sub eax, 0x403d50
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
popal
nop
nop
nop
jmp loc.00401219
Function at 0x407180
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 0x4071be
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x4071b6
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x4071c0
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x4071a6
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x4072a0
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
je 0x4072b6
xor eax, eax
pop ebp
ret
mov ecx, dword [eax + 0x3c]
add ecx, eax
xor eax, eax
cmp dword [ecx], 0x4550
jne 0x4072d1
mov edx, 0x10b
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
nop
push 4
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x42e072
nop
nop
nop
nop
mov ebx, 0x407ef8
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
pop eax
nop
nop
nop
nop
nop
mov esi, 0x6dd22f3c
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x42e060
nop
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x42e0d2
nop
nop
mov ebx, 0x42cd70
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x6ce319e3
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x42e0c0
popal
nop
nop
nop
nop
nop
jmp 0x401219

Function at 0x46e9ec
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cld
mov dl, 0x80
movsb byte es:[edi], byte [esi]
call fcn.0046ea6b
jae 0x46e9f8
xor ecx, ecx
call fcn.0046ea6b
jae 0x46ea22
xor eax, eax
call fcn.0046ea6b
jae 0x46ea33
mov al, 0x10
call fcn.0046ea6b
adc al, al
jae 0x46ea14
jne 0x46ea60
stosb byte es:[edi], al
jmp 0x46e9f9
call fcn.0046ea77
dec ecx
loop 0x46ea3f
mov eax, ebp
call fcn.0046ea75
jmp 0x46ea61
lodsb al, byte [esi]
shr eax, 1
je 0x46ea87
adc ecx, 2
mov ebp, eax
jmp 0x46ea61
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
mov ebp, eax
call fcn.0046ea75
cmp eax, 0x7d00
jae 0x46ea5f
cmp eax, 0x500
jae 0x46ea60
cmp eax, 0x7f
ja 0x46ea61
inc ecx
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x46e9f9
pop ebp
ret 8