joyce8/EMBER2024-capa huggingface dataset:
Function at 0x723ccf
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x81f390]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.0070839f
mov dword [ebp - 0x14], eax
cmp dword [0x85b5d4], esi
jne 0x723dc2
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x723d4f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x723ea2
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x723ea2
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x723ea2
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x85b5d4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x85b5d8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x85b5dc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x85b5e4], eax
test eax, eax
je 0x723dbf
push 0x78aec8
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x85b5e0], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x723de7
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x723dda
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x723dfc
push 4
pop eax
jmp 0x723ea4
cmp dword [ebp - 0x14], esi
je 0x723dfc
push dword [0x85b5d4]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x723de1
mov eax, dword [0x85b5e0]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x723e5a
cmp dword [0x85b5e4], edi
je 0x723e5a
push eax
call ebx
push dword [0x85b5e4]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x723e5a
test eax, eax
je 0x723e5a
call ecx
test eax, eax
je 0x723e4f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x723e4f
test byte [ebp - 8], 1
jne 0x723e5a
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x723e8a
mov eax, dword [0x85b5d8]
cmp eax, edi
je 0x723e87
push eax
call ebx
test eax, eax
je 0x723e87
call eax
mov esi, eax
test esi, esi
je 0x723e87
mov eax, dword [0x85b5dc]
cmp eax, edi
je 0x723e87
push eax
call ebx
test eax, eax
je 0x723e87
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x85b5d4]
call ebx
test eax, eax
je 0x723ea2
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x723ea4
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.006f7ca4
mov esp, ebp
pop ebp
ret
Function at 0x738120
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x77b020
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x81f390]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
push edi
mov eax, dword [0x81f390]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [esp + 0x40]
lea ecx, [esp + 0x10]
push 0xc
push str.strValueName
mov dword [esp + 0x30], 0
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], 0
mov byte [esp + 0x18], 0
call fcn.00409620
mov dword [esp + 0xc], vtable.wbs::StringBase_char_.0
push 0
lea eax, [esp + 0x10]
mov dword [esp + 0x3c], 0
push eax
lea ecx, [esp + 0x30]
call fcn.00519ec0
cmp dword [esp + 0x24], 0x10
mov byte [esp + 0x38], 2
mov dword [esp + 0xc], vtable.wbs::StringBase_char_.0
jb 0x7381c3
push dword [esp + 0x10]
call fcn.006f75a9
add esp, 4
push dword [esp + 0x48]
lea ecx, [esi + 0x24]
mov dword [esp + 0x28], 0xf
push dword [esp + 0x48]
mov dword [esp + 0x28], 0
push edi
mov byte [esp + 0x1c], 0
call fcn.004feb50
lea ecx, [esp + 0x28]
mov dword [esp + 0x38], 0xffffffff
mov esi, eax
call fcn.00519fb0
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.006f7ca4
add esp, 0x30
ret 0xc
Function at 0x401200
Capabilities:
Get common file path

Disassembly:
push esi
push edi
push 1
push 0x104
xor edi, edi
call fcn.004059f7
mov esi, eax
add esp, 8
test esi, esi
je 0x401246
push esi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push eax
push ecx
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
push esi
mov edi, eax
call fcn.00405893
add esp, 4
mov eax, edi
pop edi
pop esi
ret

Function at 0x401250
Capabilities:
Create directory

Disassembly:
mov eax, dword [0x40fa80]
push esi
xor esi, esi
push eax
push esi
push 0x40c03c
call fcn.00401200
mov eax, dword [0x40fa80]
add esp, 0xc
cmp byte [eax], 0
je 0x40129f
push eax
call fcn.00405aa8
mov ecx, dword [0x40fa80]
add esp, 4
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x40129f
mov edx, dword [0x40fa80]
push edx
call fcn.00401000
add esp, 4
mov eax, esi
pop esi
ret
mov eax, 4
pop esi
ret
Function at 0x401d30
Capabilities:
Read file on windows

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
push esi
mov esi, dword [esp + 0x10]
lea eax, [esp + 0x10]
push 0
push eax
push esi
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x401d67
call dword [sym.imp.KERNEL32.dll_GetLastError]
sub eax, 0x26
pop esi
neg eax
sbb eax, eax
add eax, 0x40000002
ret 0xc
mov eax, dword [esp + 0x10]
cmp eax, 0xffffffff
jne 0x401d79
mov eax, 0x40000001
pop esi
ret 0xc
sub eax, esi
pop esi
neg eax
sbb eax, eax
and eax, 0x40000002
ret 0xc

Function at 0x401dd0
Capabilities:
Write file on windows

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
push esi
mov esi, dword [esp + 0x10]
lea eax, [esp + 0x10]
push 0
push eax
push esi
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x401e07
call dword [sym.imp.KERNEL32.dll_GetLastError]
sub eax, 0x70
pop esi
neg eax
sbb eax, eax
add eax, 0x40000004
ret 0xc
mov eax, dword [esp + 0x10]
sub eax, esi
pop esi
neg eax
sbb eax, eax
and eax, 0x40000004
ret 0xc
Function at 0x407d7d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x40f6b0
cmp edx, dword [eax]
je 0x407d9f
add eax, 8
inc ecx
cmp eax, 0x40f740
jl 0x407d90
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x40f6b0]
jne 0x407ecd
mov eax, dword [0x40faf8]
cmp eax, 1
je 0x407ea7
test eax, eax
jne 0x407dd0
cmp dword [0x40d474], 1
je 0x407ea7
cmp edx, 0xfc
je 0x407ecd
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x407e07
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004097d0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004098c0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x407e4a
lea eax, [ebp - 0x1a4]
push eax
call fcn.004098c0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x40b7a8
push edi
call fcn.004099d0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004097d0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004097e0
lea eax, [ebp - 0xa0]
push 0x40b788
push eax
call fcn.004097e0
push dword [esi + 0x40f6b4]
lea eax, [ebp - 0xa0]
push eax
call fcn.004097e0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0040993b
add esp, 0x2c
pop edi
jmp 0x407ecd
lea eax, [ebp + 8]
lea esi, [esi + 0x40f6b4]
push 0
push eax
push dword [esi]
call fcn.004098c0
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 0x432002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
call 0x43200c
nop
nop
nop
pop eax
nop
nop
add eax, 0x40729f
nop
sub eax, 0x407245
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x432030
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43201e
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x4012be
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 0x18], 0xa26
cmp dword [ebp - 0x18], 0x1c33
jle 0x4013a0
invalid
and dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0x1f
jmp 0x4013b4
mov eax, dword [ebp - 0xc]
dec eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jl 0x401650
xor eax, eax
inc eax
mov ecx, dword [ebp - 0xc]
shl eax, cl
and eax, dword [ebp + 8]
je 0x4013d1
mov byte [ebp - 1], 1
inc dword [ecx]
jmp 0x4013d5
mov byte [ebp - 1], 0
mov al, byte [ebp - 1]
mov byte [ebp - 3], al
xor eax, eax
inc eax
mov ecx, dword [ebp - 0xc]
shl eax, cl
and eax, dword [ebp + 0xc]
je 0x4013ee
mov byte [ebp - 2], 1
jmp 0x4013f2
mov byte [ebp - 2], 0
mov al, byte [ebp - 2]
mov byte [ebp - 4], al
mov dword [ebp - 0x1c], 0x688
cmp dword [ebp - 0x1c], 0x2562
jle 0x401498
sub dword [edi], eax
push ds
push edx
jae 0x4013cd
dec esi
push ss
add eax, 0x9c1a15d7
ret 0xbd86
movzx eax, byte [ebp - 3]
movzx ecx, byte [ebp - 4]
and eax, ecx
je 0x4014aa
and dword [ebp - 0x14], 0
jmp 0x4014b7
movzx eax, byte [ebp - 3]
movzx ecx, byte [ebp - 4]
or eax, ecx
mov dword [ebp - 0x14], eax
mov al, byte [ebp - 0x14]
mov byte [ebp - 5], al
mov dword [ebp - 0x20], 0xc1f
cmp dword [ebp - 0x20], 0x1e8d
jle 0x40159e
xchg dword [edi - 0x19c455d9], edi
ret
mov eax, dword [ebp - 0x10]
shl eax, 1
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x24], 0xeda
cmp dword [ebp - 0x24], 0x20cf
jle 0x401641
push edi
and byte [ecx - 0x39517411], bl
loop 0x401629
invalid
lcall 0x8edd, 0xbebaaa4e
invalid
cmp byte [eax + 0x2d], 0x13
lodsd eax, dword [esi]
inc esi
imul eax
jne 0x401646
dec esp
in eax, 0x80
mov bh, byte [ebx - 0x60ce547f]
jbe 0x401609
salc
sti
mov ah, 0xf
mov dh, 0x45
sti
movzx eax, byte [ebp - 5]
or eax, dword [ebp - 0x10]
mov dword [ebp - 0x10], eax
jmp 0x4013ad
inc ebp
invalid
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
Function at 0x40528a
Capabilities:
Get geographical location
Set environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
push esi
mov ebx, ecx
mov dword [ebp - 8], 0x490c4d8e
xor ecx, ecx
xor esi, esi
mov dword [ebp - 0x10], ecx
inc esi
push edi
mov dword [ebp - 0xc], esi
mov edi, edx
mov dword [ebp - 8], ecx
jmp 0x4052bc
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x20], 0x3df7
inc dword [ebp - 8]
cmp dword [ebp - 8], 2
jl 0x4052ae
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], esi
jg 0x4053a6
mov dword [ebp - 0xc], 6
mov dword [ebp - 0xc], 0x1fe3d2f5
mov dword [ebp - 0xc], ecx
jmp 0x4052eb
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0x30], esi
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 4
jl 0x4052e1
mov eax, dword [ebp - 8]
mov eax, dword [ebp + eax*4 - 0x20]
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 8]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + eax*4 - 0x20]
mov eax, dword [ebp - 8]
add ecx, dword [ebp + eax*4 - 0x20]
xor eax, eax
cmp ecx, 0xb09f5954
setne al
xor edx, edx
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
cmp ecx, eax
setne dl
cmp edx, 0xb2fc
jle 0x405339
cmp dword [ebp - 0xc], 0
jne 0x405339
xor edx, edx
jmp 0x40533b
mov edx, esi
mov eax, dword [ebp - 8]
xor ecx, ecx
push 0
mov eax, dword [ebp + eax*4 - 0x20]
cmp eax, edx
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 8]
setle cl
add edx, ecx
xor ecx, ecx
mov esi, dword [ebp + eax*4 - 0x20]
mov eax, dword [ebp - 0x10]
cmp edx, eax
setl cl
imul esi, ecx
xor ecx, ecx
mov dword [ebp - 0xc], esi
mov eax, dword [ebp - 0xc]
cmp eax, 0xcae7
setge cl
xor edx, edx
mov dword [ebp - 0x2c], ecx
test ecx, ecx
mov eax, dword [ebp - 8]
setne dl
pop ecx
mov eax, dword [ebp + eax*4 - 0x20]
sub edx, eax
mov eax, dword [ebp - 8]
neg edx
sbb edx, edx
xor esi, esi
inc edx
inc esi
add edx, dword [ebp + eax*4 - 0x20]
mov dword [ebp - 0xc], edx
inc dword [ebp - 8]
cmp dword [ebp - 8], esi
jle 0x4052ce
mov dword [ebp - 0x14], 0x18e8
mov dword [ebp - 0x18], str.yhc_whwjstmlb_czcxjzb
mov dword [ebp - 8], 0x324ec2e0
mov dword [ebp - 8], ecx
jmp 0x4053dc
mov byte [ebp - 1], cl
cmp byte [ebp - 1], 0
je 0x4053d9
push 0x4ca
push ecx
push ecx
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor ecx, ecx
dec dword [ebp - 8]
cmp dword [ebp - 8], 0xffffffe5
jle 0x4053c0
mov dword [ebp - 8], ecx
jmp 0x4053fd
mov byte [ebp - 1], cl
cmp byte [ebp - 1], 0
je 0x4053fa
push ecx
push ecx
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
xor ecx, ecx
inc dword [ebp - 8]
cmp dword [ebp - 8], 0xe
jge 0x4053e7
lea eax, [ebp - 0x14]
push eax
push ecx
call fcn.00405c53
pop ecx
pop ecx
mov eax, edi
mov ecx, 0x3e8
cdq
idiv ecx
mov ecx, ebx
mov edi, edx
mov esi, eax
call fcn.00404e1c
add eax, esi
add eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40a564
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
movzx eax, byte [ebp + 0x2c]
test eax, eax
je 0x40a601
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0xc], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x14], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
je 0x40a5e6
mov eax, dword [ebp - 8]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push 0x6f32
mov eax, dword [ebp - 0x2c]
movzx eax, byte [eax]
push eax
push 1
call fcn.0040a6c3
add esp, 0x1c
jmp 0x40a5fc
push 1
push 0x7ee3
push 0
push 0x3ba3
call fcn.00410380
add esp, 0x10
jmp 0x40a6bf
mov eax, dword [ebp + 8]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x38], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x38]
mov dword [ebp - 0x54], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0x34], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x30]
movzx eax, byte [eax]
test eax, eax
je 0x40a6a3
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x40]
movzx eax, byte [eax]
test eax, eax
je 0x40a67d
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
movzx eax, byte [eax]
test eax, eax
je 0x40a667
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
jmp 0x40a67b
push 0
push 0xabf581
push str._::RegLoadKeyW__0__0__0___error_
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x40a6a1
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x50], eax
push 0x31d7
push 0
push dword [ebp - 0x50]
push 0x1705
push 0
push 0x7edb
call fcn.0041bec8
add esp, 0x18
jmp 0x40a6bf
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x60], eax
push dword [ebp - 0x5c]
push 0
push dword [ebp - 0x60]
call fcn.0041f706
add esp, 0xc
mov esp, ebp
pop ebp
ret
Function at 0x40ae79
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cc5a9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x38
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], 0x5e76
mov dword [ebp - 0x24], str.cctmc_mofnaear_ufv
push 1
push 0x5ad1
push 0x75cd
lea eax, [ebp - 0x14]
push eax
push 0x3d9b
push 0
push 1
push 1
push 0x7917
push 1
call fcn.0041ec85
add esp, 0x28
push 1
push 1
push 0x35f6
push 0x4e3
push 1
lea eax, [ebp - 0x14]
push eax
push 0x5f43
push 0x7e62
push 1
push 0x6207
push 0
push 0xcdf
push 1
push 1
push 0x418c
push 0x2209
lea eax, [ebp - 0x24]
push eax
push 0x3063
call fcn.00410864
add esp, 0x48
mov eax, dword [0xac936c]
and eax, 1
jne 0x40af4a
mov eax, dword [0xac936c]
or eax, 1
mov dword [0xac936c], eax
mov ecx, 0xac9380
call fcn.00402b5c
push 0x4cc8e9
call fcn.004b672f
pop ecx
movzx eax, byte [0xac929d]
test eax, eax
je 0x40afa5
mov ecx, 0xac9380
call fcn.0042a2fc
movzx eax, al
test eax, eax
jne 0x40afa5
push dword [ebp + 8]
lea eax, [ebp - 0x18]
push eax
mov ecx, 0xac9380
call fcn.00402b34
lea eax, [ebp - 0x30]
push eax
mov ecx, 0xac9380
call fcn.00402b26
push eax
lea ecx, [ebp - 0x18]
call fcn.00402b49
movzx eax, al
test eax, eax
je 0x40afa5
lea ecx, [ebp - 0x18]
call fcn.0042a305
mov eax, dword [eax + 4]
jmp 0x40b0ea
mov eax, dword [ebp + 8]
push dword [eax]
lea eax, [ebp - 0x48]
push eax
call fcn.00402263
pop ecx
pop ecx
lea eax, [ebp - 0x48]
push eax
call fcn.00408862
pop ecx
mov dword [ebp - 0x20], eax
movzx eax, byte [0xac929d]
test eax, eax
je 0x40afe2
mov ecx, 0xac9380
call fcn.0042a2fc
movzx eax, al
test eax, eax
jne 0x40b0d9
mov dword [ebp - 0x1c], 0x20c1
mov dword [ebp - 0x28], str.kmfnjwc_kihao_uxso_ryyzmvlxh_liuwgb_suf_mmy_ytay_gfdhcr_agx_vhlj
cmp dword [ebp - 0x1c], 0x22f7
jle 0x40b036
push 0x9d2
push 0
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0
push 0x2984
push 0x2ba1
push 0x2ab8
push 1
push 0x6196
push 1
call fcn.0041591b
add esp, 0x1c
push 0xaa7
push 0
call fcn.00423f67
pop ecx
pop ecx
push 0x2f7
push 0xac9380
push dword [ebp + 8]
lea eax, [ebp - 0x20]
push eax
push 0
call fcn.004174b5
add esp, 0x14
and dword [ebp - 4], 0
push 0
push 1
push 0x619a
lea eax, [ebp - 0x28]
push eax
push 0
lea eax, [ebp - 0x1c]
push eax
push 1
push 0x7c52
push 0xb73
push 0x4f4
call fcn.0041ce91
add esp, 0x28
jmp 0x40b0a4
or dword [ebp - 4], 0xffffffff
jmp 0x40b0ae
push 0x6cb0
push 1
push 1
push 1
push 0xac929d
push 1
push 1
push 0x503
push 0x7c63
push 0x4596
call fcn.00409fe1
add esp, 0x28
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x2c], eax
lea ecx, [ebp - 0x48]
call fcn.004028cb
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x436bc3
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x436c80
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x30], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0xc], eax
lea eax, [ebp + 0x20]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
je 0x436c4e
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1c], eax
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]
movzx eax, byte [eax]
test eax, eax
je 0x436c23
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
jmp 0x436c4c
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 - 0x2c], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x2c]
mov dword [eax], 0xfffffff7
jmp 0x436c7e
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
push 0
push 0x1cda
push 0x7023
push 0x7830
push 0x1091
push 0
push 0xada
push dword [ebp - 0x34]
push 1
call fcn.0043ecee
add esp, 0x24
jmp 0x436c98
mov eax, dword [ebp + 8]
mov dword [ebp - 0x38], eax
push dword [ebp - 0x38]
push 1
push 0x1a40
call fcn.00435e42
add esp, 0xc
mov esp, ebp
pop ebp
ret
Function at 0x43783c
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x43792e
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x18], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 8], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x1c], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x4378ec
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x43789b
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x437899
push 0
push 0x154f
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
jmp 0x4378ea
mov dword [ebp - 0x14], 0xea5d6c05
mov dword [ebp - 0x34], 0xb4074dd
mov dword [ebp - 0x38], 0x6f5a9c4c
mov byte [ebp - 2], 0
lea eax, [ebp - 2]
push eax
push 0
call fcn.00443bdf
pop ecx
pop ecx
push 0x5eec
push 0x92a
push 0x2043
push 0x42ad
push 0x4f87
push 1
push 0
lea eax, [ebp - 0x14]
push eax
call fcn.0044e102
add esp, 0x20
jmp 0x43792c
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax]
test eax, eax
je 0x43790a
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
jmp 0x43792c
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
movzx eax, byte [eax]
test eax, eax
je 0x43792c
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
jmp 0x437940
mov eax, dword [ebp + 8]
mov dword [ebp - 0x30], eax
push dword [ebp - 0x30]
push 0
call fcn.0043a258
pop ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x437981
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
movzx eax, byte [ebp + 8]
test eax, eax
je 0x437a04
mov eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 4], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
je 0x4379f4
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x4379cd
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
jmp 0x4379f2
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax]
test eax, eax
je 0x4379f2
push 0x2402
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
jmp 0x437a02
push 0
push 0x3033
call fcn.00443b72
pop ecx
pop ecx
jmp 0x437a3d
lea eax, [ebp + 0xc]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax]
test eax, eax
je 0x437a2a
push 0x50f8
push 1
push 0x47bd
call fcn.0043613e
add esp, 0xc
jmp 0x437a3d
push 0
push 0x71b1
push 1
push 1
call fcn.0043580b
add esp, 0x10
mov esp, ebp
pop ebp
ret