joyce8/EMBER2024-capa huggingface dataset:
Function at 0x420ae0
Capabilities:
Persist via run registry key
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x42d190]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x230], ecx
mov dword [ebp - 8], 1
mov byte [ebp - 0x118], 0
push 0x103
push 0
lea eax, [ebp - 0x117]
push eax
call fcn.00412090
add esp, 0xc
mov dword [ebp - 0xc], 0x104
mov dword [ebp - 4], 0
mov byte [ebp - 0x228], 0
push 0x103
push 0
lea ecx, [ebp - 0x227]
push ecx
call fcn.00412090
add esp, 0xc
push 0x104
lea edx, [ebp - 0x228]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x11c]
push eax
push 0x2001f
push 0
push 0x4284f8
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x420c19
lea ecx, [ebp - 0xc]
push ecx
lea edx, [ebp - 0x118]
push edx
lea eax, [ebp - 8]
push eax
push 0
push 0x428528
mov ecx, dword [ebp - 0x11c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 4], eax
lea edx, [ebp - 0x118]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jg 0x420c19
push 1
push 0x428534
push 0x42853c
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov dword [ebp - 0x22c], eax
cmp dword [ebp - 0x22c], 1
jne 0x420c19
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea ecx, [ebp - 0x228]
push ecx
push 1
push 0
push 0x428558
mov edx, dword [ebp - 0x11c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [ebp - 0x11c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041163f
mov esp, ebp
pop ebp
ret

Function at 0x420c30
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 1
push 0
push str._logout
push str.laoatool.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10

Function at 0x420ed0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0xc]
add eax, 0x24
push eax
push 2
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
mov ecx, 0x42f720
call fcn.00423580
mov dword [ebp - 4], 0
call fcn.004209d0
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
call fcn.00420a20
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x420f25
push 0
push 0
push 0x502
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x421140
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x425565
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x42d190]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], ecx
lea ecx, [ebp - 0x10]
call fcn.004067f0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.004067f0
mov byte [ebp - 4], 1
push 0x4284a8
lea ecx, [ebp - 0x10]
call fcn.004068f0
push 0x4284c8
lea ecx, [ebp - 0x18]
call fcn.004068f0
push 0x21
lea ecx, [ebp - 0x18]
call fcn.00405500
push eax
lea ecx, [ebp - 0x10]
call fcn.00405500
push eax
mov ecx, dword [ebp - 0x1c]
add ecx, 4
call fcn.0040ad40
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 1
jne 0x4211d5
mov ecx, dword [ebp - 0x1c]
call fcn.00420ed0
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.004068b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004068b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x4214f0
Capabilities:
Connect to http server
Create http request
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x45c
mov eax, dword [0x42d190]
xor eax, ebp
mov dword [ebp - 0x20], eax
push esi
push edi
mov dword [ebp - 0x45c], ecx
mov byte [ebp - 0x2d], 0
mov eax, dword [0x428834]
mov dword [ebp - 0x2c], eax
mov ecx, dword [0x428838]
mov dword [ebp - 0x28], ecx
mov edx, dword [0x42883c]
mov dword [ebp - 0x24], edx
mov ecx, 7
mov esi, 0x428840
lea edi, [ebp - 0x450]
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov dword [ebp - 0x10], 0
push 0
push 0
push 0
push 0
push 0x428860
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x454], str.localhost
push 1
push 0
push 3
push 0
push 0
push 0x50
mov eax, dword [ebp - 0x454]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.WININET.dll_InternetConnectA]
mov dword [ebp - 0x458], eax
mov dword [ebp - 8], str.taodengta_upload_index.php_mitemafetch_all
push 1
push 0x80000000
lea edx, [ebp - 0x2c]
push edx
push 0x4288a4
push 0
mov eax, dword [ebp - 8]
push eax
push 0x4288c0
mov ecx, dword [ebp - 0x458]
push ecx
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov dword [ebp - 0x14], eax
push 0
push 0
push 0xffffffffffffffff
push 0x4288c4
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.WININET.dll_HttpSendRequestA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4215f2
push 0x10
push 0x4288f8
push 0x428900
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov al, byte [ebp - 0x2d]
jmp 0x4216be
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 0
push 0x400
push 0
lea eax, [ebp - 0x430]
push eax
call fcn.00412090
add esp, 0xc
lea ecx, [ebp - 0x18]
push ecx
push 0x400
lea edx, [ebp - 0x430]
push edx
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.WININET.dll_InternetReadFile]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x42164f
push 0x10
push 0x428914
push 0x42891c
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x42168d
mov ecx, dword [ebp - 0x18]
mov byte [ebp + ecx - 0x430], 0
mov edx, dword [ebp - 0x1c]
add edx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], edx
lea eax, [ebp - 0x430]
push eax
call fcn.00412920
add esp, 4
add eax, dword [ebp - 4]
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x430]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00409b70
cmp dword [ebp - 0x18], 0
jne 0x421616
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [ebp - 0x458]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edx, dword [ebp - 0x1c]
cmp edx, dword [ebp - 4]
je 0x4216bb
mov al, byte [ebp - 0x2d]
jmp 0x4216be
mov al, byte [ebp - 0x2d]
pop edi
pop esi
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.0041163f
mov esp, ebp
pop ebp
ret 4
Function at 0x4218b0
Capabilities:
Check if file exists
Create thread
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4255b6
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x42d190]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x234], ecx
mov word [ebp - 0x224], 0
push 0x206
push 0
lea eax, [ebp - 0x222]
push eax
call fcn.00412090
add esp, 0xc
lea ecx, [ebp - 0x224]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea edx, [ebp - 0x224]
push edx
lea ecx, [ebp - 0x10]
call fcn.00406830
mov dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x22c]
push ecx
mov ecx, dword [ebp - 0x234]
call fcn.004216d0
mov dword [ebp - 0x238], eax
mov edx, dword [ebp - 0x238]
mov dword [ebp - 0x23c], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x23c]
push eax
lea ecx, [ebp - 0x10]
call fcn.004068d0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x22c]
call fcn.004068b0
push str.TSoft_softmgr.dll
lea ecx, [ebp - 0x10]
call fcn.0040a9a0
lea ecx, [ebp - 0x10]
call fcn.00405500
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4219b3
mov byte [ebp - 0x22d], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004068b0
mov al, byte [ebp - 0x22d]
jmp 0x421a84
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x10]
call fcn.00405500
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x228], eax
cmp dword [ebp - 0x228], 0
jne 0x421a03
mov byte [ebp - 0x22e], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004068b0
mov al, byte [ebp - 0x22e]
jmp 0x421a84
push str.CreateSoftMgrObject
mov ecx, dword [ebp - 0x228]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x234]
add edx, 0xc
push edx
push 0x429538
call dword [ebp - 0x14]
add esp, 8
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ecx, dword [ebp - 0x234]
mov dword [ecx + 4], eax
push 0
push 0
mov edx, dword [ebp - 0x234]
push edx
push 0x421770
push 0
push 0
call fcn.00412aa5
add esp, 0x18
mov ecx, dword [ebp - 0x234]
mov dword [ecx], eax
mov byte [ebp - 0x22f], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004068b0
mov al, byte [ebp - 0x22f]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0041163f
mov esp, ebp
pop ebp
ret
Function at 0x422130
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0x1c], ecx
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx]
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 4]
sub ecx, dword [ebp - 0xc]
mov dword [ebp - 0x18], ecx
push 0
lea edx, [ebp - 0x10]
push edx
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
push 0xd
push 0
push 0
mov eax, dword [ebp - 4]
sub eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp - 0x14]
push ecx
push 0
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx]
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
push 5
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
mov esp, ebp
pop ebp
ret

Function at 0x4221b0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jl 0x4221d0
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
cmp edx, dword [ecx + 8]
jl 0x4221d4
xor eax, eax
jmp 0x422245
cmp dword [ebp - 4], 0
jne 0x4221ee
push 0
push 0
push 0x10
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x422243
push 0x428da0
mov edx, dword [ebp - 8]
add edx, 0x54
push edx
call fcn.00409930
add esp, 8
movzx eax, al
test eax, eax
je 0x422228
push 5
push 0
push 0
mov ecx, dword [ebp - 8]
add ecx, 0x54
call fcn.00405500
push eax
push str.Open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0x4c], 0
je 0x422243
push 0
push 0
push 0x10
mov edx, dword [ebp - 8]
mov eax, dword [edx]
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc
Function at 0x422dc0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x425530
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x42d190]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x78], ecx
mov ecx, dword [ebp - 0x78]
add ecx, 0x54
call fcn.004067f0
mov dword [ebp - 4], 0
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
mov ecx, dword [ebp - 0x78]
mov dword [ecx + 0xc], eax
push 0x7f89
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
mov edx, dword [ebp - 0x78]
mov dword [edx + 0x10], eax
mov eax, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x78]
mov edx, dword [ecx + 0xc]
mov dword [eax + 0x14], edx
mov eax, dword [ebp - 0x78]
mov dword [eax + 0x18], 0
mov ecx, dword [ebp - 0x78]
mov dword [ecx], 0
mov edx, dword [ebp - 0x78]
mov dword [edx + 0x20], 0
mov eax, dword [ebp - 0x78]
mov dword [eax + 0x1c], 0
mov ecx, dword [ebp - 0x78]
mov dword [ecx + 0x30], 0
mov edx, dword [ebp - 0x78]
mov dword [edx + 0x2c], 0
mov eax, dword [ebp - 0x78]
mov dword [eax + 0x28], 0
mov ecx, dword [ebp - 0x78]
mov dword [ecx + 0x24], 0
mov edx, dword [ebp - 0x78]
mov dword [edx + 4], 0
mov eax, dword [ebp - 0x78]
mov dword [eax + 8], 0
mov ecx, dword [ebp - 0x78]
mov dword [ecx + 0x44], 0xffffffff
mov edx, dword [ebp - 0x78]
mov dword [edx + 0x40], 0xffffffff
push 0x11
call dword [sym.imp.GDI32.dll_GetStockObject]
mov ecx, dword [ebp - 0x78]
mov dword [ecx + 0x34], eax
lea edx, [ebp - 0x74]
push edx
push 0x5c
mov eax, dword [ebp - 0x78]
mov ecx, dword [eax + 0x34]
push ecx
call dword [sym.imp.GDI32.dll_GetObjectW]
mov dword [ebp - 0x64], 0x2bc
lea edx, [ebp - 0x74]
push edx
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov ecx, dword [ebp - 0x78]
mov dword [ecx + 0x38], eax
mov edx, dword [ebp - 0x78]
mov dword [edx + 0x48], 0
mov eax, dword [ebp - 0x78]
mov dword [eax + 0x4c], 1
mov ecx, dword [ebp - 0x78]
mov dword [ecx + 0x50], 0
push 0x428d48
mov ecx, dword [ebp - 0x78]
add ecx, 0x54
call fcn.004068f0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x78]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041163f
mov esp, ebp
pop ebp
ret
Function at 0x423720
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x42376d
jmp 0x4237de
mov edx, dword [ebp - 0x18]
push edx
call fcn.00411388
add esp, 4
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x42378c
jmp 0x4237de
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call sub.VERSION.dll_GetFileVersionInfoW
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4237ae
jmp 0x4237de
push 0x105
mov ecx, dword [ebp + 0xc]
call fcn.00406750
push eax
push str.ProductVersion
mov edx, dword [ebp - 4]
push edx
mov ecx, dword [ebp - 0x24]
call fcn.00423600
push 0xffffffffffffffff
mov ecx, dword [ebp + 0xc]
call fcn.00406790
mov dword [ebp - 0x14], 1
cmp dword [ebp - 4], 0
je 0x4237fd
mov eax, dword [ebp - 4]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.00412352
add esp, 4
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x14]
mov esp, ebp
pop ebp
ret 8

Function at 0x423810
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x425330
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x42d190]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x70], ecx
lea ecx, [ebp - 0x24]
call fcn.004067f0
mov dword [ebp - 4], 0
push str.laoatool.exe__start
lea eax, [ebp - 0x24]
push eax
call fcn.00408720
add esp, 8
lea ecx, [ebp - 0x24]
call fcn.00406710
mov dword [ebp - 0x10], eax
push 0x44
push 0
lea ecx, [ebp - 0x6c]
push ecx
call fcn.00412090
add esp, 0xc
mov dword [ebp - 0x40], 1
mov word [ebp - 0x3c], 0
mov dword [ebp - 0x6c], 0x44
push 0x10
push 0
lea edx, [ebp - 0x20]
push edx
call fcn.00412090
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x6c]
push ecx
push 0
push 0
push 0x10
push 0
push 0
push 0
mov edx, dword [ebp - 0x10]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.004068b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x423f00
Capabilities:
Connect to http server
Create http request
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x45c
mov eax, dword [0x42d190]
xor eax, ebp
mov dword [ebp - 0x20], eax
push esi
push edi
mov dword [ebp - 0x45c], ecx
mov byte [ebp - 0x2d], 0
mov eax, dword [str.Accept:__]
mov dword [ebp - 0x2c], eax
mov ecx, dword [0x428af8]
mov dword [ebp - 0x28], ecx
mov edx, dword [0x428afc]
mov dword [ebp - 0x24], edx
mov ecx, 7
mov esi, str.Referer:_http:__localhost__r_n
lea edi, [ebp - 0x450]
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov dword [ebp - 0x10], 0
push 0
push 0
push 0
push 0
push str.InetAll
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x454], str.pt.taodengta.com
push 1
push 0
push 3
push 0
push 0
push 0x50
mov eax, dword [ebp - 0x454]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.WININET.dll_InternetConnectA]
mov dword [ebp - 0x458], eax
mov dword [ebp - 8], str.taodengta_upload_index.php_mpoptipafetch
push 1
push 0x80000000
lea edx, [ebp - 0x2c]
push edx
push str.http:__www.taodengta.com
push 0
mov eax, dword [ebp - 8]
push eax
push 0x428b84
mov ecx, dword [ebp - 0x458]
push ecx
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov dword [ebp - 0x14], eax
push 0
push 0
push 0xffffffffffffffff
push str.Content_Type:_application_x_www_form_urlencoded_r_n
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.WININET.dll_HttpSendRequestA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x424002
push 0x10
push 0x428bbc
push 0x428bc4
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov al, byte [ebp - 0x2d]
jmp 0x4240ce
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 0
push 0x400
push 0
lea eax, [ebp - 0x430]
push eax
call fcn.00412090
add esp, 0xc
lea ecx, [ebp - 0x18]
push ecx
push 0x400
lea edx, [ebp - 0x430]
push edx
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.WININET.dll_InternetReadFile]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x42405f
push 0x10
push 0x428bd8
push str.InternetReadFile_Error__
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x42409d
mov ecx, dword [ebp - 0x18]
mov byte [ebp + ecx - 0x430], 0
mov edx, dword [ebp - 0x1c]
add edx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], edx
lea eax, [ebp - 0x430]
push eax
call fcn.00412920
add esp, 4
add eax, dword [ebp - 4]
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x430]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00409b70
cmp dword [ebp - 0x18], 0
jne 0x424026
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [ebp - 0x458]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edx, dword [ebp - 0x1c]
cmp edx, dword [ebp - 4]
je 0x4240cb
mov al, byte [ebp - 0x2d]
jmp 0x4240ce
mov al, byte [ebp - 0x2d]
pop edi
pop esi
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.0041163f
mov esp, ebp
pop ebp
ret 4
Function at 0x405390
Capabilities:
Get file size
Read file on windows

Disassembly:
sub esp, 0xc
mov eax, dword [esp + 0x10]
push ebp
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocStringLen
push eax
mov dword [esp + 0x24], 0
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebp, eax
test ebp, ebp
je 0x40548c
push ebx
push esi
push edi
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0x20000
jb 0x405482
push 2
push 0
push 0xfffe0000
push ebp
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
test eax, eax
je 0x405482
push 0x20000
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
push esi
mov dword [esp + 0x14], esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test esi, esi
mov ebx, eax
je 0x405470
test ebx, ebx
je 0x405482
lea ecx, [esp + 0x18]
push 0
push ecx
push 0x20000
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x405470
mov edi, str.ASUS_BROMMAP
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
xor esi, esi
mov edi, ecx
push edi
lea edx, [esi + ebx]
push str.ASUS_BROMMAP
push edx
call fcn.004139d0
add esp, 0xc
test eax, eax
je 0x405464
add esi, 0x10
cmp esi, 0x1fff0
jbe 0x405441
jmp 0x40546c
mov dword [esp + 0x14], 1
mov esi, dword [esp + 0x10]
test ebx, ebx
je 0x405482
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
lea ecx, [esp + 0x14]
call fcn.004255c2
mov eax, dword [esp + 8]
pop ebp
add esp, 0xc
ret 4
Function at 0x4054a0
Capabilities:
Get file size
Read file on windows
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x42e158
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
mov eax, dword [esp + 0x28]
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileA]
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocStringLen
push eax
mov dword [esp + 0x38], 0
call esi
mov ecx, dword [esp + 0x24]
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push ecx
mov ebx, eax
call esi
test ebx, ebx
mov dword [esp + 8], eax
je 0x405581
test eax, eax
je 0x405581
push ebp
push edi
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
push esi
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test ebp, ebp
mov edi, eax
je 0x405559
test edi, edi
je 0x405564
lea edx, [esp + 0x14]
push 0
push edx
push esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x405559
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x18]
push 0
push eax
push esi
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test edi, edi
je 0x405564
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
test ebp, ebp
je 0x40556f
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call esi
mov edx, dword [esp + 0x10]
push edx
call esi
pop edi
pop ebp
lea ecx, [esp + 0x24]
call fcn.004255c2
lea ecx, [esp + 0x28]
mov dword [esp + 0x1c], 0xffffffff
call fcn.004255c2
mov ecx, dword [esp + 0x14]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 8