joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403b30
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 0x10]
push edi
push ebx
push str._ExtractArchive__Extracting_archive__s_into__s_n
call fcn.004014a0
add esp, 0xc
push 0x41dedc
push ebx
call fcn.0040aec6
mov esi, eax
add esp, 8
test esi, esi
jne 0x403b78
push ebx
push str._ExtractArchive__Failed_to_extract_archive___couldnt_open_file__s_n
call fcn.004014a0
add esp, 8
push 1
call fcn.0040a825
mov ebx, dword [ebp + 8]
push esi
push 0
mov edx, edi
mov ecx, ebx
call fcn.00403370
add esp, 8
test eax, eax
je 0x403b7b
push str._ExtractArchive__Done_extracting_archive._n
call fcn.004014a0
add esp, 4
push esi
call fcn.0040ca6f
mov eax, dword [ebp + 0xc]
add esp, 4
push eax
call fcn.0040add8
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x403ed0
Capabilities:
Get session user name

Disassembly:
sub esp, 0xd4
mov eax, dword [0x4234e0]
xor eax, esp
mov dword [esp + 0xd0], eax
push ebx
push esi
push edi
push str.ALLUSERSPROFILE
call fcn.0040c979
add esp, 4
mov edi, eax
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x14], 0x64
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
lea eax, [esp + 0x14]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x403f15
sub eax, edx
lea edx, [esp + 0x14]
push edx
mov ebx, eax
call fcn.00401200
mov esi, eax
add esp, 4
test esi, esi
jge 0x403f37
neg esi
push 0x64
lea eax, [esp + 0x7c]
push 0
push eax
call fcn.004119c0
push esi
lea ecx, [esp + 0x88]
push 0x41ea80
push ecx
call fcn.0040a3ef
lea eax, [esp + 0x2c]
add esp, 0x18
xor edx, edx
lea esi, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x403f64
sub eax, esi
je 0x403f96
cmp byte [esp + edx + 0x14], 0x80
jb 0x403f7d
mov byte [esp + edx + 0x14], 0x5f
lea eax, [esp + 0x14]
add edx, 1
lea esi, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x403f87
sub eax, esi
cmp edx, eax
jb 0x403f71
push 0x1388
call fcn.00409d82
mov ebx, eax
mov eax, edi
add esp, 4
mov byte [ebx], 0
mov esi, eax
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x403fb0
mov edi, ebx
sub eax, esi
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x403fc0
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, str.JWUser_
mov eax, ebx
call fcn.00401880
lea eax, [esp + 0x78]
mov esi, eax
lea ebx, [ebx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x403ff0
mov edi, ebx
sub eax, esi
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x404000
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, ebx
add edi, 0xffffffff
lea ecx, [ecx]
mov al, byte [edi + 1]
add edi, 1
test al, al
jne 0x404020
mov dx, word [0x41e0e8]
lea eax, [esp + 0x14]
mov word [edi], dx
mov esi, eax
lea ebx, [ebx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x404040
mov edi, ebx
sub eax, esi
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x404050
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
mov eax, ebx
rep movsb byte es:[edi], byte [esi]
call section..text
mov esi, eax
test esi, esi
je 0x4040b1
mov eax, dword [esi]
or edi, 0xffffffff
cmp eax, 0xffffffff
je 0x40408a
push eax
call fcn.0040a262
add esp, 4
mov edi, eax
mov eax, dword [esi + 0x134]
push eax
call fcn.00409ca5
push esi
call fcn.00409ca5
add esp, 8
cmp edi, 0xffffffff
jne 0x4040ba
call fcn.00409f59
mov dword [eax], 9
jmp 0x4040ba
push ebx
call fcn.0040b054
add esp, 4
mov ecx, dword [esp + 0xdc]
pop edi
pop esi
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.00409c96
add esp, 0xd4
ret
Function at 0x404170
Capabilities:
Check os version

Disassembly:
sub esp, 0x98
mov eax, dword [0x4234e0]
xor eax, esp
mov dword [esp + 0x94], eax
push ebx
push esi
push edi
push str.APPDATA
mov dword [esp + 0x10], 0x94
call fcn.0040c979
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x404203
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4041a5
sub eax, edx
cmp eax, 2
jbe 0x404203
cmp byte [ebx], 0x5c
jne 0x404203
cmp byte [ebx + 1], 0x5c
jne 0x404203
push str._Extractor__Roaming_AppData_directory_detected_n
call fcn.004014a0
add esp, 4
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x404270
cmp dword [esp + 0x10], 5
jbe 0x404212
push str.LOCALAPPDATA
call fcn.0040c979
mov ebx, eax
push ebx
push str._Extractor__Local_AppData_directory_resolved_to__s_n
call fcn.004014a0
add esp, 0xc
jmp 0x404270
push str._Extractor__Local_AppData_directory_detected_n
call fcn.004014a0
add esp, 4
jmp 0x404270
push str.USERPROFILE
call fcn.0040c979
push 0x1388
mov esi, eax
call fcn.00409d82
mov ebx, eax
add esp, 8
mov byte [ebx], 0
mov eax, esi
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x404232
mov edi, ebx
sub eax, esi
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x404242
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, str.Local_Settings
mov eax, ebx
call fcn.00401880
mov ecx, str.Application_Data
call fcn.00401880
push 6
push ebx
call fcn.0040aab3
add esp, 8
test eax, eax
jne 0x404293
mov edi, ebx
call fcn.00403e30
test eax, eax
je 0x404293
call fcn.00403e80
test eax, eax
je 0x40430d
push ebx
push str.The_directory__s_appears_invalid._n
call fcn.004014a0
push ebx
push str.Trying_the_short_path_instead._n
call fcn.004014a0
push 0x1388
call fcn.00409d82
add esp, 0x14
push 0x400
mov esi, eax
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
test eax, eax
je 0x4042fd
push esi
push str.Got_short_path_of__s_n
call fcn.004014a0
push 6
push ebx
call fcn.0040aab3
add esp, 0x10
test eax, eax
jne 0x4042fd
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [esp + 0x94]
xor ecx, esp
call fcn.00409c96
add esp, 0x98
ret
push esi
call fcn.00409ca5
add esp, 4
call fcn.00403ed0
mov ebx, eax
mov ecx, dword [esp + 0xa0]
pop edi
pop esi
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.00409c96
add esp, 0x98
ret
Function at 0x4075d0
Capabilities:
Check os version

Disassembly:
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersion]
call esi
movzx ecx, al
cmp ecx, 5
ja 0x4075e8
jne 0x4075ef
cmp ah, 1
jb 0x4075ef
call fcn.00408530
jmp 0x4075f4
call fcn.00409540
push str._HttpDownloader__Cleaning_up..._n
call fcn.004014a0
add esp, 4
call esi
movzx ecx, al
cmp ecx, 5
pop esi
ja 0x407613
jne 0x40761e
cmp ah, 1
jb 0x40761e
mov eax, dword [0x431b70]
push eax
call sub.gdiplus.dll_GdiplusShutdown
ret

Function at 0x407620
Capabilities:
Check os version
Create thread

Disassembly:
call dword [sym.imp.KERNEL32.dll_GetVersion]
movzx ecx, al
cmp ecx, 5
ja 0x407635
jne 0x40763a
cmp ah, 1
jb 0x40763a
jmp 0x408490
jmp 0x4094c0
cmp dword [0x424c10], 0
push 0
jne 0x4084f4
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push 0x424c14
push 0
push 0x424c10
push 0x4085a0
push 0
push 0
mov dword [0x424c18], eax
call fcn.0040d5aa
add esp, 0x18
mov dword [0x424c10], eax
mov eax, dword [0x424c18]
push 0x1388
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x408505
push str.Error_starting_SplashThread_n
call fcn.004014a0
add esp, 4
ret
mov ecx, dword [0x424c14]
push 2
push 6
push ecx
call dword [sym.imp.USER32.dll_PostThreadMessageA]
ret
cmp dword [0x424c58], 0
push 0
jne 0x409524
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push 0x424c5c
push 0
push 0x424c58
push 0x4095b0
push 0
push 0
mov dword [0x424c60], eax
call fcn.0040d5aa
add esp, 0x18
mov dword [0x424c58], eax
mov eax, dword [0x424c60]
push 0x1388
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x409535
push str.Error_starting_SplashThread_n
call fcn.004014a0
add esp, 4
ret
mov ecx, dword [0x424c5c]
push 2
push 6
push ecx
call dword [sym.imp.USER32.dll_PostThreadMessageA]
ret

Function at 0x407640
Capabilities:
Check os version

Disassembly:
call dword [sym.imp.KERNEL32.dll_GetVersion]
movzx ecx, al
cmp ecx, 5
ja 0x407655
jne 0x40765a
cmp ah, 1
jb 0x40765a
jmp fcn.00408530
jmp fcn.00409540
Function at 0x407a00
Capabilities:
Check mutex on windows
Create thread

Disassembly:
sub esp, 0x2c
push ebx
push esi
push edi
push 0x24
mov edi, eax
call fcn.00409d82
mov ebx, dword [sym.imp.KERNEL32.dll_CreateMutexA]
add esp, 4
push 0
push 0
push 0
mov esi, eax
call ebx
push 0
push 0
push 0
mov dword [esi], eax
call ebx
mov dword [esi + 4], eax
mov eax, dword [esp + 0x3c]
mov dword [esi + 8], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], eax
mov dword [esi + 0xc], 0
call fcn.00407d20
push 0
push 0
push 1
push 0
mov dword [esi + 0x18], eax
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov ecx, dword [esi]
mov ebx, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0xffffffffffffffff
push ecx
mov dword [esi + 0x20], eax
call ebx
mov edi, dword [sym.imp.KERNEL32.dll_CreateThread]
lea edx, [esp + 0x24]
push edx
push 0
push esi
push 0x407990
push 0
push 0
call edi
mov dword [esp + 0x10], eax
lea eax, [esp + 0x28]
push eax
push 0
push esi
push 0x407740
push 0
push 0
call edi
lea ecx, [esp + 0x2c]
push ecx
push 0
push esi
push 0x4077e0
push 0
push 0
mov dword [esp + 0x2c], eax
call edi
lea edx, [esp + 0x30]
push edx
push 0
push esi
push 0x4078b0
push 0
push 0
mov dword [esp + 0x30], eax
call edi
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x34]
push eax
push 0
push esi
push 0x407920
push 0
push 0
call edi
mov ecx, dword [esi]
push ecx
mov dword [esp + 0x24], eax
mov dword [esi + 0x1c], 5
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov edx, dword [esi + 0x20]
push 0xffffffffffffffff
push edx
call ebx
mov eax, dword [esi + 8]
push eax
push str._HttpDownloader__Download_Tasks_Complete___success_d__n
call fcn.004014a0
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
add esp, 8
xor edi, edi
mov edi, edi
mov ecx, dword [esp + edi*4 + 0x10]
push ecx
call ebx
add edi, 1
cmp edi, 5
jl 0x407b20
mov eax, dword [esi + 8]
pop edi
pop esi
pop ebx
add esp, 0x2c
ret

Function at 0x407b40
Capabilities:
Delete file

Disassembly:
push edi
mov edi, dword [0x431b74]
cmp dword [edi], 0
jne 0x407b55
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop edi
ret
push esi
push 0x41dfe8
push eax
call fcn.0040aec6
mov esi, eax
add esp, 8
test esi, esi
je 0x407ba1
mov eax, dword [edi]
test eax, eax
je 0x407b98
push esi
push eax
call fcn.0040cf94
add esp, 8
cmp dword [edi + 4], 0
je 0x407b98
push esi
push 0x420620
call fcn.0040cf94
mov eax, dword [edi + 4]
push esi
push eax
call fcn.0040cf94
add esp, 0x10
push esi
call fcn.0040ca6f
add esp, 4
pop esi
pop edi
ret
Function at 0x407bb0
Capabilities:
Initialize winhttp library

Disassembly:
sub esp, 0x2c
push ebx
push ebp
push esi
push edi
mov edi, edx
mov esi, eax
mov ebx, ecx
call fcn.004092b0
mov ebp, eax
xor eax, eax
push str._Proxy__Opening_HTTP_Session_n
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
call fcn.004014a0
add esp, 4
push 0
push 0
push 0
push 1
push str.JWrapper_Proxy_Detector_1.0
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov edi, eax
test edi, edi
je 0x407d00
test ebx, ebx
mov dword [esp + 0x20], 1
je 0x407c47
push ebx
push str._Proxy__Using_auto_config_URL:__S_n
mov dword [esp + 0x28], 3
call fcn.004014a0
add esp, 8
mov dword [esp + 0x28], ebx
push ebp
push str._Proxy__Attempting_to_detect_proxy_for_URL__S_n
mov dword [esp + 0x2c], 3
mov dword [esp + 0x3c], 1
call fcn.004014a0
add esp, 8
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x24]
push ecx
push ebp
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpGetProxyForUrl]
test eax, eax
je 0x407cd0
push str._Proxy__Configuration_found_n
call fcn.004014a0
add esp, 4
cmp dword [esp + 0x14], 1
jne 0x407c96
push str._Proxy__Direct_connection_used_n
jmp 0x407cd5
mov edx, dword [esp + 0x18]
push edx
push str._Proxy___S_n
call fcn.004014a0
mov eax, dword [esp + 0x24]
push eax
push str._Proxy___S_n
call fcn.004014a0
mov ebx, dword [esp + 0x28]
add esp, 0x10
call fcn.00409310
mov ebx, dword [esp + 0x1c]
mov dword [esi], eax
call fcn.00409310
mov dword [esi + 4], eax
jmp 0x407cdd
push str._Proxy__Configuration_NOT_found_n
call fcn.004014a0
add esp, 4
mov eax, dword [esp + 0x18]
test eax, eax
mov esi, dword [sym.imp.KERNEL32.dll_GlobalFree]
je 0x407cee
push eax
call esi
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x407cf9
push eax
call esi
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
push ebp
call fcn.00409ca5
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret
Function at 0x407f20
Capabilities:
Create process on windows

Disassembly:
mov eax, 0xc3b8
call fcn.00417c70
mov eax, dword [0x4234e0]
xor eax, esp
mov dword [esp + 0xc3b0], eax
push ebp
push esi
push edi
push str._Spawner__Constructing_command_line..._n
call fcn.004014a0
call fcn.0040a8b1
add eax, 0x20
push eax
call fcn.0040ac45
mov eax, dword [ebx]
add esp, 8
xor ebp, ebp
test eax, eax
mov byte [esp + 0x68], 0
je 0x407fea
jmp 0x407f70
lea edi, [esp + 0x68]
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x407f77
mov cx, word [0x41e12c]
mov word [edi], cx
mov ecx, eax
lea ecx, [ecx]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x407f90
lea edi, [esp + 0x68]
sub eax, ecx
mov esi, ecx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x407fa4
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [esp + 0x68]
rep movsb byte es:[edi], byte [esi]
add eax, 0xffffffff
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x407fc3
mov dx, word [0x42088c]
mov cl, byte [0x42088e]
mov word [eax], dx
add ebp, 1
mov byte [eax + 2], cl
mov eax, dword [ebx + ebp*4]
test eax, eax
jne 0x407f70
lea edx, [esp + 0x68]
push edx
push str._Spawner__Creating_command_line__s_n
call fcn.004014a0
call fcn.0040a8b1
add eax, 0x20
push eax
call fcn.0040ac45
push 0x44
lea eax, [esp + 0x30]
push 0
push eax
call fcn.004119c0
add esp, 0x18
xor eax, eax
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x24]
push edx
push eax
push eax
push eax
push 1
push eax
push eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x88]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x40808c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CreateProcess_failed___d_._n
call fcn.004014a0
call fcn.0040a8b1
add eax, 0x20
push eax
call fcn.0040ac45
add esp, 0xc
or eax, 0xffffffff
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0xc3b0]
xor ecx, esp
call fcn.00409c96
add esp, 0xc3b8
ret
mov ecx, dword [esp + 0x10]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esp + 0x10]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov ecx, dword [esp + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
mov edx, dword [esp + 0x14]
push edx
call esi
mov eax, dword [esp + 0xc]
push eax
push str._Spawner__runSpawnerAndWait_returned__d_n
call fcn.004014a0
mov ecx, dword [esp + 0xc3c4]
mov eax, dword [esp + 0x14]
add esp, 8
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.00409c96
add esp, 0xc3b8
ret
Function at 0x4080f0
Capabilities:
Create process on windows

Disassembly:
mov eax, 0xc3b8
call fcn.00417c70
mov eax, dword [0x4234e0]
xor eax, esp
mov dword [esp + 0xc3b0], eax
push ebp
push esi
push edi
push str._Spawner__Constructing_command..._n
mov byte [esp + 0x6c], 0
call fcn.004014a0
call fcn.0040a8b1
add eax, 0x20
push eax
call fcn.0040ac45
mov eax, dword [ebx]
add esp, 8
xor ebp, ebp
test eax, eax
je 0x4081ba
jmp 0x408140
lea edi, [esp + 0x68]
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x408147
mov cx, word [0x41e12c]
mov word [edi], cx
mov ecx, eax
lea ecx, [ecx]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x408160
lea edi, [esp + 0x68]
sub eax, ecx
mov esi, ecx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x408174
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [esp + 0x68]
rep movsb byte es:[edi], byte [esi]
add eax, 0xffffffff
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x408193
mov dx, word [0x42088c]
mov cl, byte [0x42088e]
mov word [eax], dx
add ebp, 1
mov byte [eax + 2], cl
mov eax, dword [ebx + ebp*4]
test eax, eax
jne 0x408140
lea edx, [esp + 0x68]
push edx
push str._Spawner__Executing_command__s_n
call fcn.004014a0
call fcn.0040a8b1
add eax, 0x20
push eax
call fcn.0040ac45
push 0x44
lea eax, [esp + 0x30]
push 0
push eax
call fcn.004119c0
add esp, 0x18
xor eax, eax
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x24]
push edx
push eax
push eax
push eax
push 1
push eax
push eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x88]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x40825c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CreateProcess_failed___d_._n
call fcn.004014a0
call fcn.0040a8b1
add eax, 0x20
push eax
call fcn.0040ac45
add esp, 0xc
or eax, 0xffffffff
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0xc3b0]
xor ecx, esp
call fcn.00409c96
add esp, 0xc3b8
ret
push str._Spawner__Create_process_seems_to_have_worked_n
call fcn.004014a0
call fcn.0040a8b1
add eax, 0x20
push eax
call fcn.0040ac45
mov ecx, dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
add esp, 8
push ecx
call esi
mov edx, dword [esp + 0x14]
push edx
call esi
mov ecx, dword [esp + 0xc3bc]
pop edi
pop esi
pop ebp
xor ecx, esp
xor eax, eax
call fcn.00409c96
add esp, 0xc3b8
ret

Function at 0x408530
Capabilities:
Terminate thread

Disassembly:
cmp dword [0x424c10], 0
je 0x40858f
mov eax, dword [0x424c14]
push 0
push 0
push 0x12
push eax
call dword [sym.imp.USER32.dll_PostThreadMessageA]
mov ecx, dword [0x424c10]
push 0x2328
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x408576
mov edx, dword [0x424c10]
push 0x8ae
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [0x424c10]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
mov ecx, dword [0x424c18]
push ecx
call esi
pop esi
mov dword [0x424c10], 0
ret
Function at 0x409540
Capabilities:
Terminate thread

Disassembly:
cmp dword [0x424c58], 0
je 0x40959f
mov eax, dword [0x424c5c]
push 0
push 0
push 0x12
push eax
call dword [sym.imp.USER32.dll_PostThreadMessageA]
mov ecx, dword [0x424c58]
push 0x2328
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x409586
mov edx, dword [0x424c58]
push 0x8ae
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [0x424c58]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
mov ecx, dword [0x424c60]
push ecx
call esi
pop esi
mov dword [0x424c58], 0
ret

Function at 0x409c96
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4234e0]
jne 0x409ca0
repz ret
jmp fcn.0040d87d

Function at 0x40aa2c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
xor esi, esi
cmp dword [esp + 8], esi
jne 0x40aa59
call fcn.00409f6c
mov dword [eax], esi
call fcn.00409f59
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.0040f1b1
add esp, 0x14
push 0x16
pop eax
pop esi
ret
test dword [esp + 0xc], 0xfffffff9
jne 0x40aa35
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x40aa88
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00409f7f
pop ecx
call fcn.00409f59
mov eax, dword [eax]
pop esi
ret
test al, 0x10
jne 0x40aaaf
test al, 1
je 0x40aaaf
test byte [esp + 0xc], 2
je 0x40aaaf
call fcn.00409f6c
mov dword [eax], 5
call fcn.00409f59
mov dword [eax], 0xd
jmp 0x40aa7f
xor eax, eax
pop esi
ret
Function at 0x415275
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0040eb3e
xor ebx, ebx
cmp dword [0x4257b4], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x41534a
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x4152b5
xor eax, eax
jmp 0x41540e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x4152ae
push eax
call fcn.0040eadb
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4257b4], eax
call esi
push eax
call fcn.0040eadb
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4257b8], eax
call esi
push eax
call fcn.0040eadb
mov dword [0x4257bc], eax
lea eax, [ebp - 8]
push eax
call fcn.0040a652
test eax, eax
pop ecx
pop ecx
je 0x415318
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0040f0b5
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x41534a
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0040eadb
cmp eax, ebx
pop ecx
mov dword [0x4257c4], eax
je 0x41534a
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040eadb
pop ecx
mov dword [0x4257c0], eax
mov eax, dword [0x4257c0]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x4153c3
cmp dword [0x4257c4], esi
je 0x4153c3
push eax
call fcn.0040eb47
pop ecx
call eax
cmp eax, ebx
je 0x415390
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x4257c4]
call fcn.0040eb47
pop ecx
call eax
test eax, eax
je 0x415390
test byte [ebp - 0x18], 1
jne 0x4153c3
lea eax, [ebp - 0xc]
push eax
call fcn.0040a689
test eax, eax
pop ecx
je 0x4153ab
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0040f0b5
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x4153ba
or dword [ebp + 0x10], 0x200000
jmp 0x4153f4
or dword [ebp + 0x10], 0x40000
jmp 0x4153f4
mov eax, dword [0x4257b8]
cmp eax, esi
je 0x4153f4
push eax
call fcn.0040eb47
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x4153f4
mov eax, dword [0x4257bc]
cmp eax, esi
je 0x4153f4
push dword [ebp - 4]
push eax
call fcn.0040eb47
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x4257b4]
call fcn.0040eb47
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x43a000
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadIconA]
test eax, eax
jne 0x43a018
xor eax, eax
jmp 0x43a044
push 0x101c
push 0
call dword [sym.imp.USER32.dll_LoadIconA]
test eax, eax
je 0x43a02d
xor eax, eax
jmp 0x43a044
mov eax, 0x40b3e8
sub eax, 0x51615
mov dword [0x40131c], eax
mov eax, dword [0x40131c]
add eax, 4
pop ebp
ret
Function at 0x402091
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
mov word [ebp - 3], 0x5c3a
add cl, 0x41
mov byte [ebp - 1], 0
push eax
mov byte [ebp - 4], cl
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
dec eax
sub eax, 1
je 0x4020e0
sub eax, 1
je 0x4020db
sub eax, 1
je 0x4020d7
sub eax, 1
je 0x4020d3
sub eax, 1
je 0x4020cf
xor eax, eax
jmp 0x4020e3
push 6
jmp 0x4020dd
push 4
jmp 0x4020dd
push 3
jmp 0x4020dd
push 2
pop eax
jmp 0x4020e3
xor eax, eax
inc eax
mov esp, ebp
pop ebp
ret