joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403190
Capabilities:
Print debug messages
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43cea0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x404
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
call fcn.00403270
mov esi, dword [ebp + 8]
mov ebx, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push esi
call ebx
mov ecx, 0x100
xor eax, eax
lea edi, [ebp - 0x410]
push 0x4440c0
rep stosd dword es:[edi], eax
push esi
mov dword [ebp - 4], 0
call dword [sym.imp.MSVCRT.dll__wfopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x40324f
push esi
push 0x400
lea eax, [ebp - 0x410]
push 1
push eax
call dword [sym.imp.MSVCRT.dll_fread]
add esp, 0x10
test eax, eax
je 0x40321e
lea ecx, [ebp - 0x410]
push eax
push ecx
call fcn.004032b0
add esp, 8
jmp 0x4031f0
call fcn.00403380
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
call fcn.00403100
push eax
call fcn.00403110
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.open_file_fail
call ebx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4042c0
Capabilities:
Get common file path
Get startup folder

Disassembly:
sub esp, 0x618
push ebx
mov ebx, ecx
call fcn.00404240
test eax, eax
jne 0x4043a5
push edi
mov ecx, 0x81
lea edi, [esp + 0x212]
mov word [esp + 0x210], ax
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x210]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x41a]
mov word [esp + 0x418], 0
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x418]
push 0x104
push ecx
push 0
stosw word es:[edi], ax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xa]
mov word [esp + 8], 0
rep stosd dword es:[edi], eax
push 1
lea edx, [esp + 0xc]
push 7
push edx
push 0
stosw word es:[edi], ax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jl 0x40437f
mov edi, dword [sym.imp.MSVCRT.dll_wcscat]
lea eax, [esp + 8]
push 0x444050
push eax
call edi
lea ecx, [esp + 0x10]
push str.OPHistory.lnk
push ecx
call edi
add esp, 0x10
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
lea edx, [esp + 0x210]
lea eax, [esp + 8]
push edx
lea ecx, [esp + 0x41c]
push eax
push ecx
lea ecx, [ebx + 8]
call fcn.00409560
pop edi
mov ecx, ebx
call fcn.004043c0
pop ebx
add esp, 0x618
ret

Function at 0x4043c0
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, ecx
push ebp
push esi
push edi
lea ecx, [ebx + 0x94]
call fcn.004081e0
mov ebp, dword [sym.imp.MagAppFramework.dll_public:_struct_HWND______thiscall_CMagWindow::GetWindow_void_]
lea edi, [ebx + 8]
mov ecx, edi
call ebp
mov esi, eax
test esi, esi
je 0x4043f8
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4043f8
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, edi
call ebp
mov esi, eax
test esi, esi
je 0x404416
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x404416
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, ebx
call fcn.004042a0
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x4045d0
Capabilities:
Delete file
Get common file path
Get startup folder
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x43cf1b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x21c
push esi
push edi
push str.wWinMain_start
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x1e]
mov word [esp + 0x1c], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 1
lea eax, [esp + 0x20]
push 7
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jl 0x40464f
mov esi, dword [sym.imp.MSVCRT.dll_wcscat]
lea ecx, [esp + 0x1c]
push 0x444050
push ecx
call esi
lea edx, [esp + 0x24]
push str.OPHistory.lnk
push edx
call esi
add esp, 0x10
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esp + 8]
call fcn.0040b440
mov esi, dword [esp + 0x23c]
push 0x404540
push esi
lea ecx, [esp + 0x10]
mov dword [esp + 0x234], 0
call fcn.0040b530
test eax, eax
jne 0x404695
lea ecx, [esp + 8]
mov dword [esp + 0x22c], 0xffffffff
call fcn.0040b4c0
xor eax, eax
jmp 0x404700
mov ecx, 0x44c6a0
call fcn.00403e80
mov ecx, 0x44c5e8
call dword [sym.imp.MagAppFramework.dll_public:_struct_MagAppEnvironment____thiscall_CMagApp::GetEnvironment_void_]
mov ecx, dword [esp + 0x234]
mov edx, dword [esp + 0x238]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x240]
mov dword [eax + 8], edx
mov dword [eax + 0xc], esi
mov dword [eax + 0x10], ecx
add eax, 0x14
push 0x44c6a0
push eax
call dword [sym.imp.MSVCRT.dll_wcscpy]
add esp, 8
mov ecx, 0x44c5e8
call dword [sym.imp.MagAppFramework.dll_public_virtual:_int___thiscall_CMagApp::Run_void_]
lea ecx, [esp + 8]
mov esi, eax
mov dword [esp + 0x22c], 0xffffffff
call fcn.0040b4c0
mov eax, esi
mov ecx, dword [esp + 0x224]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x228
ret 0x10

Function at 0x404720
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ecx
push esi
xor esi, esi
lea eax, [esp + 4]
push esi
push eax
mov dword [esp + 0xc], esi
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
je 0x404747
mov eax, dword [esp + 4]
pop esi
and al, 7
neg al
sbb eax, eax
neg eax
pop ecx
ret
mov eax, esi
pop esi
pop ecx
ret
Function at 0x404be0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x43cfcb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x210
push ebx
mov ebx, ecx
push esi
push edi
lea ecx, [esp + 0xc]
call fcn.0040a790
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x16]
mov word [esp + 0x14], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 1
lea eax, [esp + 0x18]
push 0x1a
push eax
push 0
mov dword [esp + 0x234], 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jl 0x404cc9
mov esi, dword [sym.imp.MSVCRT.dll_wcscat]
lea ecx, [esp + 0x14]
push str.ArcSoftOnlinePrint_
push ecx
call esi
lea edx, [ebx + 0xc]
lea eax, [esp + 0x1c]
push edx
push eax
call esi
lea edi, [ebx + 0x10c]
add esp, 0x10
cmp word [edi], 0
je 0x404c86
lea ecx, [esp + 0x14]
push 0x444050
push ecx
call esi
lea edx, [esp + 0x1c]
push edi
push edx
call esi
add esp, 0x10
lea eax, [esp + 0x14]
push 0x444050
push eax
call esi
lea ecx, [esp + 0x1c]
push str.historyorderstats.xml
push ecx
call esi
add esp, 0x10
lea edx, [esp + 0x14]
lea ecx, [esp + 0xc]
push edx
call fcn.0040a800
mov eax, dword [esp + 0x22c]
test eax, eax
je 0x404cc9
lea ecx, [esp + 0x14]
push ecx
push eax
call dword [sym.imp.MSVCRT.dll_wcscpy]
add esp, 8
lea ecx, [esp + 0xc]
call fcn.0040a7c0
lea ecx, [esp + 0xc]
mov esi, eax
mov dword [esp + 0x224], 0xffffffff
call fcn.0040a7f0
mov ecx, dword [esp + 0x21c]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x21c
ret 4
Function at 0x407d80
Capabilities:
Print debug messages

Disassembly:
mov eax, dword [esp + 4]
push eax
call fcn.00403190
mov ecx, dword [esp + 0x10]
push ecx
push eax
call dword [sym.imp.MSVCRT.dll__strcmpi]
add esp, 0xc
test eax, eax
jne 0x407da5
mov eax, 1
ret 0xc
push str.Check_MD5_code_failed
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor eax, eax
ret 0xc

Function at 0x407e30
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x407e53
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0x14]
test eax, eax
jne 0x407e69
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateWaitableTimerW]
mov dword [esi + 0x14], eax
mov eax, dword [esi + 8]
test eax, eax
jne 0x407e94
push esi
push 0
push 0x407eb0
call dword [sym.imp.MSVCRT.dll__beginthread]
add esp, 0xc
cmp eax, 0xffffffff
mov dword [esi + 8], eax
jne 0x407ea2
mov dword [esi + 8], 0
xor eax, eax
pop esi
ret
mov esi, dword [esi + 0x10]
test esi, esi
je 0x407ea2
push esi
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, 1
pop esi
ret

Function at 0x4081e0
Capabilities:
Terminate thread

Disassembly:
push ecx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
mov esi, ecx
push edi
xor edi, edi
mov eax, dword [esi + 8]
mov dword [esp + 0xc], edi
cmp eax, edi
mov dword [esi + 0xc], 1
je 0x408242
lea ecx, [esp + 0xc]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [esp + 0xc], 0x103
jne 0x408239
mov edx, dword [esi + 8]
push 0x1388
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, edi
mov dword [esp + 0xc], eax
je 0x408239
mov eax, dword [esi + 8]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [esi + 8]
push ecx
call ebx
mov dword [esi + 8], edi
mov eax, dword [esi + 0x10]
cmp eax, edi
je 0x40824f
push eax
call ebx
mov dword [esi + 0x10], edi
mov eax, dword [esi + 0x14]
cmp eax, edi
je 0x40825c
push eax
call ebx
mov dword [esi + 0x14], edi
pop edi
pop esi
mov eax, 1
pop ebx
pop ecx
ret
Function at 0x408360
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 8]
push ebx
mov ebx, dword [esp + 8]
push ebp
mov ebp, dword [esp + 0x14]
push esi
mov esi, dword [esp + 0x20]
push edi
push esi
push ebp
push eax
push ebx
mov edi, ecx
push str.COPHistClientMgr::Uploaded_dwOrderID___d__dwBundleID___d__dwResourceID___d__dwPercent___d.
call fcn.00437ac0
mov eax, dword [edi + 0x30]
add esp, 0x14
test eax, eax
je 0x408474
push eax
push str.COPHistClientMgr::Uploaded_m_hUploadNotifyWnd___d
call fcn.00437ac0
add esp, 8
cmp esi, 0x64
ja 0x408418
mov edx, dword [0x44dc5c]
mov eax, dword [esp + 0x20]
xor ecx, ecx
cmp edx, esi
mov edx, dword [esp + 0x18]
mov dword [0x44da50], ebx
setne cl
test eax, eax
mov dword [esp + 0x24], ecx
mov dword [0x44da54], edx
mov dword [0x44da58], ebp
je 0x4083e8
push 0x100
push eax
push 0x44da5c
call dword [sym.imp.MSVCRT.dll_wcsncpy]
add esp, 0xc
mov eax, dword [esp + 0x24]
mov dword [0x44dc5c], esi
test eax, eax
je 0x408474
mov eax, dword [edi + 0x30]
push 0
push 0
push 0x85d
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
pop edi
pop esi
pop ebp
pop ebx
ret 0x14
cmp esi, 0xfa0
jne 0x408439
mov dword [0x44da50], ebx
mov ecx, dword [edi + 0x30]
push 5
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ebp
pop ebx
ret 0x14
cmp esi, 0x1388
jne 0x408454
mov edx, dword [edi + 0x30]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ebp
pop ebx
ret 0x14
push str.COPHistClientMgr::Uploaded_PostMessage_WM_UPLOADED_END
call fcn.00437ac0
mov eax, dword [edi + 0x30]
add esp, 4
push 0
push 0
push 0x85e
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
pop edi
pop esi
pop ebp
pop ebx
ret 0x14
Function at 0x409394
Capabilities:
Get common file path
Get startup folder

Disassembly:
push 0xffffffffffffffff
push 0x43d446
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x828
mov eax, dword [esp + 0x844]
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x428]
push 0x44c7a0
push ecx
mov dword [eax], 1
call dword [sym.imp.MSVCRT.dll_wcscpy]
mov ebx, dword [sym.imp.MSVCRT.dll_wcscat]
lea edx, [esp + 0x430]
push str.opres.aui
push edx
call ebx
add esp, 0x10
lea eax, [esp + 0x428]
lea ecx, [esp + 0x14]
lea edi, [esi + 0x1c]
push 0x14
push eax
push ecx
mov ecx, edi
call fcn.00401680
lea edx, [esp + 0x428]
push 0x15
lea eax, [esp + 0x14]
xor ebp, ebp
push edx
push eax
mov ecx, edi
mov dword [esp + 0x84c], ebp
call fcn.00401680
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x222]
mov word [esp + 0x220], bp
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x220]
mov byte [esp + 0x840], 1
push ecx
push 0x104
stosw word es:[edi], ax
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x632]
mov word [esp + 0x630], bp
rep stosd dword es:[edi], eax
lea edx, [esp + 0x630]
push 0x104
push edx
push ebp
stosw word es:[edi], ax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x1a]
mov word [esp + 0x18], bp
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 1
lea eax, [esp + 0x1c]
push 7
push eax
push ebp
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jl 0x4094a7
lea ecx, [esp + 0x18]
push 0x444050
push ecx
call ebx
lea edx, [esp + 0x20]
push str.OPHistory.lnk
push edx
call ebx
add esp, 0x10
push ebp
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [esp + 0x220]
lea ecx, [esp + 0x18]
push eax
lea edx, [esp + 0x634]
push ecx
push edx
mov ecx, esi
call fcn.00409560
mov ecx, dword [esi + 0x40]
call fcn.004043c0
mov eax, dword [esp + 0x10]
mov dword [esi + 0x18], 1
mov edx, dword [0x44403c]
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40950a
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x40950a
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.0043cb60
add esp, 4
mov eax, dword [esp + 0x14]
mov edx, dword [0x44403c]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x409535
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x409535
mov edx, dword [esp + 0x14]
add edx, 0xfffffff4
push edx
call fcn.0043cb60
add esp, 4
mov ecx, dword [esp + 0x838]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x834
ret 0x10
Function at 0x409560
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ecx
lea eax, [esp]
push eax
push 0x43e3b8
push 1
push 0
push 0x43e3c8
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x4095ef
mov eax, dword [esp]
mov edx, dword [esp + 8]
push esi
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x50]
mov eax, dword [esp + 4]
mov edx, dword [esp + 0x14]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov eax, dword [esp + 4]
push str._upload
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [esp + 4]
lea ecx, [esp + 0xc]
push ecx
push 0x43e3d8
mov edx, dword [eax]
push eax
call dword [edx]
mov esi, eax
test esi, esi
jl 0x4095e2
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
push 1
push ecx
mov edx, dword [eax]
push eax
call dword [edx + 0x18]
mov esi, eax
mov eax, dword [esp + 0xc]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [esp + 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, esi
pop esi
pop ecx
ret 0xc

Function at 0x409a30
Capabilities:
Print debug messages

Disassembly:
push esi
mov esi, ecx
push str.CProgressWnd::OnShowProgress_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [esp + 0xc]
mov ecx, esi
push eax
call dword [sym.imp.MagAppFramework.dll_public:_void___thiscall_CMagWindow::ShowWindow_int_]
xor eax, eax
pop esi
ret 0x10

Function at 0x40a2f0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x43d530
push eax
mov dword fs:[0], esp
mov eax, dword [ecx + 4]
sub esp, 0x18
push ebx
xor ebx, ebx
cmp eax, ebx
jne 0x40a326
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret 4
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0xc], 0x43e3a0
push eax
mov dword [esp + 0x28], ebx
call fcn.0040eee0
add esp, 4
cmp eax, ebx
jne 0x40a370
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xffffffff
call fcn.0040ad90
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret 4
push eax
lea ecx, [esp + 8]
call fcn.0040abf0
mov ecx, eax
mov byte [esp + 0x24], 1
call fcn.0040ac50
push eax
lea ecx, [esp + 0x10]
call fcn.0040ad70
lea ecx, [esp + 4]
mov byte [esp + 0x24], bl
call fcn.0040ac30
lea ecx, [esp + 0xc]
call fcn.0040ada0
push eax
mov eax, dword [esp + 0x30]
push eax
call dword [sym.imp.MSVCRT.dll_wcscpy]
add esp, 8
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xffffffff
call fcn.0040ad90
mov ecx, dword [esp + 0x1c]
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 4
Function at 0x40a950
Capabilities:
Get file attributes
Set file attributes

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x43d5c8
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
mov esi, dword [esp + 0x2c]
push edi
mov edi, ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebp, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov ebx, eax
test bl, 1
je 0x40a98c
and al, 0xfe
push eax
push esi
call ebp
test esi, esi
jne 0x40a994
xor eax, eax
jmp 0x40a9f8
push esi
lea ecx, [esp + 0x14]
call fcn.0040ad40
push 1
lea ecx, [esp + 0x14]
mov dword [esp + 0x2c], 0
call fcn.0040adc0
mov ecx, dword [edi + 4]
push 1
push str.UTF_8
push ecx
push eax
call fcn.004208b0
add esp, 0x10
test eax, eax
jg 0x40a9de
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 0xffffffff
call fcn.0040ad90
xor eax, eax
jmp 0x40a9f8
push ebx
push esi
call ebp
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 0xffffffff
call fcn.0040ad90
mov eax, 1
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 4
Function at 0x40af70
Capabilities:
Print debug messages

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov esi, ecx
push str.CStartSCData::StartServerContact_start_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [esi + 4]
mov ebx, 7
test eax, eax
jne 0x40af9a
mov eax, dword [esi + 0xc]
test eax, eax
je 0x40af9a
mov ebx, 5
mov eax, dword [esi + 0x460]
mov ebp, 7
test eax, eax
je 0x40afae
mov ebp, 5
mov edx, dword [esi + 0x464]
push 1
push esi
push 0x40aee0
xor ecx, ecx
push eax
mov eax, dword [esi + 0x474]
cmp edx, 0x1bb
push ebp
push ebx
sete cl
push eax
lea edx, [esi + 0x60]
push ecx
lea eax, [esi + 0x20]
push edx
push eax
call dword [sym.imp.HttpAgent.dll_CreatRequest]
mov edi, eax
add esp, 0x28
test edi, edi
je 0x40b0b7
cmp ebx, 7
jne 0x40b00a
mov eax, dword [esi + 4]
test eax, eax
je 0x40b025
mov ecx, dword [esi + 8]
push ecx
push eax
push edi
call dword [sym.imp.HttpAgent.dll_SetContent]
add esp, 0xc
jmp 0x40b025
mov edx, dword [esi + 0xc]
push edx
call dword [sym.imp.MSVCRT.dll_wcslen]
shl eax, 1
push eax
mov eax, dword [esi + 0xc]
push eax
push edi
call dword [sym.imp.HttpAgent.dll_SetContent]
add esp, 0x10
push str.CStartSCData::StartServerContact_ProcessRequest_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push edi
call dword [sym.imp.HttpAgent.dll_ProcessRequest]
push edi
mov edi, dword [sym.imp.HttpAgent.dll_CloseHandle_1]
mov ebx, eax
call edi
mov eax, dword [esi + 0x10]
add esp, 8
test eax, eax
je 0x40b05b
mov ecx, dword [esi + 0x14]
push ecx
push 0
push 0x64
push 5
call eax
add esp, 0x10
test ebx, ebx
je 0x40b0a1
xor eax, eax
cmp ebp, 7
mov dword [esp + 0x10], 0
jne 0x40b07d
lea edx, [esp + 0x10]
push edx
push ebx
call dword [sym.imp.HttpAgent.dll_GetMemContentPtr]
add esp, 8
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x40b095
mov edx, dword [esi + 0x1c]
push edx
mov edx, dword [esp + 0x14]
push edx
push eax
push 0
call ecx
add esp, 0x10
push ebx
call edi
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
mov eax, dword [esi + 0x18]
test eax, eax
je 0x40b0b7
mov ecx, dword [esi + 0x1c]
push ecx
push 0
push 0
push 0xffffffffffffffff
call eax
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x40b0c0
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
push esi
push 0
push fcn.0040aea0
mov dword [esi], 1
call dword [sym.imp.MSVCRT.dll__beginthread]
add esp, 0xc
cmp eax, 0xffffffff
mov dword [esi + 0x46c], eax
jne 0x40b0f3
mov dword [esi + 0x46c], 0
xor eax, eax
pop esi
ret
mov eax, 1
pop esi
ret
Function at 0x419a90
Capabilities:
Parse credit card information

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
push edi
mov eax, dword [esi + 0x24]
mov ecx, dword [eax + 0x10]
cmp byte [ecx], 0x25
jne 0x419c3d
push esi
call fcn.00421cf0
push esi
call fcn.004129b0
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x419acf
push str.xmlParsePEReference:_no_name_n
push 0x44
push esi
call fcn.00412370
add esp, 0xc
pop edi
pop esi
pop ebx
ret
mov edx, dword [esi + 0x24]
mov eax, dword [edx + 0x10]
cmp byte [eax], 0x3b
jne 0x419c30
push esi
call fcn.00421cf0
mov eax, dword [esi]
add esp, 4
test eax, eax
je 0x419b04
mov eax, dword [eax + 0x60]
test eax, eax
je 0x419b04
mov ecx, dword [esi + 4]
push ebx
push ecx
call eax
mov edi, eax
add esp, 8
test edi, edi
jne 0x419b59
cmp dword [esi + 0x1c], 1
je 0x419b3d
mov eax, dword [esi + 0x58]
test eax, eax
jne 0x419b18
mov eax, dword [esi + 0x5c]
test eax, eax
je 0x419b3d
push 0
push ebx
push str.PEReference:____s__not_found_n
push 0x1b
push esi
call fcn.00411d10
add esp, 0x14
mov dword [esi + 0x64], 0
mov dword [esi + 0x5c], 1
pop edi
pop esi
pop ebx
ret
push ebx
push str.PEReference:____s__not_found_n
push 0x1a
push esi
call fcn.00411e10
add esp, 0x10
mov dword [esi + 0x5c], 1
pop edi
pop esi
pop ebx
ret
mov eax, dword [edi + 0x30]
cmp eax, 4
je 0x419b84
cmp eax, 5
je 0x419b84
push 0
push ebx
push str.Internal:____s__is_not_a_parameter_entity_n
push 0x1b
push esi
call fcn.00411d10
add esp, 0x14
mov dword [esi + 0x5c], 1
pop edi
pop esi
pop ebx
ret
mov edx, dword [esi + 0x24]
push edi
push esi
cmp dword [edx + 0x28], 0x411e90
je 0x419bac
call fcn.00411ea0
push eax
push esi
call fcn.00411200
add esp, 0x10
mov dword [esi + 0x5c], 1
pop edi
pop esi
pop ebx
ret
call fcn.00422b80
push eax
push esi
call fcn.00411200
mov eax, dword [edi + 0x30]
add esp, 0x10
cmp eax, 5
jne 0x419b4e
mov eax, dword [esi + 0x24]
mov eax, dword [eax + 0x10]
cmp byte [eax], 0x3c
jne 0x419b4e
cmp byte [eax + 1], 0x3f
jne 0x419b4e
cmp byte [eax + 2], 0x78
jne 0x419b4e
cmp byte [eax + 3], 0x6d
jne 0x419b4e
cmp byte [eax + 4], 0x6c
jne 0x419b4e
mov al, byte [eax + 5]
cmp al, 0x20
je 0x419c0d
cmp al, 9
jb 0x419c05
cmp al, 0xa
jbe 0x419c0d
cmp al, 0xd
jne 0x419b4e
push esi
call fcn.00418b40
mov eax, dword [esi + 0x54]
add esp, 4
cmp eax, 0x20
jne 0x419b4e
mov dword [esi + 0xac], 0xffffffff
pop edi
pop esi
pop ebx
ret
push 0
push 0x17
push esi
call fcn.00411650
add esp, 0xc
pop edi
pop esi
pop ebx
ret
Function at 0x42b7d0
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 8]
xor eax, eax
push esi
push edi
test edx, edx
je 0x42b80c
mov cl, byte [edx]
mov eax, ecx
and eax, 0xff
lea eax, [eax + eax*2]
lea eax, [eax + eax*4]
shl eax, 1
inc edx
test cl, cl
je 0x42b80c
mov esi, eax
mov edi, eax
shl esi, 5
shr edi, 3
movsx ecx, cl
add esi, edi
add esi, ecx
mov cl, byte [edx]
xor eax, esi
inc edx
test cl, cl
jne 0x42b7f2
mov edx, dword [esp + 0x14]
test edx, edx
je 0x42b835
mov cl, byte [edx]
inc edx
test cl, cl
je 0x42b835
mov esi, eax
mov edi, eax
shl esi, 5
shr edi, 3
movsx ecx, cl
add esi, edi
add esi, ecx
mov cl, byte [edx]
xor eax, esi
inc edx
test cl, cl
jne 0x42b81b
mov edx, dword [esp + 0x18]
test edx, edx
je 0x42b85e
mov cl, byte [edx]
inc edx
test cl, cl
je 0x42b85e
mov esi, eax
mov edi, eax
shl esi, 5
shr edi, 3
movsx ecx, cl
add esi, edi
add esi, ecx
mov cl, byte [edx]
xor eax, esi
inc edx
test cl, cl
jne 0x42b844
mov ecx, dword [esp + 0xc]
xor edx, edx
pop edi
pop esi
div dword [ecx + 4]
mov eax, edx
ret