joyce8/EMBER2024-capa huggingface dataset:
Function at 0x409888
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40995b
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x409974
push ebx
push 0x409980
push esi
lea eax, [ebp - 4]
mov edx, 4
call fcn.004033b4
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.0040277c
mov dword [ebp - 0x48], 0x44
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00403414
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
jne 0x409908
mov al, 0x62
call fcn.00409460
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle_1
call fcn.0040985c
push 0xff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x58]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
dec eax
je 0x409911
call fcn.0040985c
push edi
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409962
lea eax, [ebp - 4]
call fcn.00403198
ret

Function at 0x409a14
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffbc
mov edi, eax
lea esi, [esp + 0x28]
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemInfo
mov ebx, edi
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409ac8
jmp 0x409abd
cmp dword [esi + 0x10], 0x1000
jne 0x409aa9
test byte [esi + 0x15], 1
jne 0x409aa9
xor ebx, ebx
mov eax, dword [esi + 0x14]
cmp eax, 1
je 0x409a68
cmp eax, 2
je 0x409a68
cmp eax, 0x10
je 0x409a68
cmp eax, 0x20
jne 0x409a7d
push esp
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x409a7d
mov bl, 1
xor ebp, ebp
jmp 0x409a8e
mov eax, dword [esi]
add eax, ebp
call fcn.00409a0c
add ebp, dword [esp + 8]
cmp ebp, dword [esi + 0xc]
jb 0x409a81
test bl, bl
je 0x409aa9
push esp
mov eax, dword [esp + 4]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov ebx, eax
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409ac8
mov eax, dword [esi + 4]
cmp eax, edi
je 0x409a40
add esp, 0x44
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x401a22
Capabilities:
Hide graphical window

Disassembly:
mov ecx, 0xfffffffe
jmp fcn.0040161c
Function at 0x401207
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84c
mov eax, dword [0x41a1f8]
xor edx, edx
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x30], eax
mov eax, dword [0x41a1fc]
lea ecx, [ebp - 0xc]
mov dword [ebp - 0x28], edi
mov dword [ebp - 0xc], edx
mov esi, dword [edi]
mov ebx, dword [edi + 4]
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x2c], 0x9e3779b9
mov dword [ebp - 0x18], eax
call fcn.00401200
add dword [ebp - 0xc], 0x23f
cmp dword [0x2db3e94], 0x14
jne 0x401263
push edx
lea eax, [ebp - 0x84c]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_FindNextVolumeW]
mov ecx, dword [0x41a200]
mov edx, dword [0x41a204]
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x1c], 0x20
mov dword [ebp - 0x18], 2
add dword [ebp - 0x18], 3
mov eax, esi
mov dword [ebp - 8], 0xedeb2e40
shl eax, 4
add eax, ecx
cmp dword [0x2db3e94], 0xfa9
mov dword [ebp - 4], eax
mov eax, dword [0x2db3e90]
cmove eax, dword [ebp - 8]
and dword [ebp - 8], 0
cmp dword [0x2db3e94], 0x3eb
mov dword [0x2db3e90], eax
mov eax, dword [0x2db3de4]
cmove eax, dword [ebp - 8]
mov dword [0x2db3de4], eax
mov eax, dword [ebp - 0xc]
add eax, esi
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x14]
shr eax, 5
mov dword [ebp - 0x10], eax
add dword [ebp - 0x10], edx
xor edx, edx
mov eax, dword [ebp - 4]
mov dword [0x2db3e8c], 0xf4ea3dee
mov dword [ebp - 0x14], eax
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x20]
add dword [ebp - 8], eax
mov eax, dword [ebp - 8]
xor dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
xor ecx, eax
cmp dword [0x2db3e94], 0x213
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], ecx
jne 0x40135a
push edx
push edx
push edx
push edx
push edx
push edx
call dword [sym.imp.KERNEL32.dll_CompareStringA]
lea eax, [ebp - 0x44c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [ebp - 0x38]
push eax
push 0
lea eax, [ebp - 0x4c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_ReadConsoleInputA]
xor eax, eax
push eax
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_ChangeTimerQueueTimer]
mov ecx, dword [ebp - 0x10]
sub ebx, ecx
mov eax, ebx
shl eax, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x30]
add dword [ebp - 4], eax
mov ecx, dword [ebp - 0x18]
mov edx, ebx
mov eax, dword [ebp - 0xc]
shr edx, cl
add eax, ebx
mov ecx, dword [ebp - 4]
add edx, edi
xor ecx, eax
mov dword [ebp - 0x10], edx
cmp dword [0x2db3e94], 0xb03
mov dword [ebp - 4], ecx
jne 0x40139d
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesLengthA]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
xor ecx, edx
sub esi, ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 0x14], esi
mov eax, dword [ebp - 0x2c]
sub dword [ebp - 0xc], eax
dec dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x24]
jne 0x40127f
mov edi, dword [ebp - 0x28]
mov dword [edi], esi
mov dword [edi + 4], ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40c027
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4195a4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.0040797c
mov dword [ebp - 0x14], eax
cmp dword [0x4ba570], esi
jne 0x40c11a
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40c0a7
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40c1fa
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40c1fa
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40c1fa
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x4ba570], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x4ba574], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x4ba578], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4ba580], eax
test eax, eax
je 0x40c117
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4ba57c], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40c13f
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40c132
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40c154
push 4
pop eax
jmp 0x40c1fc
cmp dword [ebp - 0x14], esi
je 0x40c154
push dword [0x4ba570]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40c139
mov eax, dword [0x4ba57c]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40c1b2
cmp dword [0x4ba580], edi
je 0x40c1b2
push eax
call ebx
push dword [0x4ba580]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40c1b2
test eax, eax
je 0x40c1b2
call ecx
test eax, eax
je 0x40c1a7
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x40c1a7
test byte [ebp - 8], 1
jne 0x40c1b2
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40c1e2
mov eax, dword [0x4ba574]
cmp eax, edi
je 0x40c1df
push eax
call ebx
test eax, eax
je 0x40c1df
call eax
mov esi, eax
test esi, esi
je 0x40c1df
mov eax, dword [0x4ba578]
cmp eax, edi
je 0x40c1df
push eax
call ebx
test eax, eax
je 0x40c1df
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x4ba570]
call ebx
test eax, eax
je 0x40c1fa
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40c1fc
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040388c
mov esp, ebp
pop ebp
ret
Function at 0x1002fb1
Capabilities:
Get disk size

Disassembly:
push ebp
lea ebp, [esp - 0xb4]
sub esp, 0x134
mov eax, dword [0x100903c]
and dword [ebp - 0x58], 0
mov dword [ebp + 0xb0], eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x54]
push eax
push 0x104
push dword [ebp + 0xbc]
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
mov dl, 0x5c
cmp byte [ebp - 0x54], dl
jne 0x1003016
cmp byte [ebp - 0x53], dl
jne 0x1003016
mov cl, byte [ebp - 0x52]
test cl, cl
lea eax, [ebp - 0x52]
mov dword [ebp - 0x58], eax
je 0x100303c
cmp cl, dl
je 0x100300e
inc eax
mov dword [ebp - 0x58], eax
mov cl, byte [eax]
test cl, cl
jne 0x1003000
cmp byte [eax], 0
je 0x100303c
inc eax
jmp 0x1003019
lea eax, [ebp - 0x54]
mov dword [ebp - 0x58], eax
mov cl, byte [eax]
test cl, cl
je 0x100303c
cmp cl, dl
je 0x1003030
inc eax
mov dword [ebp - 0x58], eax
mov cl, byte [eax]
test cl, cl
jne 0x1003022
cmp byte [eax], 0
je 0x100303c
inc eax
mov dword [ebp - 0x58], eax
mov byte [eax], 0
push esi
push edi
push 0x1001448
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x1003092
push 0x1001434
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test edi, edi
je 0x1003092
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x54]
push eax
call edi
test eax, eax
jne 0x1003083
or eax, 0xffffffff
jmp 0x10030c6
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x68]
shrd eax, ecx, 0xa
shr ecx, 0xa
jmp 0x10030c6
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
test eax, eax
je 0x100307e
mov eax, dword [ebp - 0x5c]
imul eax, dword [ebp - 0x64]
push 0x400
push dword [ebp - 0x60]
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov ecx, dword [ebp + 0xb0]
pop edi
pop esi
call fcn.010078b8
add ebp, 0xb4
leave
ret

Function at 0x10032f2
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
xor esi, esi
push esi
push 0x80
push 3
push esi
push 1
push 0x80000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x1003321
xor eax, eax
xor edx, edx
jmp 0x100335b
push edi
lea eax, [ebp - 4]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push 1
push esi
push esi
push dword [ebp - 4]
mov dword [ebp - 8], eax
call fcn.01007b40
mov esi, eax
xor eax, eax
add esi, dword [ebp - 8]
mov edi, edx
push ebx
adc edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x1003356
xor esi, esi
xor edi, edi
mov edx, edi
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1007519
Capabilities:
Get graphical window text

Disassembly:
push ebp
lea ebp, [esp - 0x70]
sub esp, 0xb4
mov eax, dword [0x100903c]
push ebx
push esi
mov dword [ebp + 0x6c], eax
push edi
lea eax, [ebp - 0x28]
push eax
push dword [ebp + 0x78]
call dword [sym.imp.USER32.dll_GetClientRect]
push 0x80
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 0x78]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov edi, dword [sym.imp.USER32.dll_GetSysColor]
push 0xf
mov dword [ebp - 0x18], eax
call edi
mov esi, dword [ebp + 0x7c]
push eax
push esi
call dword [sym.imp.GDI32.dll_SetBkColor]
push 0x12
call edi
push eax
push esi
call dword [sym.imp.GDI32.dll_SetTextColor]
push dword [0x1009c60]
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
push esi
call ebx
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x20]
dec eax
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x1c]
push 0
push dword [ebp - 0x18]
dec eax
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x44]
push eax
push 2
push 1
push 4
push esi
call dword [sym.imp.GDI32.dll_ExtTextOutA]
mov eax, dword [ebp - 0x20]
mov esi, dword [ebp - 0x1c]
push dword [0x1009c68]
sub eax, dword [ebp - 0x28]
sub esi, dword [ebp - 0x24]
push dword [ebp + 0x7c]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x34], esi
call ebx
mov edi, 0xf00021
push edi
push esi
mov esi, dword [sym.imp.GDI32.dll_PatBlt]
push 1
push dword [ebp - 0x24]
mov dword [ebp - 0x18], eax
push dword [ebp - 0x28]
push dword [ebp + 0x7c]
call esi
push edi
push 1
push dword [ebp - 0x2c]
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push dword [ebp + 0x7c]
call esi
push dword [0x1009c64]
push dword [ebp + 0x7c]
call ebx
mov eax, dword [ebp - 0x34]
push edi
dec eax
push eax
mov eax, dword [ebp - 0x24]
push 1
inc eax
push eax
mov eax, dword [ebp - 0x20]
dec eax
push eax
push dword [ebp + 0x7c]
call esi
mov eax, dword [ebp - 0x2c]
push edi
dec eax
push 1
push eax
mov eax, dword [ebp - 0x1c]
dec eax
push eax
mov eax, dword [ebp - 0x28]
inc eax
push eax
push dword [ebp + 0x7c]
call esi
cmp dword [ebp - 0x30], 0
je 0x100764c
push dword [ebp - 0x30]
push dword [ebp + 0x7c]
call ebx
cmp dword [ebp - 0x18], 0
je 0x100765a
push dword [ebp - 0x18]
push dword [ebp + 0x7c]
call ebx
mov ecx, dword [ebp + 0x6c]
pop edi
pop esi
pop ebx
call fcn.010078b8
add ebp, 0x70
leave
ret
Function at 0x10078b8
Capabilities:
Terminate process

Disassembly:
push ebp
lea ebp, [esp - 0x2a8]
sub esp, 0x328
mov edx, dword [0x1009c6c]
test edx, edx
mov eax, dword [0x100903c]
mov dword [ebp + 0x2a4], eax
je 0x1007808
push edi
xor eax, eax
and dword [ebp - 0x28], eax
push 0x13
pop ecx
lea edi, [ebp - 0x7c]
rep stosd dword es:[edi], eax
mov ecx, 0xb2
lea edi, [ebp - 0x24]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x80]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x28]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x80], 0xc0000409
call edx
pop edi
push 0x502
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebp + 0x2a4]
call fcn.010078b8
add ebp, 0x2a8
leave
ret
cmp ecx, dword [0x100903c]
jne 0x10078c1
ret
jmp 0x10077b3
Function at 0x10078c6
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x70
push 0x1001d08
call fcn.01007be8
xor ebx, ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
or edi, 0xffffffff
mov dword [ebp - 4], edi
cmp word [0x1000000], 0x5a4d
jne 0x1007919
mov eax, dword [0x100003c]
lea eax, [eax + 0x1000000]
cmp dword [eax], 0x4550
jne 0x1007919
movzx ecx, word [eax + 0x18]
cmp ecx, 0x10b
je 0x1007931
cmp ecx, 0x20b
je 0x100791e
mov dword [ebp - 0x1c], ebx
jmp 0x1007945
cmp dword [eax + 0x84], 0xe
jbe 0x1007919
xor ecx, ecx
cmp dword [eax + 0xf8], ebx
jmp 0x100793f
cmp dword [eax + 0x74], 0xe
jbe 0x1007919
xor ecx, ecx
cmp dword [eax + 0xe8], ebx
setne cl
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 1
push 2
call dword [sym.imp.msvcrt.dll___set_app_type]
pop ecx
mov dword [0x1009c90], edi
mov dword [0x1009c94], edi
call dword [sym.imp.msvcrt.dll___p__fmode]
mov ecx, dword [0x1009c80]
mov dword [eax], ecx
call dword [sym.imp.msvcrt.dll___p__commode]
mov ecx, dword [0x1009c7c]
mov dword [eax], ecx
mov eax, dword [sym.imp.msvcrt.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x1009c98], eax
call fcn.01007be2
cmp dword [0x1009040], ebx
jne 0x10079a2
push fcn.01007be2
call dword [sym.imp.msvcrt.dll___setusermatherr]
pop ecx
call fcn.01007bd0
push 0x1009010
push 0x100900c
call sub.msvcrt.dll__initterm
mov eax, dword [0x1009c78]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push dword [0x1009c74]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.msvcrt.dll___getmainargs]
mov dword [ebp - 0x38], eax
push 0x1009008
push section..data
call sub.msvcrt.dll__initterm
add esp, 0x24
mov eax, dword [sym.imp.msvcrt.dll__acmdln]
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
cmp byte [eax], 0x22
jne 0x1007a2d
inc eax
mov dword [ebp - 0x20], eax
mov cl, byte [eax]
cmp cl, bl
je 0x1007a0d
cmp cl, 0x22
jne 0x10079fe
cmp byte [eax], 0x22
jne 0x1007a16
inc eax
mov dword [ebp - 0x20], eax
mov cl, byte [eax]
cmp cl, bl
je 0x1007a21
cmp cl, 0x20
jbe 0x1007a12
test byte [ebp - 0x54], 1
je 0x1007a38
movzx ecx, word [ebp - 0x50]
jmp 0x1007a3b
cmp byte [eax], 0x20
jbe 0x1007a16
inc eax
mov dword [ebp - 0x20], eax
jmp 0x1007a2d
push 0xa
pop ecx
push ecx
push eax
push ebx
push 0x1000000
call fcn.010069ee
mov esi, eax
mov dword [ebp - 0x3c], esi
cmp dword [ebp - 0x1c], ebx
jne 0x1007a59
push esi
call dword [sym.imp.msvcrt.dll_exit]
call dword [sym.imp.msvcrt.dll__cexit]
mov dword [ebp - 4], edi
jmp 0x1007a95
mov eax, esi
jmp 0x1007aa9
call fcn.01007c23
ret
Function at 0x432005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
mov eax, section..text
nop
mov ebx, 0x40c7d0
nop
mov ecx, 0xbb4910
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43204e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x432024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f314
nop
mov ecx, 0x49833b28
nop
nop
test eax, eax
nop
nop
je 0x432084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x43206c
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x407ae0
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c7cd0
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x50c4d8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
push 0
push 0
push 0
push 0
push 0x4e9c80
mov dword [esi + 0x54], 0
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [esi], eax
test eax, eax
jne 0x407b4e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esi + 0x54]
test ecx, ecx
je 0x407b47
mov edx, dword [ecx]
push eax
push 0
call dword [edx]
xor al, al
jmp 0x407c41
xor eax, eax
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], 0
mov word [ebp - 0x44], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], eax
mov word [ebp - 0x2c], ax
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 1
push edi
push eax
lea edx, [ebp - 0x48]
lea ecx, [ebp - 0x44]
call fcn.00407f40
add esp, 8
test al, al
jne 0x407ba6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esi + 0x54]
test ecx, ecx
je 0x407ba2
mov edx, dword [ecx]
push eax
push 1
call dword [edx]
xor bl, bl
jmp 0x407c09
lea ecx, [esi + 4]
lea eax, [ebp - 0x44]
cmp ecx, eax
je 0x407bba
push 0xffffffffffffffff
push 0
push eax
call fcn.00407870
mov ax, word [ebp - 0x48]
lea ecx, [esi + 0x20]
mov word [esi + 0x1c], ax
lea eax, [ebp - 0x2c]
cmp ecx, eax
je 0x407bd6
push 0xffffffffffffffff
push 0
push eax
call fcn.00407870
lea ecx, [esi + 0x38]
cmp ecx, ebx
je 0x407be7
push 0xffffffffffffffff
push 0
push ebx
call fcn.00407870
cmp dword [edi + 0x14], 8
jb 0x407bef
mov edi, dword [edi]
push 8
push str.https:__
push edi
call fcn.00492dd8
add esp, 0xc
test eax, eax
jne 0x407c07
mov byte [esi + 0x50], 1
mov bl, 1
cmp dword [ebp - 0x18], 8
jb 0x407c1a
push dword [ebp - 0x2c]
call fcn.00473980
add esp, 4
xor eax, eax
mov dword [ebp - 0x18], 7
cmp dword [ebp - 0x30], 8
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
jb 0x407c3f
push dword [ebp - 0x44]
call fcn.00473980
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004921c3
mov esp, ebp
pop ebp
ret 0xc
Function at 0x407c60
Capabilities:
Connect to http server
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c7d08
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x50c4d8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor edi, edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 4], edi
lea eax, [esi + 4]
cmp dword [eax + 0x14], 8
movzx ecx, word [esi + 0x1c]
jb 0x407ca1
mov eax, dword [eax]
push 1
push 0
push 3
push 0
push 0
push ecx
push eax
push dword [esi]
call dword [sym.imp.WININET.dll_InternetConnectW]
mov dword [ebp - 0x1c], eax
test eax, eax
jne 0x407cdb
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esi + 0x54]
mov edx, eax
test ecx, ecx
je 0x407dac
mov eax, dword [ecx]
push edx
push 2
call dword [eax]
jmp 0x407dac
cmp byte [esi + 0x50], 0
lea ecx, [esi + 0x20]
mov edx, 0x84001081
mov dword [ebp - 0x14], 0x4eda4c
mov edi, 0x84801081
mov dword [ebp - 0x10], 0
cmovne edx, edi
lea ebx, [esi + 0x38]
cmp dword [ecx + 0x14], 8
jb 0x407d08
mov ecx, dword [ecx]
push 1
push edx
lea edx, [ebp - 0x14]
push edx
push 0
push str.HTTP_1.1
push ecx
push 0x4eda68
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov edi, eax
mov dword [ebp - 0x18], edi
test edi, edi
je 0x407d98
cmp dword [ebx + 0x14], 8
mov eax, dword [ebx + 0x10]
jb 0x407d37
mov ebx, dword [ebx]
push 0
push 0
push eax
push ebx
push edi
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
je 0x407d98
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00407ea0
test al, al
jne 0x407d6e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esi + 0x54]
test ecx, ecx
je 0x407dac
push eax
push 7
jmp 0x407da8
mov ecx, dword [esi + 0x54]
test ecx, ecx
je 0x407d89
push dword [ebp - 0x10]
mov eax, dword [ecx]
push dword [ebp - 0x24]
push dword [ebp - 0x28]
mov eax, dword [eax + 4]
call eax
test al, al
je 0x407dac
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
call fcn.00407de0
mov bl, al
jmp 0x407dae
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esi + 0x54]
test ecx, ecx
je 0x407dac
push eax
push 6
mov edx, dword [ecx]
call dword [edx]
xor bl, bl
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
test edi, edi
je 0x407dbb
push edi
call esi
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x407dc5
push eax
call esi
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret