joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42ee60
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x43188c
mov eax, dword fs:[0]
push eax
sub esp, 0xdc
push ebp
push esi
push edi
mov eax, dword [0x43c510]
xor eax, esp
push eax
lea eax, [esp + 0xec]
mov dword fs:[0], eax
mov eax, dword [esp + 0xfc]
push eax
lea ecx, [esp + 0x2c]
call fcn.004291e1
xor esi, esi
mov dword [esp + 0xf4], esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
movzx ecx, word [0x43c4dc]
push esi
push ecx
lea ecx, [esp + 0x30]
mov byte [esp + 0xfc], 1
xor edi, edi
call fcn.004299c0
mov ebp, eax
cmp ebp, 0xffffffff
je 0x42ef89
mov edx, ebp
sub edx, edi
add edx, 1
push edx
push edi
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x34]
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], esi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], esi
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], esi
call fcn.00429e90
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xf8], 2
call fcn.00429ac0
mov ecx, dword [esp + 0x68]
push ecx
mov byte [esp + 0xf8], 1
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
mov edx, dword [esp + 0x64]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.0042f2b0
add esp, 0x10
test eax, eax
je 0x42ef69
lea edx, [esp + 0x10]
push edx
call fcn.0042f610
add esp, 4
test eax, eax
jne 0x42efcd
movzx eax, word [0x43c4dc]
lea edi, [ebp + 1]
push edi
push eax
lea ecx, [esp + 0x30]
call fcn.004299c0
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x42eee5
mov ecx, dword [esp + 0x20]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
mov edx, dword [esp + 0x1c]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
mov eax, dword [esp + 0x40]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
mov ecx, dword [esp + 0x3c]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 0x10
mov ecx, dword [esp + 0xec]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0xe8
ret
push esi
push 0xffffffffffffffff
push str._could_be_created__for_path
lea ecx, [esp + 0x98]
call fcn.00429a30
push esi
push 0xffffffffffffffff
push str.no_path
lea ecx, [esp + 0x64]
mov byte [esp + 0x100], 3
call fcn.00429a30
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x5c]
push edx
lea eax, [esp + 0xdc]
push eax
mov byte [esp + 0x100], 4
call fcn.0042cda0
lea ecx, [esp + 0x98]
push ecx
push eax
lea edx, [esp + 0xd0]
push edx
mov byte [esp + 0x10c], 5
call fcn.0042cda0
lea ecx, [esp + 0x40]
push ecx
push eax
lea edx, [esp + 0xc4]
push edx
mov byte [esp + 0x118], 6
call fcn.0042cda0
add esp, 0x24
push eax
lea ecx, [esp + 0x78]
mov byte [esp + 0xf8], 7
mov dword [esp + 0x74], vtable.RSException.0
call fcn.004291e1
push 0x435564
lea eax, [esp + 0x74]
push eax
call sub.MSVCR80.dll__CxxThrowException
int3
Function at 0x42f0a0
Capabilities:
Get disk information

Disassembly:
push edi
mov ecx, esi
xor edi, edi
call fcn.004296c0
cmp dword [esi + 4], 1
jne 0x42f0ce
push edi
mov ecx, esi
call fcn.0042a4d0
movzx eax, ax
cmp ax, 0x2f
je 0x42f0c7
cmp ax, 0x5c
jne 0x42f0ce
mov eax, 1
pop edi
ret
mov ecx, esi
call fcn.004296c0
cmp dword [esi + 4], 3
jne 0x42f134
push 0
mov ecx, esi
call fcn.0042a4d0
push eax
call dword [sym.imp.MSVCR80.dll_iswalpha]
add esp, 4
test eax, eax
je 0x42f134
push 1
mov ecx, esi
call fcn.0042a4d0
cmp ax, 0x3a
jne 0x42f134
push 2
mov ecx, esi
call fcn.0042a4d0
movzx eax, ax
cmp ax, 0x2f
je 0x42f119
cmp ax, 0x5c
jne 0x42f134
mov ecx, esi
call fcn.004296c0
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov ecx, 1
cmp ecx, eax
sbb eax, eax
neg eax
pop edi
ret
push 0
mov ecx, esi
call fcn.0042a4d0
movzx eax, ax
cmp ax, 0x2f
je 0x42f150
cmp ax, 0x5c
jne 0x42f269
push 1
mov ecx, esi
call fcn.0042a4d0
movzx eax, ax
cmp ax, 0x2f
je 0x42f16c
cmp ax, 0x5c
jne 0x42f269
mov ecx, esi
mov edi, 2
call fcn.004296c0
cmp dword [esi + 4], edi
je 0x42f26d
push edi
mov ecx, esi
call fcn.0042a4d0
movzx eax, ax
cmp ax, 0x2f
je 0x42f26d
cmp ax, 0x5c
je 0x42f26d
mov ecx, esi
add edi, 1
call fcn.004296c0
cmp edi, dword [esi + 4]
jae 0x42f1c6
push edi
mov ecx, esi
call fcn.0042a4d0
movzx eax, ax
cmp ax, 0x2f
je 0x42f1c6
cmp ax, 0x5c
jne 0x42f1a0
mov ecx, esi
call fcn.004296c0
cmp dword [esi + 4], edi
je 0x42f26d
mov ecx, esi
add edi, 1
call fcn.004296c0
cmp dword [esi + 4], edi
je 0x42f26d
push edi
mov ecx, esi
call fcn.0042a4d0
call fcn.0042f080
test al, al
jne 0x42f26d
lea ebx, [ebx]
mov ecx, esi
add edi, 1
call fcn.004296c0
cmp edi, dword [esi + 4]
jae 0x42f226
push edi
mov ecx, esi
call fcn.0042a4d0
movzx eax, ax
cmp ax, 0x2f
je 0x42f226
cmp ax, 0x5c
jne 0x42f200
mov ecx, esi
call fcn.004296c0
lea edx, [edi + 1]
cmp dword [esi + 4], edx
ja 0x42f26d
mov ecx, esi
call fcn.004296c0
cmp dword [esi + 4], edi
jne 0x42f250
movzx eax, word [0x43c4dc]
push eax
mov ecx, esi
call fcn.00429700
mov ecx, esi
call fcn.004296c0
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov ecx, 1
cmp ecx, eax
sbb edi, edi
neg edi
mov eax, edi
pop edi
ret
xor eax, eax
pop edi
ret
Function at 0x42f610
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x431910
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x43c510]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov esi, dword [esp + 0x50]
mov ecx, esi
mov dword [esp + 0x48], ebx
call fcn.004296c0
mov edi, eax
movzx eax, word [0x43c4dc]
push eax
mov ecx, esi
call fcn.0042a540
test eax, eax
je 0x42f6c6
mov ecx, esi
call fcn.004296c0
mov eax, dword [esi + 4]
add eax, 0xffffffff
push eax
push ebx
lea ecx, [esp + 0x30]
push ecx
mov ecx, esi
call fcn.00429e90
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x50], 1
call fcn.00429790
mov edx, dword [esp + 0x38]
push edx
mov byte [esp + 0x4c], bl
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
mov eax, dword [esp + 0x34]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 8
lea ecx, [esp + 0x10]
call fcn.004296c0
mov edi, eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [esp + 0x20]
mov esi, eax
neg esi
sbb esi, esi
push ecx
add esi, 1
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
mov edx, dword [esp + 0x1c]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 8
mov eax, esi
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x3c
ret

Function at 0x42fac4
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x43c510]
jne 0x42face
repz ret
jmp fcn.00430340
Function at 0x406ed2
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x1c
push ebx
push ebp
xor ebp, ebp
push esi
cmp dword [0x43fcfc], ebp
push edi
jne 0x406fae
cmp dword [0x43fcf8], ebp
jne 0x406fae
cmp dword [0x43fd04], ebp
je 0x406f9d
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [0x43fd20], ebp
mov esi, eax
je 0x406f23
push esi
push dword [0x43fd24]
call fcn.00406fba
cmp eax, dword [0x43fd20]
jb 0x406f9d
mov eax, dword [0x43fca0]
cmp eax, 0xffffffff
je 0x406f3b
push esi
push eax
call fcn.00406fba
cmp eax, 0xc8
jb 0x406fa7
mov ebx, dword [esp + 0x30]
mov edi, dword [sym.imp.USER32.dll_PeekMessageA]
mov esi, 0x113
push 3
push esi
push esi
lea eax, [esp + 0x1c]
push ebx
push eax
mov dword [0x43fcfc], 1
call edi
push 3
push esi
push esi
lea eax, [esp + 0x1c]
push ebx
push eax
call edi
push ebp
push ebp
push 0x8000
push ebx
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, ebp
mov dword [0x43fcf8], eax
mov dword [0x43fcfc], ebp
jne 0x406f90
push ebp
call dword [sym.imp.USER32.dll_SetCursor]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x43fca0], eax
jmp 0x406fa7
mov dword [0x43fcf8], 1
mov eax, dword [0x43fcf8]
jmp 0x406fb0
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 4

Function at 0x406fc5
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov edi, dword [sym.imp.USER32.dll_CharNextA]
mov esi, eax
mov al, byte [esi]
cmp al, 0x22
jne 0x406ff8
push esi
call edi
mov esi, eax
mov al, byte [esi]
test al, al
je 0x406ff0
cmp al, 0x22
jne 0x406fe1
cmp byte [esi], 0x22
jne 0x407006
inc esi
jmp 0x407006
cmp al, 0x20
jbe 0x407006
push esi
call edi
mov esi, eax
cmp byte [esi], 0x20
ja 0x406ffc
mov al, byte [esi]
test al, al
je 0x407017
cmp al, 0x20
ja 0x407017
push esi
call edi
mov esi, eax
jmp 0x407006
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x18], 1
je 0x407031
movzx eax, word [ebp - 0x14]
jmp 0x407034
push 0xa
pop eax
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call fcn.00406700
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x403d61
Capabilities:
Encode data using xor

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x439c15
pop dword [ebp - 0x40]
mov eax, 0x439c15
sub dword [ebp - 0x40], eax
push 0x40
push 0x1000
push 0x511da
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x40]
call dword [eax]
mov ecx, 0x98473e9e
sub ecx, 0x9846f2e1
mov edx, eax
mov ebx, 0x101bbc3c
add ebx, 0xf02ba1c4
add ebx, dword [ebp - 0x40]
mov edi, 0x38350d6e
mov dword [ebp - 8], 0xca012ee
mov esi, dword [ebx]
xor dword [ebp - 0x14], 0xd190898c
add esi, edi
mov dword [edx], esi
add dword [ebp - 0xc], 0x3790cbf8
add edx, 0x905ad107
sub edx, 0x905ad103
add ebx, 0xb227b74f
sub ebx, 0xb227b74b
loop 0x439c64
add eax, 0x96054dbb
add eax, 0x69fbd40c
xor ebx, ebx
add ebx, eax
add eax, 0x2f7f6143
add eax, 0xd0809ec2
mov ecx, 0xea76301
add ecx, 0xf1989cff
add ecx, dword [ebp - 0x40]
call ebx
leave
ret

Function at 0x4400c9
Capabilities:
Encrypt data using dpapi

Disassembly:
push esi
push edi
push 0x46c6d0
push str.AdvApi32.dll
call main
mov edi, dword [sym.imp.kernel32.dll_GetProcAddress]
mov esi, eax
test esi, esi
js 0x44010c
push str.SystemFunction040
push dword [0x46c6d0]
call edi
push str.SystemFunction041
push dword [0x46c6d0]
mov dword [0x46c6c0], eax
call edi
mov dword [0x46c6c4], eax
jmp 0x440111
mov eax, dword [0x46c6c4]
cmp dword [0x46c6c0], 0
je 0x440122
test eax, eax
jne 0x4401c9
push 0x46c6d4
push str.Crypt32.dll
call main
mov esi, eax
test esi, esi
js 0x4401d3
push str.CryptProtectMemory
push dword [0x46c6d4]
call edi
cmp dword [0x46c6c0], 0
mov dword [0x46c6c8], eax
jne 0x440187
test eax, eax
jne 0x440187
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x440171
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x440178
mov esi, 0x80004005
push esi
push 0x28
push str.c:_agent_work138_s_srclibsdutilcryputil.cpp
call fcn.004038f5
jmp 0x4401d3
push str.CryptUnprotectMemory
push dword [0x46c6d4]
call edi
cmp dword [0x46c6c4], 0
mov dword [0x46c6cc], eax
jne 0x4401c9
test eax, eax
jne 0x4401c9
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x4401bd
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x4401c4
mov esi, 0x80004005
push esi
push 0x2d
jmp 0x44017b
mov dword [0x46c6d8], 1
pop edi
mov eax, esi
pop esi
ret
Function at 0x41e65c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
push esi
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x41e6c9
xor ebx, ebx
test eax, 0x4000
je 0x41e69e
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_DecryptFileW]
test eax, eax
jne 0x41e69e
mov ecx, dword [ebp + 4]
mov edx, 0xd6
push 0x40473c
call fcn.0040626e
jmp 0x41e6cb
cmp word [edi], bx
je 0x41e6c9
mov edx, edi
mov ecx, esi
call fcn.0041de31
mov esi, eax
test esi, esi
jns 0x41e6c9
mov ecx, dword [ebp + 4]
mov edx, 0xdc
push esi
push 0x40473c
call fcn.00406251
mov eax, esi
jmp 0x41e6cb
xor eax, eax
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x41f8b0
Capabilities:
Terminate process

Disassembly:
call fcn.00420165
jmp 0x41f8ba
push 0x58
push 0x4206b0
call fcn.00420218
xor ebx, ebx
mov dword [ebp - 0x20], ebx
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetStartupInfoW]
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov edi, ebx
mov edx, 0x422d9c
mov ecx, esi
xor eax, eax
lock cmpxchg dword [edx], ecx
test eax, eax
je 0x41f90c
cmp eax, esi
jne 0x41f8ff
xor esi, esi
inc esi
mov edi, esi
jmp 0x41f90f
push 0x3e8
call dword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
jmp 0x41f8e3
xor esi, esi
inc esi
cmp dword [0x422da0], esi
jne 0x41f921
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x41f95b
cmp dword [0x422da0], ebx
jne 0x41f955
mov dword [0x422da0], esi
push 0x401428
push 0x40141c
call fcn.0041fa99
pop ecx
pop ecx
test eax, eax
je 0x41f95b
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x41fa89
mov dword [0x4217f4], esi
cmp dword [0x422da0], esi
jne 0x41f97e
push 0x401418
push 0x4013ec
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x422da0], 2
test edi, edi
jne 0x41f98b
xor eax, eax
mov ecx, 0x422d9c
xchg dword [ecx], eax
cmp dword [0x422dac], 0
je 0x41f9b7
push 0x422dac
call fcn.00420070
pop ecx
test eax, eax
je 0x41f9b7
push ebx
push 2
push ebx
mov esi, dword [0x422dac]
mov ecx, esi
call dword [0x4234b4]
call esi
mov eax, dword [sym.imp.msvcrt.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x1c], esi
mov edi, dword [ebp - 0x20]
mov cl, byte [esi]
cmp cl, 0x20
ja 0x41fa15
test cl, cl
je 0x41f9e4
test edi, edi
jne 0x41fa15
test cl, cl
je 0x41f9e4
cmp cl, 0x20
ja 0x41f9e4
inc esi
mov dword [ebp - 0x1c], esi
mov cl, byte [esi]
jmp 0x41f9d3
test byte [ebp - 0x3c], 1
je 0x41f9f0
movzx eax, word [ebp - 0x38]
jmp 0x41f9f3
push 0xa
pop eax
push eax
push esi
push ebx
push 0x400000
call main
mov dword [0x4217f0], eax
cmp dword [0x421808], 0
jne 0x41fa6e
push eax
call dword [sym.imp.msvcrt.dll_exit]
cmp cl, 0x22
jne 0x41fa26
xor eax, eax
test edi, edi
sete al
mov edi, eax
mov dword [ebp - 0x20], edi
movzx eax, cl
push eax
call dword [sym.imp.msvcrt.dll__ismbblead]
pop ecx
test eax, eax
je 0x41fa39
inc esi
mov dword [ebp - 0x1c], esi
inc esi
mov dword [ebp - 0x1c], esi
jmp 0x41f9c4
cmp dword [0x4217f4], 0
jne 0x41fa82
call dword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x4217f0]
mov dword [ebp - 4], 0xfffffffe
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x41ff54
Capabilities:
Parse pe header

Disassembly:
push 0xc
push 0x4206f0
call fcn.00420218
xor ecx, ecx
mov eax, dword [ebp + 8]
test eax, eax
je 0x41ffb4
cmp eax, 0xffffffff
je 0x41ffb4
mov dword [ebp - 4], ecx
mov edx, 0x5a4d
cmp word [eax], dx
jne 0x41ffad
mov edx, dword [eax + 0x3c]
test edx, edx
js 0x41ffad
cmp edx, 0x10000000
jae 0x41ffad
add eax, edx
mov dword [ebp - 0x1c], eax
mov ecx, dword [eax]
sub ecx, 0x4550
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
jmp 0x41ffaa
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, ecx
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x420020
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 0x42005e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x420056
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x420060
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x420046
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x420130
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 0x420161
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x420161
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x420161
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x10094f4
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x100c004]
jne 0x1009505
test ecx, 0xffff0000
jne 0x1009505
ret
jmp fcn.0100950f

Function at 0x100965f
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x28
push 0x10022b0
call fcn.010a5000
cmp word [0x1000000], 0x5a4d
jne 0x100969d
mov eax, dword [0x100003c]
lea eax, [eax + 0x1000000]
cmp dword [eax], 0x4550
jne 0x100969d
movzx ecx, word [eax + 0x18]
cmp ecx, 0x10b
je 0x10096b6
cmp ecx, 0x20b
je 0x10096a3
and dword [ebp - 0x1c], 0
jmp 0x10096ca
cmp dword [eax + 0x84], 0xe
jbe 0x100969d
xor ecx, ecx
cmp dword [eax + 0xf8], ecx
jmp 0x10096c4
cmp dword [eax + 0x74], 0xe
jbe 0x100969d
xor ecx, ecx
cmp dword [eax + 0xe8], ecx
setne cl
mov dword [ebp - 0x1c], ecx
and dword [ebp - 4], 0
push 1
call dword [sym.imp.msvcrt.dll___set_app_type]
pop ecx
or dword [0x1010458], 0xffffffff
or dword [0x101045c], 0xffffffff
call dword [sym.imp.msvcrt.dll___p__fmode]
mov ecx, dword [0x1010428]
mov dword [eax], ecx
call dword [sym.imp.msvcrt.dll___p__commode]
mov ecx, dword [0x1010424]
mov dword [eax], ecx
mov eax, dword [sym.imp.msvcrt.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x1010460], eax
call fcn.010098b6
cmp dword [0x100c010], 0
jne 0x1009727
push fcn.010098b6
call dword [sym.imp.msvcrt.dll___setusermatherr]
pop ecx
call fcn.0100989f
push 0x10011fc
push 0x10011f8
call sub.msvcrt.dll__initterm
mov eax, dword [0x1010420]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push dword [0x101041c]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.msvcrt.dll___wgetmainargs]
mov dword [ebp - 0x34], eax
push 0x10011f4
push 0x10011ec
call sub.msvcrt.dll__initterm
mov eax, dword [ebp - 0x20]
mov ecx, dword [sym.imp.msvcrt.dll___winitenv]
mov dword [ecx], eax
push dword [ebp - 0x20]
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
call fcn.01003e05
add esp, 0x30
mov esi, eax
mov dword [ebp - 0x38], esi
cmp dword [ebp - 0x1c], 0
jne 0x100979f
push esi
call dword [sym.imp.msvcrt.dll_exit]
call dword [sym.imp.msvcrt.dll__cexit]
jmp 0x10097d4
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.010098fb
ret

Function at 0x100a040
Capabilities:
Query or enumerate registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
call fcn.0100a144
test eax, eax
je 0x100a05a
mov eax, dword [0x1010444]
test eax, eax
je 0x100a05a
pop ebp
jmp eax
pop ebp
jmp fcn.01009ec4
Function at 0x406004
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
xor esi, esi
cmp dword [0x422a1c], esi
push edi
jne 0x40603e
mov ecx, 0x422a18
push 8
mov eax, esi
pop edi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec edi
jne 0x40601a
mov dword [ecx], eax
add ecx, 4
inc esi
cmp ecx, 0x422e18
jl 0x406015
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
mov edx, ecx
dec ecx
test edx, edx
not eax
jbe 0x406073
lea edx, [ecx + 1]
mov ecx, dword [esp + 0x10]
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x422a18]
xor eax, esi
inc ecx
dec edx
jne 0x406056
pop edi
pop esi
not eax
ret 0xc

Function at 0x403d61
Capabilities:
Encode data using xor

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

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x51e641
Capabilities:
Contain obfuscated stackstrings
Get number of processors

Disassembly:
add esp, 4
pop eax
push esi
push esi
add esp, 4
add esi, 0x75c2
jmp 0x51e657

Function at 0x51e7b4
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push eax
xor eax, 0x902a
jmp 0x51e79a
pop eax
push esi
and esi, 0x2f67
xor esi, 0xf8ef
call fcn.0051e7b4
add byte [edi], dh
xor eax, 0x37373933
add esp, 4
xor esi, 0x24e7
pop esi
lea edx, [ebp - 0x1774]
mov dword [ebp - 0xca0], edx
mov eax, dword [ebp - 0x508]
mov ecx, dword [eax + 0x30]
mov dword [ebp - 0xc9c], ecx
xor edx, edx
mov word [ebp - 0x214], dx
xor eax, eax
mov word [ebp - 0x110], ax
push edx
push eax
add esp, 4
add edx, 0x821b
pop edx
push edx
add edx, 0x54f
or edx, 0x134d2
add edx, 0x101a4
pop edx
push ecx
push eax
add esp, 4
or ecx, 0x1690d
and ecx, 0x92e4
pop ecx
mov ecx, dword [ebp - 0xc9c]
mov dx, word [ecx]
mov word [ebp - 0x1036], dx
mov eax, dword [ebp - 0xc9c]
add eax, 2
mov dword [ebp - 0xc9c], eax
mov cx, word [ebp - 0x1036]
mov word [ebp - 0x214], cx
mov edx, dword [ebp - 0xca0]
mov ax, word [edx]
mov word [ebp - 0x1038], ax
mov ecx, dword [ebp - 0xca0]
add ecx, 2
mov dword [ebp - 0xca0], ecx
mov dx, word [ebp - 0x1038]
mov word [ebp - 0x110], dx
push esi
xor esi, 0x80b4
add esi, 0x147e5
pop esi
push ebx
push edi
add esp, 4
sub ebx, 0x109e8
or ebx, 0x746a
pop ebx
push eax
push edx
add esp, 4
add eax, 0x12a19
add eax, 0x3d34
pop eax
movzx eax, word [ebp - 0x110]
test eax, eax
jne 0x51e8cc
movzx ecx, word [ebp - 0x214]
movzx edx, word [ebp - 0x110]
sub ecx, edx
mov dword [ebp - 0x15ec], ecx
jmp 0x51e92f
movzx eax, word [ebp - 0x214]
movzx ecx, word [ebp - 0x110]
cmp eax, ecx
ror dword [edi], 0x84
or edi, edi
invalid
invalid
movzx edx, word [ebp - 0x214]
xor edx, 0x20
movzx eax, word [ebp - 0x110]
cmp edx, eax
je 0x51e7eb
movzx ecx, word [ebp - 0x214]
movzx edx, word [ebp - 0x110]
cmp ecx, edx
jge 0x51e919
mov dword [ebp - 0x15e8], 0xffffffff
jmp 0x51e923
mov dword [ebp - 0x15e8], 1
mov eax, dword [ebp - 0x15e8]
mov dword [ebp - 0x15ec], eax
cmp dword [ebp - 0x15ec], 0
jne 0x51e978
push ecx
push ebx
add esp, 4
or ecx, 0xeacc
add ecx, 0x14ef
add ecx, 0xae48
add ecx, 0x16cb6
pop ecx
push eax
add eax, 0x6881
jmp 0x51e963
or eax, 0x8e17
pop eax
mov ecx, dword [ebp - 0x508]
mov dword [ebp - 0x750], ecx
jmp 0x51e9e0
push edx
add edx, 0x6b48
sub edx, 0xf1dc
call 0x51e994
add byte [ebx], bh
dec edx
inc esp
dec esi
cmp eax, 0x4d394933
add esp, 4
xor edx, 0x1086e
pop edx
push eax
push ebx
add esp, 4
xor eax, 0x1685a
pop eax
mov edx, dword [ebp - 0x508]
mov eax, dword [edx]
mov dword [ebp - 0x508], eax
mov ecx, dword [ebp - 0x508]
cmp ecx, dword [ebp - 0xca4]
je 0x51e9d6
mov edx, dword [ebp - 0x508]
cmp dword [edx + 0x30], 0
jne 0x51e78c
mov dword [ebp - 0x750], 0