joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404cdc
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x404d42
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.00404298
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402f60
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x404d2c
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x404d49
lea eax, [ebp - 0x10]
call fcn.00404050
ret

Function at 0x406b24
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x406b5d
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404140
jmp 0x406b66
mov eax, ebx
mov edx, esi
call fcn.004040a4
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x406b70
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x406b91
mov al, byte [esp]
jmp 0x406b93
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x407228
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x407090
mov eax, dword [0x4093d8]
cmp byte [eax], 0
je 0x4072a4
mov eax, dword [0x40932c]
call fcn.00402d80
call fcn.004029b8
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.00405ff8
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x4072ec
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x4072da
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x40930c]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x40a660]
call fcn.004046ac
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret
Function at 0x407cc8
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x407d2c
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00404298
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00405ec0
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x407d33
lea eax, [ebp - 0xc]
call fcn.00404050
ret
Function at 0x40ae00
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x46718c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, ecx
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x40aeae
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x40aeae
cmp eax, 3
je 0x40ae43
cmp eax, 2
jne 0x40aec3
push 0x5c
push edi
call fcn.0042ca91
mov esi, eax
add esp, 8
test esi, esi
je 0x40aec3
sub esi, edi
lea eax, [ebp - 0x20c]
sar esi, 1
push esi
push edi
push 0x104
push eax
call fcn.0043ae12
add esi, esi
add esp, 0x10
cmp esi, 0x208
jae 0x40aed5
xor eax, eax
lea ecx, [ebp - 0x20c]
mov word [ebp + esi - 0x20c], ax
call fcn.0040ae00
test eax, eax
je 0x40aec3
push 0
push edi
lfence
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x40aeae
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x40aec3
pop edi
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042ac9b
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.0042ac9b
mov esp, ebp
pop ebp
ret
call fcn.0042ae9f
int3
Function at 0x40efa0
Capabilities:
Hash data using murmur3

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4503ed
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x46718c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ecx], 0
lea ebx, [ecx + 8]
mov dword [ebp - 0x1c], ebx
lea esi, [ecx + 4]
jne 0x40f147
mov ecx, dword [ebx]
sub ecx, dword [esi]
sar ecx, 3
cmp ecx, 2
jle 0x40f147
mov edx, dword [ebp + 8]
mov dword [ebp - 0x30], edx
movq xmm0, qword [edx]
mov eax, dword [edx + 8]
movq qword [ebp - 0x2c], xmm0
mov dword [ebp - 0x24], eax
mov eax, ecx
mov dword [ebp - 4], 0
shr eax, 1
mov edi, 1
add eax, ecx
mov dword [ebp - 0x18], edi
cmp eax, edi
jbe 0x40f021
add edi, edi
cmp edi, eax
jb 0x40f018
mov dword [ebp - 0x18], edi
lea ebx, [edi*4]
mov ecx, edx
push ebx
call fcn.0040ddd0
mov dword [ebp - 0x20], eax
test eax, eax
jne 0x40f053
lea ecx, [ebp - 0x30]
call fcn.0040de70
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push ebx
push 0
push eax
call fcn.0042d3d0
mov eax, dword [ebp - 0x1c]
add esp, 0xc
mov edx, dword [esi]
mov ebx, edx
mov dword [ebp - 0x14], edx
cmp ebx, dword [eax]
je 0x40f0dd
nop dword [eax]
mov eax, dword [ebx + 4]
test eax, eax
je 0x40f07b
xor esi, esi
jmp 0x40f07d
mov esi, dword [ebx]
test eax, eax
cmovne esi, eax
test esi, esi
je 0x40f0d3
mov eax, esi
shr eax, 0x10
xor eax, esi
imul ecx, eax, 0x85ebca6b
mov eax, ecx
shr eax, 0xd
xor eax, ecx
imul eax, eax, 0xc2b2ae35
mov ecx, eax
shr ecx, 0x10
xor eax, ecx
lea ecx, [edi - 1]
and eax, ecx
xor ecx, ecx
nop
mov edx, dword [ebp - 0x20]
lea edi, [edx + eax*4]
mov edx, dword [edi]
test edx, edx
je 0x40f12d
mov edi, dword [ebp - 0x18]
cmp edx, esi
je 0x40f0d0
inc eax
lea edx, [edi - 1]
add eax, ecx
inc ecx
and eax, edx
cmp ecx, edx
jbe 0x40f0b0
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
add ebx, 8
cmp ebx, dword [eax]
jne 0x40f070
mov dword [eax], edx
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], 1
mov ebx, dword [ebp - 0x2c]
mov eax, dword [ecx]
cmp eax, ebx
je 0x40f111
mov esi, dword [fcn.0040bd50]
mov ecx, esi
mov edi, dword [eax]
push eax
call dword [0x452384]
call esi
add esp, 4
mov eax, edi
cmp edi, ebx
jne 0x40f0f2
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 0x28]
mov dword [ecx], ebx
mov dword [ecx + 4], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edx, dword [ebp - 0x14]
mov dword [edi], esi
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
mov edi, dword [ebp - 0x18]
mov dword [edx], eax
mov dword [edx + 4], ecx
add edx, 8
mov dword [ebp - 0x14], edx
jmp 0x40f0d3
mov edx, dword [ebx]
mov ecx, dword [esi]
call fcn.00415860
mov dword [ebx], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x413be0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
xor edx, edx
push esi
push edi
mov edi, ecx
mov esi, ebx
mov al, byte [ebx]
test al, al
je 0x413c10
movsx eax, al
lea esi, [esi + 1]
add eax, edx
imul edx, eax, 0x401
mov eax, edx
shr eax, 6
xor edx, eax
mov al, byte [esi]
test al, al
jne 0x413bf5
lea eax, [edx + edx*8]
mov ecx, eax
shr ecx, 0xb
xor ecx, eax
and ecx, 0x3f
mov esi, dword [edi + ecx*4]
test esi, esi
je 0x413c80
mov eax, dword [esi]
dec eax
cmp eax, 3
ja case.default.0x413c2c
jmp dword [eax*4 + 0x413c94]
lea eax, [esi + 0x1c]
jmp 0x413c49
lea eax, [esi + 0x10]
jmp 0x413c49
lea eax, [esi + 0xc]
jmp 0x413c49
lea eax, [esi + 9]
jmp 0x413c49
xor eax, eax
mov ecx, ebx
nop dword [eax + eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x413c70
test dl, dl
je 0x413c6c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x413c70
add eax, 2
add ecx, 2
test dl, dl
jne 0x413c50
xor eax, eax
jmp 0x413c75
sbb eax, eax
or eax, 1
test eax, eax
je 0x413c89
mov esi, dword [esi + 4]
test esi, esi
jne 0x413c24
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret 4
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 4

Function at 0x41afb0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov esi, ecx
push dword [ebp + 8]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
je 0x41affa
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x41affa
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [esi + 8], eax
test eax, eax
je 0x41affa
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [esi + 0xc], eax
test eax, eax
jne 0x41b003
mov dword [esi + 8], eax
pop edi
pop esi
xor al, al
pop ebx
pop ebp
ret 0xc
pop edi
pop esi
mov al, 1
pop ebx
pop ebp
ret 0xc
Function at 0x41bf80
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x41bfdc
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x41bfdc
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 8]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x41bfc8
cmp esi, edx
jae 0x41bfdc
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x41bfb6
cmp esi, edx
jae 0x41bfdc
cmp word [esi], 0
je 0x41bfdc
pop edi
mov eax, esi
pop esi
lfence
pop ebx
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret

Function at 0x41d010
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x10]
test eax, eax
je 0x41d0d5
movzx ecx, ax
mov edx, 5
call fcn.0040b280
movzx ecx, word [edi + 0x10]
mov ebx, eax
push 5
push ecx
push ebx
mov dword [ebp - 8], ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x41d0d5
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
push esi
call fcn.00430304
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x41d0d5
push esi
push dword [ebp - 4]
push ebx
call fcn.0042ce50
add esp, 0xc
cmp dword [edi + 0x18], 0
jne 0x41d095
mov eax, dword [0x469854]
test eax, eax
je 0x41d08f
mov eax, dword [eax + 4]
mov eax, dword [eax + 4]
mov dword [edi + 0x18], eax
mov ecx, dword [edi]
lea eax, [ebx + 8]
push eax
lea eax, [ebx + 0xc]
push eax
mov esi, dword [ecx + 0x40]
mov ecx, esi
call dword [0x452384]
mov ecx, edi
call esi
push edi
push 0x41d0e0
push dword [edi + 0x18]
push ebx
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_DialogBoxIndirectParamW]
push ebx
mov esi, eax
call fcn.0043030f
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41eda0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x450945
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x46718c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [ebp - 0x54]
mov dword [ebp - 0x4c], 0
push eax
push 1
push 0x402600
push 0x401df0
push 0x402560
push 0x4024b0
push 0x401c80
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
push 0x401e70
push 0x401e50
movq qword [ebp - 0x54], xmm0
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x2c], 0
call fcn.00429330
add esp, 0x24
mov dword [ebp - 0x58], eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
push 0x10
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
push 0x460320
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 0
call fcn.00403060
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x3c]
cmp eax, dword [ebp - 0x38]
je 0x41ee7a
movups xmm0, xmmword [ebp - 0x28]
mov ecx, 7
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x18]
movq qword [eax + 0x10], xmm0
xor eax, eax
add dword [ebp - 0x3c], 0x18
mov word [ebp - 0x28], ax
jmp 0x41ee8a
lea ecx, [ebp - 0x28]
push ecx
push eax
lea ecx, [ebp - 0x40]
call fcn.00402c40
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 0
cmp ecx, 8
jb 0x41eec5
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41eebb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41ef94
push ecx
push edx
call fcn.0042acd3
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edi, eax
test edi, edi
je 0x41ef5d
push 0xa
push 0x7da
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x60], eax
test eax, eax
je 0x41ef5d
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push dword [ebp - 0x60]
mov dword [ebp - 0x64], eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x41ef5d
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x41ef5d
push dword [ebp - 0x64]
lea ecx, [ebp - 0x58]
push eax
call fcn.00401770
test al, al
je 0x41ef5d
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x34]
sub eax, ecx
and eax, 0xfffffffc
cmp eax, 4
jne 0x41ef5d
cmp dword [esi + 0x80], 8
lea eax, [esi + 0x6c]
jb 0x41ef3e
mov eax, dword [eax]
cmp dword [esi + 0x34], 8
lea edx, [esi + 0x20]
jb 0x41ef49
mov edx, dword [edx]
push eax
push ecx
mov ecx, dword [ecx]
push edx
call fcn.004020d0
test al, al
je 0x41ef5d
mov byte [ebp - 0x59], 1
jmp 0x41ef6e
cmp dword [esi + 0x18], 8
ja 0x41ef6a
mov dword [esi + 0x18], 0x3f4
mov byte [ebp - 0x59], 0
lea ecx, [ebp - 0x58]
call fcn.00401540
mov al, byte [ebp - 0x59]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042ac9b
mov esp, ebp
pop ebp
ret
call fcn.00430704
int3
Function at 0x41f770
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
push edi
mov dword [ebp - 4], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x41f7d4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
cmp ecx, 5
je 0x41f7c7
cmp ecx, 0x2e4
je 0x41f7c7
cmp ecx, 0x4c7
je 0x41f7c7
shr eax, 0x10
xor edx, edx
test eax, eax
cmovne ecx, edx
cmp dword [esi + 0x18], 8
ja 0x41f7d4
movzx eax, cx
add eax, 0x10000
mov dword [esi + 0x18], eax
jmp 0x41f7d4
cmp dword [esi + 0x18], 8
ja 0x41f7d4
mov dword [esi + 0x18], 0x3f5
mov eax, dword [edi + 0x38]
test eax, eax
je 0x41f7fa
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 4]
push eax
push dword [edi + 0x38]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [edi + 0x38]
call dword [0x467018]
cmp dword [esi + 0x18], 8
ja 0x41f806
mov eax, dword [ebp - 4]
mov dword [esi + 0x18], eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x41fc60
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x450a02
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x46718c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0x24], 0x10
lea esi, [edi + 0x10]
mov eax, esi
jb 0x41fc9d
mov eax, dword [esi]
push eax
lea eax, [ebp - 0x90]
push str.zCSMComm.Mem.Id._s
push eax
call fcn.004244c0
add esp, 0xc
lea eax, [ebp - 0x90]
push eax
push 0xfa000
push 0
push 4
push 0
push 0xffffffffffffffff
call dword [0x467024]
mov dword [edi], eax
test eax, eax
je 0x41fdec
cmp eax, 0xffffffff
je 0x41fdec
push 0xfa000
push 0
push 0
push 0xf001f
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [edi + 4], eax
test eax, eax
je 0x41fdec
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x41fd09
mov eax, dword [esi]
push eax
lea eax, [ebp - 0x90]
push str.zCSMComm.Ready.Id._s
push eax
call fcn.004244c0
add esp, 0xc
lea eax, [ebp - 0x90]
push eax
push 0
push 0
push 0
call dword [0x46701c]
mov dword [edi + 8], eax
test eax, eax
je 0x41fdec
cmp dword [esi + 0x14], 0x10
jb 0x41fd44
mov esi, dword [esi]
push esi
lea eax, [ebp - 0x90]
push str.zCSMComm.Done.Id._s
push eax
call fcn.004244c0
add esp, 0xc
lea eax, [ebp - 0x90]
push eax
push 0
push 0
push 0
call dword [0x46701c]
mov dword [edi + 0xc], eax
test eax, eax
je 0x41fdec
push 8
mov bl, 1
call fcn.0042ad44
mov esi, eax
mov dword [ebp - 0x98], esi
push 8
mov dword [ebp - 4], 0
call fcn.0042ad44
mov dword [ebp - 0x9c], eax
mov dword [eax], edi
mov dword [eax + 4], 0x41fe20
lea ecx, [esi + 4]
mov byte [ebp - 4], bl
push ecx
push 0
push eax
push 0x424960
push 0
push 0
mov dword [ebp - 0x94], ecx
call fcn.0043c24c
add esp, 0x20
mov dword [esi], eax
test eax, eax
je 0x41fe0c
lea eax, [edi + 0x28]
mov dword [edi + 0x70], esi
cmp dword [eax + 0x14], 0x10
jb 0x41fdd6
mov eax, dword [eax]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [edi + 0x74], eax
test eax, eax
jne 0x41fdee
xor al, al
jmp 0x41fdf0
xor bl, bl
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042ac9b
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x94]
push 6
mov dword [eax], 0
call fcn.0042999a
int3
Function at 0x4201e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x46718c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x68]
mov dword [ebp - 0x64], 0
push eax
lea eax, [ebp - 0x64]
mov dword [ebp - 0x68], 4
push eax
push 0
push 0x10
mov esi, ecx
push str.AppsUseLightTheme
push str.SoftwareMicrosoftWindowsCurrentVersionThemesPersonalize
push 0x80000001
mov word [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
je 0x420244
xor eax, eax
jmp 0x42024d
xor eax, eax
cmp dword [ebp - 0x64], 1
setne al
push 4
mov byte [esi + 1], al
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x11
mov dword [esi + 8], eax
call dword [sym.imp.GDI32.dll_GetStockObject]
lea ecx, [ebp - 0x60]
push ecx
push 0x5c
push eax
call dword [sym.imp.GDI32.dll_GetObjectW]
mov eax, dword [ebp - 0x60]
cdq
mov ecx, eax
mov eax, dword [esi + 8]
xor ecx, edx
sub eax, 7
sub ecx, edx
cmp ecx, eax
jle 0x4202a7
push 0x11
call dword [sym.imp.GDI32.dll_GetStockObject]
lea ecx, [ebp - 0x60]
push ecx
push 0x5c
push eax
call dword [sym.imp.GDI32.dll_GetObjectW]
mov eax, dword [ebp - 0x60]
cdq
xor eax, edx
sub eax, edx
add eax, 9
mov dword [esi + 8], eax
push 0
push 0
push 0
push 0
push 0x66
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.USER32.dll_LoadImageW]
mov ecx, dword [ebp - 4]
mov dword [esi + 4], eax
xor ecx, ebp
mov eax, esi
pop esi
call fcn.0042ac9b
mov esp, ebp
pop ebp
ret
Function at 0x424b00
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov eax, edx
mov dword [ebp - 4], ecx
push esi
mov esi, eax
mov dword [ebp - 0xc], eax
shr esi, 4
push edi
xor edi, edi
lea ebx, [esi + 1]
movzx eax, bx
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_GetThreadLocale]
push eax
push dword [ebp - 8]
push 6
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
test eax, eax
jne 0x424b51
push 0x409
push dword [ebp - 8]
push 6
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
test eax, eax
je 0x424b9a
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 8], eax
test eax, eax
je 0x424b9a
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
shl ebx, 4
shl esi, 4
cmp esi, ebx
jae 0x424b91
mov edx, dword [ebp - 0xc]
movzx ecx, word [eax]
add eax, 2
test cx, cx
je 0x424b8a
mov edi, ecx
cmp esi, edx
je 0x424ba3
lea eax, [eax + edi*2]
inc esi
cmp esi, ebx
jb 0x424b76
xor edi, edi
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 8]
push edi
push eax
push dword [ebp + 0xc]
lfence
push esi
call fcn.0043bd5a
add esp, 0x10
test eax, eax
jne 0x424b8f
push dword [ebp - 8]
mov word [esi + edi*2], ax
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x424f50
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45109c
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x46718c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
sub esp, 8
push 0x190
call fcn.0041ce20
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov dword [esi], vtable.CMessageDlg.0
xor eax, eax
movups xmmword [esi + 0x1c], xmm0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 7
mov word [esi + 0x1c], ax
push fcn.00403110
push 0x4027b0
push 4
push 0x18
lea eax, [esi + 0x34]
mov byte [ebp - 4], 1
push eax
call fcn.0042b4d2
lea ecx, [esi + 0xb8]
mov dword [esi + 0x98], 0
mov byte [esi + 0xa0], 0
mov byte [esi + 0xb4], 0
call fcn.004201e0
mov byte [ebp - 4], 3
push 0x10
mov dword [esi + 0x94], 0
call fcn.0042ad44
add esp, 4
lea ecx, [ebp - 0x10]
mov edi, eax
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x10], 0x111
push ecx
lea ecx, [ebp - 0x20]
mov dword [edi + 4], 0
push ecx
lea ecx, [esi + 8]
mov dword [edi], vtable.eset::MessageProc_class_CMessageDlg_.0
mov dword [edi + 0xc], esi
mov dword [edi + 8], 0x425910
call fcn.0041e0d0
mov eax, dword [ebp - 0x18]
lea ecx, [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x425067
cmp dword [eax + 0x10], 0x111
ja 0x425067
cmp eax, dword [ecx]
je 0x425067
mov eax, dword [eax + 0x14]
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x425062
call fcn.0041cd50
mov dword [eax + 4], edi
jmp 0x425072
lea eax, [ebp - 0x10]
push eax
call fcn.0041d6a0
mov dword [eax], edi
push esi
push 0x425920
push 0x136
mov ecx, esi
call fcn.00425e30
push esi
push 0x425920
push 0x138
mov ecx, esi
call fcn.00425e30
push esi
push 0x4259b0
push 0x201
mov ecx, esi
call fcn.00425e30
push esi
push 0x4259f0
push 0x14
mov ecx, esi
call fcn.00425e30
lea eax, [esi + 0xb8]
mov ecx, esi
push eax
sub esp, 8
call fcn.00425ec0
push esi
push 0x425c10
push 0x83
mov ecx, esi
call fcn.00425e30
cmp byte [esi + 0xb9], 0
mov ecx, 0xf8f6f5
mov eax, 0x303030
cmove eax, ecx
push eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov dword [esi + 0x98], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret