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

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov esi, edx
mov ebx, eax
test ebx, ebx
jne 0x47f077
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004802a8
jmp 0x47f095
call sub.KERNEL32.DLL_GetCommandLineA
mov edi, eax
mov edx, esi
mov eax, edi
call fcn.0047efd0
mov edi, eax
test ebx, ebx
je 0x47f095
cmp dword [esi], 0
je 0x47f095
dec ebx
jmp 0x47f07e
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x47f39c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x496bc8]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x47f434
push reloc.WSOCK32.DLL_bind
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x47f414
xor eax, eax
push ebp
push 0x47f40d
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x47f450
mov eax, dword [ebp - 4]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47f414
mov eax, dword [ebp - 4]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
mov ax, word [0x496bc8]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x496bc8], ax
mov esp, ebp
pop ebp
ret

Function at 0x480174
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, 8
call fcn.0047ee04
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x49b0d9], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x48013c
push eax
push esi
push ebx
call sub.KERNEL32.DLL_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x481b3c
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x481cf8
push closesocket
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
je 0x481b9d
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x481d14
push closesocket
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x481c0f
xor eax, eax
push ebp
push 0x481c08
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
call fcn.00481994
push eax
mov eax, dword [ebp - 8]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
je 0x481bf1
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x481d34
mov eax, dword [ebp - 8]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x481c0f
mov eax, dword [ebp - 8]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_lstrcpyA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.KERNEL32.DLL_GetThreadLocale
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x481cf0
cmp byte [ebp - 0xd], 0
jne 0x481c51
cmp byte [ebp - 0x12], 0
je 0x481cf0
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x481c6a
dec ebx
cmp byte [ebx], 0x2e
je 0x481c79
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x481c69
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x481cf0
inc ebx
cmp byte [ebp - 0x12], 0
je 0x481ca6
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.KERNEL32.DLL_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x481cf0
cmp byte [ebp - 0xd], 0
je 0x481cf0
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.KERNEL32.DLL_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x481cf0
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.KERNEL32.DLL_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4820e4
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
xor eax, eax
push ebp
push 0x4821cc
push dword fs:[eax]
mov dword fs:[eax], esp
sub dword [0x49b4bc], 1
jae 0x4821be
xor eax, eax
mov dword [0x49b0c8], eax
xor eax, eax
mov dword [0x49b0d0], eax
xor eax, eax
mov dword [0x49b0d4], eax
mov byte [0x49b0da], 2
mov byte [0x49b0db], 2
mov byte [0x49b0dc], 3
mov word [0x49b484], 0
mov word [0x49b494], 1
mov word [0x49b4a4], 0xa
mov dword [0x49b4ac], 0x80020004
mov dword [0x49b478], 0x480ecc
mov dword [0x49b47c], 0x480ec4
mov dword [0x49b480], 0x480ecc
call fcn.0047f36c
test al, al
je 0x48217d
call fcn.0047f39c
call fcn.0047f460
mov eax, 0x49b0e0
mov edx, 0x4821d8
call fcn.0047cb42
mov eax, 0x49b2ac
mov edx, 0x4821d8
call fcn.0047cb42
call sub.KERNEL32.DLL_GetCommandLineA
mov dword [0x49b0c0], eax
call fcn.0047dac0
mov dword [0x49b0bc], eax
call sub.KERNEL32.DLL_GetCurrentThreadId
mov dword [0x49b0b4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4821d3
ret

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

Disassembly:
push ebp
mov ebp, esp
push ebx
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.DLL_GetFileAttributesA
mov ebx, eax
cmp eax, 0xffffffff
jne 0x483dfc
call fcn.00485280
pop ebx
pop ebp
ret
test byte [ebp + 0xc], 2
je 0x483e18
test bl, 1
je 0x483e18
call fcn.00489414
mov dword [eax], 5
or eax, 0xffffffff
pop ebx
pop ebp
ret
xor eax, eax
pop ebx
pop ebp
ret
Function at 0x483ffc
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
call fcn.00484e1c
test byte [ebp + 0xd], 0xc0
jne 0x484020
mov eax, dword [0x4979ec]
mov edx, dword [eax]
and edx, 0xc000
or dword [ebp + 0xc], edx
test byte [ebp + 0xd], 0x80
jne 0x48402d
or dword [ebp + 0xc], 0x4000
mov ecx, dword [ebp + 0xc]
and ecx, 0x700
cmp ecx, 0x500
jg 0x48405a
je 0x48406c
sub ecx, 0x100
je 0x48407a
sub ecx, 0x100
je 0x484081
sub ecx, 0x100
je 0x484073
jmp 0x484088
sub ecx, 0x600
je 0x484081
sub ecx, 0x100
je 0x48406c
jmp 0x484088
mov edi, 1
jmp 0x48408d
mov edi, 2
jmp 0x48408d
mov edi, 4
jmp 0x48408d
mov edi, 5
jmp 0x48408d
mov edi, 3
test byte [ebp + 0xd], 1
je 0x4840b4
lea eax, [ebp + 0x10]
add eax, 4
mov eax, dword [eax - 4]
and eax, dword [0x497464]
test al, 0x80
je 0x4840ad
mov ebx, 0x80
jmp 0x4840c6
mov ebx, 1
jmp 0x4840c6
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.DLL_GetFileAttributesA
mov ebx, eax
cmp eax, 0xffffffff
jne 0x4840c6
xor ebx, ebx
mov eax, dword [ebp + 0xc]
and eax, 3
sub eax, 1
jb 0x4840d8
je 0x4840e1
dec eax
je 0x4840ea
jmp 0x4840f3
mov dword [ebp - 4], closesocket
jmp 0x484102
mov dword [ebp - 4], 0x40000000
jmp 0x484102
mov dword [ebp - 4], 0xc0000000
jmp 0x484102
push 1
call fcn.00485214
pop ecx
mov ebx, eax
jmp 0x4841ee
mov eax, dword [ebp + 0xc]
and eax, 0x70
sub eax, 0x10
je 0x48411e
sub eax, 0x10
je 0x484125
sub eax, 0x10
je 0x48412e
sub eax, 0x10
je 0x484137
jmp 0x484137
xor edx, edx
mov dword [ebp - 8], edx
jmp 0x48413e
mov dword [ebp - 8], 1
jmp 0x48413e
mov dword [ebp - 8], 2
jmp 0x48413e
mov dword [ebp - 8], 3
mov dword [ebp - 0x14], 0xc
xor ecx, ecx
mov dword [ebp - 0x10], ecx
lea ecx, [ebp - 0x14]
mov eax, dword [ebp + 0xc]
and eax, 0x80
cmp eax, 1
sbb edx, edx
neg edx
mov dword [ebp - 0xc], edx
push 0
push ebx
push edi
push ecx
mov eax, dword [ebp - 8]
push eax
mov edx, dword [ebp - 4]
push edx
mov ecx, dword [ebp + 8]
push ecx
call sub.KERNEL32.DLL_CreateFileA
mov esi, eax
cmp eax, 0xffffffff
jne 0x4841a7
call sub.KERNEL32.DLL_GetLastError
mov ebx, eax
and ebx, 0xffff
cmp ebx, 0x6e
jne 0x48419c
test byte [ebp + 0xd], 1
mov ebx, 0x50
jne 0x48419c
add ebx, 0xffffffb2
push ebx
call fcn.00485214
pop ecx
mov ebx, eax
jmp 0x4841ee
mov edi, esi
push edi
call fcn.00483f60
pop ecx
test eax, eax
je 0x4841bb
or dword [ebp + 0xc], 0x2000
test bl, 1
jne 0x4841c7
or dword [ebp + 0xc], 0x100
and dword [ebp + 0xc], 0xfffff8ff
mov eax, dword [ebp + 0xc]
push eax
push edi
call fcn.00484f3c
add esp, 8
mov ebx, eax
inc eax
jne 0x4841ee
push 4
call fcn.00485214
pop ecx
push esi
call sub.KERNEL32.DLL_CloseHandle
call fcn.00484e50
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4893ac
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.DLL_CreateFileA
mov ebx, eax
test eax, eax
je 0x48940e
call fcn.0048935c
mov esi, eax
lea eax, [ebp - 4]
push 0
push eax
push esi
call fcn.00482cf0
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push edi
call fcn.00482cf0
pop ecx
push eax
push edi
push ebx
call sub.KERNEL32.DLL_WriteFile
push ebx
call sub.KERNEL32.DLL_CloseHandle
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x48948c
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff7c
cmp dword [0x498954], 0
push ebx
push esi
mov esi, dword [ebp + 8]
jne 0x489566
cmp dword [0x498950], 0
jne 0x489566
cmp dword [0x498b54], 0
je 0x489520
push 0x80
lea eax, [ebp - 0x84]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
push 0x5c
lea edx, [ebp - 0x84]
push edx
call fcn.0048925c
add esp, 8
mov ebx, eax
test eax, eax
jne 0x489506
push 0x3a
lea edx, [ebp - 0x84]
push edx
call fcn.0048925c
add esp, 8
mov ebx, eax
test eax, eax
jne 0x489506
lea ebx, [ebp - 0x84]
jmp 0x489507
inc ebx
call fcn.00489448
or eax, 0x10010
push eax
push ebx
push esi
push 0
call sub.USER32.DLL_MessageBoxA
jmp 0x4895a1
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
mov ebx, eax
lea eax, [ebp - 4]
push 0
push eax
push 2
push 0x498958
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push esi
call fcn.00482cf0
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea ecx, [ebp - 4]
push ecx
push 2
push 0x49895b
push ebx
call sub.KERNEL32.DLL_WriteFile
jmp 0x4895a1
cmp dword [0x498950], 0
je 0x489580
cmp dword [0x498950], 0xffffffff
je 0x4895a1
push esi
call dword [0x498950]
pop ecx
mov eax, dword [0x498954]
test eax, eax
je 0x4895a1
cmp dword [0x498954], 0xffffffff
je 0x4895a1
cmp byte [eax], 0
je 0x4895a1
push esi
push eax
call fcn.004893ac
add esp, 8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x489d48
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
cmp dword [0x49bdc4], 0
jne 0x489dc9
cmp dword [0x49bde4], 0
jne 0x489d78
call sub.KERNEL32.DLL_GetEnvironmentStrings
mov dword [0x49bde4], eax
test eax, eax
jne 0x489d78
push str.GetEnvironmentStrings_failed
call fcn.004895b8
pop ecx
xor ebp, ebp
xor esi, esi
mov ebx, dword [0x49bde4]
jmp 0x489d8c
lea eax, [edi + 1]
inc esi
add ebp, eax
add ebx, eax
push ebx
call fcn.00482cf0
pop ecx
mov edi, eax
test eax, eax
jne 0x489d84
lea edi, [ebp + 1]
push edi
call fcn.00482700
pop ecx
mov ebx, eax
mov dword [0x49bdc8], ebx
test ebx, ebx
jne 0x489db6
xor eax, eax
jmp 0x489e8c
push edi
mov edx, dword [0x49bde4]
push edx
push ebx
call fcn.00482b70
add esp, 0xc
jmp 0x489de9
xor esi, esi
mov ebx, dword [0x49bdc4]
jmp 0x489de3
push eax
call fcn.00482cf0
pop ecx
test eax, eax
jne 0x489ddf
dec esi
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x489dd3
lea ebx, [esi + 4]
push 4
mov dword [0x49bdcc], ebx
inc ebx
push ebx
call fcn.004821dc
add esp, 8
test eax, eax
mov dword [esp], eax
jne 0x489e0c
xor eax, eax
jmp 0x489e8c
cmp dword [0x49bdc4], 0
jne 0x489e3d
xor esi, esi
mov ebx, dword [0x49bdc8]
mov eax, dword [esp]
mov ebp, eax
jmp 0x489e2e
mov dword [ebp], ebx
add ebp, 4
inc esi
inc edi
add ebx, edi
push ebx
call fcn.00482cf0
pop ecx
mov edi, eax
test eax, eax
jne 0x489e24
jmp 0x489e6e
xor esi, esi
mov ebx, dword [0x49bdc4]
mov eax, dword [esp]
mov edi, eax
jmp 0x489e68
push eax
call fcn.00482cf0
pop ecx
test eax, eax
je 0x489e5d
mov eax, dword [ebx]
mov dword [edi], eax
jmp 0x489e61
dec esi
add edi, 0xfffffffc
add edi, 4
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x489e4c
mov eax, dword [0x49bdc4]
test eax, eax
je 0x489e7e
push eax
call fcn.00482710
pop ecx
mov edx, dword [esp]
mov eax, 1
mov dword [0x49bdc4], edx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x403703
Capabilities:
Create process on windows
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x409b1c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6c
mov dword [ebp - 0x78], ecx
push 0x44
push 0
lea eax, [ebp - 0x50]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
mov dword [ebp - 0x50], 0x44
push 0x10
push 0
lea ecx, [ebp - 0x60]
push ecx
call sub.MSVCRT.dll_memset
add esp, 0xc
mov edx, dword [ebp - 0x78]
add edx, 0x14
push edx
lea ecx, [ebp - 0x70]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov dword [ebp - 4], 0
push str.Sobar.exe
lea ecx, [ebp - 0x70]
call dword [0x40b35c]
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x50]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x70]
call dword [sym.imp.MSVCP60.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x4037c5
push 0xffffffffffffffff
mov edx, dword [ebp - 0x60]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp - 0x60]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x5c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 0
push 0xa
call fcn.00408db5
add esp, 0xc
lea ecx, [ebp - 0x70]
call dword [sym.imp.MSVCP60.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov byte [ebp - 0x74], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov al, byte [ebp - 0x74]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x404eaa
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x409d46
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x274
mov dword [ebp - 0x278], ecx
mov ecx, dword [ebp + 8]
call fcn.00405360
lea eax, [ebp - 0x114]
push eax
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
je 0x404ef4
jmp 0x405067
lea ecx, [ebp - 0x130]
call sub.MFC42.DLL_CFileFind::CFileFind
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x114]
push ecx
push str._sSkype.
lea edx, [ebp - 0x234]
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
push 0
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x130]
call sub.MFC42.DLL_CFileFind::FindFile
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x40504a
lea ecx, [ebp - 0x130]
call sub.MFC42.DLL_CFileFind::FindNextFileA
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x130]
call sub.MFC42.DLL_CFileFind::IsDots
test eax, eax
jne 0x405045
lea ecx, [ebp - 0x130]
call fcn.00405340
test eax, eax
je 0x405045
lea ecx, [ebp - 0x25c]
push ecx
lea ecx, [ebp - 0x130]
call sub.MFC42.DLL_CFileFind::GetFilePath
mov byte [ebp - 4], 1
push str.config.xml
lea ecx, [ebp - 0x25c]
call fcn.004093a8
lea edx, [ebp - 0x258]
push edx
lea ecx, [ebp - 0x25c]
call fcn.00401910
push eax
call dword [sym.imp.MSVCRT.dll__stat]
add esp, 8
test eax, eax
jne 0x405036
lea eax, [ebp - 0x270]
push eax
lea ecx, [ebp - 0x274]
push ecx
lea ecx, [ebp - 0x130]
call sub.MFC42.DLL_CFileFind::GetFileName
mov dword [ebp - 0x27c], eax
mov edx, dword [ebp - 0x27c]
mov dword [ebp - 0x280], edx
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x280]
call fcn.00401910
push eax
lea ecx, [ebp - 0x26c]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const___class_std::allocator_char__const__]
mov byte [ebp - 4], 3
lea eax, [ebp - 0x26c]
push eax
mov ecx, dword [ebp + 8]
call fcn.00403a70
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x26c]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x274]
call fcn.00409384
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x25c]
call fcn.00409384
jmp 0x404f39
lea ecx, [ebp - 0x130]
call sub.MFC42.DLL_CFileFind::Close
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x130]
call fcn.004094d4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x4085d3
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0x20], ecx
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0
call sub.iphlpapi.dll_GetAdaptersInfo
cmp eax, 0x6f
jne 0x408698
mov dword [ebp - 8], 0x280
xor ecx, ecx
test ecx, ecx
je 0x40860d
mov edx, dword [ebp - 8]
sub edx, 8
mov dword [ebp - 8], edx
mov eax, dword [ebp - 4]
xor edx, edx
div dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
imul eax, eax, 0x280
push eax
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0xc], ecx
lea edx, [ebp - 4]
push edx
mov eax, dword [ebp - 0xc]
push eax
call sub.iphlpapi.dll_GetAdaptersInfo
test eax, eax
je 0x40866a
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
push edx
call sub.MFC42.DLL_operatordelete
add esp, 4
push 6
push 0
mov eax, dword [ebp + 8]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
xor al, al
jmp 0x4086aa
push 6
mov ecx, dword [ebp - 0xc]
add ecx, 0x194
push ecx
mov edx, dword [ebp + 8]
push edx
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov al, 1
jmp 0x4086aa
push 6
push 0
mov edx, dword [ebp + 8]
push edx
call sub.MSVCRT.dll_memset
add esp, 0xc
xor al, al
mov esp, ebp
pop ebp
ret 4

Function at 0x408d00
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
push 0
push 0
push 0
push 0
push str.Microsoft_Internet_Explorer
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x408d2c
xor al, al
jmp 0x408db1
push 0
push 0x80000000
push 0
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x408d5c
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
xor al, al
jmp 0x408db1
cmp dword [ebp + 0xc], 0
je 0x408d9b
lea eax, [ebp - 0x40c]
push eax
push 0x400
lea ecx, [ebp - 0x408]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x408d9b
cmp dword [ebp - 0x40c], 0
jbe 0x408d9b
movsx eax, byte [ebp - 0x408]
sub eax, 0x30
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x408ee0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov dword [eax + 4], 1
mov ecx, dword [ebp - 4]
add ecx, 0xc
push ecx
mov edx, dword [ebp + 8]
neg edx
sbb edx, edx
and edx, 4
push edx
mov eax, dword [ebp - 4]
push eax
push 0x409181
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 4]
mov dword [ecx + 8], eax
mov edx, dword [ebp - 4]
xor eax, eax
cmp dword [edx + 8], 0
setne al
mov esp, ebp
pop ebp
ret 4
Function at 0x401ee2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411280]
jne 0x401eec
repz ret
jmp fcn.00404399

Function at 0x409070
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
pushal
call 0x40907f
pop dword [ebp - 0x44]
mov eax, 0x8b110152
add eax, 0x752f8f2d
sub dword [ebp - 0x44], eax
push 0x40
push 0x1000
push 0x3c5f2
push 0
mov eax, 0xec354935
sub eax, 0xebf4685d
add eax, dword [ebp - 0x44]
call dword [eax]
mov ecx, 0x7333a322
sub ecx, 0x73334e76
xor edx, edx
add edx, eax
mov edi, 0x22b44db4
sub edi, 0x227311f0
add edi, dword [ebp - 0x44]
mov esi, 0x2a483a7e
add esi, 0xe8dc846a
mov ebx, dword [edi]
sub dword [ebp - 0x34], edi
sub ebx, esi
mov dword [ebp - 0x2c], 0x934d2954
mov dword [edx], ebx
xor dword [ebp - 8], ecx
add edx, 0x4a235a25
sub edx, 0x4a235a21
add edi, 0x351b810a
sub edi, 0x351b8106
loop 0x4090e0
add eax, 0xdd0c1f4
sub eax, 0xdcf7c71
xor ebx, ebx
add ebx, eax
add eax, 0x4fff7810
sub eax, 0x4fff780b
mov ecx, 0x400000
add ecx, dword [ebp - 0x44]
call ebx
leave
ret