joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4619f4
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 0x461b9f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x461b80
mov dl, 1
mov eax, dword [0x419f38]
call fcn.00403248
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404008
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x461b6f
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.0044f754
test al, al
je 0x461b62
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, 0x461bb0
lea eax, [ebp - 0x254]
call fcn.00409710
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x461b62
xor eax, eax
push ebp
push 0x461b5b
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 0x461be8
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x461b44
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404278
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 0x461b44
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404278
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x461b62
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x461a65
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041e6b4
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 0x461ba6
lea eax, [ebp - 0x260]
call fcn.00404008
ret

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

Disassembly:
push ecx
mov eax, dword [0x4b4be0]
cmp byte [eax + 0xa5], 0
jne 0x462545
cmp dword [0x4b4bf8], 0
jne 0x462506
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x462490
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4b4bf8], eax
cmp dword [0x4b4bf4], 0
jne 0x462521
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4b4bf4], eax
cmp dword [0x4b4bfc], 0
jne 0x462545
push esp
push 0
push 0
push 0x462434
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x4b4bfc], eax
pop edx
ret
Function at 0x46263c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x462653
add esp, 0xfffffff0
call fcn.004035dc
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00424618
mov eax, dword [0x4b344c]
cmp word [eax + 2], 0
jne 0x46267b
mov eax, dword [0x4b344c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00463dbc
mov eax, dword [0x4b3560]
cmp word [eax + 2], 0
jne 0x462695
mov eax, dword [0x4b3560]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00463fb4
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x4198d4]
call fcn.00403248
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x4198d4]
call fcn.00403248
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 [0x426b84]
call fcn.0042e2a8
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x46281c
mov eax, dword [0x4b32bc]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042e678
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x464554
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4b32bc]
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.0040d58c
test eax, eax
je 0x46278a
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.004090d4
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040d5b4
test eax, eax
je 0x46279e
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.00404278
mov eax, dword [0x4b30cc]
cmp byte [eax], 0
jne 0x4627d2
mov eax, ebx
call fcn.00462944
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.00464730
mov eax, ebx
call fcn.004650f4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x462812
call fcn.00403634
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x462bc4
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4b4be0]
cmp dword [eax + 0x30], 0
je 0x462c6e
cmp dword [ebx + 0x94], 0
jne 0x462c68
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x462b54
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x462c68
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 0x462c2e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x462c68
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.0041c108
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x462c3d
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4637d0
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 0x463805
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.004040f8
jmp 0x463812
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.0040405c
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x46490c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x46494d
mov eax, esi
call fcn.0044abd4
test al, al
je 0x46494d
mov eax, dword [ebx + 0x84]
call fcn.0044a8d0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x46494d
push 0
mov eax, dword [ebx + 0x84]
call fcn.0044a8d0
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x46664c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x210], ecx
mov dword [ebp - 0x20c], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4668ac
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x4666af
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.00466114
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0040d0b8
cmp al, 1
jne 0x4666af
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.0046642c
test al, al
je 0x46683b
cmp dword [ebp - 8], 0
jge 0x4666cd
xor eax, eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
inc ebx
lea edx, [ebp - 0x210]
mov eax, dword [ebp - 4]
call fcn.00466114
mov eax, dword [ebp - 0x210]
call fcn.004042c8
cmp ebx, eax
jge 0x466717
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.00466114
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x4b3750]
and eax, 0xff
bt dword [edx], eax
jae 0x466717
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
cmp eax, dword [ebp - 8]
jg 0x46672b
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00466628
cmp ebx, dword [ebp - 8]
je 0x46682d
lea eax, [ebp - 0x108]
push eax
call sub.user32.dll_GetKeyboardState
mov edx, pe_nt_image_headers32
lea eax, [ebp - 0x208]
mov byte [eax], 0
inc eax
dec edx
jne 0x466757
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403474
and eax, 0x7f
movzx eax, word [eax*2 + 0x4b204c]
mov byte [ebp + eax - 0x208], 0x81
lea eax, [ebp - 0x208]
push eax
call sub.user32.dll_SetKeyboardState
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 1
xor eax, eax
push ebp
push 0x46681a
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403474
and eax, 0x7f
movzx eax, word [eax*2 + 0x4b204c]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.0044a8d0
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403474
and eax, 0x7f
movzx eax, word [eax*2 + 0x4b204c]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.0044a8d0
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x466821
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 0
ret
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0x230], edx
jmp 0x46688e
cmp dword [ebp - 8], 0
jge 0x466846
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.00466114
mov eax, dword [ebp - 0x218]
call fcn.004042c8
cmp eax, dword [ebp - 8]
jg 0x466880
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.00466114
mov eax, dword [ebp - 0x21c]
call fcn.004042c8
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00466628
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4668b3
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.0040402c
ret
Function at 0x4a147f
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor ebx, ebx
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x4b2eca
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4a14d7
movzx edx, word [ebp + 8]
mov dword [ebp - 8], edx
lea ecx, [ebp - 8]
push ecx
push dword [ebp + 0xc]
push 0
push 0
push 0x4b2eeb
push dword [ebp - 4]
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x4a14cd
mov bx, 0x2a04
push dword [ebp - 4]
call sub.advapi32.dll_RegCloseKey_1
jmp 0x4a14db
mov bx, 0x2a04
mov eax, ebx
pop ebx
pop ecx
pop ecx
pop ebp
ret 8
Function at 0x401a40
Capabilities:
Write file on windows

Disassembly:
mov edx, dword [esp + 8]
mov ecx, dword [ecx]
lea eax, [esp + 8]
push 0
push eax
mov eax, dword [esp + 0xc]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
ret 8

Function at 0x47c990
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.Uss1
lea edi, [esi - 0x61000]
push edi
or ebp, 0xffffffff
jmp 0x47c9b2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x47c9b9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x47c9a8
mov eax, 1
add ebx, ebx
jne 0x47c9cb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x47c9dc
jne 0x47c9ec
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x47c9ec
dec eax
add ebx, ebx
jne 0x47c9e8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x47c9c0
xor ecx, ecx
sub eax, 3
jb 0x47ca04
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x47ca76
sar eax, 1
mov ebp, eax
jmp 0x47ca0f
add ebx, ebx
jne 0x47ca0f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x47ca1c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x47ca40
inc ecx
add ebx, ebx
jne 0x47ca2c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x47ca21
jne 0x47ca3d
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x47ca21
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x47ca60
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x47ca51
jmp 0x47c9ae
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x47ca60
add edi, ecx
jmp 0x47c9ae
pop esi
mov edi, esi
mov ecx, 0x77e
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x47ca7e
cmp byte [edi], 9
jne 0x47ca7e
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x47ca83
lea edi, [esi + 0x7a000]
mov eax, dword [edi]
or eax, eax
je 0x47cafb
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x9db30]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x9dbf8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x47cab0
mov ecx, edi
jns 0x47cadf
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x9dbfc]
or eax, eax
je 0x47caf5
mov dword [ebx], eax
add ebx, 4
jmp 0x47cacd
call dword [esi + 0x9dc00]
popal
jmp 0x434eae

Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x403ac5
sub eax, 0x403a6b
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x42e030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x42e01e
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp int.00401219
Function at 0x100040e0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10041ebb
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x1005a2c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 0x234], 7
push eax
push 0x10044320
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x238], 0
mov word [ebp - 0x248], ax
call fcn.10002a50
xor eax, eax
mov dword [ebp - 4], 0
push eax
push 0x10044320
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
call fcn.10002a50
mov eax, dword [0x1005c618]
mov byte [ebp - 4], 1
test eax, eax
jne 0x100041ab
push 0x11c
call fcn.10015709
add esp, 4
mov dword [ebp - 0x24c], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x100041a0
mov ecx, eax
call fcn.10012580
jmp 0x100041a2
xor eax, eax
mov byte [ebp - 4], 1
mov dword [0x1005c618], eax
mov ecx, eax
call fcn.10005720
mov edx, eax
cmp word [edx], 0
jne 0x100041be
xor ecx, ecx
jmp 0x100041d2
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100041c3
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x230]
call fcn.10002a50
push 0xc
push str.GDVCDbus.exe
lea ecx, [ebp - 0x230]
call fcn.100025d0
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100042de
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.1002ea70
push str.7c4585
lea eax, [ebp - 0x218]
push 0x10044d20
push eax
call fcn.10002fa0
add esp, 0x18
lea ecx, [ebp - 0x248]
push 1
push 0x10044548
call fcn.10002a50
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp - 0x248]
call fcn.100024c0
push 2
push 0x1004454c
lea ecx, [ebp - 0x248]
call fcn.100025d0
cmp word [ebp - 0x218], 0
jne 0x10004288
xor ecx, ecx
jmp 0x100042a0
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10004291
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x248]
call fcn.100025d0
cmp dword [ebp - 0x234], 8
lea eax, [ebp - 0x248]
push 0
cmovae eax, dword [ebp - 0x248]
push 0x1388
push 1
push 0x10044320
push eax
call fcn.1000c640
add esp, 0x14
mov eax, dword [ebp - 0x21c]
cmp eax, 8
jb 0x100042fc
inc eax
lea ecx, [ebp - 0x230]
push eax
push dword [ebp - 0x230]
call fcn.10002ba0
xor eax, eax
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
mov eax, dword [ebp - 0x234]
mov dword [ebp - 0x220], 0
cmp eax, 8
jb 0x10004337
inc eax
lea ecx, [ebp - 0x248]
push eax
push dword [ebp - 0x248]
call fcn.10002ba0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10015a7a
mov esp, ebp
pop ebp
ret
Function at 0x100045e0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
mov byte [esi + 0x89], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0x10004624
mov eax, dword [eax]
push ecx
push eax
mov ecx, esi
call fcn.10005080
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x100057b0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10042021
mov eax, dword fs:[0]
push eax
sub esp, 0x838
mov eax, dword [0x1005a2c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0xa0], 8
lea eax, [edi + 0x8c]
mov ecx, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x844], ecx
jb 0x100057fd
mov eax, dword [eax]
mov esi, dword [ebp + 0x10]
push eax
push esi
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp eax, esi
jne 0x1000593b
xor eax, eax
mov dword [ebp - 0x814], 7
push eax
push 0x10044320
lea ecx, [ebp - 0x828]
mov dword [ebp - 0x818], 0
mov word [ebp - 0x828], ax
call fcn.10002a50
push 0x800
lea eax, [ebp - 0x810]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.1002ea70
push esi
lea eax, [ebp - 0x810]
push 0x10044f8c
push eax
call fcn.10002fa0
add esp, 0x18
lea eax, [ebp - 0x810]
mov ecx, edi
push eax
push dword [ebp - 0x844]
lea eax, [ebp - 0x840]
push ebx
push eax
call fcn.10005780
mov esi, eax
lea eax, [ebp - 0x828]
cmp eax, esi
je 0x100058de
mov eax, dword [ebp - 0x814]
cmp eax, 8
jb 0x100058b5
inc eax
lea ecx, [ebp - 0x828]
push eax
push dword [ebp - 0x828]
call fcn.10002ba0
xor eax, eax
mov dword [ebp - 0x814], 7
push esi
lea ecx, [ebp - 0x828]
mov dword [ebp - 0x818], 0
mov word [ebp - 0x828], ax
call fcn.10001b00
mov eax, dword [ebp - 0x82c]
cmp eax, 8
jb 0x100058fc
inc eax
lea ecx, [ebp - 0x840]
push eax
push dword [ebp - 0x840]
call fcn.10002ba0
cmp dword [ebp - 0x814], 8
lea eax, [ebp - 0x828]
cmovae eax, dword [ebp - 0x828]
push eax
call fcn.10033577
mov ecx, dword [ebp - 0x814]
add esp, 4
mov esi, eax
cmp ecx, 8
jb 0x10005939
inc ecx
push ecx
push dword [ebp - 0x828]
lea ecx, [ebp - 0x828]
call fcn.10002ba0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10015a7a
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10005960
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10042078
mov eax, dword fs:[0]
push eax
sub esp, 0x82c
mov eax, dword [0x1005a2c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x830], ecx
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 0x14]
push 0x800
mov dword [ebp - 0x82c], eax
lea eax, [ebp - 0x810]
push 0
push eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x838], esi
mov dword [ebp - 0x834], 0
call fcn.1002ea70
mov eax, dword [ebp - 0x830]
add esp, 0xc
add eax, 0x8c
cmp dword [eax + 0x14], 8
jb 0x100059e6
mov eax, dword [eax]
push eax
push 0x400
lea eax, [ebp - 0x810]
push eax
push edi
push dword [ebp - 0x82c]
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x10005a27
mov eax, dword [esi]
jmp 0x10005a29
mov eax, esi
xor ecx, ecx
mov word [eax], cx
cmp word [ebp - 0x810], cx
je 0x10005a4f
lea ecx, [ebp - 0x810]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10005a40
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x810]
mov ecx, esi
push eax
call fcn.10002a50
cmp dword [esi + 0x14], 8
mov dword [ebp - 4], 0
mov dword [ebp - 0x834], 1
jb 0x10005a79
mov eax, dword [esi]
jmp 0x10005a7b
mov eax, esi
mov ecx, edi
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x10005aa6
test dx, dx
je 0x10005aa2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x10005aa6
add eax, 4
add ecx, 4
test dx, dx
jne 0x10005a80
xor eax, eax
jmp 0x10005aab
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10005b27
mov ecx, dword [ebp - 0x830]
lea eax, [ebp - 0x828]
push edi
push dword [ebp - 0x82c]
push ebx
push eax
call fcn.10005780
mov edi, eax
cmp esi, edi
je 0x10005b09
mov eax, dword [esi + 0x14]
cmp eax, 8
jb 0x10005ae2
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.10002ba0
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x10005afa
mov eax, dword [esi]
jmp 0x10005afc
mov eax, esi
xor ecx, ecx
mov word [eax], cx
mov ecx, esi
push edi
call fcn.10001b00
mov ecx, dword [ebp - 0x814]
cmp ecx, 8
jb 0x10005b27
inc ecx
push ecx
push dword [ebp - 0x828]
lea ecx, [ebp - 0x828]
call fcn.10002ba0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10015a7a
mov esp, ebp
pop ebp
ret 0x10