joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4011c0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a7525
mov eax, dword fs:[0]
push eax
sub esp, 0x138
mov eax, dword [0x4c0c00]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x2c]
call fcn.00402a40
mov dword [ebp - 4], 0
lea eax, [ebp - 0x2c]
push eax
call fcn.00421280
add esp, 4
push 0x4ab470
lea ecx, [ebp - 0x2c]
call fcn.00401f40
mov byte [ebp - 0x134], 0
push 0x103
push 0
lea ecx, [ebp - 0x133]
push ecx
call fcn.0048e260
add esp, 0xc
lea ecx, [ebp - 0x2c]
call fcn.00402b30
push eax
push 0x104
lea edx, [ebp - 0x134]
push edx
push 0x4ab478
push str.CloudMode
push 0x4ab488
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x134]
push eax
call fcn.0048e1d0
add esp, 4
test eax, eax
ja 0x40128e
mov dword [ebp - 0x13c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00402af0
mov eax, dword [ebp - 0x13c]
jmp 0x4012ec
lea ecx, [ebp - 0x134]
push ecx
call fcn.0048e1c3
add esp, 4
mov dword [ebp - 0x138], eax
cmp dword [ebp - 0x138], 1
jne 0x4012cd
mov dword [ebp - 0x140], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00402af0
mov eax, dword [ebp - 0x140]
jmp 0x4012ec
mov dword [ebp - 0x144], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00402af0
mov eax, dword [ebp - 0x144]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048e19e
mov esp, ebp
pop ebp
ret
Function at 0x401990
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0xc], 0
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [ebp - 8], eax
cmp dword [ebp + 0xc], 0
je 0x4019bf
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0xc]
mov dword [ecx], edx
cmp dword [ebp - 0xc], 2
jl 0x401a2a
push 0x4ab4f4
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 4]
push ecx
call fcn.004a72c7
add esp, 8
test eax, eax
jne 0x401a2a
push 4
lea ecx, [ebp - 1]
call fcn.004028b0
cmp dword [ebp + 8], 0
je 0x401a21
mov dword [ebp - 0x10], 0x3e8
cmp dword [ebp - 0xc], 3
jne 0x401a19
mov edx, dword [ebp - 8]
mov eax, dword [edx + 8]
push eax
call fcn.0048e2f0
add esp, 4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x401a19
mov dword [ebp - 0x10], 0x3e8
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
mov dword [ecx], edx
mov eax, 1
jmp 0x401aa5
cmp dword [ebp - 0xc], 1
jne 0x401a43
push 2
lea ecx, [ebp - 1]
call fcn.004028b0
mov eax, 2
jmp 0x401aa5
cmp dword [ebp - 0xc], 2
jne 0x401a74
push 0x4ab4fc
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 4]
push ecx
call fcn.004a72c7
add esp, 8
test eax, eax
jne 0x401a74
push 1
lea ecx, [ebp - 1]
call fcn.004028b0
mov eax, 3
jmp 0x401aa5
cmp dword [ebp - 0xc], 2
jne 0x401aa3
push 0x4ab504
mov edx, dword [ebp - 8]
mov eax, dword [edx + 4]
push eax
call fcn.004a72c7
add esp, 8
test eax, eax
jne 0x401aa3
push 3
lea ecx, [ebp - 1]
call fcn.004028b0
mov eax, 4
jmp 0x401aa5
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x401ab0
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a7667
mov eax, dword fs:[0]
push eax
sub esp, 0x1ac
mov eax, dword [0x4c0c00]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov byte [ebp - 0x2d], 1
push str..
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x2c]
push ecx
call fcn.004021f0
add esp, 0xc
mov dword [ebp - 4], 0
lea edx, [ebp - 0x174]
push edx
lea ecx, [ebp - 0x2c]
call fcn.00402b30
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xffffffff
je 0x401c23
lea eax, [ebp - 0x148]
push eax
push 0x4ab514
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x1ac]
push edx
call fcn.004021f0
add esp, 0xc
mov dword [ebp - 0x1b4], eax
mov eax, dword [ebp - 0x1b4]
mov dword [ebp - 0x1b8], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x1b8]
push ecx
lea edx, [ebp - 0x190]
push edx
call fcn.004021f0
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1ac]
call fcn.00402af0
mov eax, dword [ebp - 0x174]
and eax, 0x10
je 0x401bc6
push 0x4ab518
lea ecx, [ebp - 0x148]
push ecx
call fcn.0048dd30
add esp, 8
test eax, eax
je 0x401bb3
push 0x4ab51c
lea edx, [ebp - 0x148]
push edx
call fcn.0048dd30
add esp, 8
test eax, eax
jne 0x401bc4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x190]
call fcn.00402af0
jmp 0x401c00
jmp 0x401bf1
lea ecx, [ebp - 0x190]
call fcn.00402b30
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x401bf1
mov byte [ebp - 0x2d], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x190]
call fcn.00402af0
jmp 0x401c19
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x190]
call fcn.00402af0
lea eax, [ebp - 0x174]
push eax
mov ecx, dword [ebp - 0x34]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x401b1e
mov edx, dword [ebp - 0x34]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov al, byte [ebp - 0x2d]
mov byte [ebp - 0x1ad], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00402af0
mov al, byte [ebp - 0x1ad]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048e19e
mov esp, ebp
pop ebp
ret
Function at 0x405540
Capabilities:
Delete file
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
cmp dword [ebp + 8], 0
jne 0x405556
xor eax, eax
jmp 0x4055e0
mov dword [ebp - 8], 0
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocStringLen
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x405586
xor eax, eax
jmp 0x4055e0
push 0
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 0xc]
cmp dword [eax], 0x1fffb4
jae 0x4055c9
push 0
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 4]
add edx, 0x48
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 8], 1
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 8

Function at 0x4057d0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a7961
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x4c0c00]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x48], ecx
cmp dword [ebp + 8], 0
jne 0x405808
xor eax, eax
jmp 0x4058c6
mov eax, dword [ebp + 8]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x405831
push 0x4ab6cc
mov ecx, dword [ebp + 8]
push ecx
call fcn.0048ea00
add esp, 8
mov edx, dword [ebp + 0xc]
push edx
lea ecx, [ebp - 0x40]
call fcn.00402ab0
mov dword [ebp - 4], 0
mov eax, dword [0x4c20c8]
add eax, 1
mov dword [0x4c20c8], eax
mov byte [ebp - 0x24], 0
xor ecx, ecx
mov dword [ebp - 0x23], ecx
mov dword [ebp - 0x1f], ecx
mov dword [ebp - 0x1b], ecx
mov word [ebp - 0x17], cx
mov byte [ebp - 0x15], cl
mov byte [ebp - 0x24], 0x5f
push 0xa
lea edx, [ebp - 0x23]
push edx
mov eax, dword [0x4c20c8]
push eax
call fcn.004a739e
add esp, 0xc
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x40]
call fcn.00401f40
push 0x4ab6d0
lea ecx, [ebp - 0x40]
call fcn.00401f40
lea ecx, [ebp - 0x40]
call fcn.00402b30
push eax
mov edx, dword [ebp + 8]
push edx
call fcn.0048ea10
add esp, 8
mov dword [ebp - 0x44], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00402af0
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0048e19e
mov esp, ebp
pop ebp
ret 8
Function at 0x406950
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
mov eax, dword [0x4c0c00]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x134], ecx
mov eax, dword [0x4ab6e4]
mov dword [ebp - 0x14], eax
mov ecx, dword [0x4ab6e8]
mov dword [ebp - 0x10], ecx
mov edx, dword [0x4ab6ec]
mov dword [ebp - 0xc], edx
mov eax, dword [0x4ab6f0]
mov dword [ebp - 8], eax
lea ecx, [ebp - 0x1c]
push ecx
push 0x20019
push 0
push str.CLSIDCAA2D3B1_4BB5_4a45_A17A_122773379D99
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x406a49
mov byte [ebp - 0x130], 0
push 0x103
push 0
lea edx, [ebp - 0x12f]
push edx
call fcn.0048e260
add esp, 0xc
mov dword [ebp - 0x24], 0x104
mov dword [ebp - 0x20], 0
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x130]
push ecx
lea edx, [ebp - 0x20]
push edx
push 0
mov eax, dword [ebp - 0x134]
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x406a1d
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x130]
push ecx
mov ecx, dword [ebp - 0x134]
call fcn.00406a80
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x14]
mov dword [eax], ecx
mov edx, dword [ebp - 0x10]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0xc]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 8]
mov dword [eax + 0xc], edx
mov eax, dword [ebp + 8]
jmp 0x406a66
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x14]
mov dword [eax], ecx
mov edx, dword [ebp - 0x10]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0xc]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 8]
mov dword [eax + 0xc], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048e19e
mov esp, ebp
pop ebp
ret 4
Function at 0x406bb0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
mov eax, dword [0x4c0c00]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x124], ecx
mov byte [ebp - 0x110], 0
push 0x103
push 0
lea eax, [ebp - 0x10f]
push eax
call fcn.0048e260
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x110]
push ecx
lea edx, [ebp + 8]
push edx
mov ecx, dword [ebp - 0x124]
call fcn.00406cf0
test eax, eax
je 0x406cdb
lea eax, [ebp - 0x118]
push eax
push str.CLSIDCAA2D3B1_4BB5_4a45_A17A_122773379D99
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0x114], 0
je 0x406c5c
lea ecx, [ebp - 0x118]
push ecx
push str.CLSIDCAA2D3B1_4BB5_4a45_A17A_122773379D99
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0x114], 0
je 0x406c5c
xor eax, eax
jmp 0x406cdd
mov dword [ebp - 0x120], 1
lea edx, [ebp - 0x110]
push edx
call fcn.0048e1d0
add esp, 4
add eax, 1
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0x11c]
push eax
lea ecx, [ebp - 0x110]
push ecx
push 1
push 0
mov edx, dword [ebp - 0x124]
mov eax, dword [edx + 0x10]
push eax
mov ecx, dword [ebp - 0x118]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0x114], 0
je 0x406cc0
mov dword [ebp - 0x120], 0
mov edx, dword [ebp - 0x118]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0x120]
jmp 0x406cdd
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048e19e
mov esp, ebp
pop ebp
ret 0x10

Function at 0x409470
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a7b4b
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x4c0c00]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x10
call fcn.00402a40
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
mov dword [eax], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 4], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 8], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x2c], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x30], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x34], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x38], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x3c], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0xc], 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
mov dword [eax + 0x40], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 0x10]
mov dword [edx + 0x44], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 0x14]
mov dword [ecx + 0x48], edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x10]
call fcn.00409550
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x409550
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a7b6e
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x4c0c00]
xor eax, ebp
mov dword [ebp - 0x24], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x54], ecx
cmp dword [ebp + 8], 0
jne 0x409588
xor eax, eax
jmp 0x4096ee
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x40]
call fcn.00402a70
mov dword [ebp - 4], 0
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocStringLen
lea ecx, [ebp - 0x40]
call fcn.00402b30
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xffffffff
jne 0x4095e3
mov dword [ebp - 0x44], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00402af0
mov eax, dword [ebp - 0x44]
jmp 0x4096ee
mov ecx, dword [ebp - 0x54]
mov edx, dword [ebp - 0x1c]
mov dword [ecx + 0x2c], edx
push 0
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x54]
mov edx, dword [ebp - 0x10]
mov dword [ecx + 0x38], edx
push 0
push 0
push 0
push 0x8000002
push 0
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x409653
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00402af0
mov eax, dword [ebp - 0x48]
jmp 0x4096ee
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x18]
mov dword [edx + 0x30], eax
push 0
push 0
push 0
push 4
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x4096b4
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00402af0
mov eax, dword [ebp - 0x4c]
jmp 0x4096ee
mov ecx, dword [ebp - 0x54]
mov edx, dword [ebp - 0x14]
mov dword [ecx + 0x34], edx
mov ecx, dword [ebp - 0x54]
call fcn.004097c0
mov ecx, dword [ebp - 0x54]
mov dword [ecx + 8], eax
mov ecx, dword [ebp - 0x54]
call fcn.00409ee0
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x50], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00402af0
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x24]
xor ecx, ebp
call fcn.0048e19e
mov esp, ebp
pop ebp
ret 4
Function at 0x409cf0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov eax, dword [0x4c0c00]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x1a4], ecx
mov dword [ebp - 0x1a0], 0
mov byte [ebp - 0x190], 0
push 0x103
push 0
lea eax, [ebp - 0x18f]
push eax
call fcn.0048e260
add esp, 0xc
lea ecx, [ebp - 0x190]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
jne 0x409d5a
push 0x4ab778
lea edx, [ebp - 0x190]
push edx
call fcn.0048ea00
add esp, 8
mov byte [ebp - 0x88], 0
push 0x7f
push 0
lea eax, [ebp - 0x87]
push eax
call fcn.0048e260
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push str.Tmp_d.zip
lea ecx, [ebp - 0x88]
push ecx
call fcn.0048e2fb
add esp, 0xc
lea edx, [ebp - 0x88]
push edx
lea eax, [ebp - 0x190]
push eax
call fcn.0048ea10
add esp, 8
push 0
lea ecx, [ebp - 0x190]
push ecx
call fcn.0041cb80
add esp, 8
mov dword [ebp - 0x194], eax
cmp dword [ebp - 0x194], 0
jne 0x409dc9
xor eax, eax
jmp 0x409e3f
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
push str.tmpZip
mov ecx, dword [ebp - 0x194]
push ecx
call fcn.0041cc50
add esp, 0x10
mov dword [ebp - 0x198], eax
cmp dword [ebp - 0x198], 0
je 0x409df8
xor eax, eax
jmp 0x409e3f
mov edx, dword [ebp - 0x194]
push edx
call fcn.0041cd60
add esp, 4
lea eax, [ebp - 0x1a0]
push eax
lea ecx, [ebp - 0x190]
push ecx
mov ecx, dword [ebp - 0x1a4]
call fcn.00409f20
mov dword [ebp - 0x19c], eax
cmp dword [ebp - 0x19c], 0
jne 0x409e39
mov dword [ebp - 0x1a0], 0
mov eax, dword [ebp - 0x1a0]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048e19e
mov esp, ebp
pop ebp
ret 8

Function at 0x409f20
Capabilities:
Delete file
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
cmp dword [ebp + 8], 0
jne 0x409f33
xor eax, eax
jmp 0x409f86
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocStringLen
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x409f5c
xor eax, eax
jmp 0x409f86
push 0
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, 1
mov esp, ebp
pop ebp
ret 8
Function at 0x40a500
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a7e7c
mov eax, dword fs:[0]
push eax
sub esp, 0x140
mov eax, dword [0x4c0c00]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14c], ecx
mov dword [ebp - 0x138], 0
lea ecx, [ebp - 0x2c]
call fcn.00402a40
mov dword [ebp - 4], 0
lea eax, [ebp - 0x2c]
push eax
call fcn.00421280
add esp, 4
push str.url.ini
lea ecx, [ebp - 0x2c]
call fcn.00401f40
mov byte [ebp - 0x134], 0
push 0x103
push 0
lea ecx, [ebp - 0x133]
push ecx
call fcn.0048e260
add esp, 0xc
lea ecx, [ebp - 0x2c]
call fcn.00402b30
push eax
push 0x104
lea edx, [ebp - 0x134]
push edx
push 0x4abb08
push str.NavigateXML
push str.SafeCfg
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x134]
push eax
call fcn.0048e1d0
add esp, 4
test eax, eax
ja 0x40a5e1
mov dword [ebp - 0x13c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00402af0
mov eax, dword [ebp - 0x13c]
jmp 0x40a692
lea ecx, [ebp - 0x134]
push ecx
mov ecx, dword [ebp - 0x14c]
call fcn.0040acd0
mov dword [ebp - 0x138], eax
cmp dword [ebp - 0x138], 0
jne 0x40a623
mov dword [ebp - 0x140], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00402af0
mov eax, dword [ebp - 0x140]
jmp 0x40a692
push 0
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x14c]
call fcn.0040aed0
mov dword [ebp - 0x138], eax
cmp dword [ebp - 0x138], 0
jne 0x40a666
mov eax, dword [ebp - 0x138]
mov dword [ebp - 0x144], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00402af0
mov eax, dword [ebp - 0x144]
jmp 0x40a692
mov ecx, dword [ebp - 0x14c]
call fcn.0040ae20
mov ecx, dword [ebp - 0x138]
mov dword [ebp - 0x148], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00402af0
mov eax, dword [ebp - 0x148]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048e19e
mov esp, ebp
pop ebp
ret 4
Function at 0x40ff40
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a8524
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x4c0c00]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x78], ecx
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x6c], esp
push 0x4abf2c
call fcn.00402a70
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x78]
mov ecx, dword [eax + 0x18]
push ecx
lea ecx, [ebp - 0x64]
call fcn.00404c30
mov dword [ebp - 0x80], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x68], 0
lea ecx, [ebp - 0x64]
call fcn.00404fa0
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0
jne 0x40ffcf
mov dword [ebp - 0x70], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.00404cf0
mov eax, dword [ebp - 0x70]
jmp 0x410056
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [ebp + 0x10]
cmp dword [eax], 0
jne 0x40fff6
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea ecx, [ebp - 0x64]
call fcn.00405ed0
mov dword [ebp - 0x68], eax
jmp 0x410018
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x64]
call fcn.00405940
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp + 0x10]
mov dword [ecx], 0
cmp dword [ebp - 0x68], 0
je 0x41003e
lea ecx, [ebp - 0x64]
call fcn.0040e550
push eax
lea ecx, [ebp - 0x64]
call fcn.00485960
push eax
mov ecx, dword [ebp - 0x78]
add ecx, 4
call fcn.0040b130
mov dword [ebp - 0x68], eax
mov edx, dword [ebp - 0x68]
mov dword [ebp - 0x74], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.00404cf0
mov eax, dword [ebp - 0x74]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048e19e
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4102f0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a85d9
mov eax, dword fs:[0]
push eax
sub esp, 0x348
mov eax, dword [0x4c0c00]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x354], ecx
mov dword [ebp - 0x350], 0
mov dword [ebp - 0x140], 1
lea ecx, [ebp - 0x13c]
call fcn.0040b830
mov dword [ebp - 4], 1
mov al, byte [0x4abe83]
mov byte [ebp - 0x34c], al
push 0x207
push 0
lea ecx, [ebp - 0x34b]
push ecx
call fcn.0048e260
add esp, 0xc
push 0x208
push 0x208
lea ecx, [ebp - 0x13c]
call fcn.004090c0
push eax
push 0
push str.common
call fcn.00410be0
add esp, 0x10
mov dword [ebp - 0x138], eax
push 0xffffffffffffffff
lea ecx, [ebp - 0x13c]
call fcn.004114c0
push str._setting.ini
lea ecx, [ebp - 0x13c]
call fcn.00410fe0
lea ecx, [ebp - 0x2c]
call fcn.00402a40
mov byte [ebp - 4], 2
push 1
lea ecx, [ebp - 0x13c]
call fcn.004090c0
push eax
push 0x104
lea edx, [ebp - 0x134]
push edx
push 0x4abf64
push str.email
push str.user
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x134]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00402b10
lea ecx, [ebp - 0x2c]
call fcn.00483130
test eax, eax
jne 0x410413
push str.unknownupload_rising.com.cn
lea ecx, [ebp - 0x2c]
call fcn.00402b10
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00402ab0
mov edx, dword [ebp - 0x350]
or edx, 1
mov dword [ebp - 0x350], edx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.00402af0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x13c]
call fcn.00406f80
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048e19e
mov esp, ebp
pop ebp
ret 4