joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41c0aa
Capabilities:
Check if file exists
Query environment variable

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x469930]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 0x10
mov eax, 0x44a9ba
call fcn.0042f433
mov ebx, dword [ebp + 0x214]
mov esi, ecx
lea edi, [esi + 8]
push edi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
call fcn.0042d994
cmp eax, 3
pop ecx
ja 0x41c117
push 0x104
push edi
push 0x450614
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
jne 0x41c117
push str.CDownloader::OnCreateFilestream__failed_Expand_Environment_Strings_USERPROFILE
push 0xffffffffffffffc9
push esi
call fcn.00418f2d
add esp, 0xc
xor al, al
jmp 0x41c25a
lea eax, [ebp]
push edi
push eax
call fcn.0042fb7f
pop ecx
pop ecx
push edi
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
lea eax, [ebp]
jle 0x41c142
add ebx, 0x610
push ebx
push eax
push edi
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
jmp 0x41c149
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jg 0x41c16d
lea eax, [ebp]
push eax
push str.CDownloader::OnCreateFilestream__no___s__Directory_exists
push 0xffffffffffffffc9
push esi
call fcn.00418f2d
add esp, 0x10
jmp 0x41c110
push 0x30
push 0x32
xor ebx, ebx
push edi
lea ecx, [esi + 0x250]
mov byte [ebp - 0x11], bl
mov dword [ebp - 4], ebx
call fcn.0041bf50
cmp dword [esi + 0x2a8], ebx
jne 0x41c1a0
push edi
push str.CDownloader::OnCreateFilestream__failed_to_open___s__file
push 0xffffffffffffffc9
push esi
call fcn.00418f2d
add esp, 0x10
jmp 0x41c20a
mov eax, dword [ebp - 0x1c]
add eax, 0x810
cmp dword [eax + 4], ebx
ja 0x41c1b1
cmp dword [eax], ebx
jbe 0x41c1e2
mov ecx, dword [eax]
sub esp, 0x18
mov eax, esp
dec ecx
mov dword [eax], ecx
lea edi, [esi + 0x258]
mov ecx, edi
mov dword [ebp - 0x1c], esp
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
call fcn.0041ba70
push 1
push 0x4599ca
mov ecx, edi
call fcn.0041beaa
mov byte [ebp - 0x11], 1
jmp 0x41c20a
cmp dword [esi + 0x2a8], ebx
mov dword [ebp - 4], 2
je 0x41c224
lea ecx, [esi + 0x250]
call fcn.0041b778
cmp byte [ebp - 0x11], bl
je 0x41c257
push 0x30
push 0x22
lea eax, [esi + 8]
push eax
lea ecx, [esi + 0x250]
call fcn.0041bf50
cmp dword [esi + 0x2a8], ebx
jne 0x41c257
push str.CDownloader::OnCreateFilestream__failed_to_re_open_a_file
push 0xffffffffffffffc9
push esi
call fcn.00418f2d
add esp, 0xc
mov byte [ebp - 0x11], bl
mov al, byte [ebp - 0x11]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.0042d9aa
add ebp, 0x20c
leave
ret 4
Function at 0x41c9d7
Capabilities:
Create thread

Disassembly:
push 0x18
mov eax, 0x44aaa2
call fcn.0042f433
mov esi, ecx
mov dword [ebp - 0x14], esi
xor ebx, ebx
mov dword [ebp - 4], ebx
call fcn.00418782
test al, al
je 0x41ca18
push str.CDownloader::Run__Download_Accelarator_is_busy._Its_currently_executing_a_download_task.
push 0xffffffffffffffff
push esi
call fcn.00418f14
add esp, 0xc
or dword [ebp - 0x18], 0xffffffff
push 0x4615a4
lea eax, [ebp - 0x18]
push eax
call fcn.00430a18
lea edi, [esi + 0x2fc]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi]
mov ecx, esi
mov dword [esi + 0x2e0], ebx
mov dword [esi + 0x32c], ebx
call dword [eax + 4]
cmp al, bl
jne 0x41ca5d
push str.CDownloader::Run__failed_to_create_new_internet_session.
mov edi, 0xfffffe09
push edi
push esi
call fcn.00418f2d
add esp, 0xc
mov dword [ebp - 0x1c], edi
push 0x4615a4
lea eax, [ebp - 0x1c]
jmp 0x41ca12
push esi
push ebx
push 0x41c9c9
call fcn.00432536
add esp, 0xc
cmp eax, 0xffffffff
jne 0x41ca92
push str.CDownloader::Run__unexpected_Error_caught_on_start_main_download_thread.
mov edi, 0xfffffc19
push edi
push esi
call fcn.00418f2d
add esp, 0xc
mov dword [ebp - 0x20], edi
push 0x4615a4
lea eax, [ebp - 0x20]
jmp 0x41ca12
push edi
mov dword [esi + 0x2e4], 1
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
jmp 0x41caff
call fcn.0042f49f
ret
Function at 0x41cc90
Capabilities:
Check http status code
Connect to http server
Send data
Send http request

Disassembly:
push ebp
sub esp, 0x12c
lea ebp, [esp - 4]
mov eax, dword [0x469930]
xor eax, ebp
mov dword [ebp + 0x12c], eax
push 0x14
mov eax, 0x44aabd
call fcn.0042f433
mov eax, dword [ebp + 0x138]
mov esi, ecx
mov ecx, dword [esi + 0x2c]
xor edi, edi
cmp dword [ecx + 0x2e0], edi
mov dword [ebp - 0x20], esi
je 0x41ccda
mov dword [esi + 0x4c], 1
xor al, al
jmp 0x41ce71
cmp dword [esi + 0x54], edi
jne 0x41ce6f
mov ecx, dword [esi + 0x28]
push esi
push edi
push 3
push edi
push edi
push 0x50
add ecx, 0x208
push ecx
push eax
mov dword [ebp - 4], edi
call dword [sym.imp.WININET.dll_InternetConnectW]
cmp eax, edi
mov dword [esi + 0x50], eax
jne 0x41cd2b
mov edi, 0xfffffe0a
mov dword [esi + 0x4c], edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [esi + 8]
push str.Segment__d:_failed_to_create_new_connection__WIN_INET_ERROR:_d
push edi
push dword [esi + 0x2c]
call fcn.00418f2d
add esp, 0x14
jmp 0x41ccd3
mov ecx, dword [esi + 0x2c]
cmp dword [ecx + 0x2e0], edi
jne 0x41cccc
mov ecx, dword [esi + 0x28]
push esi
push 0x84400100
push 0x468cec
push edi
push edi
add ecx, 0x408
push ecx
push edi
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
cmp eax, edi
mov dword [esi + 0x54], eax
jne 0x41cd75
mov edi, 0xfffffe0b
mov dword [esi + 0x4c], edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [esi + 8]
push str.Segment__d:_failed_to_open_new_Http_request__WIN_INET_ERROR:_d
jmp 0x41cd1d
mov eax, dword [esi + 0x2c]
cmp dword [eax + 0x2e0], edi
jne 0x41cccc
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp]
push eax
mov ecx, esi
mov dword [ebp - 0x1c], 4
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], edi
call fcn.0041cbc5
mov eax, dword [ebp - 0x18]
push edi
push edi
push eax
neg eax
sbb eax, eax
lea ecx, [ebp]
and eax, ecx
push eax
push dword [esi + 0x54]
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
jne 0x41cdd9
mov edi, 0xfffffe70
mov dword [esi + 0x4c], edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [esi + 8]
push str.Segment__d:_failed_to_send_Http_request__WIN_INET_ERROR:_d
jmp 0x41cd1d
mov eax, dword [esi + 0x2c]
cmp dword [eax + 0x2e0], edi
jne 0x41cccc
push edi
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x20000013
push dword [esi + 0x54]
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
jne 0x41ce1f
mov edi, 0xfffffe6e
mov dword [esi + 0x4c], edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [esi + 8]
push str.Segment__d:_query_failed_for_a_status_code__WIN_INET_ERROR:__d
jmp 0x41cd1d
cmp dword [ebp - 0x14], 0xc8
je 0x41ce6f
cmp dword [ebp - 0x14], 0xce
je 0x41ce6f
push dword [ebp - 0x14]
mov eax, 0xfffffe6d
push dword [esi + 8]
mov dword [esi + 0x4c], eax
push str.Segment__d:_Invalid_server_responce__HTTP_status_code:__d
push eax
jmp 0x41cd1e
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x12c]
xor ecx, ebp
call fcn.0042d9aa
add ebp, 0x130
leave
ret 4
Function at 0x41d6a8
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x469930]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0x800
push ebx
push esi
mov esi, ecx
mov ebx, edx
lea eax, [ebp - 0xc]
jne 0x41d6e5
push 0x4553c8
push 4
push eax
call fcn.00430df8
push eax
call fcn.00402470
add esp, 0x10
jmp 0x41d6f7
push 4
push eax
push 3
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x41d762
push edi
call fcn.00432944
mov edi, dword [eax]
call fcn.00432944
and dword [eax], 0
lea eax, [ebp - 0xc]
push eax
push ebx
push esi
push 0x111
mov esi, 0x112
lea eax, [ebp - 0x230]
push esi
push eax
call fcn.0042fb36
add esp, 0x18
mov ebx, eax
call fcn.00432944
cmp dword [eax], 0
je 0x41d742
call fcn.00432944
push dword [eax]
call fcn.0041d63f
pop ecx
jmp 0x41d749
call fcn.00432944
mov dword [eax], edi
cmp ebx, 0xffffffff
pop edi
je 0x41d762
cmp ebx, esi
jae 0x41d762
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
jmp 0x41d764
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0042d9aa
leave
ret
Function at 0x422762
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
test byte [esi + 4], 1
push edi
mov ebx, ecx
je 0x422778
mov edi, dword [esi + 0xc]
jmp 0x4227b8
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x422791
call fcn.00429374
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x4227a6
call fcn.00429374
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x4227b8
call fcn.00429374
call fcn.0041ff29
cmp dword [eax + 0x3c], 0
je 0x4227cd
push edi
mov ecx, ebx
call fcn.00421687
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.0042267c
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x5c]
test eax, eax
je 0x4227eb
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
and dword [ebx + 0x5c], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x4227f7
mov edi, eax
mov dword [ebx + 0x5c], eax
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x427b92
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x427bd5
call fcn.0041ff29
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x427bd5
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x427bf0
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.0042774c
test ebx, ebx
mov esi, eax
je 0x427bee
test edi, edi
je 0x427bee
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x42a174
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x42a1a2
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x42a1c0
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0042a0de
jmp 0x42a1c0
mov eax, dword [esi + 0x14]
test eax, eax
je 0x42a1c0
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.0042a0de
test edi, edi
mov eax, edi
jne 0x42a1aa
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x46d108]
test ecx, ecx
je 0x42a283
jmp 0x42a173
ret 8

Function at 0x42d9aa
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x469930]
jne 0x42d9b4
repz ret
jmp fcn.00437f92
Function at 0x432d75
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x469ad0]
je 0x432d90
inc edi
cmp edi, 0x17
jb 0x432d81
cmp edi, 0x17
jae 0x432f10
push ebp
push 3
call fcn.0043d823
cmp eax, 1
pop ecx
je 0x432edc
push 3
call fcn.0043d823
test eax, eax
pop ecx
jne 0x432dc4
cmp dword [0x469904], 1
je 0x432edc
cmp ebx, 0xfc
je 0x432f0f
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x46d418
push ebp
call fcn.0043b9d2
add esp, 0xc
test eax, eax
je 0x432dfa
push esi
push esi
push esi
push esi
push esi
call fcn.004315c8
add esp, 0x14
push 0x104
mov esi, 0x46d431
push esi
push 0
mov byte [0x46d535], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x432e3e
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.0043b9d2
add esp, 0xc
test eax, eax
je 0x432e3e
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.004315c8
add esp, 0x14
push esi
call fcn.004306d0
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x432e83
push esi
call fcn.004306d0
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x46d72c
push 0x45777c
sub ecx, eax
push ecx
push eax
call fcn.0043d770
add esp, 0x14
test eax, eax
je 0x432e83
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.004315c8
add esp, 0x14
jmp 0x432e85
xor esi, esi
push 0x457778
push ebx
push ebp
call fcn.0043d6ff
add esp, 0xc
test eax, eax
je 0x432ea5
push esi
push esi
push esi
push esi
push esi
call fcn.004315c8
add esp, 0x14
push dword [edi*8 + 0x469ad4]
push ebx
push ebp
call fcn.0043d6ff
add esp, 0xc
test eax, eax
je 0x432ec7
push esi
push esi
push esi
push esi
push esi
call fcn.004315c8
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.0043d542
add esp, 0xc
jmp 0x432f0f
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x432f0f
cmp ebp, 0xffffffff
je 0x432f0f
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x469ad4]
push dword [esi]
call fcn.004306d0
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x43d542
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00433939
xor ebx, ebx
cmp dword [0x46df20], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x43d618
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x43d6f8
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x43d6f8
push eax
call fcn.004338cb
mov dword [esp], 0x457bb4
push edi
mov dword [0x46df20], eax
call esi
push eax
call fcn.004338cb
mov dword [esp], 0x457ba0
push edi
mov dword [0x46df24], eax
call esi
push eax
call fcn.004338cb
mov dword [0x46df28], eax
lea eax, [ebp - 0xc]
push eax
call fcn.00432696
test eax, eax
pop ecx
pop ecx
je 0x43d5e6
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004315c8
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x43d618
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.004338cb
cmp eax, ebx
pop ecx
mov dword [0x46df30], eax
je 0x43d618
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004338cb
pop ecx
mov dword [0x46df2c], eax
mov eax, dword [0x46df2c]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x43d69d
cmp dword [0x46df30], ecx
je 0x43d69d
push eax
call fcn.00433942
push dword [0x46df30]
mov esi, eax
call fcn.00433942
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x43d69d
cmp edi, ebx
je 0x43d69d
call esi
cmp eax, ebx
je 0x43d66a
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x43d66a
test byte [ebp - 0x18], 1
jne 0x43d69d
lea eax, [ebp - 0x10]
push eax
call fcn.004326cd
test eax, eax
pop ecx
je 0x43d685
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004315c8
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x43d694
or dword [ebp + 0x10], 0x200000
jmp 0x43d6d8
or dword [ebp + 0x10], 0x40000
jmp 0x43d6d8
mov eax, dword [0x46df24]
cmp eax, dword [ebp - 8]
je 0x43d6d8
push eax
call fcn.00433942
cmp eax, ebx
pop ecx
je 0x43d6d8
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x43d6d8
mov eax, dword [0x46df28]
cmp eax, dword [ebp - 8]
je 0x43d6d8
push eax
call fcn.00433942
cmp eax, ebx
pop ecx
je 0x43d6d8
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x46df20]
call fcn.00433942
cmp eax, ebx
pop ecx
je 0x43d6f8
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x43d6fa
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x446017
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x46e0dc], 0
push esi
jne 0x445f8a
call fcn.00445eb5
test eax, eax
je 0x445fcd
mov eax, dword [0x46e0dc]
cmp eax, 1
jne 0x445fab
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x445fcd
pop esi
ret
push eax
call dword [0x46e0e4]
test eax, eax
jne 0x446015
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x445fd1
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x46e0dc]
call dword [0x46e0e4]
mov edi, eax
test edi, edi
je 0x445ff8
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, edi
jmp 0x446014
lea edi, [esi + 0xff0]
push esi
push dword [0x46e0dc]
call dword [0x46e0e0]
add esi, 0x10
cmp esi, edi
jb 0x445ffe
mov eax, esi
pop edi
pop esi
ret
jmp 0x445f77

Function at 0x446168
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x469930]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.004460fd
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.0042d110
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 0x4461b7
cmp dword [ebp - 0x1c], 5
jb 0x4461cf
jmp 0x4461cb
cmp dword [ebp - 0x10], 1
jne 0x4461cf
cmp dword [ebp - 0x1c], 4
ja 0x4461cb
jne 0x4461cf
cmp dword [ebp - 0x18], 0
jbe 0x4461cf
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x459580
call fcn.00403732
test eax, eax
jge 0x4461f0
mov byte [0x46e1ac], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0042d9aa
add ebp, 0x78
leave
ret
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
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
nop
nop
nop
pop eax
nop
add eax, 0x403daa
sub eax, 0x403d50
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
jne 0x43001e
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp int.00401219
Function at 0x42bd80
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
push edi
mov edi, dword [ebp + 0xc]
test eax, eax
jg 0x42bda1
jl 0x42bd98
test edi, edi
jne 0x42bda1
xor eax, eax
xor edx, edx
jmp 0x42be62
cmp dword [ebx + 0x38], 0
je 0x42bdb6
push eax
push edi
push dword [ebp + 8]
call fcn.00425620
jmp 0x42be62
mov eax, dword [ebx + 0x1c]
push esi
mov esi, edi
mov ecx, dword [eax]
test ecx, ecx
je 0x42bdfd
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax]
mov dword [ebp - 4], eax
test eax, eax
je 0x42bdfd
cmp eax, edi
jb 0x42bdd7
mov eax, edi
mov dword [ebp - 4], edi
push eax
push ecx
push dword [ebp + 8]
call fcn.0042dc60
mov ecx, dword [ebp - 4]
add esp, 0xc
mov eax, dword [ebp + 8]
sub esi, ecx
add eax, ecx
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0x2c]
sub dword [eax], ecx
mov eax, dword [ebx + 0x1c]
add dword [eax], ecx
jmp 0x42be03
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
cmp dword [ebx + 0x4c], 0
je 0x42be57
mov ecx, ebx
call fcn.0042b6eb
mov ecx, dword [ebp - 4]
mov edx, esi
mov eax, 0xfff
cmp esi, eax
jbe 0x42be42
push dword [ebx + 0x4c]
push eax
push 1
push ecx
call fcn.00436459
mov ecx, dword [ebp - 4]
sub esi, eax
add ecx, eax
add esp, 0x10
mov dword [ebp - 4], ecx
mov edx, esi
cmp eax, 0xfff
jne 0x42be57
jmp 0x42be15
test edx, edx
je 0x42be57
push dword [ebx + 0x4c]
push esi
push 1
push ecx
call fcn.00436459
add esp, 0x10
sub esi, eax
mov edx, dword [ebp + 0x10]
sub edi, esi
mov eax, edi
sbb edx, 0
pop esi
pop edi
pop ebx
leave
ret 0xc

Function at 0x42d2d6
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x42d315
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x42d315
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x42d315
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x42d315
cmp dword [ecx + 0x74], 0xe
jbe 0x42d315
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x43d03a
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x455e54
push 0x455e4c
push str.FlsAlloc
push 0x1f
call fcn.0043cec2
mov esi, eax
add esp, 0x10
test esi, esi
je 0x43d06e
push dword [ebp + 8]
mov ecx, esi
call dword [0x44d18c]
call esi
jmp 0x43d074
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x43d0b8
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x455e64
push 0x455e5c
push str.FlsGetValue
push 0x21
call fcn.0043cec2
mov esi, eax
add esp, 0x10
test esi, esi
je 0x43d0ef
push dword [ebp + 8]
mov ecx, esi
call dword [0x44d18c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x43d0f7
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x455e6c
push 0x455e64
push str.FlsSetValue
push 0x22
call fcn.0043cec2
mov esi, eax
add esp, 0x10
test esi, esi
je 0x43d131
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x44d18c]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]