joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402730
Capabilities:
Receive http response

Disassembly:
push ecx
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x18]
push esi
mov esi, dword [esp + 0x28]
push edi
mov edi, dword [esp + 0x24]
push eax
push edi
push ebp
xor bl, bl
push ecx
mov byte [esp + 0x23], bl
mov dword [esi], 0
call fcn.004026a0
add esp, 0x10
test al, al
je 0x40283c
mov ebx, dword [esp + 0x1c]
sub edi, ebp
mov dword [esp + 0x2c], 0
inc edi
jmp 0x402780
mov eax, dword [esi]
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x2c]
push edx
push edi
add eax, ebx
push eax
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x402828
mov eax, dword [esp + 0x2c]
test eax, eax
jbe 0x402800
mov ecx, dword [0x4083a8]
cmp ecx, 0x1400
jge 0x4027d3
mov edx, dword [esi]
push eax
add edx, ebx
push edx
lea eax, [ecx + 0x4083b0]
push eax
call fcn.00405139
mov eax, dword [esp + 0x38]
add esp, 0xc
add dword [0x4083a8], eax
push eax
call fcn.00401930
mov eax, dword [esp + 0x30]
add dword [esi], eax
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx]
sub edi, eax
mov eax, dword [esi]
add eax, ebp
push eax
push edx
call fcn.004020f0
add esp, 0xc
test edi, edi
jne 0x40280f
mov byte [esp + 0x13], 1
jmp 0x40280f
push 0
mov byte [esp + 0x17], 1
call fcn.00401970
add esp, 4
cmp dword [esp + 0x2c], 0
jbe 0x402832
test edi, edi
jg 0x402780
mov al, byte [esp + 0x13]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push 4
call fcn.00401970
add esp, 4
mov al, byte [esp + 0x13]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
pop edi
pop esi
pop ebp
mov al, bl
pop ebx
pop ecx
ret

Function at 0x402850
Capabilities:
Get file size
Write file on windows

Disassembly:
push ecx
push ebx
push ebp
mov ebp, dword [esp + 0x18]
push esi
push 0
push 0x80
push 4
push 0
push 1
push 0x40000000
push ebp
xor bl, bl
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4028e2
mov ecx, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x1c]
push 0
lea eax, [esp + 0x14]
push eax
push edi
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4028c9
cmp dword [esp + 0x10], edi
jne 0x4028c9
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, edi
jne 0x4028c9
push esi
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
call fcn.00401940
add esp, 4
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
pop ecx
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 8
call fcn.00401970
add esp, 4
pop edi
pop esi
pop ebp
mov al, bl
pop ebx
pop ecx
ret
push 0xf
call fcn.00401970
add esp, 4
pop esi
pop ebp
mov al, bl
pop ebx
pop ecx
ret
Function at 0x4032d0
Capabilities:
Initialize winhttp library
Prepare http request
Receive http response

Disassembly:
sub esp, 0x18
push esi
push 0
push 0
push 0
push 0
push str.Preloader
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov esi, eax
mov dword [esp + 0x10], esi
test esi, esi
je 0x403465
mov eax, dword [esp + 0x20]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyW]
push eax
push 0x14fbc00
call ebx
lea ecx, [esp + 0xb]
push ecx
lea edx, [esp + 0x10]
push edx
push 0x14f1bd8
push 0x14e7bb0
push 0x14fbc00
call fcn.00402360
add esp, 0x14
test al, al
je 0x403464
mov eax, dword [esp + 0xc]
push edi
push 0
push eax
push 0x14e7bb0
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov edi, eax
mov dword [esp + 0x10], edi
test edi, edi
je 0x403463
movzx ecx, byte [esp + 0xf]
neg ecx
sbb ecx, ecx
and ecx, 0x800000
push ecx
lea edx, [esp + 0x20]
push edx
push 0
push 0
push 0x14f1bd8
push str.POST
push edi
mov dword [esp + 0x38], 0x40668c
mov dword [esp + 0x3c], 0
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov esi, eax
test esi, esi
je 0x40345c
push ebp
push 4
lea eax, [esp + 0x1c]
push eax
push 0x1f
push esi
mov dword [esp + 0x28], 0x3100
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
push str.Content_Type:_application_x_www_form_urlencoded_r_n
push 0x14ddb88
call ebx
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
push 0
push eax
push eax
push ecx
push 0x14ddb88
call ebx
mov ebp, dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
push eax
push 0x14ddb88
push esi
call ebp
test eax, eax
jne 0x40344b
mov edx, dword [esp + 0x1c]
push 0x14fbc00
push edx
push esi
call fcn.00402a30
add esp, 0xc
test al, al
je 0x403454
push 1
call fcn.004019a0
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
add esp, 4
push 0
push 0x4df710
call edi
push eax
push 0x4df710
call edi
push eax
movsx eax, byte [0x4df710]
neg eax
sbb eax, eax
and eax, 0x4df710
push eax
push 0x14ddb88
call ebx
push eax
push 0x14ddb88
push esi
call ebp
mov edi, dword [esp + 0x14]
test eax, eax
je 0x403454
push 0
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
pop ebp
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
pop edi
pop ebx
pop esi
add esp, 0x18
ret
Function at 0x403470
Capabilities:
Accept command line arguments

Disassembly:
push ecx
test byte [0x1505c30], 1
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetCommandLineW]
jne 0x403490
or dword [0x1505c30], 1
call esi
mov dword [0x1505c2c], eax
mov eax, dword [0x1505c2c]
push str._mode
push eax
xor ebx, ebx
call fcn.004050ca
add esp, 8
test eax, eax
je 0x4034c5
mov ecx, dword [0x1505c2c]
push 0x4066dc
push ecx
call fcn.004050ca
add esp, 8
test eax, eax
jne 0x403546
push edi
lea edx, [esp + 0xc]
push edx
call esi
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
xor edi, edi
cmp dword [esp + 0xc], ebx
mov dword [0x1505c28], eax
jle 0x40351a
jmp 0x4034e8
mov eax, dword [0x1505c28]
test eax, eax
je 0x40351a
mov esi, dword [eax + edi*4]
push str._mode
push esi
call fcn.004050ca
add esp, 8
test eax, eax
jne 0x403521
push 0x4066dc
push esi
call fcn.004050ca
add esp, 8
test eax, eax
jne 0x403521
inc edi
cmp edi, dword [esp + 0xc]
jl 0x4034e3
pop edi
pop esi
mov eax, ebx
pop ebx
pop ecx
ret
lea eax, [edi + 1]
cmp eax, dword [esp + 0xc]
jge 0x40351a
mov ecx, dword [0x1505c28]
mov edi, dword [ecx + edi*4 + 4]
push edi
mov dword [0x408074], edi
call dword [sym.imp.SHLWAPI.dll_StrToIntW]
pop edi
pop esi
pop ebx
pop ecx
ret
pop esi
mov eax, ebx
pop ebx
pop ecx
ret
Function at 0x4038b0
Capabilities:
Create process on windows
Query environment variable
Resume thread

Disassembly:
sub esp, 0x54
push ebx
push ebp
push esi
push edi
push 0xf03c
push 0x1555cb8
xor ebp, ebp
push ebp
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call fcn.00401c80
push eax
push str.PR:_s
push 0x1523cb8
call dword [sym.imp.USER32.dll_wsprintfW]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
add esp, 0x10
push 0x1523cb8
call ebx
lea edi, [eax*2 + 0x1523cba]
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
cmp esi, ebp
je 0x40392e
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcpyW]
cmp word [esi], 0
je 0x40392c
push esi
push edi
call ebp
push esi
call ebx
push edi
lea esi, [esi + eax*2 + 2]
call ebx
lea edi, [edi + eax*2 + 2]
test esi, esi
jne 0x403910
xor ebp, ebp
push 2
push ebp
xor eax, eax
push 0x1555cb8
mov word [edi], ax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
cmp edi, ebp
je 0x403a26
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x1555cb8
mov ecx, 0x22
xor edx, edx
push 0x1519c90
mov word [0x1519c90], cx
mov word [0x1519c92], dx
call esi
push 0x40642c
push 0x1519c90
call esi
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [esp + 0x68]
cmp eax, ebp
je 0x40399a
cmp word [eax], bp
je 0x40399a
push eax
push 0x1519c90
call esi
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x24]
push edx
push ebp
push 0x1523cb8
push 0x404
push ebp
push ebp
push ebp
push 0x1519c90
xor eax, eax
push ebp
mov dword [esp + 0x70], ebp
mov word [esp + 0x7a], ax
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x54], ebp
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x50], ebp
mov dword [esp + 0x48], 0x44
mov dword [esp + 0x74], 0x80
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x403a26
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [esp + 0x10]
push 0xea60
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [esp + 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call esi
mov eax, dword [esp + 0x10]
push eax
call esi
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x54
ret
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x54
ret
Function at 0x403f40
Capabilities:
Encode data using xor

Disassembly:
push ecx
push esi
push edi
push 0x5014
call fcn.00403ac0
mov esi, eax
lea eax, [esp + 0xc]
push eax
push esi
mov dword [esp + 0x14], 0
call fcn.00401380
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x20]
push ecx
push esi
mov esi, dword [esp + 0x24]
push edi
push esi
call fcn.00401420
add esp, 0x1c
test eax, eax
jle 0x403fd8
add esi, eax
push esi
sub edi, eax
call fcn.00401470
add esp, 4
xor ecx, ecx
test edi, edi
jle 0x403fa1
mov edx, ecx
and edx, 0x1f
mov dl, byte [edx + eax]
xor byte [ecx + esi], dl
inc ecx
cmp ecx, edi
jl 0x403f91
push ebx
push str.__metalink_
push esi
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
mov ebx, eax
test ebx, ebx
je 0x403fc9
push str.__metalink_
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
sub ebx, esi
add edi, ebx
mov byte [esi + edi], 0
push esi
push edi
call fcn.00403dc0
add esp, 8
pop ebx
pop edi
pop esi
pop ecx
ret
pop edi
xor al, al
pop esi
pop ecx
ret

Function at 0x403fe0
Capabilities:
Get file size
Read file on windows

Disassembly:
push ecx
push esi
push edi
mov edi, dword [esp + 0x10]
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, 0x32000
cmp eax, 0x32000
ja 0x403ffe
mov esi, eax
push 2
push 0
mov eax, esi
neg eax
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x404041
push 0
lea ecx, [esp + 0xc]
push ecx
push esi
push 0x1971160
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x404041
mov edx, dword [esp + 8]
push edx
push 0x1971160
call fcn.00403f40
add esp, 8
pop edi
pop esi
pop ecx
ret
pop edi
xor al, al
pop esi
pop ecx
ret
Function at 0x404120
Capabilities:
Delete file
Download url
Hide graphical window
Inspect load icon resource
Receive data

Disassembly:
mov eax, dword [0x4083ac]
push ebx
push esi
push edi
push 0x8a
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
mov ecx, dword [0xee1f54]
mov edx, dword [0xee1f50]
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push ecx
push 0x3ec
push edx
mov dword [0xee1f58], eax
call esi
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [0xee1f50]
push 0x5014
push 0x19a45b0
push 0x3eb
push eax
call dword [sym.imp.USER32.dll_GetDlgItemTextW]
mov ecx, dword [0xee1f54]
push ecx
push 0x19a45b0
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov edx, dword [0xee1f50]
push 0x19a45b0
push 0x3eb
push edx
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
mov eax, dword [0xee1f50]
push 1
push 0x3ee
push eax
call dword [sym.imp.USER32.dll_CheckDlgButton]
mov ecx, dword [0xee1f50]
push 0x3ea
push ecx
call esi
push 0x4067a0
push str.i234e234a234k234u234i234.423d432l423l
mov esi, eax
call fcn.00403ae0
add esp, 8
push 0xc9
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push eax
push 0x467
push esi
call ebx
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push esi
call edi
push 5
push esi
call edi
push 0x3f1
call fcn.004021f0
push 0x3ec
call fcn.004021f0
push 0x3f2
call fcn.004021f0
push 0x3eb
call fcn.004021f0
push 0xffffffffffffffff
call fcn.004021f0
push 0x3ee
call fcn.004021f0
push 0x3ef
call fcn.004021f0
push 0x3f0
call fcn.004021f0
push 8
call fcn.004021f0
add esp, 0x24
push 0
push 0
push 0x5014
push 0x1351798
push 0x406748
push 0
call sub.urlmon.dll_URLDownloadToCacheFileW
test eax, eax
jl 0x40427f
push 0x1351798
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edx, dword [0xee1f50]
push 0
push 0x32
push 1
push edx
call dword [sym.imp.USER32.dll_SetTimer]
mov eax, dword [0xee1f58]
test eax, eax
je 0x4042ab
push eax
mov eax, dword [0xee1f50]
push 0
push 0x80
push eax
call ebx
pop edi
pop esi
pop ebx
ret

Function at 0x404490
Capabilities:
Create thread
Delete file
Download url
Receive data

Disassembly:
push 0x190
push 0x4533b0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
push 0
push 0
push 0x5014
push 0x1351798
push 0x406748
push 0
call sub.urlmon.dll_URLDownloadToCacheFileW
test eax, eax
jl 0x4044c9
push 0x1351798
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esp + 4]
push 0
mov dword [0xee1f54], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp byte [esp + 8], 0
mov dword [0x4083ac], eax
mov dword [0xee1f50], 0
jne 0x40450c
push 0
push 0
push 0
push 0x404460
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
ret
Function at 0x4048c0
Capabilities:
Create thread

Disassembly:
push 0
push 0
push 0
push 0x404880
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
ret

Function at 0x4048e0
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push edi
call esi
mov ebp, dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
call ebp
add eax, eax
push eax
call fcn.00403ac0
add esp, 4
call esi
mov ebx, dword [sym.imp.SHLWAPI.dll_StrStrIW]
mov edi, eax
push str._extendtail
push edi
call ebx
test eax, eax
jne 0x40492d
push 0x406908
push edi
call ebx
test eax, eax
jne 0x40492d
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
lea ecx, [esp + 0x10]
xor ebx, ebx
push ecx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], ebx
call esi
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
xor esi, esi
cmp dword [esp + 0x10], ebx
mov edi, eax
jle 0x4049bf
nop
test edi, edi
je 0x4049bf
mov edx, dword [edi + esi*4]
push edx
call ebp
add eax, eax
push eax
call fcn.00403ac0
mov ebx, dword [edi + esi*4]
push str._extendtail
push ebx
call fcn.004050ca
add esp, 0xc
test eax, eax
jne 0x40499c
push 0x406908
push ebx
call fcn.004050ca
add esp, 8
test eax, eax
jne 0x40499c
inc esi
cmp esi, dword [esp + 0x10]
jl 0x404950
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
lea eax, [esi + 1]
cmp eax, dword [esp + 0x10]
jge 0x4049bf
mov ecx, dword [edi + esi*4 + 4]
push ecx
call ebp
add eax, eax
push eax
call fcn.00403ac0
mov edx, dword [edi + esi*4 + 4]
add esp, 4
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x404cf0
Capabilities:
Create directory
Delete directory
Delete file
Get common file path
Read file via mapping

Disassembly:
push ecx
push esi
lea eax, [esp + 4]
push edi
push eax
call fcn.00404510
mov eax, dword [esp + 0x14]
add esp, 4
test eax, eax
je 0x404d30
push eax
call fcn.00405128
add esp, 4
test eax, eax
je 0x404d30
mov esi, dword [esp + 8]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatW]
push str.__extendtail
push esi
call edi
call fcn.004048e0
push eax
push esi
call edi
push str.__45_LoadedContent
push 0
push 4
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov esi, eax
mov dword [esp + 0x10], esi
test esi, esi
je 0x404e5e
push ebx
push 0
push 0
push 0
push 4
push esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ebx, eax
test ebx, ebx
je 0x404e56
mov ecx, dword [0xee1f14]
push ebp
push ecx
call fcn.00403ac0
mov edx, dword [0xee1f14]
push edx
mov esi, eax
push ebx
push esi
call fcn.00405139
push 0xa028
call fcn.00403ac0
mov edi, eax
push edi
push 0x4534e0
call fcn.004036b0
push edi
call fcn.004037d0
add esp, 0x20
push 0x19c2738
push 0x5014
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0x19c2738
push 0
push 0x406a28
push 0x19c2738
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov ebp, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x19c2738
call ebp
push 0
push 0x19c2738
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0x19c2738
push 0x19b8710
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x19b8710
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
push edi
push 0x19b8710
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov eax, dword [0xee1f14]
push 0x19b8710
push eax
push esi
call fcn.00402850
add esp, 0xc
test al, al
jne 0x404e38
push 0x19b8710
call ebp
push 0x19c2738
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
push ebx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [esp + 0x10]
push ecx
push 0x19b8710
call fcn.00404b00
mov esi, dword [esp + 0x20]
add esp, 8
pop ebp
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
pop edi
xor al, al
pop esi
pop ecx
ret 4
Function at 0x404ec0
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
sub esp, 0x10
push esi
push edi
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x14], 8
mov dword [esp + 0x18], 0x20
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov esi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
push 0x190
push 0x4533c8
call esi
mov byte [esp + 0xb], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edi, eax
push str._silent
push edi
call fcn.004050ca
add esp, 8
test eax, eax
jne 0x404f23
push 0x406a2c
push edi
call fcn.004050ca
add esp, 8
test eax, eax
je 0x404f28
mov byte [esp + 0xb], 1
push 0x190
push 0x4533c8
call esi
push 0
call fcn.004048e0
push eax
call fcn.00404e70
mov esi, eax
add esp, 8
mov dword [esp + 0xc], 0
test esi, esi
je 0x404f67
push esi
call fcn.00405128
lea ecx, [esp + 0x10]
push ecx
push eax
push esi
call fcn.00403b90
add esp, 0x10
call fcn.00403470
sub eax, 0
je 0x404f82
sub eax, 2
jne 0x404f98
push esi
lea ecx, [esp + 0xf]
call fcn.00404cf0
jmp 0x404f98
mov edx, dword [esp + 0xc]
push edi
push edx
lea eax, [esp + 0x13]
push eax
push 0
lea ecx, [esp + 0x1b]
call fcn.00404b90
cmp word [0xea5e20], 0
pop edi
pop esi
je 0x404fb1
push 0xea5e20
call fcn.00401b00
add esp, 4
call fcn.00401fd0
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x405187
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov esi, eax
mov al, byte [esi]
cmp al, 0x22
je 0x4051ac
cmp al, 0x20
jle 0x4051be
inc esi
cmp byte [esi], 0x20
jg 0x4051a0
jmp 0x4051be
cmp al, 0x22
je 0x4051bd
inc esi
mov al, byte [esi]
test al, al
jne 0x4051a8
cmp al, 0x22
jne 0x4051be
jmp 0x4051bd
cmp al, 0x20
jg 0x4051c4
inc esi
mov al, byte [esi]
test al, al
jne 0x4051b9
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
call fcn.00405232
push 0x408004
push section..data
call fcn.00405218
test byte [ebp - 0x18], 1
pop ecx
pop ecx
je 0x4051f4
movzx eax, word [ebp - 0x14]
jmp 0x4051f7
push 0xa
pop eax
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
mov esi, eax
call fcn.0040524a
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x401b5a
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push ebx
push esi
push eax
push dword [ebp + 0x10]
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ecx, eax
xor esi, esi
xor al, al
mov dword [ebp - 8], ecx
mov bl, 1
mov byte [ebp + 0x13], al
cmp dword [ebp - 4], esi
jle 0x401c15
push edi
mov edx, dword [ecx + esi*4]
mov ecx, str.__upgrade
mov eax, edx
mov di, word [eax]
cmp di, word [ecx]
jne 0x401bba
test di, di
je 0x401bb6
mov di, word [eax + 2]
cmp di, word [ecx + 2]
jne 0x401bba
add eax, 4
add ecx, 4
test di, di
jne 0x401b94
xor eax, eax
jmp 0x401bbf
sbb eax, eax
or eax, 1
test eax, eax
jne 0x401bca
mov al, 1
mov byte [ebp + 0x13], al
jmp 0x401c07
mov eax, str.__disable_shortcut
mov cx, word [edx]
cmp cx, word [eax]
jne 0x401bf5
test cx, cx
je 0x401bf1
mov cx, word [edx + 2]
cmp cx, word [eax + 2]
jne 0x401bf5
add edx, 4
add eax, 4
test cx, cx
jne 0x401bcf
xor eax, eax
jmp 0x401bfa
sbb eax, eax
or eax, 1
xor ecx, ecx
movzx ebx, bl
test eax, eax
mov al, byte [ebp + 0x13]
cmove ebx, ecx
mov ecx, dword [ebp - 8]
inc esi
cmp esi, dword [ebp - 4]
jl 0x401b8a
pop edi
mov dl, bl
mov cl, al
call fcn.00401943
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x403daa
nop
sub eax, 0x403d50
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
jl 0x430030
nop
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp fcn.00401219
Function at 0x44ac76
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x4638dc]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.0044ac0b
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.00432710
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.DLL_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x44acc5
cmp dword [ebp - 0x1c], 5
jb 0x44acdd
jmp 0x44acd9
cmp dword [ebp - 0x10], 1
jne 0x44acdd
cmp dword [ebp - 0x1c], 4
ja 0x44acd9
jne 0x44acdd
cmp dword [ebp - 0x18], 0
jbe 0x44acdd
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x457b94
call fcn.0044aafc
test eax, eax
jge 0x44acfe
mov byte [0x4650cc], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004326b1
add ebp, 0x78
leave
ret

Function at 0x1004fa70
Capabilities:
Encode data using xor

Disassembly:
or esi, eax
or byte [esi], 0xb
mov esp, 0xc6b46b3c
jge sym.Steam_GSBLoggedOn
jmp 0x1004fa37