joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4577a0
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x462c2c]
cmp dword [eax + 0x30], 0
je 0x45784a
cmp dword [ebx + 0x94], 0
jne 0x457844
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x457730
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x457844
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x45780a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x457844
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.0041a7a4
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x457819
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x458328
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x45835d
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004044ec
jmp 0x45836a
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404450
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x4593a0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4593e1
mov eax, esi
call fcn.0043f80c
test al, al
je 0x4593e1
mov eax, dword [ebx + 0x84]
call fcn.0043f508
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4593e1
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043f508
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x45a380
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov al, byte [ebp + 8]
call fcn.00459f8c
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.004048ac
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x45a3de
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4610cc]
mov dl, 1
mov eax, dword [0x459e84]
call fcn.0040bfac
call fcn.00403e5c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x45a3e8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.004048ac
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x45a440
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4612c0]
mov dl, 1
mov eax, dword [0x459e84]
call fcn.0040bfac
call fcn.00403e5c
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00459fbc
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x45b808
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x45b8de
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x45b8c1
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
call sub.shell32.dll_SHGetMalloc
test eax, eax
jne 0x45b8a0
lea eax, [ebp - 8]
push eax
push esi
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
mov eax, ebx
mov edx, 0x3e8
call fcn.00404a38
mov eax, dword [ebx]
call fcn.004048ac
push eax
mov eax, dword [ebp - 8]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
test eax, eax
jne 0x45b88a
mov ecx, 0x45b8f4
mov dl, 1
mov eax, dword [0x4078b8]
call fcn.0040beb4
call fcn.00403e5c
mov eax, dword [ebx]
call fcn.004048ac
push eax
call sub.kernel32.dll_lstrlenA_1
mov edx, eax
mov eax, ebx
call fcn.00404a38
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45b8c8
cmp dword [ebp - 8], 0
je 0x45b8c0
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x14]
ret
Function at 0x45c6ac
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x18], ebx
mov edi, ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040489c
xor eax, eax
push ebp
push 0x45c851
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
mov edx, 0x45c868
call fcn.00404450
mov eax, ebx
mov edx, 0x45c868
call fcn.00404450
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x45c827
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.004048ac
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov esi, eax
test esi, esi
jle 0x45c80b
lea eax, [esi + 2]
call fcn.00402718
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
push esi
push 0
mov eax, dword [ebp - 4]
call fcn.004048ac
push eax
call sub.version.dll_GetFileVersionInfoA
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x45c86c
mov eax, dword [ebp - 0xc]
push eax
call sub.version.dll_VerQueryValueA
lea ecx, [ebp - 0x1c]
mov eax, dword [ebp - 0x14]
movzx eax, word [eax + 2]
mov edx, 4
call fcn.0040888c
mov eax, dword [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x20]
mov eax, dword [ebp - 0x14]
movzx eax, word [eax]
mov edx, 4
call fcn.0040888c
mov edx, dword [ebp - 0x20]
lea eax, [ebp - 0x18]
pop ecx
call fcn.00404700
mov eax, ebx
mov edx, 0x104
call fcn.00404a38
push 0x104
mov eax, dword [ebx]
call fcn.004048ac
push eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_VerLanguageNameA
mov eax, dword [ebx]
call fcn.004048ac
mov edx, eax
mov eax, ebx
call fcn.004045ec
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x45c890
push dword [ebp - 0x18]
push 0x45c8ac
lea eax, [ebp - 0x24]
mov edx, 3
call fcn.00404774
mov eax, dword [ebp - 0x24]
call fcn.004048ac
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.version.dll_VerQueryValueA
mov eax, edi
mov edx, dword [ebp - 0x10]
call fcn.004045ec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45c82e
cmp dword [ebp - 0xc], 0
je 0x45c826
mov eax, dword [ebp - 0xc]
call fcn.00402738
ret
Function at 0x45ceb8
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe88
push ebx
xor ebx, ebx
mov dword [ebp - 0x178], ebx
mov dword [ebp - 0x174], ebx
mov dword [ebp - 0x16c], ebx
mov dword [ebp - 0x170], ebx
mov dword [ebp - 0x168], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040489c
mov eax, dword [ebp - 8]
call fcn.0040489c
mov eax, dword [ebp - 0xc]
call fcn.0040489c
lea eax, [ebp - 0x164]
mov edx, dword [0x407898]
call fcn.00404e04
xor eax, eax
push ebp
push 0x45d10b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.00408b54
lea eax, [ebp - 0x168]
mov ecx, 0x45d120
mov edx, dword [ebp - 4]
call fcn.00404700
mov eax, dword [ebp - 0x168]
lea ecx, [ebp - 0x164]
mov edx, 0x3f
call fcn.00408cd8
test eax, eax
jne 0x45d0c4
mov eax, dword [ebp - 0x158]
cmp byte [eax], 0x2e
je 0x45d0b1
mov eax, dword [ebp - 0x15c]
and eax, 0x10
cmp eax, 0x10
jne 0x45cfe1
mov eax, dword [ebp + 8]
cmp byte [eax + 0x10], 0
je 0x45d0b1
mov eax, dword [ebp + 8]
push eax
push dword [ebp - 8]
push dword [ebp - 0x158]
push 0x45d12c
lea eax, [ebp - 0x16c]
mov edx, 3
call fcn.00404774
mov eax, dword [ebp - 0x16c]
push eax
push dword [ebp - 4]
push dword [ebp - 0x158]
push 0x45d12c
lea eax, [ebp - 0x170]
mov edx, 3
call fcn.00404774
mov eax, dword [ebp - 0x170]
mov ecx, dword [ebp - 0xc]
pop edx
call fcn.0045ceb8
pop ecx
jmp 0x45d0b1
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x158]
call fcn.0045c5e0
test al, al
je 0x45d0b1
mov eax, dword [ebp + 8]
add eax, 0xffffffe8
mov ecx, dword [ebp - 0x158]
mov edx, dword [ebp - 4]
call fcn.00404700
mov eax, dword [ebp + 8]
inc dword [eax - 0xc]
mov eax, dword [ebp + 8]
add eax, 0xfffffffc
push eax
lea eax, [ebp - 0x174]
mov ecx, dword [ebp - 0x158]
mov edx, dword [ebp - 8]
call fcn.00404700
mov edx, dword [ebp - 0x174]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x14]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
call fcn.0045cbc8
mov edx, dword [ebp + 8]
mov byte [edx - 0x1d], al
mov eax, dword [ebp + 8]
cmp byte [eax - 8], 0
jne 0x45d05f
mov eax, dword [ebp + 8]
cmp dword [eax - 4], 2
je 0x45d05f
xor eax, eax
jmp 0x45d061
mov al, 1
mov edx, dword [ebp + 8]
mov byte [edx - 8], al
mov eax, dword [ebp + 8]
cmp byte [eax - 0x1d], 0
je 0x45d0b1
push 2
push 0
mov eax, dword [ebp + 8]
add eax, 0xffffffe4
push eax
push 0x45ca74
lea eax, [ebp - 0x178]
mov ecx, dword [ebp - 0x158]
mov edx, dword [ebp - 8]
call fcn.00404700
mov eax, dword [ebp - 0x178]
call fcn.004048ac
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
call fcn.004048ac
push eax
call sub.kernel32.dll_CopyFileExA
lea eax, [ebp - 0x164]
call fcn.00408d28
test eax, eax
je 0x45cf5b
lea eax, [ebp - 0x164]
call fcn.00408d4c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45d112
lea eax, [ebp - 0x178]
mov edx, 5
call fcn.00404420
lea eax, [ebp - 0x164]
mov edx, dword [0x407898]
call fcn.00404ed4
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404420
ret
Function at 0x45d46c
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd30
push ebx
xor ebx, ebx
mov dword [ebp - 0x2d0], ebx
mov dword [ebp - 0x2cc], ebx
mov dword [ebp - 0x2c8], ebx
mov dword [ebp - 0x2c4], ebx
mov dword [ebp - 0x2c0], ebx
mov byte [ebp - 9], cl
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebp - 4]
call fcn.0040489c
mov eax, dword [ebp - 8]
call fcn.0040489c
lea eax, [ebp - 0x164]
mov edx, dword [0x407898]
call fcn.00404e04
lea eax, [ebp - 0x2bc]
mov edx, dword [0x407898]
call fcn.00404e04
xor eax, eax
push ebp
push 0x45d678
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004046b4
mov edx, dword [ebp - 4]
cmp byte [edx + eax - 1], 0x5c
je 0x45d501
lea eax, [ebp - 4]
mov edx, 0x45d690
call fcn.004046bc
lea eax, [ebp - 0x2c0]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00404700
mov eax, dword [ebp - 0x2c0]
lea ecx, [ebp - 0x164]
mov edx, 0x27
call fcn.00408cd8
test eax, eax
jne 0x45d573
mov eax, dword [ebp - 0x158]
cmp byte [eax], 0x2e
je 0x45d564
mov eax, dword [ebp - 0x15c]
add eax, 0xfffffff0
sub eax, 0x10
jb 0x45d564
lea eax, [ebp - 0x2c4]
mov ecx, dword [ebp - 0x158]
mov edx, dword [ebp - 4]
call fcn.00404700
mov eax, dword [ebp - 0x2c4]
call fcn.00408d68
lea eax, [ebp - 0x164]
call fcn.00408d28
test eax, eax
je 0x45d52c
lea eax, [ebp - 0x164]
call fcn.00408d4c
cmp byte [ebp - 9], 0
je 0x45d637
lea eax, [ebp - 0x2c8]
mov ecx, 0x45d69c
mov edx, dword [ebp - 4]
call fcn.00404700
mov eax, dword [ebp - 0x2c8]
lea ecx, [ebp - 0x2bc]
mov edx, 0x1f
call fcn.00408cd8
test eax, eax
jne 0x45d62c
mov eax, dword [ebp - 0x2b0]
cmp byte [eax], 0x2e
je 0x45d61d
mov eax, dword [ebp - 0x2b4]
add eax, 0xfffffff0
sub eax, 0x10
jae 0x45d61d
push ebx
lea eax, [ebp - 0x2cc]
mov ecx, dword [ebp - 0x2b0]
mov edx, dword [ebp - 4]
call fcn.00404700
mov eax, dword [ebp - 0x2cc]
mov cl, byte [ebp - 9]
mov edx, dword [ebp - 8]
call fcn.0045d6a0
test bl, bl
je 0x45d61d
lea eax, [ebp - 0x2d0]
mov ecx, dword [ebp - 0x2b0]
mov edx, dword [ebp - 4]
call fcn.00404700
mov eax, dword [ebp - 0x2d0]
call fcn.004048ac
push eax
call sub.kernel32.dll_RemoveDirectoryA
lea eax, [ebp - 0x2bc]
call fcn.00408d28
test eax, eax
je 0x45d5b5
lea eax, [ebp - 0x2bc]
call fcn.00408d4c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45d67f
lea eax, [ebp - 0x2d0]
mov edx, 5
call fcn.00404420
lea eax, [ebp - 0x2bc]
mov edx, dword [0x407898]
mov ecx, 2
call fcn.00404f08
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404420
ret
Function at 0x45d6a0
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
mov byte [ebp - 9], cl
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebp - 4]
call fcn.0040489c
mov eax, dword [ebp - 8]
call fcn.0040489c
xor eax, eax
push ebp
push 0x45d70d
push dword fs:[eax]
mov dword fs:[eax], esp
push ebx
mov cl, byte [ebp - 9]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0045d46c
test bl, bl
je 0x45d6f2
mov eax, dword [ebp - 4]
call fcn.004048ac
push eax
call sub.kernel32.dll_RemoveDirectoryA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45d714
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404420
ret

Function at 0x45dd58
Capabilities:
Create service
Stop service

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffdc
mov dword [esp], edx
mov ebp, eax
xor ebx, ebx
xor eax, eax
mov dword [esp + 4], eax
push 0xf003f
push 0
push 0
call sub.advapi32.dll_OpenSCManagerA
mov edi, eax
test edi, edi
je 0x45de77
push 0xf01ff
push ebp
push edi
call sub.advapi32.dll_OpenServiceA
mov esi, eax
test esi, esi
je 0x45de39
lea eax, [esp + 8]
push eax
push 4
push esi
call sub.advapi32.dll_ControlService
test eax, eax
je 0x45de29
cmp dword [esp + 0xc], 1
je 0x45de29
lea eax, [esp + 8]
push eax
push 1
push esi
call sub.advapi32.dll_ControlService
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x45ddda
push esi
call sub.advapi32.dll_CloseServiceHandle
push edi
call sub.advapi32.dll_CloseServiceHandle
jmp 0x45de77
mov ebp, 0xa
lea eax, [esp + 8]
push eax
push 4
push esi
call sub.advapi32.dll_ControlService
cmp eax, 1
sbb eax, eax
inc eax
test al, al
je 0x45ddfd
cmp dword [esp + 0xc], 1
jne 0x45de07
mov dword [esp + 4], 0xffffffff
jmp 0x45de14
push 0xfa0
call sub.kernel32.dll_Sleep_1
dec ebp
jne 0x45dddf
cmp dword [esp + 4], 0
jne 0x45de29
push esi
call sub.advapi32.dll_CloseServiceHandle
push edi
call sub.advapi32.dll_CloseServiceHandle
jmp 0x45de77
push esi
call sub.advapi32.dll_CloseServiceHandle
push edi
call sub.advapi32.dll_CloseServiceHandle
mov bl, 1
jmp 0x45de77
push 0
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
push 1
push 1
push 1
push 0xf01ff
push ebp
push ebp
push edi
call sub.advapi32.dll_CreateServiceA
mov esi, eax
test esi, esi
jne 0x45de69
push edi
call sub.advapi32.dll_CloseServiceHandle
jmp 0x45de77
push esi
call sub.advapi32.dll_CloseServiceHandle
push edi
call sub.advapi32.dll_CloseServiceHandle
mov bl, 1
mov eax, ebx
add esp, 0x24
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x45de84
Capabilities:
Start service

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffe0
mov edi, edx
mov esi, eax
xor ebx, ebx
mov edx, edi
mov eax, esi
call fcn.0045dd58
test al, al
je 0x45df74
push 0xf003f
push 0
push 0
call sub.advapi32.dll_OpenSCManagerA
mov edi, eax
test edi, edi
je 0x45df74
push 0xf01ff
push esi
push edi
call sub.advapi32.dll_OpenServiceA
mov ebp, eax
test ebp, ebp
jne 0x45ded7
push edi
call sub.advapi32.dll_CloseServiceHandle
jmp 0x45df74
lea eax, [esp + 4]
push eax
push 4
push ebp
call sub.advapi32.dll_ControlService
test eax, eax
je 0x45deff
cmp dword [esp + 8], 4
jne 0x45df19
push ebp
call sub.advapi32.dll_CloseServiceHandle
push edi
call sub.advapi32.dll_CloseServiceHandle
mov bl, 1
jmp 0x45df74
call sub.kernel32.dll_GetLastError_1
cmp eax, 0x426
je 0x45df19
push ebp
call sub.advapi32.dll_CloseServiceHandle
push edi
call sub.advapi32.dll_CloseServiceHandle
jmp 0x45df74
push esp
push 0
push ebp
call sub.advapi32.dll_StartServiceA
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x45df3a
push ebp
call sub.advapi32.dll_CloseServiceHandle
push edi
call sub.advapi32.dll_CloseServiceHandle
jmp 0x45df74
mov esi, 0xa
lea eax, [esp + 4]
push eax
push 4
push ebp
call sub.advapi32.dll_ControlService
test eax, eax
je 0x45df5b
cmp dword [esp + 8], 4
jne 0x45df5b
mov bl, 1
jmp 0x45df68
push 0xfa0
call sub.kernel32.dll_Sleep_1
dec esi
jne 0x45df3f
push ebp
call sub.advapi32.dll_CloseServiceHandle
push edi
call sub.advapi32.dll_CloseServiceHandle
mov eax, ebx
add esp, 0x20
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x45f708
Capabilities:
Get common file path
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff6c
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x94], edx
mov dword [ebp - 0x90], edx
mov dword [ebp - 8], edx
xor eax, eax
push ebp
push 0x45f8bc
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x89]
xor ecx, ecx
mov edx, 0x81
call fcn.00402f9c
lea eax, [ebp - 0x89]
push eax
push 0x81
call sub.kernel32.dll_GetLogicalDriveStringsA
test eax, eax
je 0x45f896
cmp eax, 0x81
jbe 0x45f78c
lea edx, [ebp - 0x90]
mov eax, 0xe
call fcn.0040b6bc
mov ecx, dword [ebp - 0x90]
mov dl, 1
mov eax, dword [0x4078b8]
call fcn.0040beb4
call fcn.00403e5c
xor ebx, ebx
lea eax, [ebp - 8]
mov edx, 0x20
call fcn.00404a38
mov eax, dword [ebp - 8]
call fcn.004046b4
push eax
lea eax, [ebp - 8]
call fcn.00404904
xor ecx, ecx
pop edx
call fcn.00402f9c
lea esi, [ebp - 0x89]
jmp 0x45f7d8
push esi
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 3
jne 0x45f7d5
lea eax, [ebp - 8]
call fcn.00404904
mov dl, byte [esi]
mov byte [eax + ebx], dl
inc ebx
add esi, 4
cmp byte [esi], 0
jne 0x45f7bc
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404a38
push 0x80
lea eax, [ebp - 0x89]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
mov al, byte [ebp - 0x89]
mov byte [ebp - 1], al
lea eax, [ebp - 0x94]
mov dl, byte [ebp - 1]
call fcn.004045dc
mov eax, dword [ebp - 0x94]
mov edx, dword [ebp - 8]
call fcn.004049f0
mov edi, eax
mov ebx, edi
mov eax, dword [ebp - 8]
call fcn.004046b4
mov esi, eax
dec esi
sub esi, ebx
jl 0x45f85d
inc esi
mov eax, dword [ebp - 8]
mov al, byte [eax + ebx - 1]
sub al, 0x41
inc eax
call fcn.00408fec
cmp edx, 0
jne 0x45f84e
cmp eax, 0xc800000
jbe 0x45f859
jmp 0x45f850
jle 0x45f859
mov eax, dword [ebp - 8]
mov bl, byte [eax + ebx - 1]
jmp 0x45f896
inc ebx
dec esi
jne 0x45f831
mov esi, edi
dec esi
test esi, esi
jl 0x45f893
inc esi
xor ebx, ebx
mov eax, dword [ebp - 8]
mov al, byte [eax + ebx - 1]
sub al, 0x41
inc eax
call fcn.00408fec
cmp edx, 0
jne 0x45f884
cmp eax, 0xc800000
jbe 0x45f88f
jmp 0x45f886
jle 0x45f88f
mov eax, dword [ebp - 8]
mov bl, byte [eax + ebx - 1]
jmp 0x45f896
inc ebx
dec esi
jne 0x45f867
mov bl, byte [ebp - 1]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45f8c3
lea eax, [ebp - 0x94]
mov edx, 2
call fcn.00404420
lea eax, [ebp - 8]
call fcn.004043fc
ret
Function at 0x40105e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0xc]
mov esi, eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4010b5
push edi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x4010a7
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, edi
and esi, 0xf
jbe 0x4010a3
cmp edi, eax
jae 0x4010a7
dec esi
movzx ecx, word [edi]
lea edi, [edi + ecx*2 + 2]
jne 0x401095
cmp edi, eax
jb 0x4010ab
xor eax, eax
jmp 0x4010b4
movzx eax, word [edi]
neg eax
sbb eax, eax
and eax, edi
pop edi
pop esi
pop ebp
ret
Function at 0x4015c1
Capabilities:
Check internet connectivity via wininet
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, 0x7c
mov eax, dword [0x42e07c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor ebx, ebx
push ebx
lea eax, [ebp - 0x78]
push eax
mov esi, ecx
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
or dword [ebp - 0x70], 0xffffffff
mov edi, eax
mov eax, dword [section..data]
mov ecx, section..data
call dword [eax + 0xc]
push 0x10
pop ecx
add eax, ecx
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0x68]
push esi
push eax
call fcn.00401e5b
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [eax]
lea eax, [ebp - 0x6c]
push str._App_GetReadCount_md5_semail_svisitor_s
call fcn.004023e7
mov eax, dword [ebp - 0x68]
add esp, 0x18
add eax, 0xfffffff0
call fcn.00401159
cmp edi, ebx
je 0x4016dc
push 0x13
pop ecx
mov esi, str.Content_Type:_text_html__charsetUTF_8
lea edi, [ebp - 0x64]
rep movsd dword es:[edi], dword [esi]
push ebx
push ebx
push ebx
push ebx
push ebx
movsw word es:[edi], word [esi]
call dword [sym.imp.WININET.dll_InternetOpenW]
push ebx
push ebx
push 3
push ebx
push ebx
push 0x50
push str.www.uudoc.com
push eax
mov dword [ebp - 0x74], eax
call dword [sym.imp.WININET.dll_InternetConnectW]
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 0x6c]
mov dword [ebp - 0x68], eax
push 0x428b3c
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
push ebx
mov esi, eax
lea eax, [ebp - 0x64]
push ebx
push eax
call fcn.00414cae
pop ecx
push eax
lea eax, [ebp - 0x64]
push eax
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
je 0x4016c9
xor eax, eax
mov byte [ebp - 0x14], bl
lea edi, [ebp - 0x13]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x7c]
push eax
push 0x10
lea eax, [ebp - 0x14]
push eax
push esi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x4016c9
lea eax, [ebp - 0x14]
push eax
call fcn.00414b17
pop ecx
mov dword [ebp - 0x70], eax
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push esi
call edi
push dword [ebp - 0x68]
call edi
push dword [ebp - 0x74]
call edi
mov eax, dword [ebp - 0x6c]
add eax, 0xfffffff0
call fcn.00401159
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.00401159
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
call fcn.00401159
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x70]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004144e4
leave
ret
Function at 0x401976
Capabilities:
Check internet connectivity via wininet
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, 0x7c
mov eax, dword [0x42e07c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor ebx, ebx
push ebx
lea eax, [ebp - 0x78]
push eax
mov dword [ebp - 0x6c], ebx
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
je 0x401a57
push 0x13
pop ecx
mov esi, str.Content_Type:_text_html__charsetUTF_8
lea edi, [ebp - 0x68]
rep movsd dword es:[edi], dword [esi]
push ebx
push ebx
push ebx
push ebx
push ebx
movsw word es:[edi], word [esi]
call dword [sym.imp.WININET.dll_InternetOpenW]
push ebx
push ebx
push 3
push ebx
push ebx
push 0x50
push str.www.uudoc.com
push eax
mov dword [ebp - 0x70], eax
call dword [sym.imp.WININET.dll_InternetConnectW]
push ebx
push ebx
push ebx
push ebx
push ebx
push str._App_GetTime
push 0x428b3c
push eax
mov dword [ebp - 0x74], eax
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
push ebx
mov esi, eax
lea eax, [ebp - 0x68]
push ebx
push eax
call fcn.00414cae
pop ecx
push eax
lea eax, [ebp - 0x68]
push eax
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
je 0x401a44
xor eax, eax
mov byte [ebp - 0x14], bl
lea edi, [ebp - 0x13]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x7c]
push eax
push 0x10
lea eax, [ebp - 0x14]
push eax
push esi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x401a44
lea eax, [ebp - 0x14]
push eax
call fcn.00414b17
pop ecx
mov dword [ebp - 0x6c], eax
cmp eax, ebx
jbe 0x401a44
push eax
call fcn.00401c75
pop ecx
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push esi
call edi
push dword [ebp - 0x74]
call edi
push dword [ebp - 0x70]
call edi
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x6c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004144e4
leave
ret