joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c03e0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe00
push ebx
push esi
push edi
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea eax, [ebp - 0x200]
push eax
push 0x1001
mov edx, dword [ebx + 4]
push edx
call sub.KERNEL32.DLL_GetLocaleInfoA
push str._._n
lea ecx, [ebp - 0x200]
push ecx
call fcn.004ba4a8
add esp, 8
lea eax, [ebp - 0x200]
push eax
call fcn.004ba538
pop ecx
mov edx, pe_nt_image_headers32
sub edx, eax
push edx
lea ecx, [ebp - 0x200]
push ecx
call fcn.004ba538
pop ecx
lea edx, [ebp - 0x200]
add eax, edx
push eax
push 0x1002
mov eax, dword [ebx + 4]
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA
push 0x4ebbd9
lea ecx, [ebp - 0x200]
push ecx
call fcn.004ba4a8
add esp, 8
push 0xa
lea eax, [ebp - 0x200]
push eax
call fcn.004ba538
pop ecx
lea edx, [ebp - 0x200]
add eax, edx
push eax
mov ecx, dword [ebx]
push ecx
call fcn.004c1880
add esp, 0xc
cmp dword [ebx + 0x24], 0
jne 0x4c04f1
push esi
call fcn.004ba538
pop ecx
mov edi, eax
lea eax, [ebp - 0x200]
push eax
call fcn.004ba538
pop ecx
add edi, eax
add edi, 3
push edi
call fcn.004b9948
pop ecx
mov edi, eax
mov dword [ebx + 0x24], edi
test edi, edi
jne 0x4c04c8
xor eax, eax
jmp 0x4c0578
push esi
call fcn.004ba538
pop ecx
push eax
lea edx, [ebp - 0x200]
push edx
call fcn.004ba538
pop ecx
pop ecx
add ecx, eax
add ecx, 3
push ecx
push 0
push edi
call fcn.004ba400
add esp, 0xc
jmp 0x4c0531
mov edi, dword [ebx + 0x24]
push edi
call fcn.004ba538
pop ecx
push eax
push esi
call fcn.004ba538
pop ecx
pop edx
add edx, eax
push edx
lea eax, [ebp - 0x200]
push eax
call fcn.004ba538
pop ecx
pop ecx
add ecx, eax
add ecx, 3
push ecx
push edi
call fcn.004b9968
add esp, 8
mov dword [ebx + 0x24], eax
cmp dword [ebx + 0x24], 0
jne 0x4c0531
xor eax, eax
jmp 0x4c0578
push esi
mov edx, dword [ebx + 0x24]
push edx
call fcn.004ba4a8
add esp, 8
push 0x4ebbdb
mov ecx, dword [ebx + 0x24]
push ecx
call fcn.004ba4a8
add esp, 8
lea eax, [ebp - 0x200]
push eax
mov edx, dword [ebx + 0x24]
push edx
call fcn.004ba4a8
add esp, 8
push 0x4ebbdd
mov ecx, dword [ebx + 0x24]
push ecx
call fcn.004ba4a8
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4c39e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.DLL_CreateFileA
mov ebx, eax
test eax, eax
jne 0x4c3a0d
jmp 0x4c3a44
call fcn.004c3990
mov esi, eax
lea eax, [ebp - 4]
push 0
push eax
push esi
call fcn.004ba538
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push edi
call fcn.004ba538
pop ecx
push eax
push edi
push ebx
call sub.KERNEL32.DLL_WriteFile
push ebx
call sub.KERNEL32.DLL_CloseHandle
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4c3ac8
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff7c
cmp dword [0x4ec20c], 0
push ebx
push esi
mov esi, dword [ebp + 8]
jne 0x4c3ba2
cmp dword [0x4ec208], 0
jne 0x4c3ba2
cmp dword [0x4ec408], 0
je 0x4c3b5c
push 0x80
lea eax, [ebp - 0x84]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
push 0x5c
lea edx, [ebp - 0x84]
push edx
call fcn.004c3890
add esp, 8
mov ebx, eax
test eax, eax
jne 0x4c3b42
push 0x3a
lea edx, [ebp - 0x84]
push edx
call fcn.004c3890
add esp, 8
mov ebx, eax
test eax, eax
jne 0x4c3b42
lea ebx, [ebp - 0x84]
jmp 0x4c3b43
inc ebx
call fcn.004c3a80
or eax, 0x10010
push eax
push ebx
push esi
push 0
call sub.USER32.DLL_MessageBoxA
jmp 0x4c3bdd
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
mov ebx, eax
lea eax, [ebp - 4]
push 0
push eax
push 2
push 0x4ec210
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push esi
call fcn.004ba538
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea ecx, [ebp - 4]
push ecx
push 2
push 0x4ec213
push ebx
call sub.KERNEL32.DLL_WriteFile
jmp 0x4c3bdd
cmp dword [0x4ec208], 0
je 0x4c3bbc
cmp dword [0x4ec208], 0xffffffff
je 0x4c3bdd
push esi
call dword [0x4ec208]
pop ecx
mov eax, dword [0x4ec20c]
test eax, eax
je 0x4c3bdd
cmp dword [0x4ec20c], 0xffffffff
je 0x4c3bdd
cmp byte [eax], 0
je 0x4c3bdd
push esi
push eax
call fcn.004c39e0
add esp, 8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4c97a0
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4c97ce
mov eax, ebx
call fcn.004ca254
cmp dword [ebx + 0x40], 0
je 0x4c97c7
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x4c983f
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x4c9831
cmp dword [ebx + 8], 0
je 0x4c97f0
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 0x4c9802
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4c9831
cmp dword [ebx + 8], 0
je 0x4c97e3
cmp eax, 3
je 0x4c9815
dec eax
jne 0x4c97e3
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 0x4c97e3
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4c97e3
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x4c985d
cmp dword [ebx + 0x14], 0xcc
je 0x4c985d
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.004c9868
pop ebx
ret
Function at 0x40c4d6
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov al, byte [ebp + 0x14]
add al, 5
mov byte [ebp - 0x1a], al
push ebx
push edi
xor eax, eax
mov byte [ebp - 0x1c], 3
mov byte [ebp - 0x1b], 1
lea edi, [ebp - 0x19]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor ebx, ebx
push 0xff
stosb byte es:[edi], al
lea eax, [ebp - 0x11b]
push ebx
push eax
mov dword [ebp - 4], ebx
mov byte [ebp - 0x11c], bl
call fcn.00497bc6
add esp, 0xc
cmp byte [ebp + 0x14], 0x12
jae 0x40c6cf
mov al, byte [ebp + 0xc]
push esi
movzx esi, byte [ebp + 0x14]
push esi
push dword [ebp + 0x10]
mov byte [ebp - 0x19], al
lea eax, [ebp - 0x18]
push eax
call fcn.00497bcc
lea ecx, [esi + 3]
add esp, 0xc
xor al, al
cmp ecx, ebx
mov byte [ebp + 0x17], bl
jle 0x40c55e
xor edx, edx
xor al, byte [ebp + edx - 0x1b]
inc byte [ebp + 0x17]
movzx edx, byte [ebp + 0x17]
cmp edx, ecx
jl 0x40c54f
mov edi, dword [ebp + 8]
push 0xc
push edi
mov byte [ebp + esi - 0x18], al
mov byte [ebp + esi - 0x17], 4
call dword [0x49e478]
mov esi, dword [0x49e33c]
push 0x64
call esi
push ebx
lea eax, [ebp + 0x14]
push eax
push 0x18
lea eax, [ebp - 0x1c]
push eax
push edi
call dword [0x49e344]
test eax, eax
je 0x40c6bb
cmp dword [ebp + 0x14], 0x18
jne 0x40c6bb
push ebx
push ebx
push edi
call dword [0x49e250]
push 0x64
call esi
push ebx
lea eax, [ebp + 0x14]
push eax
push 0x100
lea eax, [ebp - 0x11c]
push eax
push edi
call dword [0x49e338]
test eax, eax
je 0x40c6ad
cmp dword [ebp + 0x14], 6
jb 0x40c6a3
cmp byte [ebp - 0x11c], 5
jne 0x40c69c
cmp byte [ebp - 0x11b], 1
jne 0x40c69c
mov al, byte [ebp - 0x11a]
cmp al, 5
jb 0x40c695
mov cl, byte [ebp + 0xc]
or cl, 0x80
cmp byte [ebp - 0x119], cl
jne 0x40c695
sub al, 5
movzx esi, al
lea edx, [esi + 3]
xor cl, cl
cmp edx, ebx
jle 0x40c634
xor edi, edi
xor cl, byte [ebp + edi - 0x11b]
inc bl
movzx edi, bl
cmp edi, edx
jl 0x40c622
xor ebx, ebx
cmp byte [ebp + esi - 0x118], cl
jne 0x40c689
cmp byte [ebp + esi - 0x117], 4
jne 0x40c689
mov dword [ebp - 4], 1
cmp al, bl
je 0x40c6ce
mov edi, dword [ebp + 0x18]
cmp edi, ebx
je 0x40c6ce
mov ecx, dword [ebp + 0x1c]
cmp ecx, ebx
je 0x40c6ce
push esi
push 0x40
mov byte [ecx], al
call dword [0x49e32c]
mov dword [edi], eax
cmp eax, ebx
je 0x40c684
push esi
lea ecx, [ebp - 0x118]
push ecx
push eax
call fcn.00497bcc
add esp, 0xc
jmp 0x40c6ce
mov dword [ebp - 4], ebx
jmp 0x40c6ce
push str.ERROR_sr98_send_receive___Bad_CRC_data_n
call fcn.00409709
jmp 0x40c6cd
push str.ERROR_sr98_send_receive___Bad_data_size_ctl_code_n
jmp 0x40c68e
push str.ERROR_sr98_send_receive___Bad_header_n
jmp 0x40c68e
push dword [ebp + 0x14]
push str.ERROR_sr98_send_receive___Read_size___u_n
jmp 0x40c6c7
call dword [0x49e330]
push eax
push str.ERROR_sr98_send_receive___ReadFile__0x_08x__n
jmp 0x40c6c7
call dword [0x49e330]
push eax
push str.ERROR_sr98_send_receive___WriteFile__0x_08x__n
call fcn.00409709
pop ecx
pop ecx
pop esi
mov eax, dword [ebp - 4]
pop edi
pop ebx
leave
ret
Function at 0x43a5f6
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push dword [ebp + 0xc]
mov esi, str.sqlite_master
push dword [ebp + 8]
mov ebx, eax
push esi
push dword [ebp + 8]
push str.SELECT_1_FROM___w_._s_WHERE_name_NOT_LIKE_sqliteX____ESCAPE_X_AND_sql_NOT_LIKE_create_virtual___AND_sqlite_rename_test__Q__sql__type__name___d_NULL
call fcn.0043d9ea
add esp, 0x14
cmp dword [ebp + 0xc], 0
jne 0x43a630
push dword [ebp + 8]
push esi
push str.SELECT_1_FROM_temp._s_WHERE_name_NOT_LIKE_sqliteX____ESCAPE_X_AND_sql_NOT_LIKE_create_virtual___AND_sqlite_rename_test__Q__sql__type__name__1_NULL
call fcn.0043d9ea
add esp, 0xc
pop esi
pop ebx
pop ebp
ret
Function at 0x403e20
Capabilities:
Write file on windows

Disassembly:
push esi
push ebx
sub esp, 0x14
mov ebx, dword [esp + 0x20]
jmp 0x403e4c
mov eax, dword [ebx]
mov esi, dword [eax]
add eax, 4
mov dword [ebx], eax
cmp esi, 8
ja 0x403e61
mov dword [esp], ebx
call dword [esi*4 + 0x407020]
test eax, eax
je 0x403eb5
mov esi, dword [0x40b028]
test esi, esi
je 0x403e30
add esp, 0x14
mov eax, 1
pop ebx
pop esi
ret
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0xd
mov dword [esp + 4], 1
mov dword [esp], str.FATAL_ERROR:
lea ebx, [eax + 0x40]
mov dword [esp + 0xc], ebx
call sub.msvcrt.dll_fwrite
mov dword [esp + 8], esi
mov dword [esp], ebx
mov dword [esp + 4], str.Invalid_opcode__lu.
call sub.msvcrt.dll_fprintf
mov dword [esp + 4], ebx
mov dword [esp], 0xa
call sub.msvcrt.dll_fputc
add esp, 0x14
xor eax, eax
pop ebx
pop esi
ret
add esp, 0x14
xor eax, eax
pop ebx
pop esi
ret

Function at 0x403ec0
Capabilities:
Write file on windows

Disassembly:
push edi
push esi
push ebx
sub esp, 0x20
mov eax, dword [esp + 0x34]
mov ebx, dword [esp + 0x30]
mov dword [esp + 8], 4
mov dword [esp + 4], 0x4084a9
lea esi, [ebx + eax - 4]
mov dword [esp], esi
call sub.msvcrt.dll_memcmp
test eax, eax
jne 0x403f50
mov edi, dword [0x40b024]
test edi, edi
jne 0x403f12
add ebx, dword [esi - 4]
lea eax, [esp + 0x1c]
mov dword [esp], eax
mov dword [esp + 0x1c], ebx
call fcn.00403e20
add esp, 0x20
pop ebx
pop esi
pop edi
ret
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x15
mov dword [esp + 4], 1
mov dword [esp], str.Good_signature_found.
lea edi, [eax + 0x40]
mov dword [esp + 0xc], edi
call sub.msvcrt.dll_fwrite
mov dword [esp + 4], edi
mov dword [esp], 0xa
call sub.msvcrt.dll_fputc
jmp 0x403ef8
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0xd
mov dword [esp + 4], 1
mov dword [esp], str.FATAL_ERROR:
lea ebx, [eax + 0x40]
mov dword [esp + 0xc], ebx
call sub.msvcrt.dll_fwrite
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x1c
mov dword [esp + 4], 1
mov dword [esp], str.Bad_signature_in_executable.
call sub.msvcrt.dll_fwrite
mov dword [esp + 4], ebx
mov dword [esp], 0xa
call sub.msvcrt.dll_fputc
add esp, 0x20
xor eax, eax
pop ebx
pop esi
pop edi
ret
Function at 0x404540
Capabilities:
Create process on windows
Write and execute a file
Write file on windows

Disassembly:
push ebp
xor eax, eax
mov ebp, esp
mov ecx, 0x11
push edi
push esi
lea edx, [ebp - 0x5c]
push ebx
mov edi, edx
sub esp, 0x9c
mov ebx, dword [ebp + 8]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x6c]
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 1
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov dword [esp], ebx
mov dword [ebp - 0x5c], 0x44
call sub.kernel32.dll_CreateProcessA
sub esp, 0x28
test eax, eax
je 0x404610
mov eax, dword [ebp - 0x6c]
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
call sub.kernel32.dll_WaitForSingleObject
mov eax, dword [ebp - 0x6c]
sub esp, 8
mov dword [esp + 4], 0x40b02c
mov dword [esp], eax
call sub.kernel32.dll_GetExitCodeProcess
sub esp, 8
test eax, eax
je 0x404670
mov eax, dword [ebp - 0x6c]
mov dword [esp], eax
call sub.kernel32.dll_CloseHandle
mov eax, dword [ebp - 0x68]
sub esp, 4
mov dword [esp], eax
call sub.kernel32.dll_CloseHandle
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0xd
mov dword [esp + 4], 1
mov dword [esp], str.FATAL_ERROR:
lea esi, [eax + 0x40]
mov dword [esp + 0xc], esi
call sub.msvcrt.dll_fwrite
call sub.kernel32.dll_GetLastError
mov dword [esp + 8], ebx
mov dword [esp], esi
mov dword [esp + 4], str.Failed_to_create_process___s_:__lu
mov dword [esp + 0xc], eax
call sub.msvcrt.dll_fprintf
mov dword [esp + 4], esi
mov dword [esp], 0xa
call sub.msvcrt.dll_fputc
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0xd
mov dword [esp + 4], 1
mov dword [esp], str.FATAL_ERROR:
lea ebx, [eax + 0x40]
mov dword [esp + 0xc], ebx
call sub.msvcrt.dll_fwrite
call sub.kernel32.dll_GetLastError
mov dword [esp + 4], str.Failed_to_get_exit_status__error__lu_.
mov dword [esp], ebx
mov dword [esp + 8], eax
call sub.msvcrt.dll_fprintf
mov dword [esp + 4], ebx
mov dword [esp], 0xa
call sub.msvcrt.dll_fputc
jmp 0x4045e9
Function at 0x404ee0
Capabilities:
Write file on windows

Disassembly:
push esi
push ebx
sub esp, 0x14
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x17
lea esi, [esp + 0x24]
mov dword [esp + 4], 1
mov dword [esp], str.Mingw_runtime_failure:_n
lea ebx, [eax + 0x40]
mov dword [esp + 0xc], ebx
call sub.msvcrt.dll_fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], esi
mov dword [esp], ebx
mov dword [esp + 4], eax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
lea esi, [esi]

Function at 0x404f30
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, ecx
push esi
mov esi, edx
push ebx
mov ebx, eax
sub esp, 0x4c
lea eax, [ebp - 0x34]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], eax
mov dword [esp], ebx
call sub.kernel32.dll_VirtualQuery
sub esp, 0xc
test eax, eax
je 0x404ffb
mov eax, dword [ebp - 0x20]
cmp eax, 4
jne 0x404f81
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
call sub.msvcrt.dll_memcpy
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
cmp eax, 0x40
je 0x404f69
mov eax, dword [ebp - 0x28]
lea edx, [ebp - 0x38]
mov dword [esp + 0xc], edx
mov dword [esp + 8], 0x40
mov dword [ebp - 0x3c], edx
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x34]
mov dword [esp], eax
call sub.kernel32.dll_VirtualProtect
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x40], ecx
sub esp, 0x10
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
call sub.msvcrt.dll_memcpy
mov ecx, dword [ebp - 0x40]
cmp ecx, 4
je 0x404f79
cmp ecx, 0x40
je 0x404f79
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp - 0x3c]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x28]
mov dword [esp + 0xc], edx
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x34]
mov dword [esp], eax
call sub.kernel32.dll_VirtualProtect
sub esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1c
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
call fcn.00404ee0
lea esi, [esi]
lea edi, [edi]
Function at 0x406e90
Capabilities:
Accept command line arguments

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push esi
push ebx
push ecx
sub esp, 0x6c
call fcn.00405280
call sub.kernel32.dll_GetCommandLineA
mov ebx, eax
lea eax, [ebp - 0x5c]
mov dword [esp], eax
call sub.kernel32.dll_GetStartupInfoA
sub esp, 4
test ebx, ebx
jne 0x406ec6
jmp 0x406f05
add ebx, 1
movzx eax, byte [ebx]
cmp al, 9
je 0x406ec3
cmp al, 0x20
je 0x406ec3
cmp al, 0x22
jne 0x406ee9
jmp 0x406f54
cmp al, 0x20
lea esi, [esi]
je 0x406ef0
test al, al
je 0x406f05
add ebx, 1
movzx eax, byte [ebx]
cmp al, 9
jne 0x406ed7
movzx eax, byte [ebx]
cmp al, 0x20
jne 0x406f6a
add ebx, 1
movzx eax, byte [ebx]
cmp al, 9
je 0x406ef7
cmp al, 0x20
je 0x406ef7
test byte [ebp - 0x30], 1
mov esi, 0xa
je 0x406f14
movzx esi, word [ebp - 0x2c]
mov dword [esp], 0
call sub.kernel32.dll_GetModuleHandleA
sub esp, 4
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.004046d0
sub esp, 0x10
lea esp, [ebp - 0xc]
pop ecx
pop ebx
pop esi
pop ebp
lea esp, [ecx - 4]
ret
cmp al, 0x22
je 0x406f5e
add ebx, 1
movzx eax, byte [ebx]
test al, al
jne 0x406f50
cmp al, 0x22
sete al
movzx eax, al
add ebx, eax
jmp 0x406ef0
cmp al, 9
je 0x406ef7
jmp 0x406f05
Function at 0x407e5f
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42ec50]
jne 0x407e69
repz ret
jmp fcn.0040c59d

Function at 0x40b2f0
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00406090
and dword [ebp - 4], 0
cmp dword [0x438620], 0
mov ebx, eax
jne 0x40b3a1
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40b452
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40b452
push eax
call fcn.0040601e
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x438620], eax
call esi
push eax
call fcn.0040601e
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x438624], eax
call esi
push eax
call fcn.0040601e
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x438628], eax
call esi
push eax
call fcn.0040601e
pop ecx
mov dword [0x438630], eax
test eax, eax
je 0x40b3a1
push 0x42af10
push edi
call esi
push eax
call fcn.0040601e
pop ecx
mov dword [0x43862c], eax
mov eax, dword [0x43862c]
cmp eax, ebx
je 0x40b3f9
cmp dword [0x438630], ebx
je 0x40b3f9
push eax
call fcn.00406099
push dword [0x438630]
mov esi, eax
call fcn.00406099
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40b3f9
test edi, edi
je 0x40b3f9
call esi
test eax, eax
je 0x40b3f0
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40b3f0
test byte [ebp - 0xc], 1
jne 0x40b3f9
or dword [ebp + 0x10], 0x200000
jmp 0x40b432
mov eax, dword [0x438624]
cmp eax, ebx
je 0x40b432
push eax
call fcn.00406099
pop ecx
test eax, eax
je 0x40b432
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40b432
mov eax, dword [0x438628]
cmp eax, ebx
je 0x40b432
push eax
call fcn.00406099
pop ecx
test eax, eax
je 0x40b432
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x438620]
call fcn.00406099
pop ecx
test eax, eax
je 0x40b452
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40b454
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x42e003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x42e072
nop
mov ebx, 0x407ef8
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x75b754fd
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x42e060
nop
mov eax, section..data
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x42e0d2
nop
mov ebx, 0x42cd70
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x254558e3
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x42e0c0
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x10004c10
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001dc40
mov eax, dword fs:[0]
push eax
sub esp, 0x120
mov eax, dword [0x1002afc0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push dword [0x1002adb0]
lea eax, [ebp - 0x110]
push 0xff
push eax
push 0x1001f7d0
push dword [0x1002a3e0]
push dword [0x1002adb4]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0x12c]
call fcn.10004b30
mov dword [ebp - 4], 0
call fcn.1001150e
cmp dword [ebp - 0x118], 0xf
lea esi, [ebp - 0x12c]
mov edi, eax
lea eax, [ebp - 0x114]
cmova esi, dword [ebp - 0x12c]
push 0xa
push eax
push esi
mov dword [edi], 0
call fcn.100117bf
add esp, 0xc
cmp esi, dword [ebp - 0x114]
je 0x10004d17
cmp dword [edi], 0x22
je 0x10004d21
mov ecx, dword [ebp - 0x118]
mov dword [0x10030258], eax
cmp ecx, 0xf
jbe 0x10004cfa
mov edx, dword [ebp - 0x12c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10004cf0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10004d2b
push ecx
push edx
call fcn.1000bd84
add esp, 8
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1000c0ac
mov esp, ebp
pop ebp
ret
push str.invalid_stoi_argument
call fcn.1000bc00
push str.stoi_argument_out_of_range
call fcn.1000bc40
call fcn.1000f51f
int3

Function at 0x100072d0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov edx, 0x1103
movzx ecx, word [eax]
cmp cx, dx
jne 0x100072f8
cmp dword [eax + 0x18], 0x38324535
jne 0x10007390
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, 0x1fe
cmp cx, ax
jne 0x10007390
mov ecx, dword [0x100307ac]
movups xmm0, xmmword [ecx + 2]
movups xmmword [0x100306e0], xmm0
movups xmm0, xmmword [ecx + 0x12]
movups xmmword [0x100306f0], xmm0
movups xmm0, xmmword [ecx + 0x22]
movups xmmword [0x10030700], xmm0
movzx eax, byte [ecx + 0x32]
mov byte [0x10030710], al
movups xmm0, xmmword [ecx + 0x34]
movups xmmword [0x10030748], xmm0
movups xmm0, xmmword [ecx + 0x44]
movups xmmword [0x10030758], xmm0
movups xmm0, xmmword [ecx + 0x54]
movups xmmword [0x10030768], xmm0
movzx eax, byte [ecx + 0x64]
mov byte [0x10030778], al
movups xmm0, xmmword [ecx + 0x66]
movups xmmword [0x100307b0], xmm0
movups xmm0, xmmword [ecx + 0x76]
movups xmmword [0x100307c0], xmm0
movups xmm0, xmmword [ecx + 0x86]
movups xmmword [0x100307d0], xmm0
movzx eax, byte [ecx + 0x96]
mov byte [0x100307e0], al
pop ebp
ret