joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45f9b0
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45fb5b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x45fb3c
mov dl, 1
mov eax, dword [0x416d48]
call fcn.00403acc
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004048d0
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x45fb2b
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.0044d914
test al, al
je 0x45fb1e
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x45fb6c
lea eax, [ebp - 0x254]
call fcn.00409fc8
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x45fb1e
xor eax, eax
push ebp
push 0x45fb17
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x45fba4
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x45fb00
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404b40
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x45fb00
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404b40
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45fb1e
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x45fa21
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041af20
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45fb62
lea eax, [ebp - 0x260]
call fcn.004048d0
ret

Function at 0x460490
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x498bec]
cmp byte [eax + 0xa5], 0
jne 0x460501
cmp dword [0x498c04], 0
jne 0x4604c2
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x46044c
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x498c04], eax
cmp dword [0x498c00], 0
jne 0x4604dd
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x498c00], eax
cmp dword [0x498c08], 0
jne 0x460501
push esp
push 0
push 0
push 0x4603f0
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x498c08], eax
pop edx
ret
Function at 0x4605f8
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x46060f
add esp, 0xfffffff0
call fcn.00403e20
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041f238
mov eax, dword [0x49731c]
cmp word [eax + 2], 0
jne 0x460637
mov eax, dword [0x49731c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00461c8c
mov eax, dword [0x49743c]
cmp word [eax + 2], 0
jne 0x460651
mov eax, dword [0x49743c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00461e84
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x416874]
call fcn.00403acc
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x416874]
call fcn.00403acc
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x42184c]
call fcn.004294b0
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x4607d8
mov eax, dword [0x4971c0]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00429880
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x462424
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4971c0]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040d88c
test eax, eax
je 0x460746
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.004099bc
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040d8b4
test eax, eax
je 0x46075a
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404b40
mov eax, dword [0x496fd0]
cmp byte [eax], 0
jne 0x46078e
mov eax, ebx
call fcn.00460900
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.00462600
mov eax, ebx
call fcn.00462fc4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4607ce
call fcn.00403e78
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x460b80
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x498bec]
cmp dword [eax + 0x30], 0
je 0x460c2a
cmp dword [ebx + 0x94], 0
jne 0x460c24
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x460b10
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x460c24
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 0x460bea
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x460c24
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.00418d14
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x460bf9
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x46178c
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 0x4617c1
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.004049c0
jmp 0x4617ce
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404924
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x4627dc
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x46281d
mov eax, esi
call fcn.00448efc
test al, al
je 0x46281d
mov eax, dword [ebx + 0x84]
call fcn.00448bf8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x46281d
push 0
mov eax, dword [ebx + 0x84]
call fcn.00448bf8
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x46386c
Capabilities:
Encrypt data using blowfish

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov esi, edx
xor ebx, ebx
mov edx, 0x494ed4
mov ecx, esi
mov edi, ebx
and edi, 0x80000003
jns 0x46388c
dec edi
or edi, 0xfffffffc
inc edi
mov edi, dword [eax + edi*4]
xor edi, dword [edx]
mov dword [ecx], edi
inc ebx
add ecx, 4
add edx, 4
cmp ebx, 0x12
jne 0x46387d
mov ebx, 0x400
mov eax, 0x494f1c
lea edx, [esi + 0x48]
mov ecx, dword [eax]
mov dword [edx], ecx
add edx, 4
add eax, 4
dec ebx
jne 0x4638ac
xor eax, eax
mov dword [esp], eax
xor eax, eax
mov dword [esp + 4], eax
xor ebx, ebx
mov edx, esp
mov eax, esi
call fcn.00463910
mov eax, dword [esp]
mov dword [esi + ebx*4], eax
inc ebx
mov eax, dword [esp + 4]
mov dword [esi + ebx*4], eax
inc ebx
cmp ebx, 0x12
jl 0x4638c6
xor ebx, ebx
mov edx, esp
mov eax, esi
call fcn.00463910
mov eax, dword [esp]
mov dword [esi + ebx*4 + 0x48], eax
inc ebx
mov eax, dword [esp + 4]
mov dword [esi + ebx*4 + 0x48], eax
inc ebx
cmp ebx, 0x400
jl 0x4638e5
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x463910
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov dword [esp + 4], edx
mov dword [esp], eax
mov eax, dword [esp + 4]
mov eax, dword [eax]
mov edi, dword [esp + 4]
mov edi, dword [edi + 4]
mov ebp, 0x10
mov ebx, dword [esp]
mov esi, dword [ebx]
xor esi, eax
mov eax, dword [esp]
add eax, 0x48
push eax
push esi
call fcn.00463810
xor eax, edi
mov edi, esi
add ebx, 4
dec ebp
jne 0x463933
mov edi, dword [esp]
mov edi, dword [edi + 0x40]
xor edi, eax
mov eax, dword [esp]
mov eax, dword [eax + 0x44]
xor eax, esi
mov edx, dword [esp + 4]
mov dword [edx], eax
mov eax, dword [esp + 4]
mov dword [eax + 4], edi
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x463974
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov dword [esp + 4], edx
mov dword [esp], eax
mov eax, dword [esp + 4]
mov eax, dword [eax]
mov edi, dword [esp + 4]
mov edi, dword [edi + 4]
mov ebp, 0xfffffff0
mov ebx, dword [esp]
add ebx, 0x44
mov esi, dword [ebx]
xor esi, eax
mov eax, dword [esp]
add eax, 0x48
push eax
push esi
call fcn.00463810
xor eax, edi
mov edi, esi
sub ebx, 4
inc ebp
jne 0x46399a
mov edi, dword [esp]
mov edi, dword [edi + 4]
xor edi, eax
mov eax, dword [esp]
mov eax, dword [eax]
xor eax, esi
mov edx, dword [esp + 4]
mov dword [edx], eax
mov eax, dword [esp + 4]
mov dword [eax + 4], edi
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x463bbc
Capabilities:
Hash data with md5

Disassembly:
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret

Function at 0x4647d0
Capabilities:
Encode data using xor

Disassembly:
push ebx
add esp, 0xfffffff0
mov ebx, eax
xor ecx, ecx
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
cmp ecx, 4
jge 0x464824
mov eax, dword [ebx + ecx*4]
xor edx, edx
xor edx, edx
xor eax, dword [esp + 8]
xor edx, dword [esp + 0xc]
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
inc ecx
mov eax, dword [ebx + ecx*4]
xor edx, edx
mov edx, eax
xor eax, eax
xor eax, dword [esp + 8]
xor edx, dword [esp + 0xc]
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
inc ecx
cmp ecx, 4
jl 0x4647ed
mov eax, dword [esp + 8]
mov dword [esp], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 4], eax
mov eax, dword [esp]
mov edx, dword [esp + 4]
add esp, 0x10
pop ebx
ret
Function at 0x475eb8
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x475ee6
mov eax, ebx
call fcn.0047696c
cmp dword [ebx + 0x40], 0
je 0x475edf
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x475f57
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x475f49
cmp dword [ebx + 8], 0
je 0x475f08
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 0x475f1a
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x475f49
cmp dword [ebx + 8], 0
je 0x475efb
cmp eax, 3
je 0x475f2d
dec eax
jne 0x475efb
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 0x475efb
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x475efb
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x475f75
cmp dword [ebx + 0x14], 0xcc
je 0x475f75
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.00475f80
pop ebx
ret

Function at 0x487520
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 [0x415dfc]
call fcn.00405290
xor eax, eax
push ebp
push 0x487664
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x496e90], 0
jne 0x487573
mov ecx, dword [0x496ff4]
mov dl, 1
mov eax, dword [0x407c1c]
call fcn.0040cabc
call fcn.00404288
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00403240
mov eax, ebx
call fcn.00405160
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x487674
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.00406234
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00405170
test eax, eax
jle 0x48760b
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 0x487604
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404b58
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404b40
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00408a64
test eax, eax
jne 0x487604
mov ebx, 0x15
jmp 0x487610
mov ebx, 0x10
jmp 0x487610
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 [0x496e90]
call fcn.00487478
mov eax, dword [ebp - 8]
call fcn.00487478
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.0040624c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48766b
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.004048f4
lea eax, [ebp - 0x10]
mov edx, dword [0x415dfc]
call fcn.00405360
ret
Function at 0xcf4cbc
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd8
pushfd
push edx
add esp, 4
popfd
call fcn.00cf50ef
pushfd
inc eax
dec eax
popfd
lea eax, [ebp - 0xd8]
xchg ebx, eax
xchg ebx, eax
pushfd
xor eax, 0xacad949f
xor eax, 0xacad949f
popfd
mov ebx, 0x61
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
nop
mov ecx, 0x64b7611d
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
nop
nop
mov eax, section..rsrc
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x67496e68
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x430084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
call 0x43300c
nop
nop
nop
nop
pop eax
nop
add eax, reloc.ntdsapi.dll_DsBindWithCredA
nop
sub eax, 0x40a009
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x433030
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x100010be
Capabilities:
Get graphical window text

Disassembly:
jmp 0x10007a30
call fcn.10021a20
test eax, eax
je 0x10007a4f
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
push eax
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowTextW]
ret
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x18]
xor ebp, ebp
test edi, edi
je 0x10007ad0
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x10007ad0
lea ecx, [esi + esi]
xor eax, eax
mov edx, ecx
push esi
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
call fcn.100232b5
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x10007ad0
mov ecx, esi
xor eax, eax
mov edx, ecx
mov edi, ebx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
push esi
and ecx, 3
push ebx
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ebp, eax
test ebp, ebp
je 0x10007ad0
push esi
mov esi, dword [esp + 0x1c]
push esi
push 0xffffffffffffffff
push ebx
xor ebp, ebp
call fcn.10001109
add esp, 0x10
test eax, eax
je 0x10007ad0
push esi
call fcn.10022c3f
add esp, 4
mov ebp, eax
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
ret
Function at 0x100011a4
Capabilities:
Read .ini file

Disassembly:
jmp 0x1000bc90
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x100a8c2b
push eax
mov eax, dword [0x100db364]
mov dword fs:[0], esp
sub esp, 0xe14
push ebx
xor ebx, ebx
cmp eax, ebx
push edi
jne 0x1000bec9
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 0x15]
mov byte [esp + 0x14], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x1ff
xor eax, eax
lea edi, [esp + 0x61e]
mov word [esp + 0x61c], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x416]
mov word [esp + 0x414], bx
rep stosd dword es:[edi], eax
push str.OAgent.ini
mov dword [0x100db364], 1
mov dword [esp + 0xc], ebx
stosw word es:[edi], ax
call fcn.10001131
push eax
lea eax, [esp + 0x41c]
push 0x100c2690
push eax
call fcn.100236f9
add esp, 0x10
lea ecx, [esp + 0x414]
lea edx, [esp + 0x61c]
push ecx
push 0x400
push edx
push 0x100db35c
push 0x100ad0ec
push str.AgentConfig
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp eax, ebx
jbe 0x1000bd8a
cmp word [esp + 0xe1a], bx
jne 0x1000bd8a
lea eax, [esp + 0x14]
push 0x400
lea ecx, [esp + 0x620]
push eax
push ecx
call fcn.1004adb0
add esp, 0xc
mov dword [esp + 8], eax
jmp 0x1000bd8e
mov eax, dword [esp + 8]
cmp eax, ebx
jne 0x1000be93
lea ecx, [esp + 0xc]
call fcn.1001ec80
push 0x20019
push str.SOFTWAREClassesCLSIDAFFAEF68_CDC5_4aad_9D3F_997C0D55927BProgID
push 0x80000002
lea ecx, [esp + 0x18]
mov dword [esp + 0xe30], ebx
call fcn.1001edf0
test eax, eax
je 0x1000be0a
lea edx, [esp + 8]
lea ecx, [esp + 0xc]
push edx
push 0x100ad180
call fcn.1001f210
cmp eax, ebx
je 0x1000be0a
mov ecx, dword [esp + 8]
cmp ecx, 0x400
jae 0x1000bdfd
mov edx, ecx
push esi
mov esi, eax
lea edi, [esp + 0x18]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1000be01
mov dword [esp + 8], ebx
push eax
call fcn.100232c3
add esp, 4
lea ecx, [esp + 0xc]
call fcn.1001ee40
lea ecx, [esp + 0xc]
mov dword [esp + 0xe24], 0xffffffff
call fcn.1001ed70
mov eax, dword [esp + 8]
cmp eax, ebx
jne 0x1000be93
mov ecx, 0x200
xor eax, eax
lea edi, [esp + 0x61c]
push 0x400
rep stosd dword es:[edi], eax
lea eax, [esp + 0x620]
push eax
push 0x100db35c
push 0x100ad180
push str.ED30_8AC4_11D5_8930_A730
call dword [sym.imp.KERNEL32.dll_GetProfileStringW]
test eax, eax
jbe 0x1000be8b
cmp word [esp + 0xe1a], bx
jne 0x1000be8b
lea ecx, [esp + 0x14]
push 0x400
lea edx, [esp + 0x620]
push ecx
push edx
call fcn.1004adb0
add esp, 0xc
jmp 0x1000be8f
mov eax, dword [esp + 8]
cmp eax, ebx
je 0x1000bec9
cmp eax, 4
jbe 0x1000bec9
lea ecx, [esp + 0x14]
test ecx, ecx
je 0x1000bec9
cmp dword [esp + 0x14], 1
je 0x1000bec9
mov edx, dword [esp + 0x30]
and edx, 0xffff
lea ecx, [edx + edx + 0x22]
cmp ecx, ebx
je 0x1000bec9
add eax, 0xfffffffc
cmp ecx, eax
ja 0x1000bec9
mov eax, dword [esp + 0x1c]
mov dword [0x100db360], eax
mov ecx, dword [esp + 0xe1c]
pop edi
pop ebx
mov dword fs:[0], ecx
add esp, 0xe20
ret
Function at 0x1000aa80
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a8980
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
lea eax, [ebp - 0x14]
mov dword [ebp - 0x10], esp
lea ecx, [ebp - 0x18]
push eax
xor ebx, ebx
push ecx
push esi
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
call fcn.1003ad90
add esp, 0xc
test eax, eax
jne 0x1000aad2
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push ebx
push 0x80
push 3
push ebx
push 1
push 0x80000000
push esi
mov dword [ebp + 8], ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
mov dword [ebp - 0x1c], esi
jne 0x1000ab20
lea edx, [ebp - 0x20]
push 0x100bb910
push edx
mov dword [ebp - 0x20], 1
call fcn.100239f6
mov dword [ebp + 8], 0
mov eax, 0x1000ab1b
ret
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
cmp eax, ebx
mov edi, 0x100000
jne 0x1000ab44
mov eax, dword [ebp - 0x18]
cmp eax, edi
ja 0x1000ab44
cmp eax, ebx
mov edi, eax
je 0x1000ac58
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x24], ebx
call fcn.1001e850
push 0xffffffffffffffff
push edi
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], 2
call fcn.1001e870
mov ecx, dword [ebp - 0x38]
lea eax, [ebp - 0x24]
push ebx
push eax
push edi
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1000ac49
mov edx, dword [ebp - 0x34]
push ebx
push edx
lea ecx, [ebp - 0x38]
call fcn.1001ea70
xor edi, edi
mov al, byte [ebp + edi - 0x14]
mov edx, dword [ebp - 0x34]
mov byte [ebp - 0x28], al
mov ecx, dword [ebp - 0x28]
push ecx
push edx
lea ecx, [ebp - 0x38]
call fcn.1001ea70
inc edi
cmp edi, 4
jb 0x1000ab89
xor edi, edi
mov al, byte [ebp + edi - 0x18]
mov edx, dword [ebp - 0x34]
mov byte [ebp - 0x28], al
mov ecx, dword [ebp - 0x28]
push ecx
push edx
lea ecx, [ebp - 0x38]
call fcn.1001ea70
inc edi
cmp edi, 4
jb 0x1000aba8
lea ecx, [ebp - 0x48]
call fcn.1001e850
lea eax, [ebp - 0x48]
lea ecx, [ebp - 0x38]
push eax
push ecx
mov byte [ebp - 4], 3
call fcn.100418e0
mov ebx, dword [ebp - 0x44]
mov eax, dword [ebp + 0x10]
add esp, 8
lea edx, [ebx + ebx]
cmp edx, eax
jge 0x1000ac3d
mov edi, dword [ebp + 0xc]
xor esi, esi
test ebx, ebx
jle 0x1000ac16
mov ecx, dword [ebp - 0x48]
xor eax, eax
mov al, byte [ecx + esi]
push eax
push str._02X
push edi
call fcn.100236f9
add esp, 0xc
add edi, 4
inc esi
cmp esi, ebx
jl 0x1000abf7
lea ecx, [ebp - 0x48]
mov dword [ebp + 8], 1
mov byte [ebp - 4], 2
call fcn.1001e860
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], 0xffffffff
call fcn.1001e860
mov esi, dword [ebp - 0x1c]
jmp 0x1000ac58
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 2
call fcn.1001e860
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], 0xffffffff
call fcn.1001e860
cmp esi, 0xffffffff
je 0x1000ac64
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret