joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10070848
Capabilities:
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 9
push esi
mov esi, ecx
je 0x10070872
cmp dword [ebp + 0xc], 0xd
je 0x1007086e
cmp dword [ebp + 0xc], 0x1b
jne 0x10070866
push 0
jmp 0x10070888
mov eax, dword [ebp + 0x14]
and dword [eax], 0
jmp 0x1007088d
push 1
jmp 0x10070888
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
xor ecx, ecx
test ax, ax
sets cl
add ecx, 3
push ecx
mov ecx, esi
call fcn.1002f923
xor eax, eax
pop esi
pop ebp
ret 0x10

Function at 0x100714ae
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x30
mov eax, 0x1008ce2b
call fcn.100853c9
mov ebx, ecx
mov dword [ebp - 0x38], ebx
mov edi, dword [ebp + 8]
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x34], edi
mov ecx, dword [edi]
and dword [ebx + 8], 0
mov dword [ebx + 4], 0x10002610
mov dword [ebx], 0x1000388c
mov dword [ebx + 4], 0x10003888
mov dword [ebx + 0xc], ecx
test ecx, ecx
je 0x100714f8
mov eax, dword [ecx]
push ecx
mov esi, dword [eax]
mov ecx, esi
call dword [0x100a0bc0]
call esi
and dword [ebp - 4], 0
push 2
pop esi
mov dword [ebx], 0x10003850
mov dword [ebx + 4], 0x1000384c
mov dword [ebx + 0x10], esi
mov byte [ebx + 0x14], 0
mov dword [ebx + 0x18], 0x10002610
call fcn.1007c8f0
mov byte [ebx + 0x1c], al
mov eax, dword [edi + 0x18]
mov dword [ebx + 0x20], eax
mov eax, dword [edi + 0x1c]
mov dword [ebx + 0x24], eax
mov eax, dword [edi + 0x20]
push 0x32
pop ecx
cmp eax, 0xffffffff
jne 0x10071542
mov eax, dword [edi + 0x18]
xor edx, edx
div ecx
add eax, esi
mov dword [ebx + 0x28], eax
mov eax, dword [edi + 0x24]
cmp eax, 0xffffffff
jne 0x10071556
mov eax, dword [edi + 0x1c]
xor edx, edx
div ecx
add eax, esi
mov dword [ebx + 0x2c], eax
mov eax, dword [edi + 0x14]
mov dword [ebx + 0x30], eax
xor eax, eax
mov dword [ebx + 0x34], eax
mov dword [ebx + 0x38], eax
mov dword [ebx + 0x3c], eax
mov dword [ebx + 0x40], eax
mov eax, dword [ebx + 0x20]
cmp eax, dword [ebx + 0x24]
ja 0x10071578
mov eax, dword [ebx + 0x24]
push eax
lea ecx, [ebx + 0x48]
call fcn.1006b528
mov byte [ebp - 4], 3
lea edi, [ebx + 0x78]
mov dword [ebp - 0x38], edi
call dword [sym.imp.PhotoBase.dll_public:_static_class_ATL::CAtlStringMgr____stdcall_Base::String::GetBaseStringManager_void_]
push eax
lea ecx, [edi + 8]
call fcn.10015daa
mov byte [ebp - 4], 4
mov ecx, edi
mov eax, dword [ebp - 0x34]
add eax, 4
push eax
call fcn.10071319
lea eax, [ebp - 0x38]
mov dword [ebp - 0x38], 4
push eax
lea eax, [ebp - 0x34]
xor esi, esi
push eax
push esi
push 0x10
push 0x10010dfc
push 0x10010e18
push SysReAllocString
mov dword [ebp - 0x34], esi
call dword [sym.imp.SHLWAPI.dll_SHRegGetValueW]
test eax, eax
jne 0x100715e5
cmp dword [ebp - 0x34], esi
jne 0x1007160a
mov eax, esi
jmp 0x1007160d
push 8
pop ecx
xor eax, eax
lea edi, [ebp - 0x30]
push esi
rep stosd dword es:[edi], eax
push 0x800000
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.SHELL32.dll_SHGetSetSettings]
test byte [ebp - 0x14], 8
je 0x1007160a
xor eax, eax
inc eax
jmp 0x1007160d
push 2
pop eax
mov dword [ebx + 0x10], eax
mov eax, ebx
call fcn.10085378
ret 4
Function at 0x10084ac0
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 0x10084afe
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x10084af6
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x10084b00
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x10084ae6
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x10084bd0
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 0x10084be6
xor eax, eax
pop ebp
ret
mov ecx, dword [eax + 0x3c]
add ecx, eax
xor eax, eax
cmp dword [ecx], 0x4550
jne 0x10084c01
mov edx, 0x10b
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret

Function at 0x60c2a7
Capabilities:
Encode data using xor

Disassembly:
xchg ebp, eax
sbb dword [esi - 0x185cfadb], esi
mov dword [0x92d915e7], eax
sal byte [esp + eax*8 + 0x3013af84], 0x30
outsd dx, dword [esi]
cmp edi, edi
jo 0x60c2c1
pop esi
neg byte [esi - 0x20]
add eax, 0xbd813c11
salc
invalid
cmp dword [ebp + 0x4e3b8ed6], 0x2d520971
xor eax, 0xd9b19e4d
inc esp
invalid
ja 0x60c2a2
cmpsb byte [esi], byte es:[edi]
inc ebp
adc dh, byte [ecx - 0x18320f21]
mov esp, 0x762b3405
in eax, 0xf1
inc eax
push 0x8073f125
add byte [edi + 0x1c32323b], cl
mov eax, dword [0xa396f2f8]
popfd
mov esp, 0xbf843bf7
invalid

Function at 0x65999d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x6623a8
cmp edx, dword [eax]
je 0x6599bf
add eax, 8
inc ecx
cmp eax, 0x662438
jl 0x6599b0
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x6623a8]
jne 0x659aed
mov eax, dword [0xa5dd0c]
cmp eax, 1
je 0x659ac7
test eax, eax
jne 0x6599f0
cmp dword [0x6622d4], 1
je 0x659ac7
cmp edx, 0xfc
je 0x659aed
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x659a27
lea eax, [ebp - 0x1a4]
push 0x65eaa8
push eax
call fcn.0065a380
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0065a810
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x659a6a
lea eax, [ebp - 0x1a4]
push eax
call fcn.0065a810
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x65eaa4
push edi
call fcn.0065c6e0
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x65ea88
push eax
call fcn.0065a380
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0065a390
lea eax, [ebp - 0xa0]
push 0x65ea84
push eax
call fcn.0065a390
push dword [esi + 0x6623ac]
lea eax, [ebp - 0xa0]
push eax
call fcn.0065a390
push 0x12010
lea eax, [ebp - 0xa0]
push 0x65ea5c
push eax
call fcn.0065c654
add esp, 0x2c
pop edi
jmp 0x659aed
lea eax, [ebp + 8]
lea esi, [esi + 0x6623ac]
push 0
push eax
push dword [esi]
call fcn.0065a810
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]
pop esi
leave
ret
Function at 0x503b8c
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
mov ecx, ebp
push ebp
mov ebp, esp
mov dword [0x505076], ecx
call dword [sym.imp.KERNEL32.DLL_GetCommandLineA]
mov dword [0x505298], eax
mov dword [0x505220], 0x503376
mov dword [0x50521c], 2
jmp 0x503bbc
mov dword [0x505224], 0
mov dword [0x505228], 0
mov dword [0x505218], 0x30
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
mov dword [0x50522c], eax
mov dword [0x505240], 0x50408c
mov dword [0x505238], 0xf
mov dword [0x50506e], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x505230], eax
mov dword [0x505244], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x505234], eax
push 0x505218
call dword [sym.imp.user32.dll_RegisterClassExA]
push 0
push dword [0x50506e]
push 0
push 0
push 0x1e5
push 0x21e
push 0xffffe52a
push 0xfffff588
push 0x40000
push str.wait
push str.aroka
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x505290], eax
push 5
push dword [0x505290]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x505290]
call dword [sym.imp.user32.dll_UpdateWindow]
jmp 0x503c8f
push 0
push 0
push 0
push 0x505248
call dword [sym.imp.user32.dll_GetMessageA]
or eax, eax
je 0x503cbc
push 0x505248
call dword [sym.imp.user32.dll_TranslateMessage]
push 0x505248
call dword [sym.imp.user32.dll_DispatchMessageA]
jmp 0x503c8f
mov eax, dword [0x505250]
jmp 0x503cc9
jmp 0x50a8ec
Function at 0x401384
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov eax, 0x6b
mov word [ebp - 0x24], ax
mov ecx, 0x65
mov word [ebp - 0x22], cx
mov edx, 0x72
mov word [ebp - 0x20], dx
mov eax, 0x6e
mov word [ebp - 0x1e], ax
mov ecx, 0x65
mov word [ebp - 0x1c], cx
mov edx, 0x6c
mov word [ebp - 0x1a], dx
mov eax, 0x33
mov word [ebp - 0x18], ax
mov ecx, 0x32
mov word [ebp - 0x16], cx
mov edx, 0x2e
mov word [ebp - 0x14], dx
mov eax, 0x64
mov word [ebp - 0x12], ax
mov ecx, 0x6c
mov word [ebp - 0x10], cx
mov edx, 0x6c
mov word [ebp - 0xe], dx
xor eax, eax
mov word [ebp - 0xc], ax
mov dword [ebp - 4], 0
mov ebx, dword fs:[0x30]
mov ebx, dword [ebx + 0xc]
mov ebx, dword [ebx + 0x14]
mov eax, dword [ebx + 0x28]
test eax, eax
je 0x401438
mov dword [ebp - 8], eax
lea ecx, [ebp - 0x24]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.00401314
add esp, 8
cmp eax, 0
mov eax, dword [ebx + 0x10]
mov ebx, dword [ebx]
jne 0x401411
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop ebx
mov esp, ebp
pop ebp
ret

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

Disassembly:
sub esp, 0x14
push ebp
push edi
mov edi, ecx
mov ebp, edx
test edi, edi
je 0x40145f
test ebp, ebp
je 0x40145f
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi + 0x7c], 0
jne 0x401467
pop edi
xor eax, eax
pop ebp
add esp, 0x14
ret
mov eax, dword [eax + edi + 0x78]
add eax, edi
push ebx
mov ecx, dword [eax + 0x20]
mov edx, dword [eax + 0x24]
mov ebx, dword [eax + 0x14]
add ecx, edi
mov dword [esp + 0x10], ecx
push esi
mov esi, dword [eax + 0x1c]
mov ecx, ebp
sub ecx, dword [eax + 0x10]
add esi, edi
add edx, edi
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], edx
mov dword [esp + 0x10], ebx
cmp ecx, ebx
ja 0x4014a7
mov eax, dword [esi + ecx*4]
pop esi
pop ebx
add eax, edi
pop edi
pop ebp
add esp, 0x14
ret
mov eax, dword [eax + 0x18]
xor esi, esi
mov dword [esp + 0x18], eax
test eax, eax
je 0x401503
mov ecx, ebx
movzx ebx, word [edx + esi*2]
cmp ebx, ecx
ja 0x4014fe
mov eax, dword [esp + 0x14]
mov ecx, ebp
mov eax, dword [eax + esi*4]
add eax, edi
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x4014e9
test dl, dl
je 0x4014e5
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x4014e9
add ecx, 2
add eax, 2
test dl, dl
jne 0x4014c9
xor eax, eax
jmp 0x4014ee
sbb eax, eax
or eax, 1
test eax, eax
je 0x40150d
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
inc esi
cmp esi, eax
jb 0x4014b6
pop esi
pop ebx
pop edi
xor eax, eax
pop ebp
add esp, 0x14
ret
mov eax, dword [esp + 0x20]
pop esi
mov eax, dword [eax + ebx*4]
pop ebx
add eax, edi
pop edi
pop ebp
add esp, 0x14
ret
Function at 0x401524
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x10
push ebx
push edi
mov edi, edx
mov ebx, ecx
call fcn.00401384
test eax, eax
jne 0x40153c
pop edi
pop ebx
add esp, 0x10
ret
push esi
lea edx, [esp + 0xc]
mov ecx, eax
mov dword [esp + 0xc], 0x74726956
mov dword [esp + 0x10], 0x416c6175
mov dword [esp + 0x14], 0x636f6c6c
mov byte [esp + 0x18], 0
call fcn.00401444
mov esi, eax
test esi, esi
jne 0x401572
pop esi
pop edi
pop ebx
add esp, 0x10
ret
push 0x40
push 0x3000
push edi
push ebx
call esi
test eax, eax
jne 0x40158c
push 0x40
push 0x3000
push edi
push eax
call esi
pop esi
pop edi
pop ebx
add esp, 0x10
ret
Function at 0x401684
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x44
push esi
push edi
mov dword [esp + 0x1c], edx
mov edi, ecx
call fcn.00401384
mov esi, eax
test esi, esi
jne 0x4016a2
pop edi
xor eax, eax
pop esi
add esp, 0x44
ret
lea edx, [esp + 0x38]
mov ecx, esi
mov dword [esp + 0x38], 0x64616f4c
mov dword [esp + 0x3c], 0x7262694c
mov dword [esp + 0x40], 0x41797261
mov byte [esp + 0x44], 0
call fcn.00401444
mov dword [esp + 0x18], eax
test eax, eax
je 0x40169a
lea edx, [esp + 0x38]
mov ecx, esi
mov dword [esp + 0x38], 0x65657246
mov dword [esp + 0x3c], 0x7262694c
mov dword [esp + 0x40], 0x797261
call fcn.00401444
mov dword [esp + 0x34], eax
test eax, eax
je 0x40169a
lea edx, [esp + 0x38]
mov ecx, esi
mov dword [esp + 0x38], 0x50746547
mov dword [esp + 0x3c], 0x41636f72
mov dword [esp + 0x40], 0x65726464
mov word [esp + 0x44], 0x7373
mov byte [esp + 0x46], 0
call fcn.00401444
mov dword [esp + 0x28], eax
test eax, eax
je 0x40169a
lea edx, [esp + 0x38]
mov ecx, esi
mov dword [esp + 0x38], 0x4d746547
mov dword [esp + 0x3c], 0x6c75646f
mov dword [esp + 0x40], 0x6e614865
mov dword [esp + 0x44], 0x41656c64
mov byte [esp + 0x48], 0
call fcn.00401444
mov dword [esp + 0x30], eax
test eax, eax
je 0x40169a
mov eax, dword [edi + 0x3c]
push ebx
cmp dword [eax + edi + 0x84], 0
push ebp
je 0x401869
mov ecx, dword [eax + edi + 0x80]
add ecx, edi
xor esi, esi
lea ebx, [ecx + 0xc]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x10], esi
cmp dword [ebx], esi
je 0x401869
mov eax, ebx
mov ebp, ecx
mov eax, dword [eax]
add eax, edi
push eax
mov dword [esp + 0x2c], eax
call dword [esp + 0x24]
mov dword [esp + 0x2c], eax
mov eax, dword [ebp]
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x4017cc
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x1c], eax
add eax, edi
mov dword [esp + 0x14], 0
cmp dword [eax], 0
je 0x40184d
mov dword [esp + 0x18], 0
nop
mov eax, dword [eax]
test eax, eax
jns 0x4017ef
movzx esi, ax
jmp 0x4017f4
lea esi, [edi + 2]
add esi, eax
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x401813
push dword [esp + 0x58]
and eax, 0x80000000
push eax
push esi
push dword [esp + 0x34]
call ecx
mov ecx, eax
test ecx, ecx
jne 0x401822
push esi
push dword [esp + 0x30]
call dword [esp + 0x38]
mov ecx, eax
test ecx, ecx
je 0x401876
mov eax, dword [ebp + 0x10]
add eax, dword [esp + 0x18]
mov dword [eax + edi], ecx
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
inc ecx
mov dword [esp + 0x14], ecx
shl ecx, 2
add eax, ecx
add eax, edi
mov dword [esp + 0x18], ecx
cmp dword [eax], 0
jne 0x4017e4
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x34]
inc esi
mov dword [esp + 0x10], esi
lea eax, [esi + esi*4]
lea ebp, [ecx + eax*4]
cmp dword [ebp + 0xc], 0
lea eax, [ebp + 0xc]
jne 0x4017a9
pop ebp
pop ebx
pop edi
mov eax, 1
pop esi
add esp, 0x44
ret
cmp dword [ebx], 0
je 0x40189f
mov esi, dword [esp + 0x10]
xor ebp, ebp
lea ecx, [ecx]
cmp ebp, esi
ja 0x40189f
mov eax, dword [ebx]
add eax, edi
push eax
call dword [esp + 0x3c]
push eax
call dword [esp + 0x40]
add ebx, 0x14
inc ebp
cmp dword [ebx], 0
jne 0x401884
pop ebp
pop ebx
pop edi
xor eax, eax
pop esi
add esp, 0x44
ret
Function at 0x4018b4
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x18
push esi
push edi
mov edi, ecx
call fcn.00401384
mov esi, eax
test esi, esi
je 0x401970
push ebp
lea edx, [esp + 0x10]
mov ecx, esi
mov dword [esp + 0x10], 0x65657246
mov dword [esp + 0x14], 0x7262694c
mov dword [esp + 0x18], 0x797261
call fcn.00401444
mov ebp, eax
test ebp, ebp
je 0x40196f
lea edx, [esp + 0x10]
mov ecx, esi
mov dword [esp + 0x10], 0x4d746547
mov dword [esp + 0x14], 0x6c75646f
mov dword [esp + 0x18], 0x6e614865
mov dword [esp + 0x1c], 0x41656c64
mov byte [esp + 0x20], 0
call fcn.00401444
mov edx, eax
mov dword [esp + 0xc], edx
test edx, edx
je 0x40196f
mov ecx, dword [edi + 0x3c]
cmp dword [ecx + edi + 0x84], 0
je 0x40196f
push ebx
mov ebx, dword [ecx + edi + 0x80]
add ebx, edi
xor esi, esi
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x40196e
lea ebx, [ebx]
add eax, edi
push eax
call edx
push eax
call ebp
mov edx, dword [esp + 0x10]
lea esi, [esi + 1]
lea eax, [esi + esi*4]
mov eax, dword [ebx + eax*4 + 0xc]
test eax, eax
jne 0x401954
pop ebx
pop ebp
pop edi
pop esi
add esp, 0x18
ret

Function at 0x402129
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp + 0xc], eax
jmp 0x402139
sub esp, 0x20
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
cmp dword [ebp + 8], 0
jle 0x402247
mov eax, dword [ebp + 8]
mov eax, dword [eax]
cwde
call fcn.00402257
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x5a4d
jne 0x402247
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x3c]
add eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call fcn.00402257
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x4550
jne 0x402247
pop eax
push eax
mov eax, dword [eax + 0x7c]
call fcn.00402257
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x402247
pop eax
mov eax, dword [eax + 0x78]
add eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
push eax
mov eax, dword [eax + 0x20]
add eax, dword [ebp + 8]
mov eax, dword [eax]
add eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
pop eax
mov eax, dword [eax + 0x18]
dec eax
mov dword [ebp - 4], eax
push dword [ebp - 4]
lea eax, [ebp - 4]
mov ebx, eax
mov ecx, 0
pop edx
push edx
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, edx
jg 0x402244
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
push dword [ebp + 0xc]
push dword [ebp - 8]
call fcn.0040226a
test eax, eax
je 0x402233
push ecx
mov eax, dword [ebp - 0x10]
lea eax, [eax + 0x1c]
mov eax, dword [eax]
add eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
lea eax, [eax + ecx*4]
mov eax, dword [eax]
add eax, dword [ebp + 8]
pop ecx
leave
ret 8
push dword [ebp - 8]
call fcn.0040229e
add dword [ebp - 0xc], eax
pop ebx
pop ecx
pop edx
inc ecx
jmp 0x4021ee
add esp, 0xc
mov eax, 0
jmp 0x402251
mov esp, ebp
pop ebp
ret 8
Function at 0x41c8b7
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push ebx
xor eax, eax
mov ebx, dword fs:[0x18]
mov ecx, dword fs:[0x30]
test ecx, ecx
jns 0x41c8ef
mov ecx, 0x530000
cmp dword [ebx + 0x58], ecx
jne 0x41c8dd
mov al, 1
jmp 0x41c94e
cmp dword [ebx + 0x54], ecx
jne 0x41c8e6
mov al, 2
jmp 0x41c94e
cmp dword [ebx + 0x7c], ecx
jne 0x41c94e
mov al, 3
jmp 0x41c94e
mov ebx, dword [ecx + 0xa8]
mov ecx, dword [ecx + 0xa4]
cmp ecx, 4
ja 0x41c904
mov al, 4
jmp 0x41c94e
cmp ecx, 5
jne 0x41c924
cmp ebx, 0
jne 0x41c912
mov al, 5
jmp 0x41c94e
cmp ebx, 1
jne 0x41c91b
mov al, 6
jmp 0x41c94e
cmp ebx, 2
jne 0x41c924
mov al, 7
jmp 0x41c94e
cmp ecx, 6
jne 0x41c94c
cmp ebx, 0
jne 0x41c932
mov al, 8
jmp 0x41c94e
cmp ebx, 1
jne 0x41c939
mov al, 9
cmp ebx, 2
jne 0x41c940
mov al, 0xa
cmp ebx, 3
jne 0x41c947
mov al, 0xb
cmp ebx, 4
jne 0x41c94e
mov al, 0xc
pop ebx
leave
ret
Function at 0x41ea68
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov eax, 0x6b
mov word [ebp - 0x24], ax
mov ecx, 0x65
mov word [ebp - 0x22], cx
mov edx, 0x72
mov word [ebp - 0x20], dx
mov eax, 0x6e
mov word [ebp - 0x1e], ax
mov ecx, 0x65
mov word [ebp - 0x1c], cx
mov edx, 0x6c
mov word [ebp - 0x1a], dx
mov eax, 0x33
mov word [ebp - 0x18], ax
mov ecx, 0x32
mov word [ebp - 0x16], cx
mov edx, 0x2e
mov word [ebp - 0x14], dx
mov eax, 0x64
mov word [ebp - 0x12], ax
mov ecx, 0x6c
mov word [ebp - 0x10], cx
mov edx, 0x6c
mov word [ebp - 0xe], dx
xor eax, eax
mov word [ebp - 0xc], ax
mov dword [ebp - 4], 0
mov ebx, dword fs:[0x30]
mov ebx, dword [ebx + 0xc]
mov ebx, dword [ebx + 0x14]
mov eax, dword [ebx + 0x28]
test eax, eax
je 0x41eb1c
mov dword [ebp - 8], eax
lea ecx, [ebp - 0x24]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.0041e9f8
add esp, 8
cmp eax, 0
mov eax, dword [ebx + 0x10]
mov ebx, dword [ebx]
jne 0x41eaf5
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop ebx
mov esp, ebp
pop ebp
ret

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

Disassembly:
sub esp, 0x14
push ebp
push edi
mov edi, ecx
mov ebp, edx
test edi, edi
je 0x41eb43
test ebp, ebp
je 0x41eb43
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi + 0x7c], 0
jne 0x41eb4b
pop edi
xor eax, eax
pop ebp
add esp, 0x14
ret
mov eax, dword [eax + edi + 0x78]
add eax, edi
push ebx
mov ecx, dword [eax + 0x20]
mov edx, dword [eax + 0x24]
mov ebx, dword [eax + 0x14]
add ecx, edi
mov dword [esp + 0x10], ecx
push esi
mov esi, dword [eax + 0x1c]
mov ecx, ebp
sub ecx, dword [eax + 0x10]
add esi, edi
add edx, edi
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], edx
mov dword [esp + 0x10], ebx
cmp ecx, ebx
ja 0x41eb8b
mov eax, dword [esi + ecx*4]
pop esi
pop ebx
add eax, edi
pop edi
pop ebp
add esp, 0x14
ret
mov eax, dword [eax + 0x18]
xor esi, esi
mov dword [esp + 0x18], eax
test eax, eax
je 0x41ebe7
mov ecx, ebx
movzx ebx, word [edx + esi*2]
cmp ebx, ecx
ja 0x41ebe2
mov eax, dword [esp + 0x14]
mov ecx, ebp
mov eax, dword [eax + esi*4]
add eax, edi
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x41ebcd
test dl, dl
je 0x41ebc9
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x41ebcd
add ecx, 2
add eax, 2
test dl, dl
jne 0x41ebad
xor eax, eax
jmp 0x41ebd2
sbb eax, eax
or eax, 1
test eax, eax
je 0x41ebf1
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
inc esi
cmp esi, eax
jb 0x41eb9a
pop esi
pop ebx
pop edi
xor eax, eax
pop ebp
add esp, 0x14
ret
mov eax, dword [esp + 0x20]
pop esi
mov eax, dword [eax + ebx*4]
pop ebx
add eax, edi
pop edi
pop ebp
add esp, 0x14
ret
Function at 0x41ec08
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x10
push ebx
push edi
mov edi, edx
mov ebx, ecx
call fcn.0041ea68
test eax, eax
jne 0x41ec20
pop edi
pop ebx
add esp, 0x10
ret
push esi
lea edx, [esp + 0xc]
mov ecx, eax
mov dword [esp + 0xc], 0x74726956
mov dword [esp + 0x10], 0x416c6175
mov dword [esp + 0x14], 0x636f6c6c
mov byte [esp + 0x18], 0
call fcn.0041eb28
mov esi, eax
test esi, esi
jne 0x41ec56
pop esi
pop edi
pop ebx
add esp, 0x10
ret
push 0x40
push 0x3000
push edi
push ebx
call esi
test eax, eax
jne 0x41ec70
push 0x40
push 0x3000
push edi
push eax
call esi
pop esi
pop edi
pop ebx
add esp, 0x10
ret