joyce8/EMBER2024-capa huggingface dataset:
Function at 0x435da7
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x518], 0xea
lea eax, [ebp - 0x524]
push eax
call fcn.004351d2
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00435187
add esp, 0xc
mov dword [ebp - 0x39c], eax
call fcn.004351c2
jge 0x435e4f
sbb cl, ah
and byte [ebp - 0x514], 0
and byte [ebp - 0x513], 0
mov byte [ebp - 0x512], 0xe3
and byte [ebp - 0x511], 0
mov byte [ebp - 0x510], 0x5b
mov byte [ebp - 0x50f], 0x79
invalid
test edx, esi

Function at 0x436085
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc dword [eax]
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x22f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x12c], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x12b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x654], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x653]
rep stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x504], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x503]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call fcn.004351a0
or byte [eax + 0x2ff845c6], ah
mov byte [ebp - 0x24], 0x34
and byte [ebp - 0x36c], 0
movsd dword es:[edi], dword [esi]
xchg esp, eax
cld
invalid
inc dword [eax]
and byte [ebp - 0x36b], 0
mov byte [ebp - 0x36a], 0xaa
and byte [ebp - 0x369], 0
mov byte [ebp - 0x368], 0x12
mov byte [ebp - 0x367], 0x30
mov byte [ebp - 0x366], 0x21
mov byte [ebp - 0x365], 6
mov byte [ebp - 0x364], 0x2c
mov byte [ebp - 0x363], 0x26
mov byte [ebp - 0x362], 0x21
mov byte [ebp - 0x361], 0x30
mov byte [ebp - 0x360], 0x38
mov byte [ebp - 0x35f], 0x11
mov byte [ebp - 0x35e], 0x3c
cmp al, 0xc6
test dword [ebx + 0x27fffffc], esp

Function at 0x437379
Capabilities:
Resolve function by parsing pe exports

Disassembly:
or al, 0x8b
jo 0x437399
lodsd eax, dword [esi]
cmp byte [eax + 0x1c], 0x18
je 0x437386
xchg esi, eax
lodsd eax, dword [esi]
mov eax, dword [eax + 8]
push eax
call fcn.004351c2
clc
adc dword [bx], eax
mov edi, eax
mov eax, dword [edi + 0x3c]
mov edx, dword [edi + eax + 0x78]
add edx, edi
push esp
pop es
js 0x4373a0
xlatb
mov ecx, dword [edx + 0x18]
mov ebx, dword [edx + 0x20]
add ebx, edi
sbb byte [ebx - 0x20fcdfa6], cl
call fcn.004351c2
invalid
Function at 0x44abce
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [ebp - 4], ecx
test esi, esi
jne 0x44abe8
call fcn.0041f940
mov esi, dword [eax + 0xc]
push dword [0x58e610]
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x44ac06
xor eax, eax
pop edi
pop esi
leave
ret 8
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp + 0xc], eax
test eax, eax
je 0x44abfe
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x44ac33
xor esi, esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop ebx
jmp 0x44ac00
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.0044aafc
mov esi, eax
jmp 0x44ac25

Function at 0x470122
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.0041d0ea
call fcn.0041225b
cmp eax, esi
pop esi
jne 0x47013e
mov ecx, 0x58d398
jmp fcn.0042147d
ret

Function at 0x4b360a
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push dword [ebp + 0xc]
mov ecx, esi
call fcn.004b32ae
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x4b3654
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.00416b95
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00415d78
jmp 0x4b365f
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.004236d8
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x4b3665
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 4]
lea eax, [ebp + 8]
push eax
push dword [ebp + 0xc]
call fcn.0041ed0d
push 0xfffffffffffffff0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x4b36a2
call fcn.004b32ae
mov dword [esi + 0xc], 1
jmp 0x4b36a7
call fcn.004b32ae
cmp dword [esi], 0
je 0x4b36f0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
jle 0x4b36c8
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.00416b95
jmp 0x4b36da
mov ecx, dword [ebp + 0x10]
push 0xff
call fcn.00401600
push 0x100
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00415d78
jmp 0x4b3714
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x4b3714
push dword [esi]
push dword [ebp + 8]
call fcn.004236d8
pop esi
pop ebp
ret 0xc
Function at 0x4e7aa8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
test byte [esi + 4], 1
push edi
mov ebx, ecx
je 0x4e7ac0
mov edi, dword [esi + 0xc]
jmp 0x4e7b00
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x4e7ad9
call fcn.004225b4
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x4e7aee
call fcn.004225b4
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x4e7b00
call fcn.004225b4
call fcn.0041f940
cmp dword [eax + 0x3c], 0
je 0x4e7b15
push edi
mov ecx, ebx
call fcn.004e695c
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.004e79c2
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x4e7b33
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
and dword [ebx + 0x7c], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x4e7b3f
mov edi, eax
mov dword [ebx + 0x7c], eax
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x509730
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x5895c0]
jne 0x50973a
repz ret
jmp fcn.00510a13
Function at 0x51bf88
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x5895c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0051043b
and dword [ebp - 0x14], 0
cmp dword [0x591d00], 0
mov dword [ebp - 0x18], eax
jne 0x51c03b
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x51c0e3
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x560a28
push ebx
call edi
test eax, eax
je 0x51c0e3
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x560a18
push ebx
mov dword [0x591d00], eax
call edi
push eax
call esi
push 0x560a04
push ebx
mov dword [0x591d04], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x591d08], eax
call edi
push eax
call esi
mov dword [0x591d10], eax
test eax, eax
je 0x51c03b
push 0x5609d0
push ebx
call edi
push eax
call esi
mov dword [0x591d0c], eax
mov eax, dword [0x591d0c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x51c094
cmp dword [0x591d10], ecx
je 0x51c094
push eax
call esi
push dword [0x591d10]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x51c094
test ebx, ebx
je 0x51c094
call edi
test eax, eax
je 0x51c08b
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x51c08b
test byte [ebp - 8], 1
jne 0x51c094
or dword [ebp + 0x10], 0x200000
jmp 0x51c0c7
mov eax, dword [0x591d04]
cmp eax, dword [ebp - 0x18]
je 0x51c0c7
push eax
call esi
test eax, eax
je 0x51c0c7
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x51c0c7
mov eax, dword [0x591d08]
cmp eax, dword [ebp - 0x18]
je 0x51c0c7
push eax
call esi
test eax, eax
je 0x51c0c7
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x591d00]
call esi
test eax, eax
je 0x51c0e3
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x51c0e5
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00509730
leave
ret
Function at 0x525a65
Capabilities:
Write file on windows

Disassembly:
push 0x24
mov eax, 0x53240b
call fcn.0050a549
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x44], ebx
je 0x525b5c
cmp byte [esi + 0x4a], bl
je 0x525b5c
mov eax, dword [esi]
mov edi, 0xffff
push edi
call dword [eax + 0xc]
movzx eax, ax
cmp di, ax
jne 0x525aa1
xor al, al
jmp 0x525b5e
push ebx
push 8
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
call fcn.0052582b
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x525aff
lea eax, [ebp - 0x2c]
mov edx, eax
mov ecx, dword [esi + 0x44]
mov edi, dword [ecx]
lea ebx, [ebp - 0x30]
push ebx
mov ebx, dword [ebp - 0x1c]
add eax, ebx
push eax
push edx
lea eax, [esi + 0x4c]
push eax
call dword [edi + 0x18]
sub eax, 0
je 0x525b04
dec eax
je 0x525b08
dec eax
dec eax
je 0x525b58
xor bl, bl
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.00407919
mov al, bl
jmp 0x525b5e
mov edx, dword [ebp - 0x2c]
jmp 0x525aca
mov byte [esi + 0x4a], 0
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x525b14
lea eax, [ebp - 0x2c]
mov edi, dword [ebp - 0x30]
sub edi, eax
je 0x525b3a
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x525b27
lea eax, [ebp - 0x2c]
push dword [esi + 0x54]
push edi
push 1
push eax
call fcn.0050f80b
add esp, 0x10
cmp edi, eax
jne 0x525aed
cmp byte [esi + 0x4a], 0
je 0x525b58
test edi, edi
jne 0x525abc
push edi
push 8
lea ecx, [ebp - 0x2c]
call fcn.00407d3a
jmp 0x525abc
mov bl, 1
jmp 0x525aef
mov al, 1
call fcn.0050a5cc
ret
Function at 0x1000a94b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
pushal
call 0x1000a95a
pop dword [ebp - 0x14]
mov eax, 0x51a6f1d2
add eax, 0xbe59b788
sub dword [ebp - 0x14], eax
push 0x40
push 0x1000
push 0x4118c
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x14]
call dword [eax]
mov ecx, 0xc30d592d
sub ecx, 0xc30d0dcb
mov esi, eax
mov edx, 0xabd4bf68
add edx, 0x642fec98
add edx, dword [ebp - 0x14]
mov edi, 0x139711aa
sub edi, 0x64f93fa1
add dword [ebp - 8], eax
mov ebx, dword [edx]
add dword [ebp - 4], ecx
sub ebx, edi
xor dword [ebp - 0x10], ebx
mov dword [esi], ebx
mov dword [ebp - 0x10], 0x8bb5fe40
add esi, 4
add edx, 0x737dfac3
sub edx, 0x737dfabf
loop 0x1000a9b4
add eax, 0x1205b
xor ebx, ebx
add ebx, eax
add eax, 0xc769931c
add eax, 0x38966ce9
mov ecx, 0x10000000
add ecx, dword [ebp - 0x14]
call ebx
leave
ret

Function at 0x1000cd31
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x424
mov eax, 0x1002cd97
call fcn.10017073
mov eax, dword [ebp + 0xc]
xor esi, esi
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x430], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], esi
mov dword [ebp - 0x418], esi
push 0x60
push esi
push ebx
mov byte [ebp - 4], 1
call dword [sym.imp.kernel32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x424], edi
test edi, edi
jne 0x1000cdae
push 2
push esi
push ebx
call dword [sym.imp.kernel32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x424], eax
test edi, edi
jne 0x1000cdae
call fcn.10005a99
mov esi, eax
jmp 0x1000ce85
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push edi
call dword [sym.imp.kernel32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
jne 0x1000cdd1
call fcn.10005a99
jmp 0x1000ce78
push ebx
push edi
call dword [sym.imp.kernel32.dll_LoadResource]
mov dword [ebp - 0x41c], eax
test eax, eax
je 0x1000cdc7
push ebx
push edi
call dword [sym.imp.kernel32.dll_SizeofResource]
mov ebx, eax
mov dword [ebp - 0x420], ebx
lea eax, [ebx + 1]
cmp eax, ebx
jae 0x1000ce01
mov esi, 0x8007000e
jmp 0x1000ce7a
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.1000a94b
jmp 0x1000ce27
cmp dword [ebp - 0x418], 0
mov dword [ebp - 4], 1
je 0x1000cdfa
push ebx
push dword [ebp - 0x418]
push ebx
push dword [ebp - 0x41c]
push esi
push 3
call dword [sym.imp.kernel32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
je 0x1000cdc7
mov eax, dword [ebp - 0x418]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x42c]
push dword [ebp - 0x418]
call fcn.1000a94b
mov esi, eax
test edi, edi
je 0x1000ce85
push edi
call dword [sym.imp.kernel32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x1000ce9e
lea ecx, [ebp - 0x418]
call fcn.1000c4af
mov eax, esi
call fcn.10016fc0
ret 0x10
Function at 0x10015217
Capabilities:
Enumerate processes

Disassembly:
push 0x238
mov eax, 0x1002d711
call fcn.10017005
mov ebx, dword [ebp + 8]
test ebx, ebx
jne 0x10015234
xor eax, eax
jmp 0x10015311
xor edi, edi
push edi
push 2
call sub.kernel32.dll_CreateToolhelp32Snapshot
mov esi, eax
test esi, esi
je 0x1001530f
lea eax, [ebp - 0x23c]
mov dword [ebp - 0x23c], 0x22c
push eax
push esi
call sub.kernel32.dll_Process32FirstW
jmp 0x100152e5
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x244]
call fcn.1000128b
push ebx
lea ecx, [ebp - 0x240]
mov dword [ebp - 4], edi
call fcn.1000128b
lea ecx, [ebp - 0x244]
mov byte [ebp - 4], 1
call fcn.10001cc6
lea ecx, [ebp - 0x240]
call fcn.10001cc6
lea eax, [ebp - 0x244]
push eax
lea eax, [ebp - 0x240]
push eax
call fcn.1000a94b
pop ecx
pop ecx
mov ecx, dword [ebp - 0x240]
lea ecx, [ecx - 0x10]
test al, al
jne 0x100152ef
call fcn.10001eb4
mov ecx, dword [ebp - 0x244]
or dword [ebp - 4], 0xffffffff
lea ecx, [ecx - 0x10]
call fcn.10001eb4
lea eax, [ebp - 0x23c]
push eax
push esi
call sub.kernel32.dll_Process32NextW
test eax, eax
jne 0x10015264
jmp 0x10015308
mov edi, dword [ebp - 0x234]
call fcn.10001eb4
mov ecx, dword [ebp - 0x244]
add ecx, 0xfffffff0
call fcn.10001eb4
push esi
call dword [sym.imp.kernel32.dll_CloseHandle]
mov eax, edi
call fcn.10016faf
ret

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 0x10001150
Capabilities:
Resolve function by parsing pe exports
Terminate thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xa8
mov eax, esp
mov dword [eax], 0x9c7be4
mov eax, dword [sym.imp.KERNEL32.dll_GetThreadPriority]
call eax
sub esp, 4
mov ecx, esp
mov dword [ecx + 4], 0x1ff
mov dword [ecx], 0x527f16
mov ecx, dword [sym.imp.KERNEL32.dll_TerminateThread]
mov dword [esp + 0x6c], eax
call ecx
sub esp, 8
xor ecx, ecx
lea edx, [esp + 0x78]
mov dword [esp + 0x68], eax
mov dword [esp + 0x64], edx
mov dword [esp + 0x60], ecx
jmp 0x1000122f
mov eax, dword [esp + 0x5c]
mov ecx, 0x12
mov dword [esp + 0x58], eax
xor edx, edx
div ecx
cmp edx, 0
je 0x1000129d
mov eax, dword [esp + 0x58]
add eax, 1
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x54]
cmp eax, 0x7d
mov dword [esp + 0x5c], eax
je 0x10001264
jmp 0x100011a3
xor eax, eax
mov ecx, 0x30
mov edx, dword [esp + 0x64]
mov dword [esp], edx
mov dword [esp + 4], 0
mov dword [esp + 8], 0x30
mov dword [esp + 0x50], eax
mov dword [esp + 0x4c], ecx
call fcn.10001a50
mov eax, esp
lea ecx, [esp + 0x78]
mov dword [eax + 4], ecx
mov dword [eax], 0x5df
mov eax, dword [sym.imp.USER32.dll_GetGUIThreadInfo]
call eax
sub esp, 8
mov dword [esp + 0x48], eax
jmp 0x100012bb
mov eax, dword [esp + 0x60]
xor ecx, ecx
mov dword [esp + 0x44], eax
mov dword [esp + 0x5c], ecx
jmp 0x100011a3
mov eax, dword [esp + 0x44]
add eax, 1
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x40]
cmp eax, 0xa1
mov dword [esp + 0x60], eax
je 0x10001361
jmp 0x1000122f
xor eax, eax
xor ecx, ecx
mov edx, dword [esp + 0x44]
sub edx, 0xe
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], ecx
mov dword [esp + 0x34], edx
je 0x100012bb
jmp 0x1000127f
mov eax, dword [esp + 0x44]
sub eax, 0x4b
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], ecx
je 0x100011e2
jmp 0x10001326
mov eax, esp
mov dword [eax + 4], 0xa72
mov dword [eax], 0xa72
mov eax, dword [sym.imp.USER32.dll_SetLastErrorEx]
call eax
sub esp, 8
jmp 0x100011c0
mov eax, 0x7e0e7d
mov dword [esp + 0x74], eax
mov dword [esp + 0x70], 0xd0c
mov eax, esp
lea ecx, [esp + 0x70]
mov dword [eax + 0x10], ecx
lea ecx, [esp + 0x74]
mov dword [eax + 0xc], ecx
mov dword [eax + 8], 0x45b
mov dword [eax + 4], 0xa03
mov dword [eax], 0xa03
mov eax, dword [sym.imp.ole32.dll_CoWaitForMultipleHandles]
call eax
sub esp, 0x14
mov ecx, esp
mov dword [ecx], 0xe04
mov ecx, dword [sym.imp.USER32.dll_AllowSetForegroundWindow]
mov dword [esp + 0x28], eax
call ecx
sub esp, 4
mov ecx, dword [sym.imp.KERNEL32.dll_GetSystemDefaultLCID]
mov dword [esp + 0x24], eax
call ecx
mov dword [esp + 0x20], eax
jmp 0x10001242
mov eax, dword [esp + 0x2c]
mov ecx, esp
mov dword [ecx], 0xf9e689
mov ecx, dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
mov dword [esp + 0x1c], eax
call ecx
sub esp, 4
mov ecx, dword [esp + 0x1c]
add ecx, 1
cmp ecx, 0xa
mov dword [esp + 0x18], eax
mov dword [esp + 0x2c], ecx
je 0x10001242
jmp 0x10001326
mov esp, ebp
pop ebp
ret

Function at 0x10001e8c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x100d2d10]
jne 0x10001e96
repz ret
jmp fcn.1000213d
Function at 0x10002750
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov dword [0x100d2cec], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov byte [0x100d2cf0], 0
mov dword [0x100d2ce0], 0x223a
mov dword [0x100d2ce8], 0
jmp 0x1000279e
mov dword [0x100d2ce8], 0
jmp 0x100027cf
mov dword [0x100d2ce0], 0x23f6
mov eax, dword [0x100d2ce8]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x100d2ce8]
add eax, 1
mov dword [0x100d2ce8], eax
cmp eax, 0x100
jl 0x1000279e
jmp 0x10002792
mov eax, 0x100
mov dword [0x100d2cf4], 0
mov ecx, dword [0x100d2cec]
mov edx, dword [0x100d2ce8]
mov esi, dword [ebp - 0x18]
movzx edi, byte [esi + edx]
add edi, ecx
mov dword [ebp - 0x1c], eax
mov eax, edx
xor edx, edx
mov ecx, dword [ebp - 0x10]
div ecx
mov ebx, dword [ebp - 0x14]
movzx edx, byte [ebx + edx]
add edi, edx
mov dword [0x100d2cf4], edi
mov eax, edi
cdq
mov edi, dword [ebp - 0x1c]
idiv edi
mov dword [0x100d2cec], edx
mov dword [0x100d2ce0], 0x9d4
mov edx, dword [0x100d2ce8]
mov cl, byte [esi + edx]
mov byte [0x100d2cf0], cl
mov dword [0x100d2ce0], 0xfffff859
mov edx, dword [0x100d2cec]
mov cl, byte [esi + edx]
mov edx, dword [0x100d2ce8]
mov byte [esi + edx], cl
mov dword [0x100d2ce0], 0x1f37
mov cl, byte [0x100d2cf0]
mov edx, dword [0x100d2cec]
mov byte [esi + edx], cl
mov edx, dword [0x100d2ce0]
add edx, 0xfffffbe3
mov dword [0x100d2ce0], edx
mov edx, dword [0x100d2ce8]
add edx, 1
mov dword [0x100d2ce8], edx
cmp edx, 0x100
jl 0x100027cf
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x10002f60
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, 0x2a
lea ecx, [fcn.10002f60]
mov dword [ebp - 4], eax
mov dword [ebp - 8], ecx
jmp 0x10002f89
mov eax, dword [ebp - 0xc]
mov dword [0x100d2ce0], eax
mov eax, dword [ebp - 0x10]
add esp, 0x10
pop ebp
ret
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
cmp word [eax], 0x5a4d
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], ecx
jne 0x10002fab
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
je 0x10002f79
mov eax, 0x1e0d
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffff000
and ecx, 0xfffff000
mov dword [ebp - 4], eax
mov dword [ebp - 8], ecx
jmp 0x10002f89
Function at 0x10003720
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x2c
mov dword [ebp - 8], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 8], eax
xor ecx, ecx
mov dword [0x100d2ce0], 0x6a9
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [0x100d2ce4], 0x9a7
mov esi, dword [0x100d2ce0]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], ecx
jmp 0x100037e6
mov eax, dword [ebp - 0x1c]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x18], eax
jl 0x100037e6
jmp 0x100037b7
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x28]
cmp word [eax + ecx*2 - 0x18], 0x6f
je 0x1000380d
jmp 0x100037dc
mov eax, 1
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x28]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x2c], eax
je 0x1000387a
jmp 0x100037dc
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
mov dword [0x100d2ce0], ecx
mov dword [0x100d2ce4], 0x85f
mov edx, dword [ebp - 0x14]
cmp word [edx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x28], eax
je 0x10003789
xor eax, eax
mov dword [ebp - 0x2c], eax
jmp 0x1000387a
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffbee
mov edx, dword [ebp - 0x14]
cmp word [edx + eax*2], 0
mov esi, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], esi
je 0x100037b7
jmp 0x1000376a
mov dword [0x100d2ce4], 0x18d
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x28]
cmp word [eax + ecx*2 - 0x16], 0x61
jne 0x100037dc
mov dword [0x100d2ce4], 0xfffff24c
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x28]
cmp word [eax + ecx*2 - 0x14], 0x64
jne 0x100037dc
mov dword [0x100d2ce0], 0x144b
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x28]
cmp word [eax + ecx*2 - 0x12], 0x64
jne 0x100037dc
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x28]
mov dx, word [eax + ecx*2 - 0x10]
mov word [ebp - 0x2e], dx
mov ax, word [ebp - 0x2e]
cmp ax, 0x6c
je 0x1000379a
jmp 0x100037dc
mov eax, dword [ebp - 0x2c]
add esp, 0x2c
pop esi
pop ebp
ret