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

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4c7bf4]
cmp dword [eax + 0x30], 0
je 0x46ead2
cmp dword [ebx + 0x94], 0
jne 0x46eacc
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x46e9b8
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x46eacc
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 0x46ea92
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x46eacc
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.004196e0
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x46eaa1
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x46f634
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 0x46f669
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.004040cc
jmp 0x46f676
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404030
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x4706e0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x470721
mov eax, esi
call fcn.0045668c
test al, al
je 0x470721
mov eax, dword [ebx + 0x84]
call fcn.00456388
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x470721
push 0
mov eax, dword [ebx + 0x84]
call fcn.00456388
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x47182c
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x4163b4]
call fcn.00404aac
xor eax, eax
push ebp
push 0x471970
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4c50f0], 0
jne 0x47187f
mov ecx, dword [0x4c5f98]
mov dl, 1
mov eax, dword [0x407554]
call fcn.0040bde0
call fcn.00403974
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00402bbc
mov eax, ebx
call fcn.00404864
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x471980
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.00405a30
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00404874
test eax, eax
jle 0x471917
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x471910
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404264
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.0040424c
mov eax, dword [ebp - 0x48]
pop edx
call fcn.004083e8
test eax, eax
jne 0x471910
mov ebx, 0x15
jmp 0x47191c
mov ebx, 0x10
jmp 0x47191c
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x4c50f0]
call fcn.00471784
mov eax, dword [ebp - 8]
call fcn.00471784
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00405a48
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x471977
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00404000
lea eax, [ebp - 0x10]
mov edx, dword [0x4163b4]
call fcn.00404b7c
ret

Function at 0x47f424
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc10
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x3f0], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x47f4de
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.004046e8
mov eax, dword [0x4c6018]
cmp byte [eax], 0
je 0x47f493
push esi
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, ebx
call fcn.00404a48
mov eax, dword [ebx]
call fcn.00404874
push eax
mov eax, dword [ebx]
call fcn.00404864
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebx]
call fcn.00404874
mov edx, eax
dec edx
mov eax, ebx
call fcn.00404a48
jmp 0x47f4c5
lea eax, [ebp - 0x3e9]
push eax
push 0x3e8
push 0xd
push esi
call sub.user32.dll_SendMessageA
lea edx, [ebp - 0x3f0]
lea eax, [ebp - 0x3e9]
call fcn.00408f74
mov edx, dword [ebp - 0x3f0]
mov eax, ebx
call fcn.00404854
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47f4e5
lea eax, [ebp - 0x3f0]
call fcn.00403fdc
ret
Function at 0x4826b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x48270a
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [esi + 0x2c8], ecx
mov dword [esi + 0x2cc], edx
mov eax, dword [edx + 0x4c]
mov dword [esi + 0x2bc], eax
mov eax, dword [eax + 0x44]
mov dword [esi + 0xc], eax
mov edx, dword [esi + 0x2c8]
mov eax, esi
call fcn.00482714
mov eax, dword [esi + 0x2c8]
mov edx, dword [eax + 0x30]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x68]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x482711
ret

Function at 0x488b48
Capabilities:
Capture webcam image

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff0
mov edi, edx
mov ebx, eax
mov eax, dword [ebx + 0x50]
push eax
call sub.user32.dll_IsWindow
test eax, eax
jne 0x488b7e
jmp 0x488c24
push 0xfffffffffffffff0
mov eax, dword [ebx + 0x50]
push eax
call sub.user32.dll_GetWindowLongA
mov esi, eax
mov eax, esp
push eax
push 0
push 0x419
mov eax, dword [ebx + 0x50]
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
test esi, 2
jbe 0x488bc2
mov edx, dword [ebx + 0x4c]
cmp dword [edx + 0x168], 0
je 0x488bc2
mov eax, dword [ebx + 0x4c]
mov eax, dword [eax + 0x168]
mov eax, dword [eax + 0x14]
jmp 0x488bd2
mov edx, dword [ebx + 0x4c]
mov edx, dword [edx + 0x164]
test edx, edx
je 0x488bd2
mov eax, dword [edx + 0x14]
test eax, eax
je 0x488beb
push eax
push 2
push 5
mov edx, dword [edi + 0x10]
lea ecx, [esp + 0xc]
mov eax, ebx
call fcn.00485500
jmp 0x488c24
mov dl, 1
mov eax, dword [0x423df0]
call fcn.00425dd4
mov esi, eax
mov edx, dword [edi + 0x10]
mov eax, esi
call fcn.00426844
mov eax, dword [ebx + 0x4c]
mov edx, dword [eax + 0xbc]
mov eax, dword [esi + 0x10]
call fcn.00425984
mov edx, esp
mov eax, esi
call fcn.004264d8
mov eax, esi
call fcn.004031a8
add esp, 0x10
pop edi
pop esi
pop ebx
ret

Function at 0x48b408
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
push 0
mov eax, ebx
call fcn.00456388
push eax
call sub.user32.dll_ShowWindow
mov byte [ebx + 0x279], 0
xor edx, edx
mov eax, ebx
call fcn.0044fa88
pop ebx
ret
Function at 0x4914ac
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc10
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x3f0], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x491566
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.004046e8
mov eax, dword [0x4c6018]
cmp byte [eax], 0
je 0x49151b
push esi
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, ebx
call fcn.00404a48
mov eax, dword [ebx]
call fcn.00404874
push eax
mov eax, dword [ebx]
call fcn.00404864
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebx]
call fcn.00404874
mov edx, eax
dec edx
mov eax, ebx
call fcn.00404a48
jmp 0x49154d
lea eax, [ebp - 0x3e9]
push eax
push 0x3e8
push 0xd
push esi
call sub.user32.dll_SendMessageA
lea edx, [ebp - 0x3f0]
lea eax, [ebp - 0x3e9]
call fcn.00408f74
mov edx, dword [ebp - 0x3f0]
mov eax, ebx
call fcn.00404854
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49156d
lea eax, [ebp - 0x3f0]
call fcn.00403fdc
ret

Function at 0x491574
Capabilities:
Get graphical window text

Disassembly:
push ebx
add esp, 0xfffffc14
mov ebx, edx
mov edx, esp
push edx
push 0x3e8
push 0xd
push eax
call sub.user32.dll_SendMessageA
mov edx, ebx
mov eax, esp
call fcn.00408f74
add esp, 0x3ec
pop ebx
ret

Function at 0x491734
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffff00
mov esi, edx
mov ebp, eax
mov edx, esi
mov eax, dword [ebp + 0x3c]
call dword [ebp + 0x38]
cmp dword [esi + 0xc], 0
jne 0x4917fa
push esp
call sub.user32.dll_GetKeyboardState
mov eax, esp
call fcn.00466d18
mov ebx, eax
mov dx, word [esi + 4]
mov eax, ebp
call fcn.004913f0
mov edi, eax
test edi, edi
je 0x491793
mov al, byte [0x491808]
cmp al, bl
jne 0x491793
mov edx, edi
mov eax, ebp
call fcn.00491328
mov dword [esi + 0xc], 1
mov byte [ebp + 0x31], 1
jmp 0x4917fa
cmp byte [ebp + 0x161], 2
jne 0x4917be
mov eax, dword [esi + 8]
push eax
movzx ecx, word [esi + 4]
mov eax, dword [0x4c638c]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
mov edx, 0xb006
call fcn.00450d1c
test eax, eax
jne 0x4917fa
jmp 0x4917f5
mov edx, dword [0x4c6288]
mov edx, dword [edx]
mov edx, dword [edx + 0x44]
mov eax, dword [ebp + 0x128]
cmp edx, eax
je 0x4917f5
test byte [eax + 0x2f4], 8
jne 0x4917f5
mov eax, dword [esi + 8]
push eax
movzx ecx, word [esi + 4]
mov eax, dword [0x4c6288]
mov eax, edx
mov edx, 0xb006
call fcn.00450d1c
xor eax, eax
mov dword [esi + 0xc], eax
add esp, 0x100
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x497854
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov esi, edx
lea edi, [esp]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, eax
mov eax, dword [0x4c638c]
mov eax, dword [eax]
cmp dword [eax + 0x58], 0
jne 0x4978fa
call sub.kernel32.dll_GetTickCount
sub eax, dword [ebx + 0x80]
xor edx, edx
push edx
push eax
mov eax, dword [ebx + 0x84]
cdq
cmp edx, dword [esp + 4]
jne 0x497899
cmp eax, dword [esp]
pop edx
pop eax
jae 0x4978d5
jmp 0x49789d
pop edx
pop eax
jge 0x4978d5
mov eax, dword [0x4c638c]
mov eax, dword [eax]
mov dword [eax + 0x38], 2
call sub.kernel32.dll_GetTickCount
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00492520
mov eax, dword [ebx + 0xf4]
test eax, eax
je 0x4978fa
mov ecx, dword [esp + 4]
mov edx, dword [esp]
mov ebx, dword [eax]
call dword [ebx + 0x40]
jmp 0x4978fa
cmp dword [ebx + 0x11c], 0
je 0x4978fa
xor edx, edx
mov eax, dword [ebx + 0x58]
call fcn.0043295c
push 0
push 0
push 0x10
mov eax, dword [ebx + 0x12c]
push eax
call sub.user32.dll_PostMessageA
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x4a2478
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4a25e9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0x9c], 1
mov eax, dword [ebp - 4]
test byte [eax + 0x1c], 0x10
jne 0x4a25ce
lea eax, [ebp - 0x10d]
push eax
push pe_nt_image_headers32
call sub.kernel32.dll_GetTempPathA
lea edx, [ebp - 8]
lea eax, [ebp - 0x10d]
call fcn.00408f74
mov dl, 1
mov eax, dword [0x47956c]
call fcn.004795c4
mov edx, dword [ebp - 4]
mov dword [edx + 0x94], eax
mov dl, 1
mov eax, dword [0x417788]
call fcn.00403178
mov edx, dword [ebp - 4]
mov dword [edx + 0x3c], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x98]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x94]
call fcn.00479640
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x4a25cb
mov dl, 1
mov eax, dword [0x47aa50]
call fcn.0047aab8
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x3c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x94]
mov edx, 0x4a2600
call fcn.00479c04
lea eax, [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.004042e8
xor eax, eax
push ebp
push 0x4a25c4
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
xor ecx, ecx
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x14]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x3c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.0047adb8
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.004a2608
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a25cb
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x94]
call fcn.004031a8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
call fcn.004031a8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.004031a8
ret
mov bl, byte [ebp - 0xd]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a25f0
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00404000
ret
Function at 0x4a6530
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4a655e
mov eax, ebx
call fcn.004a6fe4
cmp dword [ebx + 0x40], 0
je 0x4a6557
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x4a65cf
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x4a65c1
cmp dword [ebx + 8], 0
je 0x4a6580
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x4a6592
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4a65c1
cmp dword [ebx + 8], 0
je 0x4a6573
cmp eax, 3
je 0x4a65a5
dec eax
jne 0x4a6573
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x4a6573
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4a6573
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x4a65ed
cmp dword [ebx + 0x14], 0xcc
je 0x4a65ed
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.004a65f8
pop ebx
ret

Function at 0x4b75ec
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov bl, byte [0x4b7624]
push 0x10
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x4b7602
or bl, 1
push 0x11
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x4b7611
or bl, 4
push 0x12
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x4b7620
or bl, 2
mov eax, ebx
pop ebx
ret

Function at 0x4b8abc
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x4c6288]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4b8ae2
push 0
mov eax, dword [0x4c6288]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_ShowWindow
ret
Function at 0x4bbf84
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov edi, edx
mov esi, eax
mov byte [ebp - 1], 0
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4bc03b
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
push eax
mov eax, esi
call fcn.0040449c
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
jne 0x4bbfc6
call fcn.00403a20
jmp 0x4bc042
mov eax, ebx
call fcn.00402754
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
push ebx
push 0
mov eax, esi
call fcn.0040449c
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
jne 0x4bbfef
call fcn.00403a20
jmp 0x4bc042
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x4bc04c
mov eax, dword [ebp - 8]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
jne 0x4bc010
call fcn.00403a20
jmp 0x4bc042
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov dword [edi + 4], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc]
mov dword [edi], eax
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bc042
mov eax, dword [ebp - 8]
call fcn.00402774
ret
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4c04cc
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbe8
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x418], ecx
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040448c
xor eax, eax
push ebp
push 0x4c0628
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00403fdc
xor ebx, ebx
push 0
push 0
push 0
push 0
push 0x4c0638
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4c0600
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
je 0x4c05e9
push 0
push 0x80000000
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.0040449c
push eax
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetOpenUrlA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4c05e9
xor eax, eax
push ebp
push 0x4c05e2
push dword fs:[eax]
mov dword fs:[eax], esp
add ebx, 5
mov dword [ebp - 0x10], 0x400
lea eax, [ebp - 0x10]
push eax
push 0x400
lea eax, [ebp - 0x411]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.wininet.dll_InternetReadFile
test eax, eax
je 0x4c05cb
cmp dword [ebp - 0x10], 0
je 0x4c05cb
mov eax, dword [ebp - 0x10]
mov byte [ebp + eax - 0x411], 0
lea eax, [ebp - 0x418]
lea edx, [ebp - 0x411]
mov ecx, 0x401
call fcn.0040424c
mov edx, dword [ebp - 0x418]
mov eax, esi
call fcn.004042a4
cmp ebx, 0xc8
jle 0x4c0568
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c05e9
mov eax, dword [ebp - 0xc]
push eax
call sub.wininet.dll_InternetCloseHandle
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c0607
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetCloseHandle
ret
Function at 0x4c203c
Capabilities:
Hide graphical window

Disassembly:
call fcn.0046c580
mov eax, dword [0x4c6288]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4c2067
push 0
mov eax, dword [0x4c6288]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_ShowWindow
ret

Function at 0x4c22a4
Capabilities:
Check os version

Disassembly:
push ebx
add esp, 0xffffff6c
or ebx, 0xffffffff
mov dword [esp], 0x94
push esp
call sub.kernel32.dll_GetVersionExA
mov eax, dword [esp + 0x10]
sub eax, 2
jne 0x4c2320
cmp dword [esp + 4], 5
jne 0x4c22d4
cmp dword [esp + 8], 0
jne 0x4c22d4
xor ebx, ebx
cmp dword [esp + 4], 5
jne 0x4c22e7
cmp dword [esp + 8], 1
jne 0x4c22e7
mov ebx, 0x33
cmp dword [esp + 4], 5
jne 0x4c22fa
cmp dword [esp + 8], 2
jne 0x4c22fa
mov ebx, 0x34
cmp dword [esp + 4], 6
jne 0x4c230d
cmp dword [esp + 8], 0
jne 0x4c230d
mov ebx, 0xd
cmp dword [esp + 4], 6
jne 0x4c2320
cmp dword [esp + 8], 1
jne 0x4c2320
mov ebx, 0xd
mov eax, ebx
add esp, 0x94
pop ebx
ret

Function at 0x4c2634
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
cmp dword [0x4c905c], 0
je 0x4c2686
xor edx, edx
push ebp
push 0x4c2675
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [0x4c905c]
push eax
push 0
push 0x1f0fff
call sub.kernel32.dll_OpenProcess
push 0
push eax
call sub.kernel32.dll_TerminateProcess
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4c267f
xor eax, eax
mov dword [0x4c905c], eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x4312b0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4a4ebb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.00499086
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x431332
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00496d7a
mov eax, dword [eax]
push 0x4c2260
push eax
call fcn.00488e04
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00499311
test bl, bl
je 0x431332
push 0x4c2260
lea ecx, [esp + 0xc]
call fcn.004996a1
push 0x4c5de4
lea ecx, [esp + 0xc]
call fcn.004996a1
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x43136e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00499311
jmp 0x431439
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x4313f2
lea edx, [esp + 0x7c]
push 0x4c5de0
push edx
call fcn.00488e04
add esp, 8
test eax, eax
je 0x4313f2
lea eax, [esp + 0x7c]
push 0x4c5ddc
push eax
call fcn.00488e04
add esp, 8
test eax, eax
je 0x4313f2
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x431382
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.00499311
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x431c30
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x431c92
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc