joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1004b4a0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, ecx
mov eax, 0x1fffffff
bsr ecx, eax
push esi
push edi
mov edi, 1
mov dword [ebp - 8], ebx
mov eax, edi
shl eax, cl
mov ecx, dword [ebp + 8]
cmp ecx, eax
ja 0x1004b5f9
lea eax, [ecx - 1]
mov esi, dword [ebx + 4]
or eax, edi
mov dword [ebp - 0xc], esi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
lea ecx, [ebx + 0xc]
lea eax, [edi + edi]
push eax
call fcn.1004b260
lea eax, [edi - 1]
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x18], eax
mov eax, dword [ebx + 4]
mov eax, dword [eax]
mov ecx, eax
cmp eax, esi
je 0x1004b5cc
movzx edx, byte [eax + 8]
xor edx, 0x811c9dc5
mov ecx, dword [ecx]
imul edi, edx, 0x1000193
movzx edx, byte [eax + 9]
xor edi, edx
movzx edx, byte [eax + 0xa]
imul edi, edi, 0x1000193
xor edi, edx
movzx edx, byte [eax + 0xb]
imul edi, edi, 0x1000193
xor edi, edx
mov edx, dword [ebx + 0xc]
imul edi, edi, 0x1000193
and edi, dword [ebx + 0x18]
lea edx, [edx + edi*8]
mov edi, dword [edx]
mov dword [ebp - 0x10], edx
cmp edi, esi
jne 0x1004b551
mov dword [edx], eax
mov dword [edx + 4], eax
jmp 0x1004b5c2
mov edx, dword [edx + 4]
mov ebx, dword [eax + 8]
cmp ebx, dword [edx + 8]
jne 0x1004b58b
mov edx, dword [edx]
mov dword [ebp - 4], edx
cmp edx, eax
je 0x1004b583
mov ebx, dword [eax + 4]
mov esi, dword [ebp - 4]
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov esi, dword [ebp - 0xc]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x10]
mov dword [edx + 4], eax
jmp 0x1004b5bf
cmp edi, edx
je 0x1004b59c
nop
mov edx, dword [edx + 4]
cmp ebx, dword [edx + 8]
je 0x1004b5d5
cmp edi, edx
jne 0x1004b590
mov ebx, dword [eax + 4]
mov dword [ebp - 4], ebx
mov dword [ebx], ecx
mov ebx, dword [ecx + 4]
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov dword [edx + 4], ebx
mov edx, dword [ebp - 4]
mov dword [ecx + 4], edx
mov edx, dword [ebp - 0x10]
mov dword [eax + 4], edi
mov dword [edx], eax
mov ebx, dword [ebp - 8]
mov eax, ecx
cmp ecx, esi
jne 0x1004b502
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [eax + 4]
mov edx, dword [edx]
mov dword [ebp - 4], edx
mov esi, edx
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov esi, dword [ebp - 0xc]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
jmp 0x1004b5bf
push str.invalid_hash_bucket_count
call sub.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__
int3
Function at 0x1004d520
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x1004d52e
mov al, 1
pop ebp
ret
cmp eax, 1
jne 0x1004d544
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
setne al
pop ebp
ret
cmp eax, 2
jne 0x1004d558
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
setne al
pop ebp
ret

Function at 0x1004dde0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
mov eax, dword [ebp + 0xc]
sub eax, 0
je 0x1004de1f
sub eax, 1
jne 0x1004de30
push eax
push eax
push dword [ebp + 8]
push 0x1004dc50
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x1004de30
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
pop ebp
ret 0xc
call fcn.10027e30
call fcn.1004dbf0
mov ecx, eax
call fcn.10007950
mov eax, 1
pop ebp
ret 0xc
Function at 0x1001b33c
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
push ebx
mov dword [esp + 0xc], 0x159a
cmp dword [esp + 0xc], 0x15e6
push esi
push edi
jle 0x1001b3bb
push 0
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
xor esi, esi
xor ebx, ebx
mov dword [esp + 0x10], 0x7e21
xor edi, edi
mov eax, ebx
lea ecx, [esp + 0x18]
cdq
idiv edi
mov eax, edx
cdq
push edx
push eax
call fcn.10019ecd
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x1001b38d
mov eax, dword [eax]
push eax
call fcn.10040c03
pop ecx
push 0
push 1
lea ecx, [esp + 0x20]
call fcn.1001432a
inc edi
cmp edi, 0x1f28
jl 0x1001b370
add ebx, esi
dec dword [esp + 0x10]
jne 0x1001b36e
inc esi
cmp esi, 0x7690
jl 0x1001b364
cmp dword [esp + 0x14], 0x12aa
jge 0x1001b3d0
push 0x10007ac0
call fcn.10040c03
pop ecx
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1001b594
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x20
mov dword [esp + 4], 0x104c
cmp dword [esp + 4], 0x13de
push esi
push edi
jle 0x1001b5fb
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
xor esi, esi
xor edi, edi
mov eax, edi
lea ecx, [esp + 0x10]
xor eax, esi
cdq
push edx
push eax
call fcn.10019ecd
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x1001b5d5
mov eax, dword [eax]
push eax
call fcn.10040c03
pop ecx
push 0
push 1
lea ecx, [esp + 0x18]
call fcn.1001432a
inc edi
cmp edi, 0xa14
jl 0x1001b5bb
inc esi
cmp esi, 0x62c2
jl 0x1001b5b9
cmp dword [esp + 0xc], 0xce3
jge 0x1001b610
push 0x10007bdc
call fcn.10040c03
pop ecx
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10026d3a
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
movzx eax, byte [ebp + 0x1c]
test eax, eax
je 0x10026ddb
lea eax, [ebp + 0x14]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x10026d8e
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax]
test eax, eax
je 0x10026d8c
push 0
call dword [sym.imp.KERNEL32.dll_ResumeThread]
jmp 0x10026dd9
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x10026dbc
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 1
jge 0x10026dd9
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x28]
call fcn.10013df2
mov dword [eax], 0xe87df2f4
jmp 0x10026db1
jmp 0x10026e07
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x2c], eax
push 0x32c7
push 0x58f4
push 0
push 0x1713
push 0x7bb2
push 0x7c4a
push dword [ebp - 0x2c]
call fcn.1003310c
add esp, 0x1c
mov esp, ebp
pop ebp
ret
Function at 0x100285d2
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005a74f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x10028625
mov eax, dword [ebp + 8]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x38], eax
push dword [ebp - 0x34]
push dword [ebp - 0x38]
push 0x492e
push 0x45e6
push 0x62cf
push 1
call fcn.10028782
add esp, 0x18
jmp 0x10028774
lea eax, [ebp + 0x10]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x3c], 0x1fc0
cmp dword [ebp - 0x3c], 0x92b
jge 0x10028753
lea eax, [ebp - 0x18]
push eax
push 0x10007804
call fcn.100405bb
pop ecx
pop ecx
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x18]
dec eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x40], 0
je 0x10028753
lea ecx, [ebp - 0x50]
call fcn.10013ef9
and dword [ebp - 4], 0
lea eax, [ebp - 0x1c]
push eax
push 0x10007804
call fcn.100405bb
pop ecx
pop ecx
and dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x1c]
dec eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x44], 0
je 0x100286f7
lea eax, [ebp - 0x20]
push eax
push 0x10007804
call fcn.100405bb
pop ecx
pop ecx
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x50]
call fcn.10013f0e
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x28]
mov dword [ecx], eax
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x50]
call fcn.10013f0e
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [eax]
jle 0x100286de
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x2c], eax
jmp 0x100286ef
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x50]
call fcn.10013f0e
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x10], eax
jmp 0x10028686
lea ecx, [ebp - 0x50]
call fcn.10019616
mov dword [ebp - 0x14], eax
and dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
jne 0x10028717
mov eax, dword [ebp - 0x14]
dec eax
mov dword [ebp - 0x24], eax
jmp 0x10028733
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
jge 0x10028727
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x30], eax
jmp 0x1002872d
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x24], eax
push dword [ebp - 0x24]
push 0x10007838
call fcn.10040c03
pop ecx
pop ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.1000e871
jmp 0x1002864f
mov eax, dword [ebp - 0x48]
movzx eax, byte [eax]
test eax, eax
je 0x10028765
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
jmp 0x10028774
push 0
push 0x1a1c
push 0
call dword [sym.imp.GDI32.dll_GetMetaFileBitsEx]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x1002a63a
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push esi
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x1002a6f5
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x18], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x1002a67d
push 0
push 0x7da
push 0x433
call dword [sym.imp.USER32.dll_AttachThreadInput]
jmp 0x1002a6f3
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
mov dword [eax], 1
jmp 0x1002a6ab
mov eax, dword [ebp - 8]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 0
jl 0x1002a6f3
mov eax, dword [ebp - 8]
push dword [eax]
mov ecx, dword [ebp - 0xc]
call fcn.10013df2
mov esi, eax
mov eax, dword [ebp - 8]
push dword [eax]
mov ecx, dword [ebp - 0xc]
call fcn.10013df2
mov ecx, dword [esi]
mov dword [eax], ecx
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x1002a6f1
push 0xa0f
push 0x1942
push 0
call dword [sym.imp.GDI32.dll_OffsetRgn]
jmp 0x1002a6a0
jmp 0x1002a716
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x28], eax
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push 0x7764
push 0
call fcn.10026d1a
add esp, 0x10
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x1002a732
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1002a763
lea eax, [ebp + 0x10]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
je 0x1002a759
push 0
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
jmp 0x1002a761
push 0
call dword [sym.imp.KERNEL32.dll_LockResource]
jmp 0x1002a77b
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
push 0x16e2
push 0
push dword [ebp - 8]
call fcn.100335ad
add esp, 0xc
mov esp, ebp
pop ebp
ret
Function at 0x10031d64
Capabilities:
Compare security identifiers
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x10031da7
mov eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
je 0x10031d90
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
jmp 0x10031da5
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [eax], 0xffffffff
jmp 0x10031de7
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax]
test eax, eax
je 0x10031dc7
push 0
call dword [sym.imp.GDI32.dll_GetObjectType]
jmp 0x10031de7
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax]
test eax, eax
je 0x10031de7
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_EqualSid]
mov esp, ebp
pop ebp
ret
Function at 0x10033328
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x1003334c
push 0x12c0
push 1
push 0x64f4
call fcn.10033387
add esp, 0xc
jmp 0x10033383
lea eax, [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x1003337b
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
jmp 0x10033383
push 0
call dword [sym.imp.USER32.dll_GetKeyboardState]
mov esp, ebp
pop ebp
ret

Function at 0x100346c4
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x100346f0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xc], eax
push dword [ebp - 8]
push 1
push dword [ebp - 0xc]
call fcn.10034727
add esp, 0xc
jmp 0x10034723
lea eax, [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x10034718
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x10034716
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_EqualSid]
jmp 0x10034723
push 0x91c
call dword [sym.imp.USER32.dll_BeginDeferWindowPos]
mov esp, ebp
pop ebp
ret
Function at 0x10035285
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
movzx eax, byte [ebp + 0x1c]
test eax, eax
je 0x10035300
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x18], eax
lea eax, [ebp + 0x20]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x100352e2
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push dword [eax]
mov ecx, dword [ebp - 0x28]
call fcn.10013df2
mov dword [eax], 0xb32a831d
jmp 0x100352fe
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
movzx eax, byte [eax]
test eax, eax
je 0x100352fe
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
jmp 0x10035370
lea eax, [ebp + 0x10]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x38]
movzx eax, byte [eax]
test eax, eax
je 0x10035336
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x10035334
push 0
push 0xd40
push 0x1f21
call dword [sym.imp.GDI32.dll_CreatePen]
jmp 0x10035370
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [eax], 0
jmp 0x10035358
mov eax, dword [ebp - 8]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 2
jg 0x10035370
mov dword [ebp - 0xc], 1
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
jmp 0x1003534d
mov esp, ebp
pop ebp
ret
Function at 0x10035c5c
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x10035ce7
lea eax, [ebp + 0x1c]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x10035cd3
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x10035cb4
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 3
jge 0x10035cd1
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x1c]
call fcn.10013df2
mov dword [eax], 0x534d
jmp 0x10035ca9
jmp 0x10035ce5
push 0
push 0x7da
push 0x433
call dword [sym.imp.USER32.dll_AttachThreadInput]
jmp 0x10035d1f
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
push 0x4b86
push 0
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push 0x127b
push dword [ebp - 0x2c]
call fcn.10026a85
add esp, 0x1c
mov esp, ebp
pop ebp
ret
Function at 0x10037160
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
movzx eax, byte [ebp + 0x1c]
test eax, eax
je 0x100371e1
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x14], eax
lea eax, [ebp + 0x28]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
test eax, eax
je 0x100371c8
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x2c]
mov ecx, dword [ecx]
sub ecx, dword [eax + 0x34]
mov eax, dword [ebp - 0x30]
mov dword [eax], ecx
jmp 0x100371dc
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x100371dc
push 0
call dword [sym.imp.KERNEL32.dll_LockResource]
jmp 0x1003726e
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x48], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x34]
movzx eax, byte [eax]
test eax, eax
je 0x10037223
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
movzx eax, byte [eax]
test eax, eax
je 0x10037221
push 0
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
jmp 0x1003726e
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 8]
mov dword [eax], 0
jmp 0x10037251
mov eax, dword [ebp - 8]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 2
jge 0x1003726e
mov eax, dword [ebp - 8]
push dword [eax]
mov ecx, dword [ebp - 0x54]
call fcn.10013df2
mov dword [eax], 0xde19d29b
jmp 0x10037246
mov esp, ebp
pop ebp
ret
Function at 0x10038416
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
movzx eax, byte [ebp + 8]
test eax, eax
je 0x100384c8
lea eax, [ebp + 0x14]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x1003847b
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax]
test eax, eax
je 0x10038479
push 0x155c
push 0x18fe
push 0
push 0x1c2d
push 0
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
jmp 0x100384c6
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x100384a9
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 3
jge 0x100384c6
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x28]
call fcn.10013df2
mov dword [eax], 0x534d
jmp 0x1003849e
jmp 0x100384d0
push 1
call fcn.1002a71b
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x100384d4
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x100384f6
mov eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
push dword [ebp - 8]
push 1
call fcn.10038572
pop ecx
pop ecx
jmp 0x1003856e
lea eax, [ebp + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
test eax, eax
je 0x10038523
push 0x600
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
jmp 0x1003856e
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x10038551
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 2
jge 0x1003856e
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x20]
call fcn.10013df2
mov dword [eax], 7
jmp 0x10038546
mov esp, ebp
pop ebp
ret
Function at 0x10038587
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
movzx eax, byte [ebp + 8]
test eax, eax
je 0x100385ed
lea eax, [ebp + 0x10]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
je 0x100385e3
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x100385e1
push 0
push 0x1a19
push 0x2d2
push 0
push 0x1a49
push 0x154f
push 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
jmp 0x100385eb
push 0
call dword [sym.imp.KERNEL32.dll_ResumeThread]
jmp 0x10038601
push 0x6f76
push 0x5490
push 0
call fcn.10035c30
add esp, 0xc
mov esp, ebp
pop ebp
ret