joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4551a8
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 0x455353
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x455334
mov dl, 1
mov eax, dword [0x411fe8]
call fcn.00403550
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004042ec
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x455323
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.004420a0
test al, al
je 0x455316
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, 0x455364
lea eax, [ebp - 0x254]
call fcn.004092cc
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x455316
xor eax, eax
push ebp
push 0x45530f
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 0x45539c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4552f8
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404554
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 0x4552f8
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404554
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x455316
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x455219
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041648c
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 0x45535a
lea eax, [ebp - 0x260]
call fcn.004042ec
ret

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

Disassembly:
push ecx
mov eax, dword [0x486c30]
cmp byte [eax + 0xa5], 0
jne 0x455d41
cmp dword [0x486c48], 0
jne 0x455d02
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x455c8c
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x486c48], eax
cmp dword [0x486c44], 0
jne 0x455d1d
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x486c44], eax
cmp dword [0x486c4c], 0
jne 0x455d41
push esp
push 0
push 0
push 0x455c30
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x486c4c], eax
pop edx
ret
Function at 0x455e68
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x455e7f
add esp, 0xfffffff0
call fcn.004038e4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041bdf4
mov eax, dword [0x4858e4]
cmp word [eax + 2], 0
jne 0x455ea7
mov eax, dword [0x4858e4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045752c
mov eax, dword [0x48597c]
cmp word [eax + 2], 0
jne 0x455ec1
mov eax, dword [0x48597c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00457724
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x411a40]
call fcn.00403550
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x411a40]
call fcn.00403550
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], 0x80000018
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 [0x41e2ec]
call fcn.0042603c
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x456048
mov eax, dword [0x48580c]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042640c
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x457c94
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x48580c]
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.0040ac54
test eax, eax
je 0x455fb6
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408c14
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040ac7c
test eax, eax
je 0x455fca
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.00404554
mov eax, dword [0x4856e8]
cmp byte [eax], 0
jne 0x455ffe
mov eax, ebx
call fcn.00456170
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.00457e70
mov eax, ebx
call fcn.004587b0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45603e
call fcn.0040393c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4563e4
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x486c30]
cmp dword [eax + 0x30], 0
je 0x45648e
cmp dword [ebx + 0x94], 0
jne 0x456488
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x456374
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x456488
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 0x45644e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x456488
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.00414198
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45645d
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x456f6c
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 0x456fa1
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.004043dc
jmp 0x456fae
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404340
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45804c
Capabilities:
Hide graphical window

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

Function at 0x45b724
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x10], 0xca
jne 0x45b752
mov eax, ebx
call fcn.0045c1dc
cmp dword [ebx + 0x3c], 0
je 0x45b74b
mov dword [ebx + 0x10], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x10], 0xcb
cmp dword [ebx + 0x10], 0xcb
jne 0x45b7c3
mov edx, dword [ebx + 0x1ac]
cmp dword [edx + 0x10], 0
je 0x45b7b5
cmp dword [ebx + 8], 0
je 0x45b774
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1ac]
call dword [edx]
test eax, eax
jne 0x45b786
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x45b7b5
cmp dword [ebx + 8], 0
je 0x45b767
cmp eax, 3
je 0x45b799
dec eax
jne 0x45b767
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 0x45b767
mov edx, dword [ebx + 0x138]
add dword [eax + 8], edx
jmp 0x45b767
mov ecx, dword [ebx + 0x8c]
mov dword [ebx + 0x94], ecx
jmp 0x45b7e1
cmp dword [ebx + 0x10], 0xcc
je 0x45b7e1
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x12
mov edx, dword [ebx + 0x10]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.0045b7ec
pop ebx
ret
Function at 0x476b74
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.0040479c
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
setne al
pop ebx
ret

Function at 0x47773c
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.004773a0
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.0040479c
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x47779a
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4858fc]
mov dl, 1
mov eax, dword [0x477298]
call fcn.0040a254
call fcn.00403d4c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4777a4
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.0040479c
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x4777fc
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x485adc]
mov dl, 1
mov eax, dword [0x477298]
call fcn.0040a254
call fcn.00403d4c
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.004773d0
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 0x479d30
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x479e08
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x486cc8], 0
jne 0x479dec
lea eax, [ebp - 4]
mov edx, 0x479e20
call fcn.00404384
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.0040479c
mov esi, eax
push esi
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x479dec
mov eax, ebx
call fcn.00402710
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x479de5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
push eax
push ebx
mov eax, dword [ebp - 8]
push eax
push esi
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x479dcf
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x479e30
mov eax, dword [ebp - 0xc]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x479dcf
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov dword [0x486cc8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x479dec
mov eax, dword [ebp - 0xc]
call fcn.00402730
ret
mov ebx, dword [0x486cc8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x479e0f
lea eax, [ebp - 4]
call fcn.004042ec
ret
Function at 0x47f71c
Capabilities:
Set global application hook

Disassembly:
cmp dword [0x486cec], 0
jne 0x47f73f
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x47f690
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x486cec], eax
ret
Function at 0x4065f0
Capabilities:
Delete file
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x470376
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x56fda8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x10], 0
jmp 0x40662a
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp + 0xc]
jge 0x406659
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0x10]
movsx eax, byte [edx]
test eax, eax
je 0x406655
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x10]
movsx edx, byte [ecx]
xor edx, 0x12
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x10]
mov byte [eax], dl
jmp 0x406657
jmp 0x406659
jmp 0x406621
push 0
mov ecx, dword [ebp + 8]
push ecx
call fcn.00456677
add esp, 8
test eax, eax
jne 0x40670d
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
and eax, 0xfffffffe
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0x474cb8
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x14]
push edx
call fcn.0045659b
add esp, 0xc
cmp dword [ebp - 0x14], 0
je 0x4066c4
mov eax, dword [ebp - 0x14]
push eax
call fcn.0045645b
add esp, 4
push 0x8001
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00443914
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00410fd0
push 0x3600
push 0x48d088
lea ecx, [ebp - 0x28]
call fcn.00443447
lea ecx, [ebp - 0x28]
call fcn.00443646
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004436c2
mov dword [ebp - 0x10], 0
jmp 0x40671f
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp + 0xc]
jge 0x406732
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x10]
mov byte [ecx], 0
jmp 0x406716
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x40f800
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x470aa6
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x56fda8]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x38], ecx
lea ecx, [ebp - 0x14]
call fcn.00411350
mov dword [ebp - 4], 0
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x38]
call fcn.0043e06b
push 9
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00410840
lea ecx, [ebp - 0x2c]
call fcn.004018f0
push 0xa
lea ecx, [ebp - 0x14]
call fcn.00401090
mov dword [ebp - 0x10], eax
mov byte [ebp - 0x24], 0x66
mov byte [ebp - 0x23], 0x6d
mov byte [ebp - 0x22], 0x76
mov byte [ebp - 0x21], 0x6a
mov byte [ebp - 0x20], 0x6b
mov byte [ebp - 0x1f], 0x6c
mov byte [ebp - 0x1e], 0x69
mov byte [ebp - 0x1d], 0x67
mov byte [ebp - 0x1c], 0x7b
mov byte [ebp - 0x1b], 0
mov dword [ebp - 0x28], 0
jmp 0x40f8a3
mov edx, dword [ebp - 0x28]
add edx, 1
mov dword [ebp - 0x28], edx
cmp dword [ebp - 0x28], 9
jae 0x40f909
mov eax, dword [ebp - 0x28]
movsx ecx, byte [ebp + eax - 0x24]
xor ecx, 0x22
mov edx, dword [ebp - 0x28]
mov byte [ebp + edx - 0x24], cl
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x28]
movsx ecx, byte [eax]
mov edx, dword [ebp - 0x28]
movsx eax, byte [ebp + edx - 0x24]
cmp ecx, eax
je 0x40f907
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
call fcn.004113b0
push 1
mov ecx, dword [ebp - 0x38]
mov ecx, dword [ecx + 0x53d4]
call fcn.0041ee10
mov dword [ebp - 0x30], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004018f0
mov eax, dword [ebp - 0x30]
jmp 0x40f92c
jmp 0x40f89a
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
call fcn.004113b0
mov dword [ebp - 0x34], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004018f0
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.00455303
mov esp, ebp
pop ebp
ret

Function at 0x412a20
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x470fea
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x56fda8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 1
lea eax, [ebp - 0x14]
push eax
call fcn.00412800
add esp, 4
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
call fcn.00401d50
push eax
mov ecx, dword [ebp + 0x10]
push ecx
lea ecx, [ebp + 0xc]
call fcn.00401d50
push eax
lea ecx, [ebp + 8]
call fcn.00401d50
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x14]
call fcn.004018f0
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.004018f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.004018f0
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x412ac0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x471025
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x56fda8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.00411350
mov byte [ebp - 4], 2
lea eax, [ebp - 0x1c]
push eax
call fcn.00412800
add esp, 4
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x28], ecx
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x28]
call fcn.00401d50
push eax
push 0x104
push 0x104
lea ecx, [ebp - 0x18]
call fcn.00401090
push eax
push 0x476922
lea ecx, [ebp + 0xc]
call fcn.00401d50
push eax
lea ecx, [ebp + 8]
call fcn.00401d50
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c]
call fcn.004018f0
push 0xffffffffffffffff
lea ecx, [ebp - 0x18]
call fcn.004113b0
push 0x104
lea ecx, [ebp - 0x18]
call fcn.00401090
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x18]
call fcn.00410af0
movzx edx, al
test edx, edx
je 0x412b87
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x2c], eax
jmp 0x412b9a
push 0x10
push 0
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.004574c2
add esp, 0xc
mov dword [ebp - 0x2c], eax
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x10], edx
push 0xffffffffffffffff
lea ecx, [ebp - 0x18]
call fcn.004113b0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.004018f0
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.004018f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.004018f0
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x412d70
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4710ce
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x56fda8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x10]
call fcn.00411350
mov byte [ebp - 4], 3
lea eax, [ebp - 0x14]
push eax
call fcn.00412800
add esp, 4
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x20], ecx
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x20]
call fcn.00401d50
push eax
push 0x104
push 0x104
lea ecx, [ebp - 0x10]
call fcn.00401090
push eax
lea ecx, [ebp + 0x14]
call fcn.00401d50
push eax
lea ecx, [ebp + 0x10]
call fcn.00401d50
push eax
lea ecx, [ebp + 0xc]
call fcn.00401d50
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x14]
call fcn.004018f0
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.004113b0
lea edx, [ebp - 0x10]
push edx
mov ecx, dword [ebp + 8]
call fcn.00411370
mov eax, dword [ebp - 0x18]
or eax, 1
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
call fcn.004018f0
mov byte [ebp - 4], 1
lea ecx, [ebp + 0xc]
call fcn.004018f0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x10]
call fcn.004018f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x14]
call fcn.004018f0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x419090
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
lea eax, [esp]
push eax
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0xc]
push ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0xc]
push edx
push 0
push eax
push ecx
mov dword [esp + 0x18], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4190e4
cmp dword [esp + 4], 4
jne 0x4190e4
cmp dword [esp], 4
jne 0x4190e4
mov eax, dword [esp + 8]
cmp eax, edi
jbe 0x4190da
mov eax, edi
add esp, 0xc
ret
cmp eax, ebx
jae 0x4190e8
mov eax, ebx
add esp, 0xc
ret
mov eax, dword [esp + 0x18]
add esp, 0xc
ret
Function at 0x41e1e0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x34
mov eax, dword [0x56fda8]
xor eax, esp
mov dword [esp + 0x30], eax
push esi
push edi
lea eax, [esp + 8]
push eax
mov edi, ecx
mov byte [esp + 0x14], 0x90
call fcn.004566f7
push eax
call fcn.00455201
add esp, 8
call fcn.00455213
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, eax
sar ecx, 8
push 2
mov byte [esp + 0x15], cl
mov byte [esp + 0x16], al
call esi
lea edx, [esp + 8]
push edx
call fcn.004566f7
push eax
call fcn.00455201
add esp, 8
call fcn.00455213
mov ecx, eax
sar ecx, 8
push 2
mov byte [esp + 0x17], cl
mov byte [esp + 0x18], al
call esi
lea edx, [esp + 8]
push edx
call fcn.004566f7
push eax
call fcn.00455201
add esp, 8
call fcn.00455213
mov ecx, eax
sar ecx, 8
push 2
mov byte [esp + 0x19], cl
mov byte [esp + 0x1a], al
call esi
lea edx, [esp + 8]
push edx
call fcn.004566f7
push eax
call fcn.00455201
add esp, 8
call fcn.00455213
mov edx, dword [esp + 0x10]
mov ecx, eax
sar ecx, 8
mov byte [esp + 0x18], al
mov byte [esp + 0x17], cl
mov eax, dword [esp + 0x14]
mov cx, word [esp + 0x18]
mov dword [esp + 0x30], eax
mov al, 0x56
mov byte [esp + 0x1f], al
mov byte [esp + 0x27], al
mov dword [esp + 0x2c], edx
mov word [esp + 0x34], cx
mov byte [esp + 0x1c], 0x33
mov byte [esp + 0x1d], 0xda
mov byte [esp + 0x1e], 0xcb
mov byte [esp + 0x20], 0x6f
mov byte [esp + 0x21], 5
mov byte [esp + 0x22], 0x64
mov byte [esp + 0x23], 0x53
mov byte [esp + 0x24], 0xea
mov byte [esp + 0x25], 0x3e
mov byte [esp + 0x26], 0x9e
mov byte [esp + 0x28], 0x77
mov byte [esp + 0x29], 0x7e
mov byte [esp + 0x2a], 0x75
mov byte [esp + 0x2b], 0xef
xor eax, eax
lea esp, [esp]
xor byte [esp + eax + 0x1c], 0x76
inc eax
cmp eax, 0x10
jb 0x41e310
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x31]
push eax
call fcn.00422510
add esp, 8
test al, al
je 0x41e344
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.00455303
add esp, 0x34
ret
push 0
push 9
lea ecx, [esp + 0x34]
push ecx
push 0xa0
mov ecx, edi
call fcn.0041ded0
test al, al
je 0x41e331
push 0x14
call esi
push 1
push 1
lea edx, [esp + 0x34]
push edx
push 0xa0
mov ecx, edi
call fcn.0041ded0
test al, al
je 0x41e331
push 8
lea eax, [esp + 0x31]
push eax
push 0xa0
mov ecx, edi
call fcn.0041df90
test al, al
je 0x41e331
xor eax, eax
mov cl, byte [esp + eax + 0x2d]
cmp cl, byte [esp + eax + 0x11]
jne 0x41e331
inc eax
lea edx, [eax + 1]
cmp edx, 9
jl 0x41e393
mov ecx, dword [esp + 0x38]
pop edi
pop esi
xor ecx, esp
mov eax, 1
call fcn.00455303
add esp, 0x34
ret