joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6a4f20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x730e30
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebp
mov ebp, ecx
lea ecx, [esp + 0xc]
push esi
mov eax, dword [ebp]
push ecx
mov ecx, ebp
call dword [eax + 0x48]
mov edx, dword [eax]
mov dword [esp + 0x20], edx
mov ecx, dword [eax + 4]
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0x20]
mov edx, dword [eax + 8]
push ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x2c], edx
mov eax, dword [eax + 0xc]
mov dword [esp + 0x30], eax
call fcn.005e2230
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x44]
mov ecx, dword [esp + 0x20]
push eax
mov edx, dword [esi]
lea eax, [esp + 0x14]
push ecx
push eax
mov ecx, esi
call dword [edx + 0x3c]
mov eax, dword [ebp + 0x88]
test eax, eax
jne 0x6a50d8
mov edx, dword [esi]
push ebx
push edi
push 8
mov ecx, esi
call dword [edx + 0x24]
mov edi, dword [esp + 0x34]
mov ebx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
sub edi, ebx
mov ebx, dword [esp + 0x30]
push 1
mov ecx, esi
mov dword [esp + 0x50], eax
sub ebx, edx
call fcn.006f757c
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0x84]
test eax, eax
jne 0x6a5039
mov eax, dword [ebp + 0x8c]
lea ecx, [esp + 0x18]
push eax
call fcn.006f808e
lea ecx, [esp + 0x18]
mov dword [esp + 0x40], 0
push ecx
mov ecx, esi
call fcn.006f74a0
mov edx, dword [esi + 4]
push edi
push ebx
push 0
push 0
push edx
mov dword [esp + 0x5c], eax
call dword [sym.imp.GDI32.dll_Ellipse]
mov eax, dword [esp + 0x48]
mov ecx, esi
push eax
call fcn.006f74a0
mov dword [esp + 0x18], vtable.CGdiObject.0
lea ecx, [esp + 0x18]
mov dword [esp + 0x40], 1
call fcn.006f8028
mov dword [esp + 0x40], 0xffffffff
mov eax, dword [ebp + 0x90]
cmp eax, 0x63
je 0x6a50a4
mov ecx, dword [ebp + 0x94]
push ecx
push eax
lea ecx, [esp + 0x20]
call fcn.006f80d8
lea edx, [esp + 0x18]
mov ecx, esi
push edx
mov dword [esp + 0x44], 2
call fcn.006f74a0
push edi
mov ebp, eax
mov eax, dword [esi + 4]
push ebx
push 0
push 0
push eax
call dword [sym.imp.GDI32.dll_Ellipse]
push ebp
mov ecx, esi
call fcn.006f74a0
mov dword [esp + 0x18], vtable.CGdiObject.0
lea ecx, [esp + 0x18]
mov dword [esp + 0x40], 3
call fcn.006f8028
mov dword [esp + 0x40], 0xffffffff
mov ecx, dword [esp + 0x4c]
push ecx
mov ecx, esi
call fcn.006f74a0
mov edx, dword [esp + 0x10]
mov ecx, esi
push edx
call fcn.006f757c
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov eax, dword [esi]
neg ecx
push ecx
lea ecx, [esp + 0x14]
neg edx
push edx
push ecx
mov ecx, esi
call dword [eax + 0x3c]
pop edi
pop ebx
mov ecx, dword [esp + 0x30]
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x34
ret 8
Function at 0x6a5e6b
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x730fa8
push eax
mov al, byte [0x8e26e0]
mov dword fs:[0], esp
sub esp, 0x14
test al, 1
push ebp
push esi
push edi
mov esi, ecx
jne 0x6a5cfe
mov dl, al
push 0x6a5f30
or dl, 1
mov byte [0x8e26e0], dl
call fcn.005ce90d
add esp, 4
mov al, byte [0x8e26e0]
test al, 2
jne 0x6a5d1f
mov dl, al
push 0x6a5f20
or dl, 2
mov byte [0x8e26e0], dl
call fcn.005ce90d
add esp, 4
mov eax, dword [0x855b44]
mov dword [esp + 0xc], eax
mov ecx, dword [0x8e26d0]
mov eax, dword [0x8e26d8]
test ecx, ecx
mov dword [esp + 0x28], 0
jne 0x6a5db9
test eax, eax
jne 0x6a5db9
mov edx, dword [0x8e26d4]
test edx, edx
jne 0x6a5db9
mov edx, dword [0x8e26dc]
test edx, edx
jne 0x6a5db9
mov ecx, dword [esp + 0x30]
push ecx
mov ecx, esi
call fcn.006f4aee
mov edx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_GetWindowRect]
push 0x8e26d0
push edx
mov edi, eax
call ebp
mov ecx, dword [edi + 0x1c]
lea eax, [esp + 0x10]
push eax
push ecx
call ebp
mov edx, dword [0x8e26d4]
mov ecx, dword [0x8e26d0]
mov eax, dword [0x8e26d8]
mov dword [0x8e26c4], edx
mov edx, dword [0x8e26dc]
mov dword [0x8e26c0], ecx
mov dword [0x8e26cc], edx
mov edx, dword [esp + 0x14]
mov dword [0x8e26c8], eax
mov dword [0x8e26cc], edx
mov edx, dword [esp + 0x34]
push 6
test edx, edx
je 0x6a5e4b
mov edx, dword [0x8e26dc]
mov ebp, dword [0x8e26d4]
sub edx, ebp
sub eax, ecx
push edx
push eax
push 0
push 0
push 0x8e1a20
mov ecx, esi
call fcn.006f4dcf
push 0xa240
lea ecx, [esp + 0x10]
call fcn.006f67ac
lea eax, [esp + 0xc]
lea ecx, [esp + 0x34]
push eax
push 0x85e768
push ecx
call fcn.006efecb
push 0x85e764
lea edx, [esp + 0x34]
push eax
push edx
mov byte [esp + 0x34], 1
call fcn.006efe57
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 2
call fcn.006efcfb
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 1
call fcn.006efbc2
mov byte [esp + 0x28], 0
lea ecx, [esp + 0x34]
jmp 0x6a5ed4
mov eax, dword [0x8e26cc]
mov edi, dword [0x8e26c4]
mov ecx, dword [0x8e26c0]
sub eax, edi
push eax
mov eax, dword [0x8e26c8]
sub eax, ecx
mov ecx, esi
push eax
push 0
push 0
push 0x8e1a20
call fcn.006f4dcf
push 0xa240
lea ecx, [esp + 0x10]
call fcn.006f67ac
lea eax, [esp + 0xc]
lea ecx, [esp + 0x34]
push eax
push 0x85e768
push ecx
call fcn.006efecb
push 0x85e760
lea edx, [esp + 0x34]
push eax
push edx
mov byte [esp + 0x34], 3
call fcn.006efe57
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 4
call fcn.006efcfb
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 3
call fcn.006efbc2
mov byte [esp + 0x28], 0
lea ecx, [esp + 0x34]
call fcn.006efbc2
mov ecx, esi
call fcn.00682920
mov eax, dword [esp + 0xc]
mov ecx, esi
push eax
push 3
call fcn.006f4bad
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call fcn.006efbc2
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x20
ret 8
Function at 0x6ad0e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x7316d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
mov ebx, dword [esp + 0x2c]
push esi
push edi
mov edi, dword [esp + 0x30]
mov esi, ecx
push edi
lea ecx, [esp + 0x10]
mov dword [esi], 0x7eb9cc
mov dword [0x8e26e8], ebx
call fcn.006f7d29
mov eax, dword [edi + 0x1a4]
push ebx
mov dword [esi + 4], eax
mov edi, dword [edi + 0x1a0]
lea eax, [esp + 0x10]
mov ecx, esi
push eax
mov dword [esp + 0x30], 0
mov dword [esi + 8], edi
call fcn.006ad220
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call fcn.006f7d9b
mov ecx, dword [esp + 0x20]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 8

Function at 0x6ad9e0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x7317b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
push esi
mov esi, dword [esp + 0x38]
lea ecx, [esp + 0x14]
push edi
mov eax, dword [esi]
lea edx, [esp + 0x14]
xor ebx, ebx
push ecx
push edx
mov ecx, esi
mov dword [esp + 0x20], ebx
call dword [eax + 0x14c]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x10]
push eax
mov dword [esp + 0x34], ebx
call fcn.006ef937
mov eax, dword [esp + 0x10]
mov byte [esp + 0x30], 1
cmp byte [eax], 0x40
jne 0x6ada6e
mov eax, dword [eax - 8]
lea ecx, [esp + 0x1c]
dec eax
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.006eb69b
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x34], 2
call fcn.006efcfb
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], 1
call fcn.006efbc2
mov eax, dword [esp + 0x10]
mov al, byte [eax]
cmp al, 0x20
jle 0x6ada78
mov byte [esp + 0x3c], al
mov edx, dword [esi]
mov ecx, esi
call dword [edx + pe_nt_image_headers32]
mov ebp, eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x134]
mov edx, dword [esi]
mov ecx, esi
mov dword [esp + 0x24], eax
call dword [edx + 0x164]
test eax, eax
mov eax, dword [esi]
mov ecx, esi
setne byte [esp + 0x3c]
call dword [eax + 0x148]
mov edx, dword [esp + 0x38]
mov cl, byte [esp + 0x3c]
mov edi, dword [esp + 0x14]
mov dword [esp + 0x20], eax
mov byte [edx + 0x14], cl
or ecx, 0xffffffff
xor eax, eax
mov dword [edx + 8], ebx
mov dword [edx + 0xc], ebx
mov byte [edx + 0x15], bl
mov byte [edx + 0x16], bl
mov byte [edx + 0x17], 1
mov byte [edx + 0x18], bl
mov byte [edx + 0x19], bl
mov byte [edx + 0x1a], bl
mov byte [edx + 0x1b], bl
repne scasb al, byte es:[edi]
not ecx
lea esi, [edx + 0x1c]
sub edi, ecx
mov eax, ecx
mov dword [esp + 0x3c], esi
mov esi, edi
mov edi, dword [esp + 0x3c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x24]
and ecx, 3
mov byte [esp + 0x30], bl
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x20]
mov dword [edx], ebp
mov dword [edx + 4], ecx
lea ecx, [esp + 0x10]
mov dword [edx + 0x10], eax
call fcn.006efbc2
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 0xffffffff
call fcn.006efbc2
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 8
Function at 0x6adb50
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 0x6adbb2
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

Function at 0x6adbc0
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x208
push esi
push edi
push 5
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x6adc9d
lea ecx, [esp + 8]
push ecx
push str..htm
push closesocket
call fcn.006adb50
add esp, 0xc
test eax, eax
jne 0x6adc9d
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [esp + 8]
push str._shellopencommand
push edx
call edi
lea eax, [esp + 8]
lea ecx, [esp + 8]
push eax
push ecx
push closesocket
call fcn.006adb50
add esp, 0xc
test eax, eax
jne 0x6adc9d
lea edx, [esp + 8]
push 0x85b650
push edx
call fcn.005cee10
mov esi, eax
add esp, 8
test esi, esi
jne 0x6adc78
lea eax, [esp + 8]
push 0x85b64c
push eax
call fcn.005ced90
mov esi, eax
add esp, 8
test esi, esi
jne 0x6adc78
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 7]
jmp 0x6adc7b
mov byte [esi], 0
push 0x85acc4
push esi
call edi
mov edx, dword [esp + 0x214]
push edx
push esi
call edi
lea eax, [esp + 8]
push 5
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
lea ecx, [esp + 0x214]
call fcn.006efbc2
mov eax, esi
pop edi
pop esi
add esp, 0x208
ret
Function at 0x6b4710
Capabilities:
Log keystrokes via application hook

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x73209a
push eax
mov dword fs:[0], esp
mov eax, 0x8e39e0
sub esp, 0x40
test eax, eax
je 0x6b473a
mov eax, dword [0x8e39e4]
test eax, eax
jne 0x6b47a5
lea ecx, [esp + 4]
push esi
push ecx
push 0x3c
push 0xc
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
lea edx, [esp + 8]
push edx
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
push eax
mov ecx, 0x8e39e0
call fcn.006f7fd1
push 8
call fcn.006ef903
mov esi, eax
add esp, 4
mov dword [esp + 4], esi
test esi, esi
mov dword [esp + 0x4c], 0
je 0x6b4795
push 0x18
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
mov ecx, esi
call fcn.006f808e
jmp 0x6b4797
xor eax, eax
mov dword [esp + 0x4c], 0xffffffff
mov dword [0x8e39f8], eax
pop esi
call fcn.006b4670
mov eax, dword [0x8e39fc]
test eax, eax
jne 0x6b47ce
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0
push 0x6b47e0
push 2
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
mov dword [0x8e39fc], eax
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
add esp, 0x4c
ret
Function at 0x6bda00
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x8c
lea eax, [esp]
push esi
push eax
push 1
push 0
push str.Control_PanelDesktop
push reloc.WS2_32.dll_accept
mov esi, 3
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x6bda73
lea ecx, [esp + 8]
lea edx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 8]
lea eax, [esp + 0x10]
push edx
push eax
push 0
push str.WheelScrollLines
push ecx
mov dword [esp + 0x20], 0x80
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x6bda68
push 0xa
lea edx, [esp + 0x14]
push eax
push edx
call fcn.005d2e96
add esp, 0xc
mov esi, eax
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x8c
ret
Function at 0x6c8430
Capabilities:
Read .ini file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x73358c
push eax
mov dword fs:[0], esp
sub esp, 0x414
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push ebp
push esi
mov ebp, ecx
push edi
push 0
push 0
mov eax, dword [ebp + 0xb4]
push 0x184
push eax
call ebx
mov ecx, dword [ebp + 0x78]
push 0
push 0
push 0x188
push ecx
call ebx
test eax, eax
jl 0x6c85ce
mov edx, dword [0x855b44]
mov dword [esp + 0x10], edx
lea ecx, [esp + 0x10]
mov dword [esp + 0x42c], 0
push ecx
push eax
lea ecx, [ebp + 0x5c]
call fcn.007002d6
mov edx, dword [esp + 0x10]
mov eax, dword [edx - 8]
test eax, eax
je 0x6c85ba
push str.MenuData.ini
lea eax, [esp + 0x18]
push 0x8e2368
push eax
call fcn.006efe57
mov eax, dword [eax]
mov edx, dword [esp + 0x10]
push eax
lea ecx, [esp + 0x28]
push 0x400
push ecx
push 0x8c33fc
push edx
push str.MenuData
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [esp + 0x14]
call fcn.006efbc2
lea eax, [esp + 0x24]
lea ecx, [esp + 0x18]
push eax
call fcn.006efc30
mov ecx, dword [0x855b44]
mov dword [esp + 0x1c], ecx
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
mov byte [esp + 0x434], 2
call fcn.006ef937
call fcn.00668d90
mov edi, eax
mov esi, 1
add esp, 4
cmp edi, esi
jle 0x6c8598
push esi
push ecx
lea eax, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call fcn.006ef937
lea ecx, [esp + 0x1c]
push ecx
call fcn.00668460
add esp, 0xc
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x430], 3
call fcn.006efcfb
lea ecx, [esp + 0x14]
mov byte [esp + 0x42c], 2
call fcn.006efbc2
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x6c8598
mov edx, dword [ebp + 0xb4]
push eax
push 0
push 0x180
push edx
call ebx
inc esi
cmp esi, edi
jl 0x6c8535
lea ecx, [esp + 0x1c]
mov byte [esp + 0x42c], 1
call fcn.006efbc2
lea ecx, [esp + 0x18]
mov byte [esp + 0x42c], 0
call fcn.006efbc2
lea ecx, [esp + 0x10]
mov dword [esp + 0x42c], 0xffffffff
call fcn.006efbc2
mov ecx, dword [esp + 0x424]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x420
ret
Function at 0x6cf510
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x733eb8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
lea edi, [esi + 0xc]
mov dword [esp + 0x24], 0
mov ecx, edi
call fcn.006057e0
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov dword [esi + 4], eax
lea edx, [esp + 0x34]
lea eax, [esp + 0xc]
mov dword [esi + 8], ecx
push edx
push eax
mov ecx, edi
mov dword [esi], 0x7ee618
call fcn.00605800
mov ecx, dword [esp + 0x40]
mov eax, esi
mov dword [esi + 0x18], ecx
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret 0x18
Function at 0x6d53a0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x7347a0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov ebp, ecx
xor ebx, ebx
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], ebx
call fcn.006f02ef
mov eax, dword [esp + 0x30]
push ebx
push ebx
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x34], 1
call fcn.006f04a1
test eax, eax
jne 0x6d540e
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], bl
call fcn.006f03e4
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], 0xffffffff
call fcn.006efbc2
mov eax, 0x65
jmp 0x6d54be
lea ecx, [esp + 0x10]
call fcn.006f079b
mov edi, eax
cmp edi, ebx
jne 0x6d5442
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], bl
call fcn.006f03e4
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], 0xffffffff
call fcn.006efbc2
mov eax, 0x66
jmp 0x6d54be
push edi
call fcn.006ef903
mov esi, eax
add esp, 4
cmp esi, ebx
jne 0x6d5476
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], bl
call fcn.006f03e4
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], 0xffffffff
call fcn.006efbc2
mov eax, 0x64
jmp 0x6d54be
push edi
push esi
lea ecx, [esp + 0x18]
call fcn.006f05be
lea ecx, [esp + 0x10]
call fcn.006f06bc
push edi
push esi
mov ecx, ebp
call fcn.006d5190
push esi
mov edi, eax
call fcn.006ef92c
add esp, 4
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], bl
call fcn.006f03e4
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], 0xffffffff
call fcn.006efbc2
mov eax, edi
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 4

Function at 0x6f100c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov eax, ebx
push edi
mov edi, ecx
shr eax, 0x10
test ax, ax
mov dword [edi + 0x40], ebx
jne 0x6f102e
cmp dword [edi + 0x3c], 0
jne 0x6f102e
movzx eax, bx
mov dword [edi + 0x3c], eax
call fcn.00706a88
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
mov ecx, edi
push dword [esp + 0x18]
push eax
call fcn.006f105b
pop edi
pop esi
pop ebx
ret 8

Function at 0x6f10a9
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
mov ebx, ecx
xor edi, edi
call fcn.00706a88
mov esi, dword [eax + 0xc]
push 5
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x6f10da
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push esi
mov ecx, ebx
push dword [esp + 0x18]
push edi
call fcn.006f10ed
pop edi
pop esi
pop ebx
ret 8
Function at 0x6f274a
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x6f2782
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.006f0069
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.006f0041
jmp 0x6f278e
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x6f42df
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x6f4321
call fcn.00706a88
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x6f4321
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x6f4318
xor eax, eax
jmp 0x6f4329
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.006f432f
pop edi
pop esi
pop ebx
ret 4

Function at 0x70523f
Capabilities:
Create http request

Disassembly:
mov eax, 0x7209dc
call fcn.005d19e8
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 0xc]
and dword [ebp - 4], 0
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
test eax, eax
mov dword [esi], vtable.CInternetSession.0
jne 0x705277
call fcn.00706a88
mov eax, dword [eax + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
test eax, eax
mov dword [esi + 8], eax
jne 0x70529c
push eax
push dword [esi + 4]
call fcn.007060ce
jmp 0x7052a8
push esi
push eax
mov ecx, 0x8e1c00
call fcn.007052b9
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 0x18

Function at 0x7055b5
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags

Disassembly:
mov eax, 0x720a4f
call fcn.005d19e8
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.006f6d36
mov eax, dword [ebp + 0x18]
lea ebx, [esi + 0x24]
mov dword [esi + 0x1c], eax
mov eax, dword [0x855b44]
xor edi, edi
mov dword [ebx], eax
mov dword [ebp - 4], edi
push dword [ebp + 0x10]
lea ecx, [esi + 0xc]
mov byte [ebp - 4], 1
mov dword [esi], vtable.CInternetFile.0
call fcn.006efd4b
push dword [ebp + 0x14]
mov ecx, ebx
call fcn.006efd4b
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x14], eax
mov eax, dword [ebp + 0x1c]
mov dword [esi + 0x18], eax
mov dword [esi + 0x3c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x40], edi
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x18
Function at 0x706f9c
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x706fca
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x706fe8
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00706f02
jmp 0x706fe8
mov eax, dword [esi + 0x14]
test eax, eax
je 0x706fe8
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00706f02
test edi, edi
mov eax, edi
jne 0x706fd2
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x738b94
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x8e500c]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x738c2c
push reloc.OLEAUT32.dll_SysReAllocString
call sub.ADVAPI32.dll_RegOpenKeyExA
test eax, eax
jne 0x738c0c
xor eax, eax
push ebp
push 0x738c05
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x738c48
mov eax, dword [ebp - 4]
push eax
call sub.ADVAPI32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x738c0c
mov eax, dword [ebp - 4]
push eax
call sub.ADVAPI32.dll_RegCloseKey
ret
mov ax, word [0x8e500c]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x8e500c], ax
mov esp, ebp
pop ebp
ret

Function at 0x739560
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x8e6044], 0
je 0x7395c1
cmp word [0x8e6218], 0xd7b2
jne 0x739589
cmp dword [0x8e6220], 0
jbe 0x739589
mov eax, 0x8e6214
call dword [0x8e6230]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x8e504c
push 0xfffffffffffffff5
call sub.KERNEL32.dll_GetStdHandle
push eax
call sub.KERNEL32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x7395e8
push 0xfffffffffffffff5
call sub.KERNEL32.dll_GetStdHandle
push eax
call sub.KERNEL32.dll_WriteFile
pop edx
ret
cmp byte [0x8e5018], 0
jne 0x7395dd
push 0
push 0x8e506c
push 0x8e504c
push 0
call sub.USER32.dll_MessageBoxA
pop edx
ret