joyce8/EMBER2024-capa huggingface dataset:
Function at 0x430a58
Capabilities:
Encrypt data using dpapi

Disassembly:
push esi
push edi
push 0x467568
push str.AdvApi32.dll
call fcn.00403a8e
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
js 0x430a9b
push str.SystemFunction040
push dword [0x467568]
call edi
push str.SystemFunction041
push dword [0x467568]
mov dword [0x467558], eax
call edi
mov dword [0x46755c], eax
jmp 0x430aa0
mov eax, dword [0x46755c]
cmp dword [0x467558], 0
je 0x430ab1
test eax, eax
jne 0x430b58
push 0x46756c
push str.Crypt32.dll
call fcn.00403a8e
mov esi, eax
test esi, esi
js 0x430b62
push str.CryptProtectMemory
push dword [0x46756c]
call edi
cmp dword [0x467558], 0
mov dword [0x467560], eax
jne 0x430b0c
test eax, eax
jne 0x430b0c
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
mov eax, 0x80004005
test esi, esi
cmovns esi, eax
push esi
push 0x28
jmp 0x430b4c
push str.CryptUnprotectMemory
push dword [0x46756c]
call edi
cmp dword [0x46755c], 0
mov dword [0x467564], eax
jne 0x430b58
test eax, eax
jne 0x430b58
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
mov eax, 0x80004005
test esi, esi
cmovns esi, eax
push esi
push 0x2d
push str.cryputil.cpp
call fcn.00403a8b
jmp 0x430b62
mov dword [0x467570], 1
pop edi
mov eax, esi
pop esi
ret
Function at 0x43109a
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
mov eax, dword [0x466078]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [str.unknown]
mov eax, 0x104
push edi
push eax
mov dword [ebp - 0x424], eax
xor ebx, ebx
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x41c], ebx
push eax
push ebx
mov dword [ebp - 0x420], ebx
mov dword [ebp - 0x418], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov edi, 0x208
test eax, eax
jne 0x4310fe
push edi
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.00438fc0
add esp, 0xc
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.00405c62
test eax, eax
jns 0x431128
mov dword [ebp - 0x41c], ebx
mov dword [ebp - 0x420], ebx
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
jne 0x43114c
lea eax, [ebp - 0x414]
mov byte [eax], bl
inc eax
dec edi
jne 0x431146
push ebx
lea eax, [ebp - 0x418]
push eax
call fcn.00437627
push dword [ebp - 0x418]
push str._Logging_started:__ls_
push 2
pop edi
push edi
call fcn.004314b2
mov ecx, dword [ebp - 0x420]
movzx eax, cx
push eax
shr ecx, 0x10
push ecx
mov ecx, dword [ebp - 0x41c]
movzx eax, cx
push eax
shr ecx, 0x10
lea eax, [ebp - 0x20c]
push ecx
push eax
push str.Executable:__ls_v_d._d._d._d
push edi
call fcn.004314b2
lea eax, [ebp - 0x414]
push eax
push str.Computer__:__ls
push edi
call fcn.004314b2
mov eax, dword [0x466024]
add esp, 0x34
sub eax, ebx
je 0x4311e5
dec eax
je 0x4311dd
dec eax
je 0x4311d5
dec eax
je 0x4311cd
dec eax
jne 0x4311eb
mov esi, dword [str.debug]
jmp 0x4311eb
mov esi, dword [str.verbose]
jmp 0x4311eb
mov esi, dword [str.standard]
jmp 0x4311eb
mov esi, dword [str.warning]
jmp 0x4311eb
mov esi, dword [str.none]
push esi
push str.____logging_level:__hs____
push edi
call fcn.004314b2
add esp, 0xc
cmp dword [ebp - 0x418], 0
pop edi
pop esi
pop ebx
je 0x431211
push dword [ebp - 0x418]
call fcn.004027ab
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.00437d83
mov esp, ebp
pop ebp
ret

Function at 0x4314f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor esi, esi
xor edi, edi
and dword [ebp - 4], esi
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [0x466020]
mov dword [ebp + 8], eax
cmp ecx, 0xffffffff
jne 0x43152c
push edi
push ebx
push 0x467580
call fcn.004024d3
mov esi, eax
test esi, esi
js 0x431582
xor esi, esi
jmp 0x431582
test eax, eax
je 0x431582
push 0
lea edx, [ebp - 4]
sub eax, edi
push edx
push eax
lea eax, [edi + ebx]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x431560
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
test esi, esi
js 0x431572
add edi, dword [ebp - 4]
mov eax, dword [ebp + 8]
cmp edi, eax
jae 0x431582
mov ecx, dword [0x466020]
jmp 0x431530
push esi
push 0x310
push str.logutil.cpp
call fcn.00403a8b
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4316c5
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
push ebx
push esi
push edi
xor ebx, ebx
lea eax, [ebp - 0x58]
push 0x44
push ebx
push eax
mov dword [ebp - 4], ebx
call fcn.00438fc0
xor eax, eax
lea edi, [ebp - 0x14]
cmp dword [ebp + 0xc], ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, 0x4485dc
cmovne eax, dword [ebp + 0xc]
push eax
push dword [ebp + 8]
lea eax, [ebp - 4]
push str.__ls___ls
push eax
call fcn.00402074
mov esi, eax
add esp, 0x1c
test esi, esi
js 0x431776
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x58]
mov dword [ebp - 0x58], 0x44
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 4]
mov word [ebp - 0x28], cx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x43176b
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
mov eax, 0x80004005
test esi, esi
cmovns esi, eax
push esi
push 0x9e
push str.procutil.cpp
call fcn.00403a8b
jmp 0x431776
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x14], ebx
mov dword [eax], ecx
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x10], ebx
je 0x431789
push dword [ebp - 0x10]
call edi
mov dword [ebp - 0x10], ebx
cmp dword [ebp - 0x14], ebx
je 0x431796
push dword [ebp - 0x14]
call edi
mov dword [ebp - 0x14], ebx
cmp dword [ebp - 4], ebx
je 0x4317a3
push dword [ebp - 4]
call fcn.004027ab
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x434d0d
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, dword [ebp + 0x14]
xor eax, eax
push esi
push edi
push dword [ebp + 8]
mov edi, dword [ebp + 0xc]
push str._ls.R
push edi
mov dword [ebp - 4], eax
mov dword [ebp - 8], eax
mov dword [ebx], eax
mov dword [ebx + 4], eax
call fcn.00402074
mov esi, eax
add esp, 0xc
test esi, esi
js 0x434e19
push 0
push 0x80
push 4
push 0
push 4
push 0xc0000000
push dword [edi]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x434d97
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
mov eax, 0x80004005
test esi, esi
cmovns esi, eax
push esi
push 0xc1
push str.dlutil.cpp
call fcn.00403a8b
jmp 0x434e19
mov ecx, dword [ebp - 4]
push 0
lea eax, [ebp - 8]
push eax
push 8
pop eax
sub eax, ecx
push eax
lea eax, [ecx + ebx]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x434ddf
mov ecx, dword [ebp - 4]
add ecx, dword [ebp - 8]
cmp dword [ebp - 8], 0
mov dword [ebp - 4], ecx
je 0x434dc9
cmp ecx, 8
jb 0x434d9a
cmp ecx, 8
je 0x434dd5
and dword [ebx], 0
and dword [ebx + 4], 0
mov eax, dword [ebp + 0x10]
mov dword [eax], edi
or edi, 0xffffffff
jmp 0x434e0d
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
mov eax, 0x80004005
test esi, esi
cmovns esi, eax
push esi
push 0xc8
push str.dlutil.cpp
call fcn.00403a8b
cmp edi, 0xffffffff
je 0x434e19
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x43528f
Capabilities:
Download and write a file
Read data from internet
Receive and write data from server to client
Receive data
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 4], 0
push esi
push edi
mov edi, dword [ebp + 0x10]
push 0
push 0
push dword [edi + 4]
push dword [edi]
push dword [ebp + 0xc]
call fcn.00405b03
mov esi, eax
test esi, esi
js 0x4353e5
push ebx
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x4353b6
cmp dword [ebp - 4], 0
je 0x4353e4
xor ebx, ebx
and dword [ebp + 0x10], ebx
push 0
lea eax, [ebp + 0x10]
push eax
mov eax, dword [ebp - 4]
sub eax, ebx
push eax
mov eax, dword [ebp + 0x20]
add eax, ebx
push eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x435390
add ebx, dword [ebp + 0x10]
cmp dword [ebp + 0x10], 0
je 0x435314
cmp ebx, dword [ebp - 4]
jb 0x4352e3
add dword [edi], ebx
push 0
pop eax
adc dword [edi + 4], eax
cmp dword [ebp + 0x14], 0xffffffff
je 0x43535e
push eax
push eax
push eax
push eax
push dword [ebp + 0x14]
mov ebx, eax
mov dword [ebp - 8], eax
call fcn.00405b03
test eax, eax
js 0x43535e
push 0
lea eax, [ebp - 8]
push eax
push 8
pop eax
sub eax, ebx
push eax
lea eax, [edi + ebx*8]
push eax
push dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_WriteFile]
add ebx, dword [ebp - 8]
cmp dword [ebp - 8], 0
je 0x43535e
cmp ebx, 8
jb 0x435337
mov eax, dword [ebp + 0x28]
test eax, eax
je 0x435384
cmp dword [eax], 0
je 0x435384
push dword [ebp + 0xc]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [edi + 4]
push dword [edi]
push eax
call fcn.00434bf1
mov esi, eax
test esi, esi
js 0x4353e4
cmp dword [ebp - 4], 0
jne 0x4352b9
jmp 0x4353e4
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
mov eax, 0x80004005
test esi, esi
cmovns esi, eax
push esi
push 0x1a6
jmp 0x4353da
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
mov eax, 0x80004005
test esi, esi
cmovns esi, eax
push esi
push 0x19a
push str.dlutil.cpp
call fcn.00403a8b
pop ebx
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 0x24
Function at 0x4353ef
Capabilities:
Create http request
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
or dword [ebp - 0xc], 0xffffffff
xor eax, eax
push ebx
mov ebx, dword [ebp + 8]
xorps xmm0, xmm0
push esi
push edi
push eax
push dword [ebx]
mov dword [ebp - 8], eax
mov edi, eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
lea eax, [ebp - 8]
push eax
movlpd qword [ebp - 0x18], xmm0
movlpd qword [ebp - 0x20], xmm0
call fcn.004022f7
mov esi, eax
test esi, esi
js 0x435558
xor eax, eax
push eax
push eax
push eax
push eax
push str.Burn
call dword [sym.imp.WININET.dll_InternetOpenW]
mov edi, eax
test edi, edi
jne 0x43547f
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
mov eax, 0x80004005
test esi, esi
cmovns esi, eax
push esi
push 0x84
push str.dlutil.cpp
call fcn.00403a8b
jmp 0x435558
lea eax, [ebp - 4]
push eax
push 0x78
push str.DownloadTimeout
push 0x45334c
call fcn.00434789
mov eax, dword [ebp - 4]
test eax, eax
je 0x4354cb
mov esi, dword [sym.imp.WININET.dll_InternetSetOptionW]
imul eax, eax, 0x3e8
push 4
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push 2
push edi
call esi
push 4
lea eax, [ebp - 4]
push eax
push 6
push edi
call esi
push 4
lea eax, [ebp - 4]
push eax
push 5
push edi
call esi
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp + 0x1c]
lea eax, [ebp - 8]
push dword [ebx + 8]
push dword [ebx + 4]
push eax
push edi
call fcn.00434c64
mov esi, eax
test esi, esi
js 0x435558
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 0x14]
call fcn.00434d0d
push dword [ebp + 0x1c]
lea eax, [ebp - 8]
push dword [ebp + 0x18]
push dword [ebp - 0xc]
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 0x14]
push dword [ebx + 8]
push dword [ebx + 4]
push eax
push edi
call fcn.00434967
mov esi, eax
test esi, esi
js 0x435549
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x435549
xor ecx, ecx
cmp word [eax], cx
je 0x435549
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0xc], 0xffffffff
je 0x435558
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x435565
push eax
call fcn.004027ab
test edi, edi
je 0x435570
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp dword [ebp - 8], 0
je 0x43557e
push dword [ebp - 8]
call fcn.004027ab
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
Function at 0x437946
Capabilities:
Get http content length

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
xor esi, esi
mov dword [ebp - 4], 4
push esi
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push 0x20000005
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
jne 0x437997
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
test esi, esi
jns 0x437997
push esi
push 0x18
push str.inetutil.cpp
call fcn.00403a8b
jmp 0x4379a3
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
and dword [edx + 4], 0
mov dword [edx], ecx
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x437add
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x246c
call fcn.004393b0
mov eax, dword [0x466078]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2430], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x242c], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0x20]
mov dword [ebp - 0x241c], eax
mov eax, dword [ebp + 0x14]
push esi
mov dword [ebp - 0x2428], eax
xor esi, esi
mov eax, dword [ebp + 0x18]
push edi
mov edi, dword [ebp + 0x24]
mov dword [ebp - 0x2424], eax
mov eax, dword [ebp + 0x1c]
push 0x3c
mov dword [ebp - 0x2420], eax
lea eax, [ebp - 0x246c]
push esi
push eax
call fcn.00438fc0
add esp, 0xc
mov dword [ebp - 0x246c], 0x3c
cmp dword [ebp - 0x241c], esi
je 0x437b6f
lea eax, [ebp - 0x410]
mov dword [ebp - 0x2458], 0x101
mov dword [ebp - 0x245c], eax
mov ecx, 0x81
cmp dword [ebp - 0x2424], esi
je 0x437b8e
lea eax, [ebp - 0x108]
mov dword [ebp - 0x244c], ecx
mov dword [ebp - 0x2450], eax
cmp dword [ebp - 0x2420], esi
je 0x437ba8
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x2444], ecx
mov dword [ebp - 0x2448], eax
mov ecx, 0x801
test ebx, ebx
je 0x437bc3
lea eax, [ebp - 0x1414]
mov dword [ebp - 0x243c], ecx
mov dword [ebp - 0x2440], eax
test edi, edi
je 0x437bd9
lea eax, [ebp - 0x2418]
mov dword [ebp - 0x2434], ecx
mov dword [ebp - 0x2438], eax
lea eax, [ebp - 0x246c]
push eax
push 0x90000000
push esi
push dword [ebp - 0x2430]
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
jne 0x437c26
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
mov eax, 0x80004005
test esi, esi
cmovns esi, eax
push esi
push 0x56
push str.uriutil.cpp
call fcn.00403a8b
jmp 0x437cea
mov ecx, dword [ebp - 0x242c]
test ecx, ecx
je 0x437c38
mov eax, dword [ebp - 0x2460]
mov dword [ecx], eax
mov eax, dword [ebp - 0x241c]
test eax, eax
je 0x437c5e
push dword [ebp - 0x2458]
push dword [ebp - 0x245c]
push eax
call fcn.004022f7
mov esi, eax
test esi, esi
js 0x437cea
mov eax, dword [ebp - 0x2428]
test eax, eax
je 0x437c72
mov cx, word [ebp - 0x2454]
mov word [eax], cx
mov eax, dword [ebp - 0x2424]
test eax, eax
je 0x437c94
push dword [ebp - 0x244c]
push dword [ebp - 0x2450]
push eax
call fcn.004022f7
mov esi, eax
test esi, esi
js 0x437cea
mov eax, dword [ebp - 0x2420]
test eax, eax
je 0x437cb6
push dword [ebp - 0x2444]
push dword [ebp - 0x2448]
push eax
call fcn.004022f7
mov esi, eax
test esi, esi
js 0x437cea
test ebx, ebx
je 0x437cd2
push dword [ebp - 0x243c]
push dword [ebp - 0x2440]
push ebx
call fcn.004022f7
mov esi, eax
test esi, esi
js 0x437cea
test edi, edi
je 0x437cea
push dword [ebp - 0x2434]
push dword [ebp - 0x2438]
push edi
call fcn.004022f7
mov esi, eax
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00437d83
mov esp, ebp
pop ebp
ret 0x20
Function at 0x441ae7
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x466078]
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.0043c733
mov dword [ebp - 0x14], eax
cmp dword [0x468494], esi
jne 0x441bda
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x441b67
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x441cba
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x441cba
push 0x45ffb0
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x441cba
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x468494], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x468498], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x46849c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4684a4], eax
test eax, eax
je 0x441bd7
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4684a0], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x441bff
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x441bf2
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x441c14
push 4
pop eax
jmp 0x441cbc
cmp dword [ebp - 0x14], esi
je 0x441c14
push dword [0x468494]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x441bf9
mov eax, dword [0x4684a0]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x441c72
cmp dword [0x4684a4], edi
je 0x441c72
push eax
call ebx
push dword [0x4684a4]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x441c72
test eax, eax
je 0x441c72
call ecx
test eax, eax
je 0x441c67
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 0x441c67
test byte [ebp - 8], 1
jne 0x441c72
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x441ca2
mov eax, dword [0x468498]
cmp eax, edi
je 0x441c9f
push eax
call ebx
test eax, eax
je 0x441c9f
call eax
mov esi, eax
test esi, esi
je 0x441c9f
mov eax, dword [0x46849c]
cmp eax, edi
je 0x441c9f
push eax
call ebx
test eax, eax
je 0x441c9f
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x468494]
call ebx
test eax, eax
je 0x441cba
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x441cbc
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00437d83
mov esp, ebp
pop ebp
ret
Function at 0x403a03
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4218
call fcn.0040461f
mov eax, dword [0x401508]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
test esi, esi
push edi
mov dword [0x40626c], ebx
je 0x403a52
push 0xb
mov edi, 0x4014fc
pop ecx
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x403a52
call fcn.00403762
test eax, eax
jge 0x403b08
mov eax, 0x80004005
jmp 0x403b0a
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx esi, ax
push 0xa
movzx eax, si
push 0x104
lea ecx, [ebp - 0x20c]
push ecx
push eax
mov dword [ebp - 0x4218], eax
call fcn.004031be
cmp si, 0x409
je 0x403a95
push 0x4014f0
push 0x208
lea eax, [ebp - 0x20c]
push eax
call fcn.0040314b
push 0x4014d4
lea eax, [ebp - 0x20c]
push eax
push ebx
call fcn.00403845
mov ebx, eax
test ebx, ebx
je 0x403af4
mov esi, dword [sym.imp.USER32.dll_LoadStringW]
mov edi, 0x1001
push edi
lea eax, [ebp - 0x2210]
push eax
push 0x8062
push ebx
call esi
push edi
lea eax, [ebp - 0x4214]
push eax
push 0x8063
push ebx
call esi
push dword [ebp - 0x4218]
call fcn.00402e4a
push eax
lea eax, [ebp - 0x2210]
push eax
lea eax, [ebp - 0x4214]
push eax
jmp 0x403b00
push 0
push 0x4014b0
push 0x401440
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00403bcf
leave
ret 0x10

Function at 0x403b1b
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
push 0x401528
push 0x40150c
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x403b50
push 0
push 0
push 1
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call esi
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov esi, dword [ebp - 8]
xor esi, dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor esi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor esi, eax
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [ebp - 0x10]
xor eax, dword [ebp - 0x14]
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
xor esi, eax
lea eax, [ebp - 4]
push eax
push 0x40
push 4
mov ebx, 0x401508
push ebx
call edi
test esi, esi
mov dword [0x401508], esi
jne 0x403bb4
mov dword [0x401508], 0xbb40e64e
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 4
push ebx
call edi
pop edi
pop esi
mov dword [0x406238], 0x44bf19b1
pop ebx
leave
ret
Function at 0x403bcf
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x401508]
jne 0x40464a
ret
push ebp
mov ebp, esp
sub esp, 0x328
mov dword [0x4063a0], eax
mov dword [0x40639c], ecx
mov dword [0x406398], edx
mov dword [0x406394], ebx
mov dword [0x406390], esi
mov dword [0x40638c], edi
mov word [0x4063b8], ss
mov word [0x4063ac], cs
mov word [0x406388], ds
mov word [0x406384], es
mov word [0x406380], fs
mov word [0x40637c], gs
pushfd
pop dword [0x4063b0]
mov eax, dword [ebp]
mov dword [0x4063a4], eax
mov eax, dword [ebp + 4]
mov dword [0x4063a8], eax
lea eax, [ebp + 8]
mov dword [0x4063b4], eax
mov eax, dword [ebp - 0x320]
mov dword [0x4062f0], 0x10001
mov eax, dword [0x4063a8]
mov dword [0x4062a4], eax
mov dword [0x406298], 0xc0000409
mov dword [0x40629c], 1
mov eax, dword [0x401508]
mov dword [ebp - 0x328], eax
mov eax, dword [0x406238]
mov dword [ebp - 0x324], eax
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x4062e8], eax
push 1
call sub.MSVCR80.dll__crt_debugger_hook
pop ecx
push 0
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
push 0x401880
call dword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x4062e8], 0
jne 0x40473a
push 1
call sub.MSVCR80.dll__crt_debugger_hook
pop ecx
push 0xc0000409
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
leave
ret

Function at 0x403bdc
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x401554
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x403c34
mov eax, dword [ebp + 0xc]
push edi
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
push 0
push 0
push 0x40154c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
pop edi
jne 0x403c34
mov al, 1
jmp 0x403c36
xor al, al
leave
ret 8