joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404b60
Capabilities:
Accept command line arguments

Disassembly:
call fcn.00406803
test eax, eax
je 0x404c54
mov eax, dword [0x408620]
cmp byte [eax + 0x7ac], 0
je 0x404ba0
push 0x402010
push 0x402014
call dword [sym.imp.MSVCRT.dll_fopen]
push eax
mov dword [0x408588], eax
call fcn.00404eb1
push 0x20
call fcn.00404ec5
add esp, 0x10
call fcn.00406c59
push 0x402024
push 0x402060
call fcn.00404ed0
push 0x402068
push 0x402094
call fcn.00404ed0
add esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push eax
push 0x40209c
push 0x4020b0
call fcn.00404ed0
push 0x4020b8
push 0x4020e0
push 0x4020f4
call fcn.00404ed0
mov eax, dword [0x408620]
push dword [eax + 0x7b4]
push 0x4020fc
push 0x402114
call fcn.00404ed0
mov eax, dword [0x408620]
add esp, 0x24
cmp byte [eax], 0
mov eax, 0x40211c
jne 0x404c21
mov eax, 0x402128
push eax
push 0x402130
push 0x402144
call fcn.00404ed0
call fcn.00404c57
push 0
call fcn.00404eb1
mov eax, dword [0x408588]
add esp, 0x10
test eax, eax
je 0x404c51
push eax
call dword [sym.imp.MSVCRT.dll_fclose]
pop ecx
push 1
pop eax
ret 0x10

Function at 0x404c57
Capabilities:
Terminate process

Disassembly:
mov eax, dword [0x408620]
cmp byte [eax + 0x7a9], 0
je 0x404c96
push 0x40214c
push 0x402168
call fcn.00404ed0
push dword [0x408588]
call fcn.004066dc
push 0x402174
push 0x402198
call fcn.00404ed0
add esp, 0x14
jmp 0x404d73
cmp byte [eax + 0x7ab], 0
jne 0x404ca6
call fcn.00406014
jmp 0x404cb7
push 0x4021a4
push 0x4021c0
call fcn.00404ed0
pop ecx
pop ecx
call fcn.004054fd
test eax, eax
mov eax, 0x4021cc
jne 0x404cca
mov eax, 0x4021d4
push eax
push 0x4021dc
push 0x4021f0
call fcn.00404ed0
add esp, 0xc
call fcn.00406d1e
test eax, eax
jne 0x404cfa
push 0x4021fc
push 0x402220
call fcn.00404ed0
pop ecx
xor eax, eax
pop ecx
ret
mov eax, dword [0x408620]
cmp byte [eax + 0x7aa], 0
jne 0x404d0d
call fcn.004057a8
push 0x40222c
push 0x402248
call fcn.00404ed0
call fcn.00404d77
push 0x402254
push 0x402278
call fcn.00404ed0
mov eax, dword [0x408620]
add esp, 0x10
cmp byte [eax + 0x7af], 0
je 0x404d49
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
call fcn.004071a5
call fcn.00405af1
call fcn.00406175
call fcn.00405602
call fcn.004069bc
push 0x402284
push 0x40229c
call fcn.00404ed0
pop ecx
pop ecx
push 1
pop eax
ret

Function at 0x40532e
Capabilities:
Parse pe header

Disassembly:
cmp dword [esp + 8], 0
push ebx
push esi
push edi
je 0x4053a3
mov edi, dword [esp + 0x10]
test edi, edi
je 0x4053a3
mov ebx, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
push 0x40
push edi
call ebx
test eax, eax
jne 0x4053a3
cmp word [edi], 0x5a4d
jne 0x4053a3
mov esi, dword [edi + 0x3c]
push 0xf8
add esi, edi
push esi
call ebx
test eax, eax
jne 0x4053a3
cmp dword [esi], 0x4550
jne 0x4053a3
mov esi, dword [esi + 0x80]
test esi, esi
je 0x4053ad
add esi, edi
mov eax, dword [esi + 0xc]
test eax, eax
je 0x405398
push dword [esp + 0x14]
add eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x405398
add esi, 0x14
jmp 0x40537b
mov eax, dword [esi + 0xc]
neg eax
sbb eax, eax
and eax, esi
jmp 0x4053af
push 1
push 0x57
call dword [sym.imp.USER32.dll_SetLastErrorEx]
xor eax, eax
pop edi
pop esi
pop ebx
ret
Function at 0x406014
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x244
push esi
push 0x1000911
push 0x402a5c
push 0x402a7c
call fcn.00404ed0
mov eax, dword [0x408620]
add esp, 0xc
add eax, 0xa8c
mov esi, 0x402958
cmp byte [eax], 0
je 0x406052
push eax
push esi
call sub.MSVCRT.dll_strcpy
pop ecx
pop ecx
push esi
push 0x402a88
push 0x402aa4
call fcn.00404ed0
push esi
lea eax, [ebp - 0x244]
push 0x402ab0
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
mov dword [0x4085f0], 0x3e8
push 0x4085f8
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea eax, [ebp - 0x140]
push eax
lea eax, [ebp - 0x244]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4060bd
push 0x402abc
push 0x402ad4
call fcn.00404ed0
pop ecx
xor eax, eax
pop ecx
jmp 0x406105
lea eax, [ebp - 0x114]
push eax
call fcn.00406451
pop ecx
lea eax, [ebp - 0x140]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4060bd
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
push 1
call fcn.004061df
push dword [0x408618]
push 0x402ae0
push 0x402af8
call fcn.00404ed0
add esp, 0x10
push 1
pop eax
pop esi
leave
ret

Function at 0x406451
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
test ebx, ebx
je 0x4065b6
push ebx
push 0x402c54
push 0x402c68
call fcn.00404ed0
add esp, 0xc
cmp byte [0x402958], 0x5c
je 0x4064c3
cmp byte [0x402959], 0x3a
je 0x4064c3
lea eax, [ebp - 0x208]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push ebx
lea eax, [ebp - 0x208]
push 0x402958
push eax
lea eax, [ebp - 0x104]
push 0x402c7c
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
jmp 0x4064de
push ebx
push 0x402958
lea eax, [ebp - 0x104]
push 0x402c74
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
jne 0x406510
lea eax, [ebp - 0x104]
push eax
push ebx
push 0x402c88
push 0x402ca0
call fcn.00404ed0
add esp, 0x10
jmp 0x4065b6
push 0x402cac
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x40652d
push ebx
push 0x402cbc
push 0x402cd8
jmp 0x4065a7
call eax
mov esi, eax
test esi, esi
je 0x40659c
cmp dword [esi], 0x44320000
jne 0x40659c
mov ecx, dword [esi + 4]
cmp ecx, 0x10000000
jb 0x40656f
push ecx
push ebx
push 0x402d0c
push 0x402d28
call fcn.00404ed0
mov eax, dword [0x408620]
add esp, 0x10
push dword [eax + 0x7b4]
call dword [esi + 8]
push 1
pop eax
jmp 0x4065b8
mov eax, 0x1000911
cmp ecx, eax
je 0x40658f
push eax
push ecx
push ebx
push 0x402d34
push 0x402d58
call fcn.00404ed0
add esp, 0x14
jmp 0x4065af
push esi
push ebx
push edi
call fcn.004065bd
add esp, 0xc
jmp 0x4065b8
push ebx
push 0x402ce4
push 0x402d00
call fcn.00404ed0
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x406803
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push 0xc94
call dword [sym.imp.MSVCRT.dll_malloc]
xor ebx, ebx
pop ecx
cmp eax, ebx
mov dword [0x408620], eax
je 0x406831
call fcn.004069d8
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push eax
call fcn.00406887
test eax, eax
pop ecx
jne 0x406835
xor eax, eax
pop ebx
ret
mov eax, dword [0x408620]
add eax, 0x884
push eax
call fcn.004068f2
mov eax, dword [0x408620]
pop ecx
cmp byte [eax + 4], bl
jne 0x40686e
cmp byte [eax + 5], bl
jne 0x40686e
cmp byte [eax + 6], bl
jne 0x40686e
cmp byte [eax + 7], bl
jne 0x40686e
cmp byte [eax + 8], bl
jne 0x40686e
call fcn.00406bb9
mov eax, dword [0x408620]
add eax, 0x7bc
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call fcn.00407bb9
pop ecx
pop ecx
push 1
pop eax
pop ebx
ret

Function at 0x406bb9
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 8]
push esi
xor esi, esi
push eax
push 0x20019
push esi
push 0x403fbc
push 0x80000001
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x406be7
xor eax, eax
jmp 0x406c56
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 4
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
push esi
push 0x403ff4
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x406c4b
mov eax, dword [ebp - 4]
dec eax
sub eax, esi
je 0x406c3f
dec eax
je 0x406c34
dec eax
je 0x406c29
dec eax
jne 0x406c48
mov eax, dword [0x408620]
mov byte [eax + 4], 1
jmp 0x406c48
mov eax, dword [0x408620]
mov byte [eax + 5], 1
jmp 0x406c48
mov eax, dword [0x408620]
mov byte [eax + 6], 1
jmp 0x406c48
mov eax, dword [0x408620]
mov byte [eax + 8], 1
push 1
pop esi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
leave
ret

Function at 0x406c59
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
lea eax, [ebp - 0xc]
push edi
push eax
push 0x403ffc
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov edi, eax
push 4
push 0x1000
xor esi, esi
push edi
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ebx, eax
test ebx, ebx
je 0x406ce7
push ebx
push edi
push esi
push 0x404008
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x406ce7
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0x404014
push ebx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x406ce7
mov eax, dword [ebp - 4]
test eax, eax
je 0x406ce7
cmp dword [ebp - 8], 0x34
jne 0x406ce7
mov ecx, dword [eax + 0x10]
shr ecx, 0x10
movsx esi, cl
movsx ecx, byte [eax + 0x10]
shl esi, 8
or esi, ecx
mov ecx, dword [eax + 0x14]
movsx eax, byte [eax + 0x14]
shr ecx, 0x10
movsx ecx, cl
shl esi, 8
or esi, ecx
shl esi, 8
or esi, eax
push 0x8000
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualFree]
call fcn.0040735e
test eax, eax
je 0x406d06
or esi, 0x80000000
jmp 0x406d0c
and esi, 0x7fffffff
mov eax, dword [0x408620]
pop edi
mov dword [eax + 0x7b4], esi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x4073ac
Capabilities:
Accept command line arguments
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x360
push ebx
push esi
push edi
push 0x10
pop ecx
xor eax, eax
lea edi, [ebp - 0x50]
mov dword [ebp - 0x54], 0x44
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x25c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [ebp - 0x158]
xor ebx, ebx
push eax
push ebx
lea eax, [ebp - 0x25c]
push 0x4045b0
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
lea eax, [ebp - 0x158]
push 0x4045b4
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov edi, eax
pop ecx
cmp edi, ebx
pop ecx
jne 0x407427
lea eax, [ebp - 0x158]
push eax
push 0x4045b8
push 0x4045d8
jmp 0x40757e
mov eax, dword [0x408620]
lea esi, [eax + 0xd0]
lea ecx, [eax + 0x1a]
push esi
lea esi, [eax + 0x88]
lea edx, [eax + 0xb8]
push ecx
push esi
push edx
movzx esi, word [eax + 0x18]
push dword [eax + 0x223]
push esi
lea esi, [eax + 0x32]
push esi
lea esi, [eax + 0x23f]
push esi
push ecx
movzx ecx, word [eax + 0x1ea]
movzx eax, byte [eax + 0x1e9]
mov esi, dword [sym.imp.MSVCRT.dll_fprintf]
push edx
push 3
push ecx
push eax
push 0x4045ec
push edi
call esi
mov eax, dword [0x408620]
add esp, 0x3c
cmp byte [eax + 0x80], bl
je 0x407497
push 0x404694
push edi
call esi
pop ecx
pop ecx
mov eax, dword [0x408620]
cmp byte [eax + 0x83], bl
je 0x4074ae
push 0x40469c
push edi
call esi
pop ecx
pop ecx
mov eax, dword [0x408620]
cmp byte [eax + 0x82], bl
je 0x4074c5
push 0x4046a4
push edi
call esi
pop ecx
pop ecx
mov eax, dword [0x408620]
cmp byte [eax + 0x84], bl
je 0x4074dc
push 0x4046ac
push edi
call esi
pop ecx
pop ecx
mov eax, dword [0x408620]
cmp byte [eax + 0x81], bl
je 0x4074f3
push 0x4046b4
push edi
call esi
pop ecx
pop ecx
mov eax, dword [0x408620]
cmp byte [eax + 0x85], bl
je 0x40750a
push 0x4046bc
push edi
call esi
pop ecx
pop ecx
mov eax, dword [0x408620]
cmp byte [eax + 0x86], bl
je 0x407521
push 0x4046c4
push edi
call esi
pop ecx
pop ecx
push edi
call dword [sym.imp.MSVCRT.dll_fclose]
pop ecx
lea eax, [ebp - 0x158]
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push eax
lea eax, [ebp - 0x360]
push 0x4046cc
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x54]
push eax
push ebx
push ebx
push 0x20
push ebx
push ebx
lea eax, [ebp - 0x360]
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x40758a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x4046e0
push 0x404704
call fcn.00404ed0
add esp, 0xc
xor eax, eax
jmp 0x4075be
push dword [ebp - 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0xc]
call esi
mov eax, dword [0x408634]
cmp eax, ebx
je 0x4075ac
push 6
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x40
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_SetPriorityClass]
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4076ab
Capabilities:
Parse pe header

Disassembly:
mov eax, dword [esp + 4]
cmp word [eax], 0x5a4d
jne 0x4076c3
mov ecx, dword [eax + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
je 0x4076c6
xor eax, eax
ret
mov eax, dword [eax + 0x34]
ret

Function at 0x4076ca
Capabilities:
Parse pe header

Disassembly:
mov eax, dword [esp + 4]
cmp word [eax], 0x5a4d
jne 0x4076e2
mov ecx, dword [eax + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
je 0x4076e5
xor eax, eax
ret
mov eax, dword [eax + 0x50]
ret
Function at 0x401000
Capabilities:
Enumerate pe sections

Disassembly:
push ecx
mov eax, dword [esp + 0x10]
push ebp
mov ebp, dword [eax + 4]
mov eax, dword [eax]
movzx ecx, word [eax + 0x14]
xor edx, edx
lea ecx, [ecx + eax + 0x18]
mov dword [esp + 4], 0
cmp dx, word [eax + 6]
jae 0x4010c5
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push esi
push edi
lea esi, [ecx + 0x10]
mov ecx, dword [esi]
test ecx, ecx
jne 0x40106e
mov eax, dword [esp + 0x1c]
mov edi, dword [eax + 0x38]
test edi, edi
jle 0x4010a4
mov eax, dword [esi - 4]
add eax, ebp
cmp dword [0x5dffd0], ecx
je 0x401055
test eax, eax
jne 0x401060
push 4
push 0x1000
push edi
push eax
call ebx
push edi
push 0
push eax
mov dword [esi - 8], eax
call fcn.00410d00
jmp 0x4010a1
mov eax, dword [esi - 4]
add eax, ebp
cmp dword [0x5dffd0], 0
je 0x401080
test eax, eax
jne 0x40108b
push 4
push 0x1000
push ecx
push eax
call ebx
mov edx, dword [esi + 4]
mov ecx, dword [esi]
add edx, dword [esp + 0x18]
push ecx
mov edi, eax
push edx
push edi
call fcn.0040cb60
mov dword [esi - 8], edi
add esp, 0xc
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx]
mov eax, dword [esp + 0x10]
movzx ecx, word [edx + 6]
inc eax
add esi, 0x28
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x401033
pop edi
pop esi
pop ebx
pop ebp
pop ecx
ret

Function at 0x4010d0
Capabilities:
Enumerate pe sections

Disassembly:
push ecx
mov eax, dword [esp + 8]
push ebx
mov ebx, dword [eax]
movzx ecx, word [ebx + 0x14]
push ebp
xor edx, edx
xor ebp, ebp
lea eax, [ecx + ebx + 0x18]
cmp dx, word [ebx + 6]
jae 0x401199
push esi
push edi
lea edi, [eax + 0x24]
mov eax, dword [edi]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
mov esi, eax
and ecx, 1
and edx, 1
shr esi, 0x1f
test eax, 0x2000000
je 0x401130
cmp dword [0x5dffd0], 0
jne 0x401181
mov eax, dword [edi - 0x14]
mov ecx, dword [edi - 0x1c]
push 0x4000
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x401181
test ecx, ecx
jne 0x401139
mov esi, 1
lea edx, [edx + ecx*2]
lea ecx, [esi + edx*2]
mov esi, dword [ecx*4 + 0x5df22c]
test eax, 0x4000000
je 0x401153
or esi, 0x200
mov edx, dword [edi - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x40116e
test al, 0x40
je 0x401165
mov ecx, dword [ebx + 0x20]
jmp 0x40116c
test al, al
jns 0x401181
mov ecx, dword [ebx + 0x24]
test ecx, ecx
jbe 0x401181
mov ecx, dword [edi - 0x1c]
lea eax, [esp + 0x10]
push eax
push esi
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edx, dword [esp + 0x18]
mov ebx, dword [edx]
movzx eax, word [ebx + 6]
inc ebp
add edi, 0x28
cmp ebp, eax
jl 0x4010f4
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x401410
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
mov eax, dword [0x5dffc8]
sub esp, 0x100
test eax, eax
jne 0x4014b4
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
xor esi, esi
lea ecx, [ecx]
push 1
push 0x2000
push 1
push 0
call edi
or dword [0x5dffc8], eax
mov dword [esp + esi*4 + 8], eax
inc esi
cmp esi, 0x40
jl 0x401430
mov edi, dword [sym.imp.KERNEL32.dll_VirtualFree]
xor esi, esi
mov eax, dword [esp + esi*4 + 8]
push 0x8000
push 1
push eax
call edi
inc esi
cmp esi, 0x40
jl 0x401455
mov eax, dword [0x5dffc8]
xor ecx, ecx
mov edx, 1
shl edx, cl
test eax, edx
jne 0x401483
inc ecx
cmp ecx, 0x20
jl 0x401470
jmp 0x4014a4
mov edx, 1
rol edx, cl
cmp ecx, 0x20
jge 0x4014a4
mov esi, 0x20
sub esi, ecx
or eax, edx
rol edx, 1
sub esi, 1
jne 0x401496
mov dword [0x5dffc8], eax
pop edi
pop esi
test eax, eax
jne 0x4014b4
mov eax, 0x10000
mov dword [0x5dffc8], eax
add esp, 0x100
ret
Function at 0x402f20
Capabilities:
Get system information on windows

Disassembly:
sub esp, 0x2c
xor eax, eax
push esi
push edi
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
lea eax, [esp + 0x10]
push eax
mov esi, 1
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcessAffinityMask]
mov eax, dword [esp + 8]
cmp eax, dword [esp + 0xc]
jne 0x402fad
cmp eax, dword [esp + 0x20]
jne 0x402fad
cmp eax, esi
jb 0x402f8f
add esi, esi
inc edi
cmp esi, eax
jbe 0x402f88
cmp dword [esp + 0x24], edi
jne 0x402fad
cmp dword [esp + 0x3c], 0
je 0x402fa2
cmp dword [esp + 0x38], edi
jne 0x402fad
pop edi
mov eax, 1
pop esi
add esp, 0x2c
ret
pop edi
xor eax, eax
pop esi
add esp, 0x2c
ret

Function at 0x403ef0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [0x5f6434]
test edi, edi
je 0x403f31
cmp edi, esi
jae 0x403f09
mov esi, edi
test esi, esi
je 0x403f31
mov eax, dword [ebp + 0xc]
mov ebx, dword [0x5f6438]
push esi
push eax
push ebx
call fcn.0040cb60
sub edi, esi
add esp, 0xc
add ebx, esi
mov dword [0x5f6434], edi
mov dword [0x5f6438], ebx
mov ecx, dword [ebp + 0x10]
jcxz 0x403f54
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
lodsb al, byte [esi]
xor al, bl
and eax, 0xff
shr ebx, 8
xor ebx, dword [eax*4 + 0x5f6440]
loop 0x403f3d
mov dword [ebp + 8], ebx
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x408ce0
Capabilities:
Encode data using xor

Disassembly:
movzx eax, word [0x41a218]
cmp eax, 0x4b50
je 0x408d1c
mov ecx, 0xc21a5ce5
xor eax, eax
jmp 0x408d00
xor dword [eax + 0x41a218], ecx
add ecx, 0xcb714b84
add eax, 4
xor ecx, 0x8cd5354f
cmp eax, 0x1c41b4
jb 0x408d00
movzx ecx, word [0x41a218]
cmp ecx, 0x4b50
je 0x408d2e
xor eax, eax
ret
mov edx, dword [esp + 4]
mov dword [edx], 0x1c41b4
mov eax, 0x41a218
ret
Function at 0x409cf0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 0x410
mov eax, dword [0x419060]
xor eax, esp
mov dword [esp + 0x40c], eax
push ebp
push esi
push edi
push 0x10
mov esi, ecx
xor ebp, ebp
push 1
push esi
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x18], ebp
mov dword [esp + 0x20], ebp
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
cmp edi, ebp
je 0x409d8e
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
cmp esi, ebp
je 0x409d8d
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
cmp eax, ebp
je 0x409d86
cmp ebx, 0x34
jbe 0x409d86
mov ecx, 0x34
sub ecx, eax
cmp dword [eax], 0xfeef04bd
je 0x409d6a
inc eax
lea edx, [ecx + eax]
cmp edx, ebx
jb 0x409d58
jmp 0x409d86
movzx ecx, word [eax + 8]
movzx edx, word [eax + 0xe]
movzx ebp, word [eax + 0xa]
movzx eax, word [eax + 0xc]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop ebx
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
push ecx
push edx
push eax
push ebp
lea ecx, [esp + 0x28]
push str.UZC_version__i._i._i._i_r_n
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [esp + 0x30]
add esp, 0x18
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x409db8
mov ecx, dword [0x5fa930]
sub eax, edx
lea esi, [ecx + eax]
cmp esi, 0x4000
jae 0x409def
push eax
lea edx, [esp + 0x1c]
push edx
lea eax, [ecx + 0x5f6840]
push eax
call fcn.0040cb60
mov ecx, esi
add esp, 0xc
mov dword [0x5fa930], ecx
lea eax, [ecx + 9]
cmp eax, 0x4000
jae 0x409e22
mov edx, dword [str.Windows:]
mov dword [ecx + 0x5f6840], edx
mov edx, dword [0x417724]
mov dword [ecx + 0x5f6844], edx
mov dl, byte [0x417728]
mov byte [ecx + 0x5f6848], dl
mov dword [0x5fa930], eax
lea eax, [esp + 0x18]
push eax
call fcn.00409040
lea eax, [esp + 0x1c]
add esp, 4
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x409e36
mov ecx, dword [0x5fa930]
sub eax, edx
lea esi, [ecx + eax]
cmp esi, 0x4000
jae 0x409e6d
push eax
lea edx, [esp + 0x1c]
push edx
lea eax, [ecx + 0x5f6840]
push eax
call fcn.0040cb60
mov ecx, esi
add esp, 0xc
mov dword [0x5fa930], ecx
pop edi
lea eax, [ecx + 2]
pop esi
pop ebp
cmp eax, 0x4000
jae 0x409e8d
mov dx, word [0x41772c]
mov word [ecx + 0x5f6840], dx
mov dword [0x5fa930], eax
mov ecx, dword [esp + 0x40c]
xor ecx, esp
call fcn.0040b281
add esp, 0x410
ret
Function at 0x40a070
Capabilities:
Connect to http server
Create http request
Encode data using xor
Read data from internet
Receive data
Send data
Send http request

Disassembly:
sub esp, 0x21c
mov eax, dword [0x419060]
xor eax, esp
mov dword [esp + 0x218], eax
push ebx
push ebp
push esi
mov esi, str.query
push edi
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x40a090
mov eax, dword [0x5fa930]
sub esi, ecx
lea ecx, [esi + eax*2]
lea edx, [eax + ecx + 7]
push edx
call fcn.0040ba6c
push esi
mov edi, eax
push str.query
push edi
call fcn.0040cb60
mov ebp, dword [0x5fa930]
add esp, 0x10
xor ecx, ecx
test ebp, ebp
jle 0x40a0fb
mov al, cl
add al, 3
mov dl, 0x21
imul dl
xor al, byte [ecx + 0x5f6840]
inc esi
movzx eax, al
mov edx, eax
shr edx, 4
mov dl, byte [edx + str.0123456789ABCDEF]
mov byte [edi + esi - 1], dl
and eax, 0xf
mov al, byte [eax + str.0123456789ABCDEF]
mov byte [edi + esi], al
inc ecx
inc esi
cmp ecx, ebp
jl 0x40a0c8
xor ebx, ebx
push ebx
push ebx
push ebx
push ebx
push str.A10ABAA0_EF22_4957_8A97_0F041695D059
mov dword [esp + 0x24], ebx
call dword [sym.imp.WININET.dll_InternetOpenA]
mov ebp, eax
mov dword [esp + 0x20], ebp
test ebp, ebp
je 0x40a222
push ebx
push ebx
push 3
push ebx
push ebx
push 0x50
push str.vdgsoftware.com
push ebp
call dword [sym.imp.WININET.dll_InternetConnectA]
mov ebx, eax
test ebx, ebx
je 0x40a215
push 0
push 0x84080300
push 0
push 0
push 0
push str._crash341.php
push str.POST
push ebx
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov ebp, eax
test ebp, ebp
je 0x40a20a
push esi
push edi
push 0xffffffffffffffff
push str.Content_Type:_application_x_www_form_urlencoded__charsetascii_r_nContent_Transfer_Encoding:_8bit
push ebp
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
je 0x40a203
push 0
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x20]
push edx
push 0x20000013
push ebp
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 4
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
mov eax, 0x51eb851f
mul dword [esp + 0x18]
shr edx, 5
cmp edx, 2
jne 0x40a203
mov esi, dword [sym.imp.WININET.dll_InternetReadFile]
lea eax, [esp + 0x14]
push eax
push 0x200
lea ecx, [esp + 0x2c]
push ecx
push ebp
mov dword [esp + 0x20], 1
call esi
test eax, eax
je 0x40a203
lea esp, [esp]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x40a203
lea edx, [esp + 0x14]
push edx
mov byte [esp + eax + 0x28], 0
push 0x200
lea eax, [esp + 0x2c]
push eax
push ebp
call esi
test eax, eax
jne 0x40a1e0
push ebp
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push ebx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ebp, dword [esp + 0x20]
push ebp
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [esp + 0x10]
jmp 0x40a224
mov eax, ebx
mov ecx, dword [esp + 0x228]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0040b281
add esp, 0x21c
ret