joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401c80
Capabilities:
Get thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
mov dword [esp], 0x407044
call sym._EnterCriticalSection_4
mov ebx, dword [0x40703c]
sub esp, 4
test ebx, ebx
je 0x401ccb
nop
mov eax, dword [ebx]
mov dword [esp], eax
call sym._TlsGetValue_4
sub esp, 4
mov esi, eax
call sym._GetLastError_0
test eax, eax
jne 0x401cc4
test esi, esi
je 0x401cc4
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x401ca0
mov dword [esp], 0x407044
call sym._LeaveCriticalSection_4
sub esp, 4
add esp, 0x14
pop ebx
pop esi
ret

Function at 0x401eb0
Capabilities:
Write file on windows

Disassembly:
push esi
push ebx
sub esp, 0x14
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x17
mov dword [esp + 4], 1
lea esi, [esp + 0x24]
mov dword [esp], str.Mingw_runtime_failure:_n
lea ebx, [eax + 0x40]
mov dword [esp + 0xc], ebx
call sym._fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], esi
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._vfprintf
call sym._abort
lea esi, [esi]

Function at 0x401f00
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
push edi
mov edi, ecx
push esi
push ebx
mov ebx, eax
mov esi, edx
sub esp, 0x4c
lea eax, [esp + 0x24]
mov dword [esp + 8], 0x1c
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._VirtualQuery_12
sub esp, 0xc
test eax, eax
je 0x401fd8
mov eax, dword [esp + 0x38]
cmp eax, 0x40
je 0x401f3e
cmp eax, 4
jne 0x401f60
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
call sym._memcpy
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x30]
lea ebp, [esp + 0x20]
mov dword [esp + 8], 0x40
mov dword [esp + 0xc], ebp
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
mov edx, dword [esp + 0x38]
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
mov dword [esp + 0x1c], edx
call sym._memcpy
mov edx, dword [esp + 0x1c]
cmp edx, 0x40
je 0x401f4e
cmp edx, 4
je 0x401f4e
mov eax, dword [esp + 0x20]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1c
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
call fcn.00401eb0

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 0x401e80
Capabilities:
Get geographical location

Disassembly:
sub esp, 0x20c
mov ecx, 0x589b20
call fcn.004023a0
mov edx, eax
test dx, dx
jne 0x401e9e
call fcn.0044e4c0
mov edx, eax
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xa]
mov word [esp + 8], 0
push 0x103
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0xc]
and edx, 0xffff
push eax
push 0x1004
push edx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
lea ecx, [esp + 4]
lea edx, [esp + 8]
push ecx
push 0x56f618
push edx
mov dword [esp + 0x10], 0xffffffff
call fcn.00422fde
mov eax, dword [esp + 0x10]
add esp, 0xc
pop edi
add esp, 0x20c
ret

Function at 0x402b40
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x208
push esi
mov esi, dword [esp + 0x210]
mov ecx, esi
call fcn.0043d2b0
mov ecx, esi
call fcn.0043fcb0
mov ecx, esi
call fcn.0043f990
push 0x22
mov ecx, esi
call fcn.0043e170
mov eax, dword [esi]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x402c33
push edi
push 0
push str..dll
mov ecx, esi
call fcn.0043d1a0
push 0
push 0x56f804
mov ecx, esi
mov edi, eax
call fcn.0043d1a0
cmp edi, 0xffffffff
je 0x402bae
mov ecx, dword [esi]
mov edx, dword [ecx - 8]
sub edx, edi
sub edx, 4
add edi, 4
push edx
push edi
jmp 0x402bc2
cmp eax, 0xffffffff
je 0x402bc9
mov ecx, dword [esi]
mov edx, dword [ecx - 8]
sub edx, eax
sub edx, 4
add eax, 4
push edx
push eax
mov ecx, esi
call fcn.0043d930
push 0x25
mov ecx, esi
call fcn.0043d080
cmp eax, 0xffffffff
je 0x402c15
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xa]
mov word [esp + 8], 0
rep stosd dword es:[edi], eax
mov ecx, dword [esi]
push 0x104
stosw word es:[edi], ax
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov ecx, esi
call fcn.0043bcf0
lea edx, [esp + 8]
mov ecx, esi
push edx
push 0
call fcn.0043dbf0
push 0x3a
mov ecx, esi
call fcn.0043d130
test eax, eax
pop edi
jl 0x402c33
cmp eax, 1
je 0x402c33
dec eax
mov ecx, esi
push eax
push 0
call fcn.0043d930
mov eax, 1
pop esi
add esp, 0x208
ret 4
Function at 0x405530
Capabilities:
Create process on windows
Get common file path
Terminate process

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x53f2c6
push eax
mov eax, dword [0x589b38]
mov dword fs:[0], esp
sub esp, 0x264
push ebx
xor ebx, ebx
push ebp
cmp eax, ebx
push esi
mov ebp, ecx
jne 0x40569d
push ebx
push 0x10000000
push ebx
push ebx
push ebx
push str.MyDesktop
mov dword [0x589b38], 1
call dword [sym.imp.USER32.dll_CreateDesktopW]
mov esi, eax
cmp esi, ebx
je 0x40569d
push edi
push str.Winsta0mydesktop
lea ecx, [esp + 0x18]
call fcn.0043b7e0
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x2c]
mov dword [esp + 0x28], 0x44
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x14]
xor ecx, ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x20], ecx
xor eax, eax
mov dword [esp + 0x24], ecx
mov ecx, 0x81
lea edi, [esp + 0x6e]
mov word [esp + 0x6c], bx
rep stosd dword es:[edi], eax
lea edx, [esp + 0x6c]
push 0x103
push edx
mov dword [esp + 0x284], ebx
mov dword [esp + 0x20], ebx
stosw word es:[edi], ax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov eax, dword [0x550434]
mov dword [esp + 0x10], eax
mov ecx, dword [ebp + 0x64]
lea edx, [esp + 0x6c]
push ecx
lea eax, [esp + 0x70]
push edx
push eax
lea ecx, [esp + 0x1c]
push str.__s_rundll32.exe___s_shell32.dll_OpenAs_RunDLL__s
push ecx
mov byte [esp + 0x290], 1
call fcn.0043ef00
add esp, 0x14
lea edx, [esp + 0x18]
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x28]
push edx
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
cmp eax, ebx
je 0x405671
mov edx, dword [esp + 0x1c]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call edi
mov eax, dword [esp + 0x18]
push 0x7d0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [esp + 0x18]
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edx, dword [esp + 0x18]
push edx
call edi
push esi
call dword [sym.imp.USER32.dll_CloseDesktop]
lea ecx, [esp + 0x10]
mov byte [esp + 0x27c], bl
call fcn.0043bf80
lea ecx, [esp + 0x14]
mov dword [esp + 0x27c], 0xffffffff
call fcn.0043bf80
pop edi
mov ecx, dword [esp + 0x270]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x270
ret
Function at 0x40b830
Capabilities:
Check mutex on windows

Disassembly:
sub esp, 0x208
mov edx, ecx
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 6]
mov word [esp + 4], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 4]
push 0x104
push eax
push str.TEC_OCULAR__AGENT_V3_MUTEX_AGENT
mov ecx, edx
call fcn.0040b650
lea ecx, [esp + 4]
push ecx
push 0
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
test eax, eax
pop edi
jne 0x40b893
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor edx, edx
cmp eax, 5
sete dl
mov eax, edx
add esp, 0x208
ret
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
add esp, 0x208
ret
Function at 0x40dfe0
Capabilities:
Resolve dns

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x10
test edx, edx
je 0x40e040
push edi
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
pop edi
je 0x40e040
mov dword [esp + 2], eax
push edx
mov dword [esp + 0xa], eax
mov dword [esp + 0xe], eax
mov word [esp + 0x12], ax
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x40e02f
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx]
test eax, eax
je 0x40e040
mov eax, dword [eax]
push eax
call dword [sym.imp.WS2_32.dll_ntohl]
add esp, 0x10
ret 4
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.WS2_32.dll_ntohl]
add esp, 0x10
ret 4
xor eax, eax
add esp, 0x10
ret 4
Function at 0x40f830
Capabilities:
Read .ini file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x54016b
push eax
mov eax, dword [0x58ac48]
mov dword fs:[0], esp
sub esp, 0xe18
push ebx
xor ebx, ebx
cmp eax, ebx
push edi
jne 0x40fa68
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 0x19]
mov byte [esp + 0x18], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x1ff
xor eax, eax
lea edi, [esp + 0x622]
mov word [esp + 0x620], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x41a]
mov word [esp + 0x418], bx
rep stosd dword es:[edi], eax
push 0x5492d8
mov dword [0x58ac48], 1
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebx
stosw word es:[edi], ax
call fcn.00412780
push eax
lea eax, [esp + 0x420]
push 0x5722b0
push eax
call fcn.00423eab
add esp, 0x10
lea ecx, [esp + 0x418]
lea edx, [esp + 0x620]
push ecx
push 0x400
push edx
push 0x589b18
push 0x549308
push str.AgentConfig
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp eax, ebx
jbe 0x40f92e
cmp word [esp + 0xe1e], bx
jne 0x40f92e
lea eax, [esp + 0x18]
push 0x400
lea ecx, [esp + 0x624]
push eax
push ecx
call fcn.004d9440
add esp, 0xc
mov dword [esp + 8], eax
jmp 0x40f932
mov eax, dword [esp + 8]
cmp eax, ebx
jne 0x40fa32
lea ecx, [esp + 0x10]
call fcn.0044aa00
push 0x20019
push str.SOFTWAREClassesCLSIDAFFAEF68_CDC5_4aad_9D3F_997C0D55927BProgID
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [esp + 0x1c]
mov dword [esp + 0xe34], ebx
call fcn.0044ab70
test eax, eax
je 0x40f9a9
lea edx, [esp + 8]
lea eax, [esp + 0xc]
push edx
push eax
push 0x549310
lea ecx, [esp + 0x1c]
call fcn.0044aec0
test eax, eax
je 0x40f9a9
mov eax, dword [esp + 0xc]
cmp eax, ebx
je 0x40f9a9
push esi
mov ecx, 0xff
mov esi, eax
lea edi, [esp + 0x1c]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
push eax
movsb byte es:[edi], byte [esi]
call fcn.00526473
add esp, 4
mov dword [esp + 0x10], ebx
pop esi
lea ecx, [esp + 0x10]
call fcn.0044abc0
lea ecx, [esp + 0x10]
mov dword [esp + 0xe28], 0xffffffff
call fcn.0044aaf0
mov eax, dword [esp + 8]
cmp eax, ebx
jne 0x40fa32
mov ecx, 0x200
xor eax, eax
lea edi, [esp + 0x620]
push 0x400
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x624]
push ecx
push 0x589b18
push 0x549310
push str.ED30_8AC4_11D5_8930_A730
call dword [sym.imp.KERNEL32.dll_GetProfileStringW]
test eax, eax
jbe 0x40fa2a
cmp word [esp + 0xe1e], bx
jne 0x40fa2a
lea edx, [esp + 0x18]
push 0x400
lea eax, [esp + 0x624]
push edx
push eax
call fcn.004d9440
add esp, 0xc
jmp 0x40fa2e
mov eax, dword [esp + 8]
cmp eax, ebx
je 0x40fa68
cmp eax, 4
jbe 0x40fa68
lea ecx, [esp + 0x18]
test ecx, ecx
je 0x40fa68
cmp dword [esp + 0x18], 1
je 0x40fa68
mov edx, dword [esp + 0x34]
and edx, 0xffff
lea ecx, [edx + edx + 0x22]
cmp ecx, ebx
je 0x40fa68
add eax, 0xfffffffc
cmp ecx, eax
ja 0x40fa68
mov eax, dword [esp + 0x20]
mov dword [0x58ac44], eax
mov ecx, dword [esp + 0xe20]
pop edi
pop ebx
mov dword fs:[0], ecx
add esp, 0xe24
ret
Function at 0x410f70
Capabilities:
Create service

Disassembly:
sub esp, 8
push ebx
push ebp
call fcn.0044d820
test eax, eax
je 0x41109c
mov eax, dword [esp + 0x1c]
xor ebx, ebx
cmp eax, ebx
je 0x411092
mov ebp, dword [esp + 0x28]
cmp ebp, ebx
je 0x411092
push eax
call fcn.00422fc1
add esp, 4
test eax, eax
je 0x411092
push ebp
call fcn.00422fc1
add esp, 4
test eax, eax
je 0x411092
push esi
push edi
push 0xa
push ebx
push ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x1c], ebx
xor esi, esi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
cmp edi, ebx
je 0x41104a
push edi
call dword [sym.imp.ADVAPI32.dll_LockServiceDatabase]
cmp eax, ebx
mov dword [esp + 0x10], eax
je 0x41104a
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0x34]
test ebx, ebx
je 0x411006
push ebx
call fcn.00422fc1
add esp, 4
test eax, eax
jbe 0x411006
lea esi, [esp + 0x14]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x24]
push edx
mov edx, dword [esp + 0x34]
push esi
push ebx
push ebp
push 1
push eax
mov eax, dword [esp + 0x44]
push ecx
push 0xf01ff
push edx
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov esi, eax
test esi, esi
je 0x411048
mov dword [esp + 0x30], 1
xor ebx, ebx
mov eax, dword [esp + 0x30]
mov dword [0x58ac4c], ebx
cmp eax, ebx
jne 0x411063
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x58ac4c], eax
cmp esi, ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
je 0x411070
push esi
call ebx
mov eax, dword [esp + 0x10]
test eax, eax
je 0x41107f
push eax
call dword [sym.imp.ADVAPI32.dll_UnlockServiceDatabase]
test edi, edi
je 0x411086
push edi
call ebx
mov eax, dword [esp + 0x30]
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov dword [0x58ac4c], 0x57
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret

Function at 0x411626
Capabilities:
Get disk information

Disassembly:
sub esp, 0x208
push esi
mov esi, ecx
call fcn.0044d870
test eax, eax
je 0x41168f
mov edx, dword [esp + 0x210]
test edx, edx
je 0x41168f
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xa]
mov word [esp + 8], 0
push 0x104
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0xc]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
pop edi
jbe 0x41168f
cmp eax, 0x104
jae 0x41168f
mov ecx, dword [esp + 0x214]
lea edx, [esp + 4]
push ecx
push edx
mov ecx, esi
call fcn.00411500
pop esi
add esp, 0x208
ret 8
xor eax, eax
pop esi
add esp, 0x208
ret 8
Function at 0x4117d6
Capabilities:
Get disk information

Disassembly:
sub esp, 0x208
push esi
mov esi, ecx
call fcn.0044d870
test eax, eax
je 0x41183f
mov edx, dword [esp + 0x210]
test edx, edx
je 0x41183f
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xa]
mov word [esp + 8], 0
push 0x104
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0xc]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
pop edi
jbe 0x41183f
cmp eax, 0x104
jae 0x41183f
mov ecx, dword [esp + 0x214]
lea edx, [esp + 4]
push ecx
push edx
mov ecx, esi
call fcn.004116a0
pop esi
add esp, 0x208
ret 8
xor eax, eax
pop esi
add esp, 0x208
ret 8

Function at 0x4119a6
Capabilities:
Get disk information

Disassembly:
sub esp, 0x208
push esi
mov esi, ecx
call fcn.0044d870
test eax, eax
je 0x411a17
mov edx, dword [esp + 0x210]
test edx, edx
je 0x411a17
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xa]
mov word [esp + 8], 0
push 0x104
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0xc]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
pop edi
jbe 0x411a17
cmp eax, 0x104
jae 0x411a17
mov ecx, dword [esp + 0x218]
mov edx, dword [esp + 0x214]
push ecx
lea eax, [esp + 8]
push edx
push eax
mov ecx, esi
call fcn.00411850
pop esi
add esp, 0x208
ret 0xc
xor eax, eax
pop esi
add esp, 0x208
ret 0xc
Function at 0x414000
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x5405c3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, dword [0x550434]
push esi
mov esi, ecx
push edi
mov dword [esp + 0x18], esi
lea edi, [esi + 4]
mov dword [edi], eax
mov dword [esi], 0x549388
mov eax, dword [0x550434]
mov dword [esp + 0x24], 0
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], eax
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov byte [esp + 0x24], 4
test eax, eax
je 0x414072
call fcn.005098d0
push eax
lea ecx, [esp + 0x18]
push str.__lu
push ecx
call fcn.0043ef00
add esp, 0xc
mov eax, dword [esp + 0x34]
test eax, eax
je 0x414093
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea edx, [esp + 0x14]
push str.__lu
push edx
call fcn.0043ef00
add esp, 0xc
mov eax, dword [esp + 0x38]
test eax, eax
je 0x4140b4
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
lea eax, [esp + 0x10]
push str.__lu
push eax
call fcn.0043ef00
add esp, 0xc
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x4140d5
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea ecx, [esp + 0xc]
push 0x574968
push ecx
call fcn.0043ef00
add esp, 0xc
mov edx, dword [esp + 0x2c]
lea ecx, [esp + 0x30]
push edx
call fcn.0043b7e0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
push eax
mov eax, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x38]
push edx
push eax
push ecx
push str._s_s_s_s_s
push edi
mov byte [esp + 0x40], 5
call fcn.0043ef00
add esp, 0x1c
lea ecx, [esp + 0x30]
mov byte [esp + 0x24], 4
call fcn.0043bf80
lea ecx, [esp + 8]
mov byte [esp + 0x24], 3
call fcn.0043bf80
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], 2
call fcn.0043bf80
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], 1
call fcn.0043bf80
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], 0
call fcn.0043bf80
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret 0x14
Function at 0x4141bd
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5405f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov eax, dword [0x550434]
push esi
mov esi, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0xc], eax
mov dword [esp + 8], eax
mov dword [esp + 4], eax
mov eax, dword [esp + 0x28]
mov byte [esp + 0x1c], 3
cmp eax, 0xffffffff
je 0x4141f9
push eax
lea eax, [esp + 0x14]
push str.__lu
push eax
call fcn.0043ef00
add esp, 0xc
mov eax, dword [esp + 0x2c]
cmp eax, 0xffffffff
je 0x414215
push eax
lea ecx, [esp + 0x10]
push str.__lu
push ecx
call fcn.0043ef00
add esp, 0xc
mov eax, dword [esp + 0x30]
cmp eax, 0xffffffff
je 0x414231
push eax
lea edx, [esp + 0xc]
push str.__lu
push edx
call fcn.0043ef00
add esp, 0xc
mov eax, dword [esp + 0x34]
cmp eax, 0xffffffff
je 0x41424d
push eax
lea eax, [esp + 8]
push 0x574968
push eax
call fcn.0043ef00
add esp, 0xc
mov ecx, dword [esp + 0x24]
push ecx
lea ecx, [esp + 0x2c]
call fcn.0043b7e0
mov edx, dword [esp + 4]
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
push edx
mov edx, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x30]
push ecx
push edx
push eax
add esi, 4
push str._s_s_s_s_s
push esi
mov byte [esp + 0x38], 4
call fcn.0043ef00
add esp, 0x1c
lea ecx, [esp + 0x28]
mov byte [esp + 0x1c], 3
call fcn.0043bf80
lea ecx, [esp + 4]
mov byte [esp + 0x1c], 2
call fcn.0043bf80
lea ecx, [esp + 8]
mov byte [esp + 0x1c], 1
call fcn.0043bf80
lea ecx, [esp + 0xc]
mov byte [esp + 0x1c], 0
call fcn.0043bf80
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], 0xffffffff
call fcn.0043bf80
mov ecx, dword [esp + 0x14]
pop esi
mov dword fs:[0], ecx
add esp, 0x1c
ret 0x14

Function at 0x414380
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x540657
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov eax, dword [0x550434]
push esi
mov esi, ecx
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov dword [esp + 0x18], 1
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov byte [esp + 0x18], 2
test eax, eax
je 0x4143cc
push 0x572754
jmp 0x4143d1
push 0x572744
lea ecx, [esp + 8]
call fcn.0043c200
mov eax, dword [esi + 4]
mov ecx, dword [esp + 4]
push eax
push ecx
lea edx, [esp + 0x10]
push 0x574990
push edx
call fcn.0043ef00
mov esi, dword [esp + 0x30]
add esp, 0x10
lea eax, [esp + 8]
mov ecx, esi
push eax
call fcn.0043b580
mov dword [esp + 0xc], 1
lea ecx, [esp + 4]
mov byte [esp + 0x18], 1
call fcn.0043bf80
lea ecx, [esp + 8]
mov byte [esp + 0x18], 0
call fcn.0043bf80
mov ecx, dword [esp + 0x10]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret 8
Function at 0x43a650
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
push esi
mov esi, eax
shr eax, 4
and esi, 0xf
inc eax
push edi
mov edi, dword [esp + 0xc]
and eax, 0xffff
push ecx
push eax
push 6
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
test eax, eax
je 0x43a69e
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x43a69e
xor edx, edx
xor ecx, ecx
mov cx, word [eax]
add eax, 2
cmp esi, edx
je 0x43a6a3
inc edx
lea eax, [eax + ecx*2]
cmp edx, 0x10
jl 0x43a689
pop edi
xor eax, eax
pop esi
ret
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
test edi, edi
jne 0x43a6b3
test esi, esi
jne 0x43a6d1
push 0
push 0
push edi
push esi
push 0xffffffffffffffff
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jle 0x43a6cf
mov byte [eax + esi - 1], 0
jne 0x43a6d8
mov byte [esi + edi - 1], 0
mov eax, edi
pop edi
dec eax
pop esi
ret

Function at 0x43fdc0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
push esi
push edi
mov esi, dword [esp + 0xc]
mov edi, eax
shr eax, 4
and edi, 0xf
inc eax
and eax, 0xffff
push ecx
push eax
push 6
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
test eax, eax
je 0x43fe10
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x43fe10
xor ecx, ecx
xor eax, eax
mov ax, word [esi]
add esi, 2
cmp edi, ecx
je 0x43fe15
inc ecx
lea esi, [esi + eax*2]
cmp ecx, 0x10
jl 0x43fdfb
pop edi
xor eax, eax
pop esi
ret
mov edx, dword [esp + 0x1c]
lea ecx, [edx - 1]
cmp eax, ecx
jle 0x43fe22
mov eax, ecx
lea edx, [eax + eax]
push ebx
mov ebx, dword [esp + 0x1c]
mov ecx, edx
push ebp
mov ebp, ecx
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
pop ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov word [edx + ebx], 0
pop ebx
pop edi
pop esi
ret
Function at 0x44ac40
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov eax, dword [ecx + 4]
push ebx
push ebp
push esi
push edi
mov edi, dword [ecx]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x10], 0
test ecx, ecx
je 0x44ac81
lea edx, [esp + 0x14]
or eax, 0x20019
push edx
push eax
push 0
push ecx
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
mov eax, dword [esp + 0x14]
neg esi
sbb esi, esi
not esi
and esi, eax
jmp 0x44ac83
mov esi, edi
test esi, esi
je 0x44acf8
mov ebx, dword [esp + 0x20]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x20]
push eax
push 0
push ecx
push 0
push ebx
push esi
call ebp
test eax, eax
jne 0x44aced
mov ecx, dword [esp + 0x20]
mov eax, 4
cmp ecx, eax
jne 0x44aced
cmp dword [esp + 0x1c], eax
jbe 0x44acbe
mov dword [esp + 0x1c], eax
lea edx, [esp + 0x1c]
lea eax, [esp + 0x10]
push edx
push eax
push 0
push 0
push ebx
push esi
call ebp
test eax, eax
jne 0x44aced
cmp esi, edi
je 0x44acdf
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc
cmp esi, edi
je 0x44acf8
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc

Function at 0x44ae50
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
push ebx
push esi
mov esi, dword [ecx]
push edi
test esi, esi
je 0x44aeaf
mov edi, dword [esp + 0x14]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [esp + 0x14]
lea ecx, [esp + 0xc]
push eax
push 0
push ecx
push 0
push edi
push esi
call ebx
test eax, eax
jne 0x44aeaf
cmp dword [esp + 0xc], 3
jne 0x44aeaf
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
cmp edx, eax
jb 0x44aeaf
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x14]
push eax
push ecx
push 0
push 0
push edi
push esi
call ebx
test eax, eax
jne 0x44aeaf
pop edi
pop esi
mov eax, 1
pop ebx
pop ecx
ret 0xc
pop edi
pop esi
xor eax, eax
pop ebx
pop ecx
ret 0xc