joyce8/EMBER2024-capa huggingface dataset:
Function at 0x470e00
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
xor edx, edx
push ebp
push 0x470e5a
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.00470df0
mov ebx, eax
lea edx, [ebp - 4]
mov eax, edi
call fcn.0045fde0
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.0045f9e0
mov edx, dword [esi + 8]
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x470e61
lea eax, [ebp - 4]
call fcn.00404048
ret

Function at 0x47645c
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb0
push ebx
xor ecx, ecx
mov dword [ebp - 0x148], ecx
mov dword [ebp - 0x150], ecx
mov dword [ebp - 0x14c], ecx
mov dword [ebp - 0x138], ecx
mov dword [ebp - 0x144], ecx
mov dword [ebp - 0x13c], ecx
mov dword [ebp - 0x140], ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.004044f8
lea ebx, [ebp - 0x134]
xor eax, eax
push ebp
push 0x47660b
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
xor edx, edx
mov eax, 2
call fcn.00475088
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x4765e5
xor edx, edx
push ebp
push 0x4765de
push dword fs:[edx]
mov dword fs:[edx], esp
mov dword [ebx], 0x128
mov edx, ebx
mov eax, dword [ebp - 0xc]
call fcn.004750a8
cmp eax, 1
sbb eax, eax
inc eax
jmp 0x4765bf
lea eax, [ebp - 0x140]
lea edx, [ebx + 0x24]
mov ecx, 0x104
call fcn.004042b8
mov eax, dword [ebp - 0x140]
lea edx, [ebp - 0x13c]
call fcn.00408868
mov eax, dword [ebp - 0x13c]
lea edx, [ebp - 0x138]
call fcn.00407dec
mov eax, dword [ebp - 0x138]
push eax
lea edx, [ebp - 0x144]
mov eax, dword [ebp - 4]
call fcn.00407dec
mov edx, dword [ebp - 0x144]
pop eax
call fcn.00404454
je 0x476597
lea eax, [ebp - 0x14c]
lea edx, [ebx + 0x24]
mov ecx, 0x104
call fcn.004042b8
mov eax, dword [ebp - 0x14c]
lea edx, [ebp - 0x148]
call fcn.00407dec
mov eax, dword [ebp - 0x148]
push eax
lea edx, [ebp - 0x150]
mov eax, dword [ebp - 4]
call fcn.00407dec
mov edx, dword [ebp - 0x150]
pop eax
call fcn.00404454
jne 0x4765af
push 0
mov eax, dword [ebx + 8]
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
push eax
call sub.kernel32.dll_TerminateProcess
mov dword [ebp - 8], eax
mov edx, ebx
mov eax, dword [ebp - 0xc]
call fcn.004750c8
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x4764f8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4765e5
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_CloseHandle
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x476612
lea eax, [ebp - 0x150]
mov edx, 7
call fcn.0040406c
lea eax, [ebp - 4]
call fcn.00404048
ret
Function at 0x476788
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x476902
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [0x478940]
mov edx, dword [edx]
lea eax, [ebp - 4]
mov ecx, 0x476918
call fcn.00404354
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x42d008]
call fcn.0042d0b8
mov esi, eax
mov edx, 0x476930
mov eax, ebx
call fcn.004762b0
test al, al
je 0x476855
mov edi, dword [ebx + 0x314]
mov eax, dword [edi + 0x218]
mov edx, 0x476948
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov edx, eax
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0xd0]
mov edx, 0x476930
mov eax, ebx
call fcn.0047645c
test eax, eax
jne 0x476833
mov esi, dword [ebx + 0x314]
mov eax, dword [esi + 0x218]
mov edx, 0x476980
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov edx, eax
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0xd0]
jmp 0x4768e7
mov edi, dword [ebx + 0x314]
mov eax, dword [edi + 0x218]
mov edx, 0x4769a8
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov edx, eax
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0xd0]
mov edx, dword [0x478940]
mov edx, dword [edx]
lea eax, [ebp - 8]
mov ecx, dword [0x479f94]
call fcn.00404354
mov eax, dword [ebp - 8]
call fcn.0040878c
test al, al
je 0x4768a8
push 1
push 0
push 0
mov edx, dword [0x478940]
mov edx, dword [edx]
lea eax, [ebp - 0xc]
mov ecx, dword [0x479f94]
call fcn.00404354
mov eax, dword [ebp - 0xc]
call fcn.00404508
push eax
push 0x4769b8
push 0
call sub.shell32.dll_ShellExecuteA
push 0x4769c8
mov ecx, 0x4769d4
mov edx, 0x4769e0
mov eax, esi
mov edi, dword [eax]
call dword [edi + 4]
mov eax, esi
call fcn.00403274
mov esi, dword [ebx + 0x314]
mov eax, dword [esi + 0x218]
mov edx, 0x4769a8
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov edx, eax
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0xd0]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x476909
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.0040406c
ret
Function at 0x40142b
Capabilities:
Delete file

Disassembly:
mov eax, 0x404740
call fcn.004043c0
sub esp, 0x410
cmp byte [ebp + 0xc], 0
mov dword [ebp - 0x1c], ecx
jne 0x40144e
call fcn.00401419
jmp 0x4015c1
push 0x4080b8
push dword [ebp + 0x10]
call dword [sym.imp.MSVCRT.dll_fopen]
pop ecx
mov dword [ebp - 0x14], eax
test eax, eax
pop ecx
je 0x4015c1
and dword [0x408064], 0
test byte [eax + 0xc], 0x10
jne 0x401585
push ebx
push esi
mov esi, dword [sym.imp.MSVCRT.dll_strtok]
push edi
mov edi, 0x4080b4
push dword [ebp - 0x14]
lea eax, [ebp - 0x41c]
push 0x400
push eax
call dword [sym.imp.MSVCRT.dll_fgets]
lea eax, [ebp - 0x41c]
push edi
push eax
call esi
push edi
push 0
mov dword [ebp - 0x10], eax
call esi
push edi
push 0
mov dword [ebp - 0x18], eax
call esi
add esp, 0x24
cmp dword [ebp - 0x18], 0
mov ebx, eax
je 0x401575
push dword [ebp - 0x10]
lea eax, [ebp + 0x10]
push 0x4084b0
push eax
call sub.MFC42.DLL_operator
and dword [ebp - 4], 0
and dword [ebp + 0xc], 0
test ebx, ebx
je 0x4014ff
push ebx
call dword [sym.imp.MSVCRT.dll_atoi]
test eax, eax
pop ecx
mov dword [ebp + 0xc], eax
jge 0x4014ff
push dword [ebp + 0x10]
call fcn.00403748
test al, al
pop ecx
je 0x40152a
push dword [ebp - 0x18]
call dword [sym.imp.MSVCRT.dll_atoi]
mov ebx, eax
pop ecx
cmp ebx, dword [0x4084b8]
jle 0x401569
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp dword [0x408068], ebx
jge 0x40152a
mov dword [0x408068], ebx
cmp dword [ebp + 0xc], 0
jge 0x401551
inc dword [0x408064]
push str.login
push dword [ebp - 0x10]
call dword [sym.imp.MSVCRT.dll_strstr]
pop ecx
test eax, eax
pop ecx
je 0x401551
mov dword [ebp + 0xc], 0xfffe7961
push dword [ebp - 0x10]
lea eax, [ebp + 0xc]
mov ecx, 0x408518
push eax
call fcn.00402235
mov ecx, eax
call sub.MFC42.DLL_CString::operator_1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x10]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x14]
test byte [eax + 0xc], 0x10
je 0x401488
pop edi
pop esi
pop ebx
push dword [ebp - 0x14]
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [0x408068]
pop ecx
cmp eax, 0xffffffff
je 0x4015a0
push eax
call fcn.004037ba
pop ecx
mov ecx, dword [ebp - 0x1c]
push 0x4080a0
call fcn.004013ce
mov eax, dword [0x40851c]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [eax]
mov dword [0x408510], eax
call fcn.00401732
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret 0xc
Function at 0x4015cf
Capabilities:
Copy file
Create process on windows
Move file

Disassembly:
mov eax, 0x404754
call fcn.004043c0
cmp byte [ebp + 0xc], 0
push esi
push edi
mov edi, ecx
jne 0x401610
inc dword [0x408534]
cmp dword [0x408534], 0xa
jge 0x4015fe
call fcn.00401732
cmp dword [0x408534], 0xa
jne 0x401722
mov ecx, edi
call fcn.00401419
jmp 0x401722
push str.login
push dword [ebp + 8]
call dword [sym.imp.MSVCRT.dll_strstr]
pop ecx
test eax, eax
pop ecx
je 0x4016ac
push str..old
lea eax, [ebp + 0xc]
push 0x4084b4
push eax
call sub.MFC42.DLL_operator
push dword [ebp + 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileA]
and dword [ebp - 4], 0
push dword [0x4084b4]
call esi
push dword [0x4084b4]
push dword [ebp + 0x10]
call esi
test eax, eax
je 0x401695
push 5
push dword [0x4084b0]
push dword [ebp + 0xc]
push dword [0x4084b4]
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov ecx, edi
call fcn.00402161
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call sub.MFC42.DLL_CString::CString
jmp 0x401722
push dword [0x4084b4]
push dword [ebp + 0xc]
call esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call sub.MFC42.DLL_CString::CString
push dword [ebp + 8]
lea eax, [ebp + 8]
push 0x4084b0
push eax
call sub.MFC42.DLL_operator
push 0
push dword [eax]
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_CopyFileA]
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x408510]
inc dword [0x408530]
mov ecx, dword [0x40853c]
mov edx, dword [eax + 8]
cmp edx, ecx
je 0x4016fc
mov eax, dword [edx]
cmp eax, ecx
je 0x4016f4
mov edx, eax
jmp 0x4016ea
mov dword [0x408510], edx
jmp 0x40171b
mov ecx, dword [eax + 4]
cmp eax, dword [ecx + 8]
jne 0x401710
mov eax, ecx
mov dword [0x408510], eax
mov ecx, dword [ecx + 4]
jmp 0x4016ff
cmp dword [eax + 8], ecx
je 0x40171b
mov dword [0x408510], ecx
mov ecx, edi
call fcn.00401732
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 0xc
Function at 0x40178e
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x404768
call fcn.004043c0
mov eax, 0x13e0
call fcn.004043f0
push ebx
push edi
push str.vdgame.exe
lea eax, [ebp - 0x10]
push 0x4084b0
mov edi, ecx
push eax
call sub.MFC42.DLL_operator
mov eax, dword [0x408530]
xor ebx, ebx
cmp eax, dword [0x408064]
mov dword [ebp - 4], ebx
jge 0x401803
cmp byte [0x408539], bl
je 0x4017f2
push dword [ebp - 0x10]
call fcn.00403748
test al, al
pop ecx
jne 0x4017f2
push ebx
push 0x40813c
push 0x40811c
mov ecx, edi
call sub.MFC42.DLL_CWnd::MessageBoxA
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
jmp 0x4018f8
push esi
push 0x44
pop esi
lea eax, [ebp - 0x64]
push esi
push ebx
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
mov dword [ebp - 0x64], esi
push ebx
push ebx
push 0x147
push dword [edi + 0x84]
call dword [sym.imp.USER32.dll_SendMessageA]
mov esi, eax
call fcn.00403cec
shl esi, 3
mov ecx, dword [esi + 0x4084c0]
sub ecx, eax
mov eax, dword [esi + 0x4084c4]
sub eax, edx
push eax
push ecx
push dword [0x408528]
lea eax, [ebp - 0x13ec]
push str._s_width_d_height_d
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x14
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x13ec]
push dword [0x4084b0]
push ebx
push ebx
push ebx
push ebx
push ebx
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x4018eb
push 2
mov byte [0x408538], 1
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_KillTimer]
mov ecx, 0x4083e8
call fcn.00401322
push 0xffffffffffffffff
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x1c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x20]
call esi
mov ecx, 0x4083e8
mov byte [0x408538], bl
call fcn.004012ae
push ebx
push ebx
push ebx
push ebx
push str.http:__www.9377.com_api_pc_game_tlcs.php
lea ecx, [edi + 0xa4]
call fcn.00403ffb
mov ecx, edi
call fcn.00401732
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
pop esi
mov ecx, dword [ebp - 0xc]
pop edi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x402a5e
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
push 0x110
call sub.MFC42.DLL_operatornew
test eax, eax
pop ecx
je 0x402a78
mov dword [eax], 0x405990
jmp 0x402a7a
xor eax, eax
mov ecx, dword [esp + 8]
push eax
push 0
push 0x402ae5
mov dword [eax + 0x108], ecx
mov dword [eax + 0x10c], esi
call dword [sym.imp.MSVCRT.dll__beginthread]
add esp, 0xc
pop esi
ret 4
Function at 0x403670
Capabilities:
Create directory

Disassembly:
mov eax, 0x4049bc
call fcn.004043c0
sub esp, 0x18
push ebx
push esi
push dword [ebp + 8]
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov ecx, dword [eax - 8]
mov al, byte [ecx + eax - 1]
cmp al, 0x5c
je 0x4036a7
push 0x5c
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::operator
mov al, byte [ebp + 0xb]
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x24], al
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [ebp + 8]
xor esi, esi
mov byte [ebp - 4], 2
cmp dword [eax - 8], ebx
jle 0x4036fe
mov al, byte [esi + eax]
cmp al, 0x5c
je 0x4036df
mov byte [ebp - 0x14], al
push dword [ebp - 0x14]
jmp 0x4036ed
lea eax, [ebp - 0x10]
lea ecx, [ebp - 0x24]
push eax
call fcn.00403d6e
push 0x5c
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::operator
mov eax, dword [ebp + 8]
inc esi
cmp esi, dword [eax - 8]
jl 0x4036d0
mov esi, dword [ebp - 0x20]
cmp esi, dword [ebp - 0x1c]
je 0x403715
mov eax, dword [esi]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
add esi, 4
jmp 0x403701
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], bl
call fcn.00403d3b
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
pop esi
xor al, al
pop ebx
mov dword fs:[0], ecx
leave
ret

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

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov al, cl
ret
Function at 0x40382b
Capabilities:
Copy file
Create process on windows
Get common file path

Disassembly:
mov eax, 0x404a1c
call fcn.004043c0
sub esp, 0x128
push ebx
lea eax, [ebp - 0x18]
push esi
push eax
call fcn.00403a87
lea eax, [ebp - 0x18]
mov dword [esp], str.9377
push eax
lea eax, [ebp - 0x30]
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
call sub.MFC42.DLL_operator
mov esi, 0x40833c
mov byte [ebp - 4], 1
push esi
push eax
lea eax, [ebp - 0x10]
push eax
call sub.MFC42.DLL_operator
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString
lea eax, [ebp - 0x10]
push str.login.exe
push eax
lea eax, [ebp - 0x14]
push eax
call sub.MFC42.DLL_operator
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 4
push eax
call fcn.00403670
pop ecx
push ebx
push dword [ebp - 0x14]
push dword [0x4084b4]
call dword [sym.imp.KERNEL32.dll_CopyFileA]
push ebx
lea eax, [ebp - 0x134]
push 0x10
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea eax, [ebp - 0x134]
lea ecx, [ebp - 0x1c]
push eax
call fcn.00404180
lea eax, [ebp - 0x1c]
push esi
push eax
lea eax, [ebp - 0x24]
push eax
mov byte [ebp - 4], 5
call sub.MFC42.DLL_operator
push 0x40831c
push eax
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 6
push eax
call sub.MFC42.DLL_operator
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 8
call sub.MFC42.DLL_CString::CString
push 0x4082dc
push dword [ebp - 0x20]
push dword [ebp - 0x10]
push ebx
push dword [ebp - 0x14]
call fcn.004039ca
add esp, 0x14
lea eax, [ebp - 0x10]
push eax
mov ecx, 0x4084b0
call fcn.00404156
push 0x33588e
call fcn.004037ba
mov esi, 0x4082d8
mov dword [esp], 0x4084b4
lea eax, [ebp - 0x2c]
push esi
push eax
call sub.MFC42.DLL_operator_2
push esi
push eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 9
push eax
call sub.MFC42.DLL_operator
mov eax, dword [eax]
push 5
push dword [ebp - 0x10]
push eax
push dword [ebp - 0x14]
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea ecx, [ebp - 0x28]
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 8
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CString::CString
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
pop esi
mov al, 1
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x403a87
Capabilities:
Get common file path
Get disk information

Disassembly:
mov eax, 0x404a4f
call fcn.004043c0
sub esp, 0x118
and dword [ebp - 0x20], 0
push ebx
push esi
mov esi, 0x104
push edi
lea eax, [ebp - 0x124]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
and byte [ebp - 0x121], 0
lea eax, [ebp - 0x124]
push eax
lea ecx, [ebp - 0x14]
call fcn.00404180
or dword [ebp - 0x18], 0xffffffff
push 1
pop ebx
mov edi, 0x4084bc
push edi
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], ebx
call fcn.00404180
push esi
lea eax, [ebp - 0x124]
push 0
push eax
mov byte [ebp - 4], 2
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 0x124]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
lea esi, [ebp - 0x124]
mov dword [ebp - 0x1c], 0xa
cmp byte [esi], 0
je 0x403b49
push esi
push dword [ebp - 0x14]
call dword [sym.imp.MSVCRT.dll__mbscmp]
pop ecx
test eax, eax
pop ecx
je 0x403b49
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 3
jne 0x403b49
push esi
call fcn.00403ba5
cmp eax, dword [ebp - 0x18]
pop ecx
jle 0x403b49
push esi
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x18], eax
call sub.MFC42.DLL_CString::operator_1
add esi, 4
dec dword [ebp - 0x1c]
jne 0x403b10
push edi
push dword [ebp - 0x10]
call dword [sym.imp.MSVCRT.dll__mbscmp]
pop ecx
test eax, eax
pop ecx
jne 0x403b6d
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x10]
push eax
call fcn.00404156
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call sub.MFC42.DLL_CString::CString_2
mov dword [ebp - 0x20], ebx
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CString::CString
and byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x403bd0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
movzx eax, word [ebp + 8]
push ebx
push esi
push edi
push 0x408350
xor edi, edi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push edi
mov dword [ebp + 8], eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push esi
mov ebx, eax
push dword [ebp + 8]
push ebx
call sub.MSVCRT.dll_memcpy
add esp, 0xc
lea eax, [ebp - 4]
push eax
push edi
push ebx
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
push 0x10
call sub.gdiplus.dll_GdipAlloc
mov esi, eax
cmp esi, edi
je 0x403c5d
mov eax, dword [ebp - 4]
lea ecx, [ebp + 8]
push ecx
push eax
mov dword [esi], 0x405a40
mov dword [ebp + 8], edi
call sub.gdiplus.dll_GdipCreateBitmapFromStream
mov dword [esi + 8], eax
mov eax, dword [ebp + 8]
mov dword [esi + 4], eax
jmp 0x403c5f
xor esi, esi
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x43a6e0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x2f000]
push edi
jmp 0x43a6fa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x43a701
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x43a6f0
mov eax, 1
add ebx, ebx
jne 0x43a713
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x43a708
jne 0x43a724
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x43a708
xor ecx, ecx
sub eax, 3
jb 0x43a738
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x43a7aa
mov ebp, eax
add ebx, ebx
jne 0x43a743
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x43a750
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x43a774
inc ecx
add ebx, ebx
jne 0x43a760
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x43a755
jne 0x43a771
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x43a755
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x43a794
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x43a785
jmp 0x43a6f6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x43a794
add edi, ecx
jmp 0x43a6f6
pop esi
mov edi, esi
mov ecx, 0x6d0
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x43a7b2
cmp byte [edi], 0x11
jne 0x43a7b2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x43a7b7
lea edi, [esi + 0x38000]
mov eax, dword [edi]
or eax, eax
je 0x43a82f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x51a50]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x51b18]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x43a7e4
mov ecx, edi
jns 0x43a813
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x51b1c]
or eax, eax
je 0x43a829
mov dword [ebx], eax
add ebx, 4
jmp 0x43a801
call dword [esi + 0x51b2c]
mov ebp, dword [esi + 0x51b20]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x207]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x43a863
sub esp, 0xffffff80
jmp 0x40a7b1