joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10004d10
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, ecx
mov cl, 0x6c
mov ebp, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov al, 0x65
mov byte [esp + 0x21], cl
mov byte [esp + 0x26], cl
mov byte [esp + 0x27], cl
mov cl, 0x74
mov byte [esp + 0x1d], al
mov byte [esp + 0x20], al
mov byte [esp + 0xe], al
mov byte [esp + 0x11], al
mov byte [esp + 0x14], al
mov byte [esp + 0x10], cl
mov byte [esp + 0x16], cl
lea eax, [esp + 0xc]
push edi
lea ecx, [esp + 0x20]
mov dl, 0x6e
xor ebx, ebx
push eax
push ecx
mov dword [esi], 0x10003e40
mov byte [esp + 0x28], 0x6b
mov byte [esp + 0x2a], 0x72
mov byte [esp + 0x2b], dl
mov byte [esp + 0x2e], 0x33
mov byte [esp + 0x2f], 0x32
mov byte [esp + 0x30], 0x2e
mov byte [esp + 0x31], 0x64
mov byte [esp + 0x34], bl
mov byte [esp + 0x18], 0x43
mov byte [esp + 0x19], 0x72
mov byte [esp + 0x1b], 0x61
mov byte [esp + 0x1e], 0x45
mov byte [esp + 0x1f], 0x76
mov byte [esp + 0x21], dl
mov byte [esp + 0x23], 0x41
mov byte [esp + 0x24], bl
call ebp
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x10001220
mov edi, eax
call ebp
push ebx
push ebx
push ebx
push ebx
mov dword [0x1001fe90], eax
call edi
push ebx
push ebx
push ebx
push ebx
mov dword [esi + 0x24], eax
call edi
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 4], 0x3e8
mov byte [esi + 0x44], bl
mov byte [esi + 0x45], bl
lea edi, [esi + 0x30]
mov ebp, 2
mov edx, dword [esi + 4]
push edx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
push 0x20
mov dword [edi - 0x28], eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov dword [edi], eax
mov eax, dword [esi + 4]
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
push 0x20
mov dword [edi - 0x20], eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov dword [edi + 8], eax
add esp, 0x10
add edi, 4
dec ebp
jne 0x10004df4
lea eax, [esi + 0x46]
xor ecx, ecx
mov edx, eax
pop edi
mov dword [edx], ecx
mov dword [edx + 4], ecx
mov dword [edx + 8], ecx
mov dword [edx + 0xc], ecx
mov dword [edx + 0x10], ecx
mov word [eax], 0x31
mov word [esi + 0x48], 1
mov dword [esi + 0x4a], 0x1f40
mov dword [esi + 0x4e], 0x659
mov word [esi + 0x52], 0x41
mov word [esi + 0x54], bx
mov word [esi + 0x56], 2
mov word [esi + 0x58], 0x140
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
Function at 0x10004d15
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, ecx
mov cl, 0x6c
mov ebp, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov al, 0x65
mov byte [esp + 0x21], cl
mov byte [esp + 0x26], cl
mov byte [esp + 0x27], cl
mov cl, 0x74
mov byte [esp + 0x1d], al
mov byte [esp + 0x20], al
mov byte [esp + 0xe], al
mov byte [esp + 0x11], al
mov byte [esp + 0x14], al
mov byte [esp + 0x10], cl
mov byte [esp + 0x16], cl
lea eax, [esp + 0xc]
push edi
lea ecx, [esp + 0x20]
mov dl, 0x6e
xor ebx, ebx
push eax
push ecx
mov dword [esi], 0x10003e40
mov byte [esp + 0x28], 0x6b
mov byte [esp + 0x2a], 0x72
mov byte [esp + 0x2b], dl
mov byte [esp + 0x2e], 0x33
mov byte [esp + 0x2f], 0x32
mov byte [esp + 0x30], 0x2e
mov byte [esp + 0x31], 0x64
mov byte [esp + 0x34], bl
mov byte [esp + 0x18], 0x43
mov byte [esp + 0x19], 0x72
mov byte [esp + 0x1b], 0x61
mov byte [esp + 0x1e], 0x45
mov byte [esp + 0x1f], 0x76
mov byte [esp + 0x21], dl
mov byte [esp + 0x23], 0x41
mov byte [esp + 0x24], bl
call ebp
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x10001220
mov edi, eax
call ebp
push ebx
push ebx
push ebx
push ebx
mov dword [0x1001fe90], eax
call edi
push ebx
push ebx
push ebx
push ebx
mov dword [esi + 0x24], eax
call edi
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 4], 0x3e8
mov byte [esi + 0x44], bl
mov byte [esi + 0x45], bl
lea edi, [esi + 0x30]
mov ebp, 2
mov edx, dword [esi + 4]
push edx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
push 0x20
mov dword [edi - 0x28], eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov dword [edi], eax
mov eax, dword [esi + 4]
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
push 0x20
mov dword [edi - 0x20], eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov dword [edi + 8], eax
add esp, 0x10
add edi, 4
dec ebp
jne 0x10004df4
lea eax, [esi + 0x46]
xor ecx, ecx
mov edx, eax
pop edi
mov dword [edx], ecx
mov dword [edx + 4], ecx
mov dword [edx + 8], ecx
mov dword [edx + 0xc], ecx
mov dword [edx + 0x10], ecx
mov word [eax], 0x31
mov word [esi + 0x48], 1
mov dword [esi + 0x4a], 0x1f40
mov dword [esi + 0x4e], 0x659
mov word [esi + 0x52], 0x41
mov word [esi + 0x54], bx
mov word [esi + 0x56], 2
mov word [esi + 0x58], 0x140
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
Function at 0x10004ea0
Capabilities:
Link many functions at runtime
Terminate thread

Disassembly:
sub esp, 0x18
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.MSVCRT.dll_puts]
push 0x100012a0
mov dword [esi], 0x10003e40
call edi
mov eax, dword [0x1001fe90]
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
add esp, 4
push 0x10001294
push eax
call ebx
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
push 0
mov dword [esp + 0x18], eax
call ebp
push 0x100012a0
call edi
mov ecx, dword [0x1001fe90]
add esp, 4
push 0x10001288
push ecx
call ebx
push 0
mov dword [esp + 0x14], eax
call ebp
push 0x100012a0
call edi
mov edx, dword [0x1001fe90]
add esp, 4
push 0x1000127c
push edx
call ebx
push 0
mov dword [esp + 0x20], eax
call ebp
push 0x100012a0
call edi
mov eax, dword [0x1001fe90]
add esp, 4
push 0x10001264
push eax
call ebx
push 0
mov dword [esp + 0x1c], eax
call ebp
push 0x100012a0
call edi
mov ecx, dword [0x1001fe90]
add esp, 4
push 0x10001254
push ecx
call ebx
push 0
mov dword [esp + 0x24], eax
call ebp
push 0x100012a0
call edi
mov edx, dword [0x1001fe90]
add esp, 4
push 0x10001244
push edx
call ebx
push 0
mov dword [esp + 0x28], eax
call ebp
push 0x100012a0
call edi
mov eax, dword [0x1001fe90]
add esp, 4
push 0x1000122c
push eax
call ebx
push 0
mov ebx, eax
call ebp
mov al, byte [esi + 0x44]
test al, al
je 0x10004fe2
mov ecx, dword [esi + 0x18]
push ecx
call dword [esp + 0x14]
mov edx, dword [esi + 0x18]
push edx
call dword [esp + 0x18]
lea edi, [esi + 0x30]
mov ebp, 2
mov eax, dword [edi]
mov ecx, dword [esi + 0x18]
push 0x20
push eax
push ecx
call dword [esp + 0x24]
add edi, 4
dec ebp
jne 0x10004fbb
mov edx, dword [esi + 0x18]
push edx
call dword [esp + 0x20]
mov eax, dword [esi + 0x2c]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov al, byte [esi + 0x45]
test al, al
je 0x10005012
mov ecx, dword [esi + 0x40]
push ecx
call dword [esp + 0x24]
lea edi, [esi + 0x30]
mov ebp, 2
mov edx, dword [edi]
mov eax, dword [esi + 0x40]
push 0x20
push edx
push eax
call ebx
add edi, 4
dec ebp
jne 0x10004ff9
mov ecx, dword [esi + 0x40]
push ecx
call dword [esp + 0x28]
lea edi, [esi + 0x30]
mov ebx, 2
mov edx, dword [edi - 0x28]
push edx
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov eax, dword [edi]
push eax
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov ecx, dword [edi - 0x20]
push ecx
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov edx, dword [edi + 8]
push edx
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 0x10
add edi, 4
dec ebx
jne 0x1000501a
mov eax, dword [esi + 0x24]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call edi
mov ecx, dword [esi + 0x28]
push ecx
call edi
mov edx, dword [esi + 0x2c]
push edx
call edi
mov eax, dword [0x1001fe90]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
Function at 0x10005080
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x24
push esi
mov esi, ecx
push edi
mov al, byte [esi + 0x44]
test al, al
jne 0x100050a1
call fcn.10005230
test al, al
jne 0x100050a1
pop edi
xor eax, eax
pop esi
add esp, 0x24
ret 4
mov edi, dword [esp + 0x30]
test edi, edi
jne 0x100050b3
pop edi
xor eax, eax
pop esi
add esp, 0x24
ret 4
mov eax, dword [esi + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov al, 0x45
mov cl, 0x74
mov byte [esp + 9], al
mov byte [esp + 0xc], al
mov dl, 0x69
mov al, 0x6c
mov byte [esp + 0x1b], cl
mov byte [esp + 0x2a], cl
mov byte [esp + 0x1a], dl
mov byte [esp + 0x20], dl
lea ecx, [esp + 0x18]
mov byte [esp + 0x12], al
mov byte [esp + 0x13], al
mov byte [esp + 0x23], al
lea edx, [esp + 8]
mov al, 0x65
push ecx
push edx
mov byte [esp + 0x10], 0x4b
mov byte [esp + 0x12], 0x52
mov byte [esp + 0x13], 0x4e
mov byte [esp + 0x15], 0x4c
mov byte [esp + 0x16], 0x33
mov byte [esp + 0x17], 0x32
mov byte [esp + 0x18], 0x2e
mov byte [esp + 0x19], 0x64
mov byte [esp + 0x1c], 0
mov byte [esp + 0x20], 0x57
mov byte [esp + 0x21], 0x61
mov byte [esp + 0x24], 0x46
mov byte [esp + 0x25], 0x6f
mov byte [esp + 0x26], 0x72
mov byte [esp + 0x27], 0x53
mov byte [esp + 0x29], 0x6e
mov byte [esp + 0x2a], 0x67
mov byte [esp + 0x2c], al
mov byte [esp + 0x2d], 0x4f
mov byte [esp + 0x2e], 0x62
mov byte [esp + 0x2f], 0x6a
mov byte [esp + 0x30], al
mov byte [esp + 0x31], 0x63
mov byte [esp + 0x33], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [esi + 0x24]
push 0xffffffffffffffff
push ecx
call eax
mov edx, dword [esi + 4]
mov dword [edi], edx
mov eax, dword [esi + 0x1c]
pop edi
mov eax, dword [esi + eax*4 + 8]
pop esi
add esp, 0x24
ret 4
Function at 0x10005230
Capabilities:
Link many functions at runtime
Resume thread

Disassembly:
mov eax, dword [0x1001fe90]
sub esp, 0xc
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push esi
push edi
push 0x10001310
mov edi, ecx
push eax
call ebp
call eax
test eax, eax
jne 0x1000525c
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0xc
ret
mov ecx, dword [0x1001fe90]
push 0x10001304
push ecx
call ebp
push 0x100012f4
push 0x100012e4
mov esi, eax
mov dword [esp + 0x18], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call ebp
lea edx, [esp + 0x10]
push edx
push 4
push edi
push 0x10005430
push 0
push 0
call eax
mov dword [edi + 0x2c], eax
mov eax, dword [esp + 0x10]
push 0x20000
push 0
lea ecx, [edi + 0x46]
push eax
lea ebx, [edi + 0x18]
push ecx
push 0xffff
push ebx
call esi
test eax, eax
je 0x100052c6
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0xc
ret
mov edx, dword [0x1001fe90]
push 0x100012d0
push edx
call ebp
mov dword [esp + 0x18], eax
lea esi, [edi + 0x30]
mov dword [esp + 0x14], 2
mov eax, dword [esi]
mov ecx, dword [esi - 0x28]
push 0x20
mov dword [eax], ecx
mov edx, dword [esi]
mov eax, dword [edi + 4]
mov dword [edx + 4], eax
mov ecx, dword [esi]
xor eax, eax
mov dword [ecx + 0x10], eax
mov edx, dword [esi]
mov dword [edx + 0x14], eax
mov eax, dword [esi]
mov ecx, dword [ebx]
push eax
push ecx
call dword [esp + 0x24]
mov eax, dword [esp + 0x14]
add esi, 4
dec eax
mov dword [esp + 0x14], eax
jne 0x100052e3
mov edx, dword [0x1001fe90]
push 0x100012c0
push edx
call ebp
mov ecx, dword [edi + 0x1c]
push 0x20
mov edx, dword [edi + ecx*4 + 0x30]
mov ecx, dword [ebx]
push edx
push ecx
call eax
mov edx, dword [edi + 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, dword [0x1001fe90]
push 0x100012b4
push eax
call ebp
mov ecx, dword [ebx]
push ecx
call eax
mov al, 1
mov byte [edi + 0x44], al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x10005670
Capabilities:
Contain obfuscated stackstrings
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x1001e658
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push esi
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], 0x10003e44
mov al, 0x45
mov cl, 0x74
mov byte [esp + 0xd], al
mov byte [esp + 0x10], al
mov al, 0x6c
mov byte [esp + 0x1f], cl
mov byte [esp + 0x16], al
mov byte [esp + 0x17], al
mov byte [esp + 0x27], al
mov al, 0x65
mov byte [esp + 0x28], al
mov byte [esp + 0x2c], al
mov byte [esp + 0x2e], cl
lea eax, [esp + 0x1c]
lea ecx, [esp + 0xc]
xor ebx, ebx
mov dl, 0x69
push eax
push ecx
mov dword [esp + 0x40], ebx
mov byte [0x1001fe94], bl
mov byte [esp + 0x14], 0x4b
mov byte [esp + 0x16], 0x52
mov byte [esp + 0x17], 0x4e
mov byte [esp + 0x19], 0x4c
mov byte [esp + 0x1a], 0x33
mov byte [esp + 0x1b], 0x32
mov byte [esp + 0x1c], 0x2e
mov byte [esp + 0x1d], 0x64
mov byte [esp + 0x20], bl
mov byte [esp + 0x24], 0x57
mov byte [esp + 0x25], 0x61
mov byte [esp + 0x26], dl
mov byte [esp + 0x28], 0x46
mov byte [esp + 0x29], 0x6f
mov byte [esp + 0x2a], 0x72
mov byte [esp + 0x2b], 0x53
mov byte [esp + 0x2c], dl
mov byte [esp + 0x2d], 0x6e
mov byte [esp + 0x2e], 0x67
mov byte [esp + 0x31], 0x4f
mov byte [esp + 0x32], 0x62
mov byte [esp + 0x33], 0x6a
mov byte [esp + 0x35], 0x63
mov byte [esp + 0x37], bl
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [esi + 0x14]
push 0xffffffffffffffff
push edx
call eax
mov ecx, dword [esi + 0x10]
cmp ecx, ebx
je 0x10005770
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, esi
mov dword [esp + 0x38], 0xffffffff
call fcn.1000f190
mov ecx, dword [esp + 0x30]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x34
ret
Function at 0x10005d90
Capabilities:
Contain obfuscated stackstrings
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x1001e6c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1b8
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
lea ecx, [esi + 4]
call fcn.10005940
xor ebx, ebx
lea ecx, [esi + 0x2c]
mov dword [esp + 0x1d0], ebx
call fcn.10005940
lea ecx, [esi + 0x54]
mov byte [esp + 0x1d0], 1
call fcn.10005940
lea ecx, [esi + 0x7c]
mov byte [esp + 0x1d0], 2
call fcn.10005940
mov cl, 0x6c
mov al, 0x65
mov byte [esp + 0x2d], cl
mov byte [esp + 0x32], cl
mov byte [esp + 0x33], cl
mov cl, 0x74
mov byte [esp + 0x29], al
mov byte [esp + 0x2c], al
mov byte [esp + 0x1a], al
mov byte [esp + 0x1d], al
mov byte [esp + 0x20], al
mov byte [esp + 0x1c], cl
mov byte [esp + 0x22], cl
lea eax, [esp + 0x18]
lea ecx, [esp + 0x28]
mov dl, 0x6e
push eax
push ecx
mov byte [esp + 0x1d8], 3
mov dword [esi], 0x10003e58
mov byte [esp + 0x30], 0x6b
mov byte [esp + 0x32], 0x72
mov byte [esp + 0x33], dl
mov byte [esp + 0x36], 0x33
mov byte [esp + 0x37], 0x32
mov byte [esp + 0x38], 0x2e
mov byte [esp + 0x39], 0x64
mov byte [esp + 0x3c], bl
mov byte [esp + 0x20], 0x43
mov byte [esp + 0x21], 0x72
mov byte [esp + 0x23], 0x61
mov byte [esp + 0x26], 0x45
mov byte [esp + 0x27], 0x76
mov byte [esp + 0x29], dl
mov byte [esp + 0x2b], 0x41
mov byte [esp + 0x2c], bl
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea edx, [esp + 0x38]
mov edi, eax
push edx
push 0x202
call dword [fcn.10003e28]
mov ebp, dword [sym.imp.MSVCRT.dll_putchar]
push 0x30
call ebp
add esp, 4
push ebx
push ebx
push 1
push ebx
call edi
push 0x30
mov dword [esi + 0xac], eax
call ebp
add esp, 4
mov byte [esi + 0xb5], bl
mov dword [esi + 0xa8], 0xffffffff
mov byte [esp + 0x10], 0x54
mov byte [esp + 0x11], 0x79
mov byte [esp + 0x12], 0x6a
mov byte [esp + 0x13], 0x68
mov edx, dword [esp + 0x10]
lea ecx, [esi + 0xb0]
mov al, 0x75
pop edi
mov dword [ecx], edx
mov byte [ecx + 4], al
mov ecx, dword [esp + 0x1c4]
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c4
ret
Function at 0x10005f40
Capabilities:
Contain obfuscated stackstrings
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x1001e70c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
mov dword [esi], 0x10003e58
mov edi, dword [sym.imp.MSVCRT.dll_puts]
push 0x100012a0
mov dword [esp + 0x44], 3
call edi
add esp, 4
xor ebx, ebx
mov byte [esi + 0xb5], bl
push ebx
call dword [sym.imp.KERNEL32.dll_Sleep]
mov al, 0x45
mov cl, 0x74
mov byte [esp + 0x15], al
mov byte [esp + 0x18], al
mov al, 0x6c
mov byte [esp + 0x27], cl
mov byte [esp + 0x1e], al
mov byte [esp + 0x1f], al
mov byte [esp + 0x2f], al
mov al, 0x65
mov byte [esp + 0x30], al
mov byte [esp + 0x34], al
mov byte [esp + 0x36], cl
lea eax, [esp + 0x24]
lea ecx, [esp + 0x14]
mov dl, 0x69
push eax
push ecx
mov byte [esp + 0x1c], 0x4b
mov byte [esp + 0x1e], 0x52
mov byte [esp + 0x1f], 0x4e
mov byte [esp + 0x21], 0x4c
mov byte [esp + 0x22], 0x33
mov byte [esp + 0x23], 0x32
mov byte [esp + 0x24], 0x2e
mov byte [esp + 0x25], 0x64
mov byte [esp + 0x28], bl
mov byte [esp + 0x2c], 0x57
mov byte [esp + 0x2d], 0x61
mov byte [esp + 0x2e], dl
mov byte [esp + 0x30], 0x46
mov byte [esp + 0x31], 0x6f
mov byte [esp + 0x32], 0x72
mov byte [esp + 0x33], 0x53
mov byte [esp + 0x34], dl
mov byte [esp + 0x35], 0x6e
mov byte [esp + 0x36], 0x67
mov byte [esp + 0x39], 0x4f
mov byte [esp + 0x3a], 0x62
mov byte [esp + 0x3b], 0x6a
mov byte [esp + 0x3d], 0x63
mov byte [esp + 0x3f], bl
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [esi + 0xa4]
push 0xffffffffffffffff
push edx
call eax
push 0x100012a0
call edi
mov eax, dword [esi + 0xa8]
add esp, 4
cmp eax, 0xffffffff
je 0x1000606f
mov ecx, esi
call fcn.10006700
push 0x100012a0
call edi
mov eax, dword [esi + 0xa4]
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
add esp, 4
push eax
call ebp
push 0x30
call dword [sym.imp.MSVCRT.dll_putchar]
mov ecx, dword [esi + 0xac]
add esp, 4
push ecx
call ebp
push 0x100012a0
call edi
add esp, 4
call dword [fcn.10003e2c]
lea ecx, [esi + 0x7c]
mov byte [esp + 0x40], 2
call fcn.100059a0
lea ecx, [esi + 0x54]
mov byte [esp + 0x40], 1
call fcn.100059a0
lea ecx, [esi + 0x2c]
mov byte [esp + 0x40], bl
call fcn.100059a0
lea ecx, [esi + 4]
mov dword [esp + 0x40], 0xffffffff
call fcn.100059a0
mov ecx, dword [esp + 0x38]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x34
ret
Function at 0x10007eb0
Capabilities:
Get common file path
Read .ini file

Disassembly:
sub esp, 0x220
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x20]
push 0x105
mov esi, ecx
push eax
mov dword [esp + 0x18], 0
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0x10001564
lea ecx, [esp + 0x24]
push 0x5c
push ecx
call dword [sym.imp.MSVCRT.dll_strchr]
add esp, 8
inc eax
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esi + 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x20]
push edx
push eax
call esi
lea ecx, [esp + 0x20]
push 0x10001520
push ecx
call esi
push 0
lea edx, [esp + 0x12c]
push 0x23
push edx
push 0
call dword [0x10003d0c]
lea eax, [esp + 0x128]
push 0x100014f0
push eax
lea ecx, [esp + 0x130]
push 0x100014e8
push ecx
call dword [0x10003db0]
lea edx, [esp + 0x30]
lea eax, [esp + 0x138]
push 0x1000
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 0x14
mov ebx, eax
lea ebp, [esp + 0x18]
mov dword [esp + 0x14], 2
mov ecx, 0x400
xor eax, eax
mov edi, ebx
rep stosd dword es:[edi], eax
mov ecx, dword [ebp]
push ecx
push 0x1000
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesA]
mov al, byte [ebx]
mov esi, ebx
test al, al
je 0x10007fac
mov edx, dword [esp + 0x10]
push esi
inc edx
mov dword [esp + 0x14], edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esi + eax + 1]
cmp byte [esi], 0
jne 0x10007f93
mov eax, dword [esp + 0x14]
add ebp, 4
dec eax
mov dword [esp + 0x14], eax
jne 0x10007f70
push ebx
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov eax, dword [esp + 0x14]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x220
ret
Function at 0x10008ea0
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10003e80
push 0x1001e088
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 4], 0
push 0x30
call dword [sym.imp.MSVCRT.dll_putchar]
add esp, 4
mov esi, dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
call dword [sym.imp.MSVCRT.dll_malloc]
add esp, 4
mov edi, eax
mov dword [ebp - 0x24], edi
test edi, edi
je 0x10009017
push esi
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov esi, edi
mov dword [ebp - 0x1c], esi
cmp byte [edi], 0x5c
jne 0x10008f57
lea eax, [edi + 1]
cmp byte [eax], 0x5c
jne 0x10008f57
mov esi, eax
mov dword [ebp - 0x1c], esi
inc esi
mov dword [ebp - 0x1c], esi
mov al, byte [esi]
test al, al
je 0x10008f32
cmp al, 0x5c
je 0x10008f32
push esi
call dword [0x10003dac]
mov esi, eax
jmp 0x10008f1a
cmp byte [esi], 0
je 0x10008f3b
inc esi
mov dword [ebp - 0x1c], esi
mov al, byte [esi]
test al, al
je 0x10008f50
cmp al, 0x5c
je 0x10008f50
push esi
call dword [0x10003dac]
mov esi, eax
jmp 0x10008f38
cmp byte [esi], 0
je 0x10008f76
jmp 0x10008f72
lea eax, [edi + 1]
cmp byte [eax], 0x3a
jne 0x10008f76
mov esi, eax
mov dword [ebp - 0x1c], esi
inc esi
mov dword [ebp - 0x1c], esi
mov al, byte [esi]
test al, al
je 0x10008f76
cmp al, 0x5c
jne 0x10008f76
inc esi
mov dword [ebp - 0x1c], esi
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
mov al, byte [esi]
test al, al
je 0x10008fdb
cmp al, 0x5c
jne 0x10008fcd
mov byte [esi], 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 0x20], eax
cmp eax, 0xffffffff
jne 0x10008fc0
push 0
call ebx
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x10008fca
push eax
call ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x10008fca
push 0
call ebx
push edi
jmp 0x1000900e
and eax, 0x10
cmp al, 0x10
je 0x10008fca
push edi
jmp 0x1000900e
mov byte [esi], 0x5c
push esi
call dword [0x10003dac]
mov esi, eax
mov dword [ebp - 0x1c], esi
jmp 0x10008f7c
mov dword [ebp - 4], 0xffffffff
push edi
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov dword [ebp - 4], 0xffffffff
xor al, al
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4