joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403020
Capabilities:
Get disk information

Disassembly:
sub esp, 0x830
mov eax, dword [esp + 0x834]
mov ecx, dword [eax]
push ebx
mov ebx, dword [0x430f5c]
push ebp
push esi
mov esi, dword [eax + 4]
push edi
mov edi, dword [0x430f58]
xor ebp, ebp
lea eax, [esp + 0x14]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x14], ebp
mov dword [esp + 0x38], 0x9e3779b9
call fcn.00402ff0
mov eax, dword [0x430f60]
mov edx, dword [0x430f64]
add dword [esp + 0x14], 0x23f
mov dword [esp + 0x3c], eax
mov dword [esp + 0x30], edx
mov dword [esp + 0x2c], 0x20
mov dword [esp + 0x24], 2
add dword [esp + 0x24], 3
mov eax, dword [0x2adda24]
shl ecx, 4
add ecx, dword [esp + 0x3c]
mov dword [esp + 0x10], ecx
cmp eax, 0xfa9
jne 0x4030b0
mov dword [0x2adda20], 0xedeb2e40
jmp 0x4030bd
cmp eax, 0x3eb
jne 0x4030bd
mov dword [0x2ada92c], ebp
mov eax, dword [esp + 0x28]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x14]
add dword [esp + 0x20], eax
mov eax, dword [esp + 0x28]
shr eax, 5
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0x18]
mov dword [0x2adda1c], 0xf4ea3dee
call fcn.00403000
mov eax, dword [esp + 0x20]
xor dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
xor dword [esp + 0x18], eax
cmp dword [0x2adda24], 0x213
jne 0x40313c
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
lea ecx, [esp + 0x40]
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
push ebp
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_CreateHardLinkA]
push ebp
push ebp
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push ebp
push ebp
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_ChangeTimerQueueTimer]
sub esi, dword [esp + 0x18]
lea ecx, [esp + 0x10]
mov eax, esi
mov dword [esp + 0x34], esi
call fcn.00402fe0
add dword [esp + 0x10], edi
mov dword [esp + 0x1c], ebp
mov eax, dword [esp + 0x14]
add dword [esp + 0x1c], eax
mov eax, dword [esp + 0x34]
nop
add dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x20], eax
mov edx, esi
shr edx, 5
add edx, ebx
mov dword [esp + 0x18], edx
mov eax, dword [esp + 0x20]
xor dword [esp + 0x10], eax
cmp dword [0x2adda24], 0x121
jne 0x40319c
push ebp
push ebp
lea eax, [esp + 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesA]
mov ecx, dword [esp + 0x10]
xor ecx, dword [esp + 0x18]
lea eax, [esp + 0x28]
mov dword [esp + 0x10], ecx
call fcn.00403010
mov eax, dword [esp + 0x38]
sub dword [esp + 0x14], eax
sub dword [esp + 0x2c], 1
mov ecx, dword [esp + 0x28]
jne 0x403080
mov eax, dword [esp + 0x844]
pop edi
mov dword [eax + 4], esi
pop esi
pop ebp
mov dword [eax], ecx
pop ebx
add esp, 0x830
ret 4
Function at 0x409da0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x430bc0]
jne 0x409daa
repz ret
jmp fcn.0040de1b

Function at 0x40d674
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00409100
and dword [ebp - 4], 0
cmp dword [0x432d30], 0
mov ebx, eax
jne 0x40d725
push 0x401b18
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40d7d6
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x401b0c
push edi
call esi
test eax, eax
je 0x40d7d6
push eax
call fcn.0040908e
mov dword [esp], 0x401afc
push edi
mov dword [0x432d30], eax
call esi
push eax
call fcn.0040908e
mov dword [esp], 0x401ae8
push edi
mov dword [0x432d34], eax
call esi
push eax
call fcn.0040908e
mov dword [esp], 0x401acc
push edi
mov dword [0x432d38], eax
call esi
push eax
call fcn.0040908e
pop ecx
mov dword [0x432d40], eax
test eax, eax
je 0x40d725
push 0x401ab4
push edi
call esi
push eax
call fcn.0040908e
pop ecx
mov dword [0x432d3c], eax
mov eax, dword [0x432d3c]
cmp eax, ebx
je 0x40d77d
cmp dword [0x432d40], ebx
je 0x40d77d
push eax
call fcn.00409109
push dword [0x432d40]
mov esi, eax
call fcn.00409109
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40d77d
test edi, edi
je 0x40d77d
call esi
test eax, eax
je 0x40d774
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40d774
test byte [ebp - 0xc], 1
jne 0x40d77d
or dword [ebp + 0x10], 0x200000
jmp 0x40d7b6
mov eax, dword [0x432d34]
cmp eax, ebx
je 0x40d7b6
push eax
call fcn.00409109
pop ecx
test eax, eax
je 0x40d7b6
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40d7b6
mov eax, dword [0x432d38]
cmp eax, ebx
je 0x40d7b6
push eax
call fcn.00409109
pop ecx
test eax, eax
je 0x40d7b6
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x432d30]
call fcn.00409109
pop ecx
test eax, eax
je 0x40d7d6
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40d7d8
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x4615a0
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d96c2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x68
mov eax, dword [0x50ffd8]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x68], ecx
push 0
push 9
mov ecx, dword [ebp + 8]
call fcn.00461dd0
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jle 0x461616
mov eax, dword [ebp - 0x10]
push eax
lea ecx, [ebp - 0x64]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00461ec0
mov dword [ebp - 0x6c], eax
mov edx, dword [ebp - 0x6c]
mov dword [ebp - 0x70], edx
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x70]
push eax
mov ecx, dword [ebp + 8]
call fcn.0045c0d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.004014e0
mov dword [ebp - 0x14], 0
mov cx, word [ebp + 0xc]
push ecx
mov ecx, dword [ebp - 0x68]
call fcn.00461d20
mov dword [ebp - 0x18], eax
jmp 0x461641
mov edx, dword [ebp - 0x18]
movzx eax, word [edx + 4]
imul eax, eax, 6
mov ecx, dword [ebp - 0x18]
sub ecx, eax
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x18], 0
je 0x46171c
cmp dword [ebp - 0x14], 0
je 0x46165a
mov dword [ebp - 0x74], 0x4dfd38
jmp 0x461661
mov dword [ebp - 0x74], 0x4dfd3c
mov edx, dword [ebp - 0x74]
push edx
mov ecx, dword [ebp + 8]
call fcn.0045bdf0
mov eax, dword [ebp - 0x18]
movzx ecx, byte [eax]
and ecx, 0x10
je 0x461685
push str.Alt
mov ecx, dword [ebp + 8]
call fcn.0045bdf0
mov edx, dword [ebp - 0x18]
movzx eax, byte [edx]
and eax, 8
je 0x46169d
push str.Ctrl
mov ecx, dword [ebp + 8]
call fcn.0045bdf0
mov ecx, dword [ebp - 0x18]
movzx edx, byte [ecx]
and edx, 4
je 0x4616b5
push str.Shift
mov ecx, dword [ebp + 8]
call fcn.0045bdf0
mov eax, dword [ebp - 0x18]
movzx ecx, byte [eax]
and ecx, 1
je 0x4616f4
push 0
mov edx, dword [ebp - 0x18]
movzx eax, word [edx + 2]
push eax
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
shl eax, 0x10
mov dword [ebp - 0x60], eax
push 0x40
lea ecx, [ebp - 0x5c]
push ecx
mov edx, dword [ebp - 0x60]
push edx
call dword [sym.imp.USER32.dll_GetKeyNameTextA]
lea eax, [ebp - 0x5c]
push eax
mov ecx, dword [ebp + 8]
call fcn.0045bdf0
jmp 0x461703
mov ecx, dword [ebp - 0x18]
mov dl, byte [ecx + 2]
push edx
mov ecx, dword [ebp + 8]
call fcn.00462a90
mov dword [ebp - 0x14], 1
mov eax, dword [ebp - 0x18]
movzx ecx, word [eax + 4]
test ecx, ecx
jne 0x461717
jmp 0x46171c
jmp 0x46162f
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x1c]
call fcn.00497e50
mov esp, ebp
pop ebp
ret 8
Function at 0x468f00
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d9c6e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x124
mov eax, dword [0x50ffd8]
mov dword [ebp - 0x18], eax
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x134], ecx
mov ecx, dword [ebp - 0x134]
add ecx, 0x1c0
call fcn.00462fc0
mov ecx, dword [ebp - 0x134]
add ecx, 0x624
call fcn.00462fc0
mov eax, dword [ebp - 0x134]
cmp dword [eax + 0x19c], 0
jne 0x468f69
jmp 0x469059
lea ecx, [ebp - 0x118]
push ecx
push 0xff
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea edx, [ebp - 0x118]
push edx
lea ecx, [ebp - 0x14]
call fcn.0045c060
mov dword [ebp - 4], 0
mov eax, dword [str._aadib.bmp]
push eax
lea ecx, [ebp - 0x14]
call fcn.0045bdf0
lea ecx, [ebp - 0x120]
call fcn.004b0d44
mov byte [ebp - 4], 1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.0046d080
push eax
call fcn.004b0e7a
jmp 0x468fd4
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x120]
call fcn.0046a830
lea edx, [ebp - 0x118]
push edx
lea ecx, [ebp - 0x14]
call fcn.0045c0f0
mov eax, dword [str._aa.bmp]
push eax
lea ecx, [ebp - 0x14]
call fcn.0045bdf0
lea ecx, [ebp - 0x12c]
call fcn.004b0d44
mov byte [ebp - 4], 4
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x14]
call fcn.0046d080
push eax
call fcn.004b0e7a
jmp 0x469038
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x12c]
call fcn.0046a830
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004014e0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x18]
call fcn.00497e50
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x46a120
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d9cb4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.0045bed0
movzx eax, al
test eax, eax
je 0x46a168
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004014e0
jmp 0x46a215
mov ecx, dword [0x4e0364]
push ecx
lea edx, [ebp + 8]
push edx
call fcn.0045beb0
add esp, 8
movzx eax, al
test eax, eax
je 0x46a1ea
mov ecx, dword [ebp - 0x14]
add ecx, 0xad8
call fcn.0045bed0
movzx ecx, al
test ecx, ecx
je 0x46a1aa
push str.9399
mov ecx, dword [ebp - 0x14]
add ecx, 0xad8
call fcn.0045c0f0
mov edx, dword [ebp - 0x14]
add edx, 0xad8
push edx
push str._t.cgi_
lea eax, [ebp - 0x10]
push eax
call fcn.0046a740
add esp, 0xc
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x1c]
push edx
lea ecx, [ebp + 8]
call fcn.0045bdd0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.004014e0
push 1
push 0
push 0
lea ecx, [ebp + 8]
call fcn.0046d080
push eax
push 0x4e0398
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004014e0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x46c180
Capabilities:
Log keystrokes via application hook

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d9ede
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
mov dword [ebp - 0x48], ecx
lea ecx, [ebp - 0x14]
call fcn.00462880
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax + 0x104]
push ecx
lea ecx, [ebp - 0x14]
call fcn.004b1b3c
cmp dword [ebp + 8], 0
jl 0x46c334
mov edx, dword [ebp - 0x48]
mov dword [edx + 0x10c], 0xffffffff
push 1
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x48]
call fcn.0046c990
mov ecx, dword [ebp - 0x48]
call fcn.0046cae0
mov ecx, dword [ebp - 0x48]
cmp dword [ecx + 0x110], 0
jne 0x46c228
push 1
push 0x28
push 0x100
mov ecx, dword [ebp - 0x48]
call fcn.00467950
mov ecx, eax
call fcn.0045f8b0
push 1
push 0x28
push 0x101
mov ecx, dword [ebp - 0x48]
call fcn.00467950
mov ecx, eax
call fcn.0045f8b0
mov edx, dword [ebp + 8]
push edx
push 2
mov ecx, dword [ebp - 0x48]
call fcn.0046b940
mov eax, dword [ebp - 0x48]
mov dword [0x5111c8], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0
push 0x46bf30
push 0xffffffffffffffff
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
mov dword [0x5111cc], eax
lea ecx, [ebp - 0x44]
call fcn.004621c0
lea ecx, [ebp - 0x44]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x48]
call fcn.004678a0
lea eax, [ebp - 0x44]
push eax
mov ecx, dword [ebp - 0x48]
call fcn.004b5a3d
lea ecx, [ebp - 0x30]
push ecx
lea edx, [ebp - 0x44]
push edx
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x48]
call fcn.0046c360
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x48]
mov eax, dword [edx + 0x104]
push eax
call dword [sym.imp.USER32.dll_GetSubMenu]
mov dword [ebp - 0x34], eax
lea ecx, [ebp - 0x30]
push ecx
mov ecx, dword [ebp - 0x48]
call fcn.00467950
mov ecx, eax
call fcn.0045f850
push eax
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x1c]
push eax
push 0x40
mov ecx, dword [ebp - 0x34]
push ecx
call dword [sym.imp.USER32.dll_TrackPopupMenuEx]
mov edx, dword [0x5111cc]
push edx
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
mov dword [0x5111cc], 0
mov dword [0x5111c8], 0
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x48]
call fcn.0046c990
mov ecx, dword [ebp - 0x48]
call fcn.0046cae0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x48]
xor eax, eax
cmp dword [edx + 0x11c], 0
setne al
push eax
mov ecx, dword [ebp - 0x48]
call fcn.0046b940
mov ecx, dword [ebp - 0x48]
mov edx, dword [ecx + 0x10c]
mov dword [ebp + 8], edx
jmp 0x46c1bf
lea ecx, [ebp - 0x14]
call fcn.004b1b69
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004628e0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x4709a0
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4da557
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
mov dword [ebp - 4], 0
push 0
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
je 0x4709f0
mov dword [ebp - 0x18], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004014e0
mov eax, dword [ebp - 0x18]
jmp 0x470ae6
lea ecx, [ebp + 8]
call fcn.0045bed0
movzx ecx, al
test ecx, ecx
je 0x470a32
push 0
lea edx, [ebp - 0x1c]
push edx
call fcn.00470b00
add esp, 8
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x34]
push ecx
lea ecx, [ebp + 8]
call fcn.0045c0d0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.004014e0
mov dword [ebp - 0x14], 0
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
lea edx, [ebp + 8]
push edx
call fcn.004014c0
mov dword [ebp - 0x38], eax
call fcn.00470e80
add esp, 4
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x470ab8
push 0x2f
lea ecx, [ebp - 0x24]
push ecx
call fcn.00470b00
add esp, 8
mov dword [ebp - 0x40], eax
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x44], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x44]
push eax
lea ecx, [ebp + 8]
call fcn.0045c0d0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.004014e0
push ecx
mov ecx, esp
mov dword [ebp - 0x28], esp
lea edx, [ebp + 8]
push edx
call fcn.004014c0
mov dword [ebp - 0x48], eax
call fcn.00470e80
add esp, 4
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x470ace
cmp dword [ebp + 0xc], 1
jne 0x470ace
push 0
push 2
call dword [sym.imp.WININET.dll_InternetAutodial]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004014e0
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x470e80
Capabilities:
Check internet connectivity via wininet
Create http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4da595
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov dword [ebp - 4], 0
push str._index.html
lea ecx, [ebp + 8]
call fcn.0045bdf0
push 0
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x470f3a
push 0
push 0
push 0
push 0
push str.Mailloop6
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [ebp - 0x18], eax
push 0
push SysReAllocString
push 0
push 0
lea ecx, [ebp + 8]
call fcn.0046d080
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x470f30
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebp - 0x20], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004014e0
mov eax, dword [ebp - 0x20]
jmp 0x470f52
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x24], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004014e0
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x471cc0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], 4
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 4]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x471cfc
mov eax, dword [ebp - 0xc]
jmp 0x471d0b
cmp dword [ebp - 4], 4
je 0x471d09
mov eax, 0xd
jmp 0x471d0b
xor eax, eax
mov esp, ebp
pop ebp
ret 8

Function at 0x471d20
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
mov dword [ebp - 8], ecx
mov edx, dword [ebp + 0x10]
mov dword [edx], 0
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 4]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x471d66
mov eax, dword [ebp - 0xc]
jmp 0x471dae
cmp dword [ebp - 4], 1
je 0x471d79
cmp dword [ebp - 4], 2
je 0x471d79
mov eax, 0xd
jmp 0x471dae
cmp dword [ebp + 0xc], 0
je 0x471da4
mov eax, dword [ebp - 8]
xor edx, edx
mov ecx, 1
div ecx
test edx, edx
jne 0x471d9d
mov edx, dword [ebp + 0xc]
add edx, dword [ebp - 8]
movsx eax, byte [edx - 1]
test eax, eax
je 0x471da4
mov eax, 0xd
jmp 0x471dae
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 8]
mov dword [ecx], edx
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc
Function at 0x475d00
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push 0
push 0x4e4464
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x70]
add ecx, 0x1c
call fcn.004656a0
cmp eax, 0xffffffff
je 0x475d3a
push str._First_Name:
push 0x3fb
mov ecx, dword [ebp - 4]
call fcn.004afec8
mov ecx, eax
call fcn.004affcb
push 0
push 0x4e447c
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x70]
add ecx, 0x1c
call fcn.004656a0
cmp eax, 0xffffffff
je 0x475d6d
push str._Last_Name:
push 0x3fc
mov ecx, dword [ebp - 4]
call fcn.004afec8
mov ecx, eax
call fcn.004affcb
push 0
push 0x4e4494
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0x70]
add ecx, 0x1c
call fcn.004656a0
cmp eax, 0xffffffff
je 0x475da0
push str._Email:
push 0x3fd
mov ecx, dword [ebp - 4]
call fcn.004afec8
mov ecx, eax
call fcn.004affcb
push 0
push 0x4e44a8
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x70]
add ecx, 0x1c
call fcn.004656a0
cmp eax, 0xffffffff
je 0x475dd3
push str._Company:
push 0x3fe
mov ecx, dword [ebp - 4]
call fcn.004afec8
mov ecx, eax
call fcn.004affcb
push 0
push 0x4e44bc
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x70]
add ecx, 0x1c
call fcn.004656a0
cmp eax, 0xffffffff
je 0x475e06
push str._Address:
push 0x3ff
mov ecx, dword [ebp - 4]
call fcn.004afec8
mov ecx, eax
call fcn.004affcb
push 0
push 0x4e44d0
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0x70]
add ecx, 0x1c
call fcn.004656a0
cmp eax, 0xffffffff
je 0x475e39
push str._City:
push 0x400
mov ecx, dword [ebp - 4]
call fcn.004afec8
mov ecx, eax
call fcn.004affcb
push 0
push 0x4e44e0
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x70]
add ecx, 0x1c
call fcn.004656a0
cmp eax, 0xffffffff
je 0x475e6c
push str._Zip_Postal:
push 0x402
mov ecx, dword [ebp - 4]
call fcn.004afec8
mov ecx, eax
call fcn.004affcb
push 0
push 0x4e44f4
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x70]
add ecx, 0x1c
call fcn.004656a0
cmp eax, 0xffffffff
je 0x475e9f
push str._Country:
push 0x403
mov ecx, dword [ebp - 4]
call fcn.004afec8
mov ecx, eax
call fcn.004affcb
push 0
push 0x4e4508
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0x70]
add ecx, 0x1c
call fcn.004656a0
cmp eax, 0xffffffff
je 0x475ed2
push str._Phone:
push 0x404
mov ecx, dword [ebp - 4]
call fcn.004afec8
mov ecx, eax
call fcn.004affcb
push 0
push 0x4e451c
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x70]
add ecx, 0x1c
call fcn.004656a0
cmp eax, 0xffffffff
je 0x475f05
push str._State_Province:
push 0x401
mov ecx, dword [ebp - 4]
call fcn.004afec8
mov ecx, eax
call fcn.004affcb
mov esp, ebp
pop ebp
ret
Function at 0x478150
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dae63
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x120
mov eax, dword [0x50ffd8]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x124], 0
lea ecx, [ebp - 0x11c]
call fcn.004014a0
mov dword [ebp - 4], 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x118]
push eax
push 0xff
lea ecx, [ebp - 0x114]
push ecx
push 0x4e567c
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
push 0
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 3
jne 0x4781e0
mov edx, dword [ebp - 0x118]
push edx
push 0x4e5680
lea eax, [ebp - 0x11c]
push eax
call fcn.0045cd50
add esp, 0xc
lea ecx, [ebp - 0x11c]
call fcn.0045bed0
movzx ecx, al
test ecx, ecx
je 0x47823b
lea edx, [ebp - 0x114]
push edx
lea ecx, [ebp - 0x120]
call fcn.0045c060
mov dword [ebp - 0x128], eax
mov eax, dword [ebp - 0x128]
mov dword [ebp - 0x12c], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x12c]
push ecx
lea ecx, [ebp - 0x11c]
call fcn.0045c0d0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x120]
call fcn.004014e0
lea edx, [ebp - 0x11c]
push edx
mov ecx, dword [ebp + 8]
call fcn.004014c0
mov eax, dword [ebp - 0x124]
or eax, 1
mov dword [ebp - 0x124], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x11c]
call fcn.004014e0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
call fcn.00497e50
mov esp, ebp
pop ebp
ret

Function at 0x478290
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dae78
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x214
mov eax, dword [0x50ffd8]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x11c], 0
push 0xff
lea eax, [ebp - 0x114]
push eax
push 0
push 0
lea ecx, [ebp - 0x11c]
push ecx
push 0xff
lea edx, [ebp - 0x21c]
push edx
push 0x4e5684
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
lea ecx, [ebp - 0x118]
call fcn.004014a0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x114]
push eax
mov ecx, dword [ebp - 0x11c]
push ecx
lea edx, [ebp - 0x21c]
push edx
push str._s_u_s
lea eax, [ebp - 0x118]
push eax
call fcn.0045cd50
add esp, 0x14
lea ecx, [ebp - 0x118]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004014c0
mov edx, dword [ebp - 0x220]
or edx, 1
mov dword [ebp - 0x220], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x118]
call fcn.004014e0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
call fcn.00497e50
mov esp, ebp
pop ebp
ret