joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407539
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov al, byte [ebp - 1]
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
lea ecx, [esi + 4]
mov dword [esi], 0x46d6a4
mov byte [ecx], al
mov al, byte [ebp - 1]
mov byte [ecx + 1], al
mov byte [ecx + 8], bl
call fcn.00407e0e
mov al, byte [ebp - 1]
lea ecx, [esi + 0x2c]
mov byte [ecx], al
mov al, byte [ebp - 1]
mov byte [ecx + 1], al
mov byte [ecx + 8], bl
call fcn.00407e0e
lea ecx, [esi + 0x54]
call fcn.004082d5
mov edi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea eax, [esi + 0x9c]
push eax
mov dword [esi + 0xb4], ebx
mov dword [esi + 0xb8], ebx
mov dword [esi + 0xbc], ebx
mov dword [esi + 0xc0], ebx
mov dword [esi], 0x46e934
call edi
lea eax, [esi + 0x3c]
push eax
call edi
lea eax, [esi + 0x14]
push eax
call edi
mov edi, dword [sym.imp.KERNEL32.dll_CreateEventA]
push ebx
push ebx
push 1
push ebx
call edi
push ebx
push ebx
push 1
push ebx
mov dword [esi + 0xbc], eax
call edi
mov dword [esi + 0xc0], eax
lea eax, [esi + 0xb8]
push eax
push ebx
push esi
push 0x4077c3
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0xb4], eax
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4075fa
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0xbc]
mov dword [esi], 0x46e934
test eax, eax
je 0x407615
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
lea edi, [esi + 0xb4]
push 0x1388
push dword [edi]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x407639
push 0
push dword [edi]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [edi]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push dword [esi + 0xc0]
call edi
push dword [esi + 0xbc]
call edi
mov edi, dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
lea eax, [esi + 0x9c]
push eax
call edi
lea eax, [esi + 0x3c]
push eax
call edi
lea eax, [esi + 0x14]
push eax
call edi
lea ecx, [esi + 0x54]
call fcn.004082f2
lea ecx, [esi + 0x2c]
call fcn.004078e3
mov ecx, esi
add esi, 4
neg ecx
sbb ecx, ecx
and ecx, esi
call fcn.004078e3
pop edi
pop esi
ret
Function at 0x409899
Capabilities:
Create thread

Disassembly:
push ecx
push ebx
push ebp
mov al, byte [esp + 0xb]
push esi
mov esi, ecx
push edi
xor ebx, ebx
or dword [esi + 0x20], 0xffffffff
lea edi, [esi + 0x94]
lea ecx, [esi + 0xa4]
mov dword [esi], 0x46e044
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x90], ebx
mov dword [edi], ebx
mov dword [esi + 0x98], ebx
mov dword [esi + 0x9c], ebx
mov dword [esi + 0xa0], 0x46d6f0
mov byte [ecx], al
mov al, byte [esp + 0x13]
mov byte [ecx + 8], bl
mov byte [ecx + 1], al
call fcn.0040cdd2
lea ebp, [esi + 4]
mov dword [esi], 0x46ed38
push ebp
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push ebp
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [esi + 0x1b4]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0xff
lea eax, [esi + 0xb4]
push ebx
push eax
call sub.MSVCRT.dll_memset
push 0x32
lea eax, [esi + 0x59]
push ebx
push eax
call sub.MSVCRT.dll_memset
add esp, 0x18
mov ecx, esi
call fcn.00409b15
mov ecx, esi
call fcn.00409b85
push edi
push ebx
push esi
push 0x409bf3
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
push ebp
mov dword [esi + 0x90], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x40996f
Capabilities:
Terminate thread

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
push edi
push dword [esi + 0x98]
mov dword [esi], 0x46ed38
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0x1388
push dword [esi + 0x90]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ebx, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebp, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp eax, 0x102
jne 0x4099c2
lea edi, [esi + 4]
push edi
call ebx
push 0
push dword [esi + 0x90]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push edi
call ebp
push dword [esi + 0x90]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edi, [esi + 4]
push edi
call ebx
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x4099e6
push eax
call fcn.0046c7a3
and dword [esi + 0x1c], 0
pop ecx
push edi
call ebp
mov ecx, esi
call fcn.00409bc3
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
lea eax, [esi + 0x1b4]
push eax
call ebx
push edi
call ebx
lea ecx, [esi + 0xa4]
call fcn.0040c3a6
mov dword [esi + 0xa0], 0x46d6f0
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x40d25a
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov al, byte [ebp - 1]
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov byte [esi + 4], al
mov al, byte [ebp - 1]
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov byte [esi + 0x2c], al
lea eax, [esi + 0x3c]
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
push eax
mov dword [esi], 0x46edcc
call edi
lea eax, [esi + 0x14]
push eax
call edi
lea eax, [esi + 0x54]
push eax
call edi
lea eax, [esi + 0x6c]
push eax
call edi
mov edi, dword [sym.imp.KERNEL32.dll_CreateEventA]
push ebx
push ebx
push 1
push ebx
mov dword [esi + 0x84], 3
mov dword [esi + 0x88], 2
mov byte [esi + 0x8c], bl
call edi
push ebx
push ebx
push 1
push ebx
mov dword [esi + 0x98], eax
call edi
mov dword [esi + 0x9c], eax
lea eax, [esi + 0x94]
push eax
push ebx
push esi
push 0x40d504
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x90], eax
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40d304
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
push edi
push dword [esi + 0x98]
mov dword [esi], 0x46edcc
call dword [sym.imp.KERNEL32.dll_SetEvent]
lea edi, [esi + 0x90]
push 0x1388
push dword [edi]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x40d33e
push 0
push dword [edi]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [edi]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push dword [esi + 0x9c]
call edi
push dword [esi + 0x98]
call edi
mov edi, dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
lea eax, [esi + 0x6c]
push eax
call edi
lea eax, [esi + 0x54]
push eax
call edi
lea eax, [esi + 0x14]
push eax
call edi
lea eax, [esi + 0x3c]
push eax
call edi
lea ecx, [esi + 0x2c]
call fcn.0040d6e7
lea ecx, [esi + 4]
call fcn.0040d6e7
pop edi
pop esi
ret

Function at 0x40e7e7
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
lea eax, [ebp + 8]
push edi
push eax
lea ecx, [esi + 0x18]
call fcn.00407221
lea eax, [ebp - 1]
lea ecx, [esi + 0x40]
push eax
call fcn.0040ecf2
push esi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov ebx, dword [sym.imp.KERNEL32.dll_CreateEventA]
xor edi, edi
push edi
push edi
push 1
push edi
call ebx
push edi
push edi
push 1
push edi
mov dword [esi + 0x30], eax
call ebx
mov dword [esi + 0x34], eax
lea eax, [esi + 0x3c]
push eax
push edi
push esi
push 0x40eca1
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
lea ecx, [ebp + 8]
mov dword [esi + 0x38], eax
neg ecx
sbb ecx, ecx
lea eax, [ebp + 0xc]
and ecx, eax
mov dword [ebp + 8], 0x46d6ac
call fcn.00401d5f
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 0x18
Function at 0x40e862
Capabilities:
Terminate thread

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push dword [ebx + 0x34]
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0x1388
push dword [ebx + 0x38]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x40e89b
push 0
push dword [ebx + 0x38]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [ebx + 0x38]
test eax, eax
je 0x40e8ad
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [ebx + 0x38], 0
cmp dword [ebx + 0x6c], 0
je 0x40e8ba
mov ecx, ebx
call fcn.0040ebbb
lea ebp, [ebx + 0x40]
sub esp, 0x10
mov edi, esp
sub esp, 0x10
lea esi, [ebp + 0x14]
lea eax, [esp + 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]
lea esi, [ebp + 4]
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push eax
mov ecx, ebp
movsd dword es:[edi], dword [esi]
call fcn.0046047f
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x40e8ef
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebx + 0x34]
test eax, eax
je 0x40e8fd
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
cmp dword [ebp + 0x2c], 0
je 0x40e91a
mov ecx, ebp
call fcn.00460468
jmp 0x40e90b
lea ecx, [ebx + 0x18]
mov dword [ecx], 0x46d6ac
lea eax, [ecx + 4]
neg ecx
sbb ecx, ecx
and ecx, eax
call fcn.00401d5f
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x4489d3
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
lea eax, [ebp - 8]
xor ebx, ebx
push eax
mov ecx, esi
mov byte [ebp - 8], bl
mov byte [ebp - 3], bl
mov byte [ebp - 1], bl
mov byte [ebp - 2], bl
mov dword [ebp - 0xc], ebx
call fcn.0040e325
lea eax, [ebp - 3]
mov ecx, esi
push eax
call fcn.0040e325
lea eax, [ebp - 1]
mov ecx, esi
push eax
call fcn.0040e325
lea eax, [ebp - 2]
mov ecx, esi
push eax
call fcn.0040e325
xor eax, eax
mov ecx, dword [esi + 4]
mov ah, byte [ebp - 1]
mov al, byte [ebp - 2]
movzx eax, ax
mov dword [ebp - 0x10], eax
lea eax, [eax + ecx - 4]
mov dword [ebp + 8], eax
movzx eax, byte [ebp - 8]
cmp eax, 0x1c
jg 0x448b0f
je 0x448b37
cmp eax, 0x12
jg 0x448abb
je 0x448b96
cmp eax, 4
je 0x448a9e
cmp eax, 6
jle 0x448a77
cmp eax, 0xa
jle 0x448b96
cmp eax, 0xb
je 0x448a81
jle 0x448a77
cmp eax, 0xd
jle 0x448b37
mov eax, dword [ebp + 0xc]
mov dword [eax], ebx
jmp 0x448bae
mov eax, dword [ebp + 0xc]
mov ecx, edi
mov dword [eax], 2
add eax, 4
push eax
push dword [ebp - 8]
push esi
call fcn.00448d14
jmp 0x448bae
mov eax, dword [ebp + 0xc]
mov ecx, edi
mov dword [eax], 6
add eax, 4
push eax
push dword [ebp - 8]
push esi
call fcn.0044927f
jmp 0x448bae
cmp eax, 0x13
je 0x448af2
cmp eax, 0x17
je 0x448b96
jle 0x448a77
cmp eax, 0x19
jle 0x448b37
cmp eax, 0x1b
jne 0x448a77
mov eax, dword [ebp + 0xc]
mov ecx, edi
mov dword [eax], 5
add eax, 4
push eax
push dword [ebp - 8]
push esi
call fcn.0044919e
jmp 0x448bae
mov eax, dword [ebp + 0xc]
mov ecx, edi
mov dword [eax], 4
add eax, 4
push eax
push dword [ebp - 8]
push esi
call fcn.0044908f
jmp 0x448bae
cmp eax, 0x37
jg 0x448b51
je 0x448b37
cmp eax, 0x1e
je 0x448b37
cmp eax, 0x20
jle 0x448a77
cmp eax, 0x25
jle 0x448b37
cmp eax, 0x2c
je 0x448b96
cmp eax, 0x2f
jne 0x448a77
mov eax, dword [ebp + 0xc]
mov ecx, edi
mov dword [eax], 3
add eax, 4
push eax
push dword [ebp - 8]
push esi
call fcn.00448e05
jmp 0x448bae
cmp eax, 0x38
je 0x448b96
cmp eax, 0x3d
jle 0x448a77
cmp eax, 0x3f
jle 0x448b96
cmp eax, 0x45
jle 0x448a77
cmp eax, 0x47
jle 0x448bae
cmp eax, 0x4a
jne 0x448a77
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0xc]
push ecx
mov ecx, edi
mov dword [eax], 1
add eax, 4
push eax
push esi
call fcn.00449f19
jmp 0x448bae
mov eax, dword [ebp + 0xc]
mov ecx, edi
mov dword [eax], 1
add eax, 4
push eax
push dword [ebp - 8]
push esi
call fcn.00448bc2
movzx eax, word [ebp - 0xc]
add eax, dword [ebp + 8]
pop edi
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x10]
pop esi
pop ebx
leave
ret 8
Function at 0x4591a3
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push 1
mov ecx, edi
call fcn.0040e02d
mov eax, dword [edi + 4]
xor ebx, ebx
push ebx
mov ecx, edi
mov dword [ebp + 8], eax
call fcn.0040e02d
mov esi, dword [ebp + 0xc]
mov ecx, edi
push esi
call fcn.0040e0d4
lea eax, [esi + 2]
mov ecx, edi
push eax
call fcn.0040e0d4
lea eax, [esi + 4]
mov ecx, edi
push eax
call fcn.0040e0d4
mov al, byte [esi + 6]
mov ecx, edi
push eax
call fcn.0040e02d
mov al, byte [esi + 7]
mov ecx, edi
push eax
call fcn.0040e02d
mov al, byte [esi + 8]
mov ecx, edi
push eax
call fcn.0040e02d
mov al, byte [esi + 9]
mov ecx, edi
push eax
call fcn.0040e02d
mov al, byte [esi + 0xa]
mov ecx, edi
push eax
call fcn.0040e02d
cmp dword [esi + 0xc], ebx
je 0x459226
push 1
jmp 0x459227
push ebx
mov ecx, edi
call fcn.0040e02d
lea eax, [esi + 0x10]
mov ecx, edi
push eax
call fcn.0040e0d4
mov al, byte [esi + 0x12]
mov ecx, edi
push eax
call fcn.0040e02d
mov al, byte [esi + 0x13]
mov ecx, edi
push eax
call fcn.0040e02d
mov al, byte [esi + 0x14]
mov ecx, edi
push eax
call fcn.0040e02d
mov al, byte [esi + 0x15]
mov ecx, edi
push eax
call fcn.0040e02d
mov al, byte [esi + 0x16]
mov ecx, edi
push eax
call fcn.0040e02d
mov al, byte [esi + 0x18]
mov ecx, edi
push eax
call fcn.0040e02d
push 0x55
mov ecx, edi
call fcn.0040e02d
push dword [esi + 0x1c]
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov esi, eax
cmp esi, ebx
mov ebx, dword [sym.imp.OLEAUT32.dll_VariantInit]
jne 0x45929d
xor eax, eax
jmp 0x4592a0
push esi
call ebx
shl al, 1
push eax
mov ecx, edi
call fcn.0040e02d
test esi, esi
jne 0x4592b2
xor eax, eax
jmp 0x4592b5
push esi
call ebx
push eax
push esi
mov ecx, edi
call fcn.0040e573
mov cl, byte [edi + 4]
push 4
sub cl, byte [ebp + 8]
pop ebx
inc cl
movzx eax, cl
cdq
idiv ebx
mov byte [ebp + 0xc], cl
test dl, dl
je 0x4592f0
mov al, bl
sub al, dl
je 0x4592f0
movzx ebx, al
add cl, bl
mov byte [ebp + 0xc], cl
push 0x55
mov ecx, edi
call fcn.0040e02d
dec ebx
jne 0x4592e4
mov eax, dword [ebp + 8]
push dword [ebp + 0xc]
mov ecx, edi
mov dword [edi + 4], eax
call fcn.0040e02d
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret 0xc
Function at 0x40610d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
pushal
call 0x40611c
pop dword [ebp - 0xc]
mov eax, 0x40611c
sub dword [ebp - 0xc], eax
mov dword [ebp - 0x1c], 0x15ce7ad1
add dword [ebp - 0x1c], 0x3883ca7a
mov dword [ebp - 0x18], 0x26955458
add dword [ebp - 0x18], 0xb9df7ed
mov dword [ebp - 0x14], 0x36107b73
sub dword [ebp - 0x14], 0xe9c43745
mov dword [ebp - 0x10], 0x6b8841f6
add dword [ebp - 0x10], 0x9477be0a
lea eax, [ebp - 0x1c]
push eax
mov eax, 0x3dfafda7
add eax, 0xc24572b9
add eax, dword [ebp - 0xc]
call dword [eax]
mov dword [ebp - 0x1c], 0xadf170d6
add dword [ebp - 0x1c], 0xc680f880
mov dword [ebp - 0x18], 0x39675467
sub dword [ebp - 0x18], 0xf7faf2f2
mov dword [ebp - 0x14], 0xf083821c
sub dword [ebp - 0x14], 0x8d1415b0
mov dword [ebp - 0x10], 0x38690252
add dword [ebp - 0x10], 0xc796fdae
lea ebx, [ebp - 0x1c]
push ebx
push eax
mov eax, 0x56b43c80
add eax, 0xa98c3480
add eax, dword [ebp - 0xc]
call dword [eax]
push 0x40
push 0x1000
push 0x369e3
push 0
call eax
mov ecx, 0x480a
mov edx, eax
mov edi, 0xa217d7a2
sub edi, 0xa1d6d7a2
add edi, dword [ebp - 0xc]
mov esi, 0xd156f4fd
sub esi, 0xc734ddda
xor dword [ebp - 4], 0xe46951db
mov ebx, dword [edi]
sub dword [ebp - 8], 0x26059cf4
sub ebx, esi
xor dword [ebp - 4], edx
mov dword [edx], ebx
add dword [ebp - 4], esi
add edx, 4
add edi, 4
loop 0x406233
add eax, 0x939c45c
sub eax, 0x938b161
xor ebx, ebx
add ebx, eax
add eax, 0x523ed276
sub eax, 0x523ed271
mov ecx, 0xdcede273
sub ecx, 0xdcade273
add ecx, dword [ebp - 0xc]
call ebx
leave
ret

Function at 0x4065b0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40c17c]
jne 0x4065ba
repz ret
jmp fcn.00406941
Function at 0x401590
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x104
push ebx
mov ebx, dword [esp + 0x114]
push ebx
call fcn.00401450
push eax
call fcn.00401800
lea eax, [esp + 0xc]
push 0x104
push eax
call fcn.00401e60
add esp, 0x10
test eax, eax
jne 0x4015c8
pop ebx
add esp, 0x104
ret
push ebp
push esi
push edi
mov edi, 0x4141a4
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x10]
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea eax, [esp + 0x10]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x120]
push 0x104
push edi
push 0x4141a0
push ebx
push 0x414190
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov esi, 0x4141a0
mov eax, edi
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x40165d
test cl, cl
je 0x401647
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x40165d
add eax, 2
add esi, 2
test cl, cl
jne 0x401623
xor eax, eax
xor ecx, ecx
test eax, eax
pop edi
pop esi
setne cl
pop ebp
mov eax, ecx
pop ebx
add esp, 0x104
ret
sbb eax, eax
pop edi
sbb eax, 0xffffffff
xor ecx, ecx
test eax, eax
setne cl
pop esi
pop ebp
mov eax, ecx
pop ebx
add esp, 0x104
ret
Function at 0x401680
Capabilities:
Read .ini file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x40f83b
push eax
mov eax, dword [esp + 0x10]
mov dword fs:[0], esp
sub esp, 0x404
lea ecx, [esp + 4]
push ebp
push esi
push edi
push eax
push 0x400
push ecx
push 0x4141a0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov esi, 0x4141a0
lea eax, [esp + 0x10]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x4016e9
test cl, cl
je 0x4016e5
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x4016e9
add eax, 2
add esi, 2
test cl, cl
jne 0x4016c5
xor eax, eax
jmp 0x4016ee
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4017a7
mov ebp, dword [esp + 0x424]
lea esi, [esp + 0x10]
push ebp
call fcn.00402cce
mov al, byte [esp + 0x14]
add esp, 4
test al, al
je 0x40177b
push esi
call fcn.00402cce
add esp, 4
lea ecx, [esp + 0xc]
push eax
call fcn.0040acb8
push ebp
lea ecx, [esp + 0x10]
mov dword [esp + 0x41c], 0
call fcn.0040a658
cmp eax, 0xffffffff
je 0x401752
push 0x4141c0
lea ecx, [esp + 0x10]
call fcn.0040a658
cmp eax, 0xffffffff
jne 0x4017bf
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x418], 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea esi, [esi + ecx + 1]
lea ecx, [esp + 0xc]
call fcn.0040ac8e
cmp byte [esi], 0
jne 0x401712
mov edi, 0x4141b0
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, dword [esp + 0x428]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, 1
mov ecx, dword [esp + 0x410]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x410
ret
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x418], 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, dword [esp + 0x428]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0xc]
call fcn.0040ac8e
jmp 0x4017a2
Function at 0x401800
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x104
push ebp
mov ebp, dword [esp + 0x110]
cmp byte [ebp], 0
jne 0x4018e6
lea eax, [esp + 4]
push 0x104
push eax
call fcn.00401e60
add esp, 8
test eax, eax
jne 0x401836
pop ebp
add esp, 0x104
ret
push ebx
push esi
push edi
mov edi, 0x4141a4
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x10]
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x10]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x11c]
push 0x104
push ebp
push 0x4141a0
push ecx
push 0x4141c8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov esi, 0x4141a0
mov eax, ebp
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x4018b9
test cl, cl
je 0x4018b5
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x4018b9
add eax, 2
add esi, 2
test cl, cl
jne 0x401891
xor eax, eax
jmp 0x4018be
sbb eax, eax
sbb eax, 0xffffffff
pop edi
pop esi
test eax, eax
pop ebx
jne 0x4018cd
pop ebp
add esp, 0x104
ret
mov cl, byte [ebp]
mov eax, ebp
test cl, cl
je 0x4018e6
cmp byte [eax], 0x2c
jne 0x4018de
mov byte [eax], 0
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x4018d6
mov eax, 1
pop ebp
add esp, 0x104
ret
Function at 0x401900
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x110
push esi
mov esi, dword [esp + 0x118]
push edi
mov ecx, esi
call fcn.00401f80
test eax, eax
je 0x401925
lea edx, [esp + 8]
mov edi, 0x414204
jmp 0x40197b
mov ecx, esi
call fcn.00401f70
test eax, eax
jne 0x401972
mov ecx, esi
call fcn.00401f40
test eax, eax
je 0x401946
lea edx, [esp + 8]
mov edi, 0x4141fc
jmp 0x40197b
mov ecx, esi
call fcn.00401f50
test eax, eax
je 0x40195c
lea edx, [esp + 8]
mov edi, 0x4141f4
jmp 0x40197b
mov ecx, esi
call fcn.00401f60
test eax, eax
je 0x401972
lea edx, [esp + 8]
mov edi, 0x4141ec
jmp 0x40197b
lea edx, [esp + 8]
mov edi, 0x4141e4
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x104
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
push ecx
call fcn.00401e60
add esp, 8
test eax, eax
jne 0x4019b7
pop edi
pop esi
add esp, 0x110
ret
mov edi, 0x4141a4
or ecx, 0xffffffff
xor eax, eax
push ebx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x18]
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x18]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x128]
push 0x104
push edi
lea ecx, [esp + 0x18]
push 0x4141a0
push ecx
push 0x4141d8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov esi, 0x4141a0
mov eax, edi
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x401a4d
test cl, cl
je 0x401a38
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x401a4d
add eax, 2
add esi, 2
test cl, cl
jne 0x401a14
xor eax, eax
xor ecx, ecx
test eax, eax
setne cl
pop ebx
pop edi
mov eax, ecx
pop esi
add esp, 0x110
ret
sbb eax, eax
pop ebx
sbb eax, 0xffffffff
xor ecx, ecx
test eax, eax
setne cl
pop edi
mov eax, ecx
pop esi
add esp, 0x110
ret