joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403d2f
Capabilities:
Allocate or change rwx memory
Create thread
Execute shellcode via indirect call
Spawn thread to rwx shellcode

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
xor edi, edi
xor ebx, ebx
push edi
xor esi, esi
mov dword [ebp - 0x14], ebx
push 0x423384
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], edi
call fcn.00403e00
and dword [ebp - 4], ebx
pop ecx
pop ecx
cmp esi, edi
je 0x403d66
and dword [esi], 0
add esi, 4
mov dword [ebp - 0x10], esi
jmp 0x403d7c
lea eax, [ebp - 4]
push eax
push esi
lea ecx, [ebp - 0x14]
call fcn.004014e5
mov edi, dword [ebp - 0xc]
mov esi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x14]
push dword [ebx]
mov ecx, 0x42e098
call fcn.004021de
push eax
call fcn.00401b37
mov eax, esi
sub eax, ebx
and eax, 0xfffffffc
pop ecx
cmp eax, 0x190
jne 0x403d57
lea eax, [ebp - 8]
xor esi, esi
push eax
push 0x40
push 0x4ac
push 0x472838
mov dword [ebp - 8], esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push esi
push esi
push esi
push 0x40307c
push esi
push esi
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call fcn.00403062
mov edx, 0x472838
add edx, 0x188
mov esi, 0x42f038
push esi
call edx
sub edi, ebx
and edi, 0xfffffffc
push edi
push ebx
call fcn.004014b9
pop ecx
pop ecx
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret

Function at 0x4069b0
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4069ef
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4069ef
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4069ef
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4069ef
cmp dword [ecx + 0x74], 0xe
jbe 0x4069ef
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x414aa4
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x427210
push 0x427208
push 0x424cdc
push 0x1e
call fcn.00414911
mov esi, eax
add esp, 0x10
test esi, esi
je 0x414ad8
push dword [ebp + 8]
mov ecx, esi
call dword [0x423144]
call esi
jmp 0x414ade
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4
Function at 0x10002020
Capabilities:
Get file size

Disassembly:
sub esp, 0x8dc
mov eax, dword [0x1001842c]
xor eax, esp
mov dword [esp + 0x8d8], eax
mov eax, dword [esp + 0x8e0]
test eax, eax
je 0x100021d7
push edi
push 0
lea ecx, [esp + 8]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_OpenFile]
mov edi, eax
cmp edi, 0xffffffff
je 0x100021d6
push esi
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0x110
jae 0x1000208f
mov edx, dword [0x10018830]
push 0x10
push str.Error
push str.File_too_short
push edx
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x100021d5
lea eax, [esi + 0x42]
push eax
call dword [sym.imp.MSVCR90.dll_malloc]
add esp, 4
push esi
push eax
push edi
mov dword [0x10018824], eax
call dword [sym.imp.KERNEL32.dll__lread]
mov eax, dword [0x10018824]
lea ecx, [eax + 4]
add eax, esi
push edi
mov dword [0x10018828], ecx
mov dword [0x1001882c], eax
call dword [sym.imp.KERNEL32.dll__lclose]
push 0x80
lea edx, [esp + 0x94]
push edx
mov ecx, 0x10018824
call fcn.10001ea0
lea ecx, [esp + 0x90]
mov eax, 0x1001a200
lea esp, [esp]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10002110
test dl, dl
je 0x1000210c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10002110
add eax, 2
add ecx, 2
test dl, dl
jne 0x100020f0
xor eax, eax
jmp 0x10002115
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x10002169
push 0x1001a200
lea eax, [esp + 0x94]
push eax
lea ecx, [esp + 0x118]
push str.Application_name_mismatch.__nExpected___s__but_recieved___s_._nUse_the_correct_emulator_version
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, dword [0x10018830]
add esp, 0x10
push 0x10
push str.Error
lea edx, [esp + 0x118]
push edx
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [0x10018824]
push ecx
call dword [sym.imp.MSVCR90.dll_free]
add esp, 4
jmp 0x100021d5
mov edx, dword [0x10018824]
push 0x80
add edx, 0x84
push 0x1001a448
mov ecx, 0x10018824
mov dword [0x10018828], edx
call fcn.10001ea0
mov eax, dword [0x10018824]
add eax, 0x108
mov ecx, 0x10018824
mov dword [0x10018828], eax
call fcn.10001f20
mov ecx, 0x10018824
mov dword [0x1001a43c], eax
call fcn.10001f20
mov ecx, dword [0x10018488]
and ecx, 0xfffffffb
or ecx, 8
mov dword [0x1001a284], eax
mov byte [0x10018834], 1
mov dword [0x10018488], ecx
pop esi
pop edi
mov ecx, dword [esp + 0x8d8]
xor ecx, esp
call fcn.10012622
add esp, 0x8dc
ret 4
Function at 0x10002580
Capabilities:
Enumerate files on windows

Disassembly:
mov eax, 0x1508
call fcn.100126c0
mov eax, dword [0x1001842c]
xor eax, esp
mov dword [esp + 0x1504], eax
mov eax, dword [0x10018820]
push ebx
push ebp
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push esi
push edi
xor ebx, ebx
push ebx
push ebx
push 0x1009
push eax
call ebp
mov eax, str.._records
mov dword [0x1001881c], ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x100025c1
sub eax, edx
inc eax
push eax
lea ecx, [esp + 0x190]
push str.._records
push ecx
call dword [sym.imp.MSVCR90.dll_strncpy]
push 3
lea edx, [esp + 0x19c]
push 0x100144e8
push edx
call dword [sym.imp.MSVCR90.dll_strncat]
add esp, 0x18
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x190]
push ecx
xor edi, edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x1000264a
mov eax, dword [0x10018820]
inc dword [0x1001881c]
lea edx, [esp + 0x10]
push edx
push ebx
push 0x1007
push eax
mov dword [esp + 0x20], 5
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x34], str.Error_refreshing_list
mov dword [esp + 0x40], ebx
call ebp
jmp 0x1000269f
test byte [esp + 0x4c], 0x10
jne 0x10002661
push ebx
lea ecx, [esp + 0x7c]
push ecx
call fcn.100022c0
mov edi, 1
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileA]
lea edx, [esp + 0x4c]
push edx
push esi
call ebx
test eax, eax
je 0x10002692
test byte [esp + 0x4c], 0x10
jne 0x10002686
push edi
lea eax, [esp + 0x7c]
push eax
call fcn.100022c0
inc edi
lea ecx, [esp + 0x4c]
push ecx
push esi
call ebx
test eax, eax
jne 0x10002673
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [esp + 0x1514]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10012622
add esp, 0x1508
ret

Function at 0x10002880
Capabilities:
Delete file

Disassembly:
sub esp, 0xbf8
mov eax, dword [0x1001842c]
xor eax, esp
mov dword [esp + 0xbf4], eax
mov eax, dword [0x10018820]
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x1042
push eax
call edi
mov esi, eax
test esi, esi
jl 0x10002930
mov ecx, dword [0x10018820]
push 0
push 0
push 0x1004
push ecx
call edi
cmp esi, eax
jge 0x10002930
mov ecx, dword [0x10018820]
lea eax, [esp + 8]
push eax
push 0
push 0x1005
lea edx, [esp + 0x50]
push ecx
mov dword [esp + 0x18], 1
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], 3
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], 0x3e8
call edi
lea edx, [esp + 0x44]
push edx
lea eax, [esp + 0x430]
push str.._records_s
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea ecx, [esp + 0x42c]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
call fcn.10002580
mov ecx, dword [esp + 0xbfc]
pop edi
pop esi
xor ecx, esp
call fcn.10012622
add esp, 0xbf8
ret
Function at 0x10002b90
Capabilities:
Create udp socket
Get local ipv4 addresses
Get socket information
Set socket configuration

Disassembly:
sub esp, 0x24
mov eax, dword [0x1001842c]
xor eax, esp
mov dword [esp + 0x20], eax
xor eax, eax
push esi
mov esi, ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov eax, 2
push ecx
mov word [esi + 4], cx
mov word [esp + 0x18], ax
call sub.WS2_32.dll_htons
push 0
push 2
push 2
mov word [esp + 0x22], ax
call sub.WS2_32.dll_socket
mov dword [esi + 8], eax
cmp eax, 0xffffffff
je 0x10002cd2
push 0
call sub.WS2_32.dll_htonl
mov edx, dword [esi + 8]
push 0x10
lea ecx, [esp + 0x18]
push ecx
push edx
mov dword [esp + 0x24], eax
call sub.WS2_32.dll_bind
test eax, eax
jne 0x10002ce6
mov ecx, dword [esi + 8]
lea eax, [esp + 8]
push eax
push 0x8004667e
push ecx
mov dword [esp + 0x14], 1
call sub.WS2_32.dll_ioctlsocket
mov eax, dword [0x10018838]
cmp eax, 0x40
jae 0x10002c3f
mov edx, dword [esi + 8]
mov dword [eax*4 + 0x1001883c], edx
inc dword [0x10018838]
mov eax, dword [esi + 8]
cmp eax, dword [0x1001893c]
jbe 0x10002c4f
mov dword [0x1001893c], eax
cmp word [esi + 4], 0
jne 0x10002c7f
mov edx, dword [esi + 8]
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x18]
push ecx
push edx
mov dword [esp + 0x38], 0x10
call sub.WS2_32.dll_getsockname
mov eax, dword [esp + 0x16]
push eax
call sub.WS2_32.dll_ntohs
mov word [esi + 4], ax
push edi
mov edi, dword [esp + 0x34]
test edi, edi
jle 0x10002cd1
mov eax, dword [esi + 8]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0xc]
push edx
push 0x1002
push 0xffff
push eax
mov dword [esp + 0x28], 4
call sub.WS2_32.dll_getsockopt
cmp dword [esp + 8], edi
jge 0x10002cd1
mov edx, dword [esi + 8]
push 4
lea ecx, [esp + 0x14]
push ecx
push 0x1002
push 0xffff
push edx
mov dword [esp + 0x24], edi
call sub.WS2_32.dll_setsockopt
pop edi
mov al, 1
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.10012622
add esp, 0x24
ret 8
mov ecx, dword [esp + 0x24]
pop esi
xor ecx, esp
xor al, al
call fcn.10012622
add esp, 0x24
ret 8

Function at 0x10002d00
Capabilities:
Resolve dns

Disassembly:
xor eax, eax
push esi
mov esi, ecx
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov eax, 2
push ecx
mov word [esi + 0x10], ax
call sub.WS2_32.dll_htons
mov word [esi + 0x12], ax
test ax, ax
je 0x10002d62
push edi
mov edi, dword [esp + 0xc]
push edi
call sub.WS2_32.dll_inet_addr
mov dword [esi + 0x14], eax
cmp eax, 0xffffffff
jne 0x10002d54
push edi
call sub.WS2_32.dll_gethostbyname
test eax, eax
je 0x10002d5b
mov edx, dword [eax + 0xc]
mov eax, dword [edx]
mov ecx, dword [eax]
mov dword [esi + 0x14], ecx
pop edi
mov al, 1
pop esi
ret 8
pop edi
xor al, al
pop esi
ret 8
xor al, al
pop esi
ret 8

Function at 0x10002db0
Capabilities:
Send data
Send data on socket

Disassembly:
mov edx, dword [esp + 8]
push 0x10
lea eax, [ecx + 0x10]
mov ecx, dword [ecx + 8]
push eax
mov eax, dword [esp + 0xc]
push 0
push edx
push eax
push ecx
call sub.WS2_32.dll_sendto
xor edx, edx
cmp eax, 0xffffffff
setne dl
mov al, dl
ret 8
Function at 0x10002de0
Capabilities:
Receive data
Receive data on socket

Disassembly:
sub esp, 0x18
mov eax, dword [0x1001842c]
xor eax, esp
mov dword [esp + 0x14], eax
push esi
mov esi, dword [esp + 0x2c]
push edi
mov edi, dword [esp + 0x28]
lea edx, [esp + 8]
push edx
lea edx, [esp + 0x10]
push edx
movzx edx, byte [esp + 0x34]
neg edx
sbb edx, edx
mov eax, ecx
mov ecx, dword [esp + 0x2c]
and edx, 2
push edx
mov byte [eax + 0xc], 0
mov edx, dword [edi]
mov eax, dword [eax + 8]
push edx
push ecx
push eax
mov dword [esp + 0x20], 0x10
call sub.WS2_32.dll_recvfrom
test eax, eax
jle 0x10002e64
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov dword [edi], eax
mov eax, dword [esp + 0x14]
mov dword [esi], ecx
mov ecx, dword [esp + 0x18]
mov dword [esi + 4], edx
mov dword [esi + 8], eax
pop edi
mov dword [esi + 0xc], ecx
mov al, 1
pop esi
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.10012622
add esp, 0x18
ret 0x10
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
xor ecx, esp
xor al, al
call fcn.10012622
add esp, 0x18
ret 0x10

Function at 0x10002ed0
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x194
mov eax, dword [0x1001842c]
xor eax, esp
mov dword [esp + 0x190], eax
lea eax, [esp]
push eax
push 0x202
call sub.WS2_32.dll_WSAStartup
mov ecx, dword [esp + 0x190]
neg eax
sbb eax, eax
xor ecx, esp
inc eax
call fcn.10012622
add esp, 0x194
ret

Function at 0x10002fe0
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov ecx, dword [esp + 0x114]
mov eax, dword [esp + 0x110]
imul ecx, ecx, 0x3e8
mov edx, dword [0x10018838]
mov dword [esp], eax
lea eax, [edx*4 + 8]
push eax
mov dword [esp + 8], ecx
lea ecx, [esp + 0xc]
push 0x10018838
push ecx
call sub.MSVCR90.dll_memcpy
mov ecx, dword [0x1001893c]
add esp, 0xc
lea edx, [esp]
push edx
push 0
push 0
lea eax, [esp + 0x14]
push eax
inc ecx
push ecx
call sub.WS2_32.dll_select
test eax, eax
je 0x10003083
mov eax, dword [0x10018a40]
test eax, eax
jle 0x10003078
push esi
xor esi, esi
test eax, eax
jle 0x10003077
push edi
mov edi, dword [esi*4 + 0x10018940]
mov eax, dword [edi + 8]
lea edx, [esp + 0x10]
push edx
push eax
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x1000306d
mov byte [edi + 0xc], 1
inc esi
cmp esi, dword [0x10018a40]
jl 0x10003050
pop edi
pop esi
mov al, 1
add esp, 0x10c
ret 8
xor al, al
add esp, 0x10c
ret 8

Function at 0x10003240
Capabilities:
Read .ini file

Disassembly:
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 4]
mov edx, dword [0x10019dd0]
push esi
mov esi, dword [esp + 0xc]
push 0x10018a48
push 0x80
push esi
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, esi
pop esi
ret 0xc

Function at 0x100034c0
Capabilities:
Create thread

Disassembly:
push esi
push 0
push 0
mov esi, ecx
push esi
push 0x10003490
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x100034e3
mov dword [esi + 4], eax
or eax, 0xffffffff
pop esi
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x100034f2
or eax, 0xffffffff
pop esi
ret
xor eax, eax
pop esi
ret
Function at 0x100037d0
Capabilities:
Hide graphical window

Disassembly:
cmp byte [esp + 8], 0
push ebx
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
je 0x1000389d
push 5
push 0x405
push esi
call edi
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call ebx
push 5
push 0x3e9
push esi
call edi
push eax
call ebx
push 5
push 0x405
push esi
call edi
push eax
call ebx
push 5
push 0x406
push esi
call edi
push eax
call ebx
push 5
push 0x407
push esi
call edi
push eax
call ebx
push 5
push 0x408
push esi
call edi
push eax
call ebx
push 5
push 0x3ea
push esi
call edi
push eax
call ebx
push 5
push 0x409
push esi
call edi
push eax
call ebx
push 5
push 0x40b
push esi
call edi
push eax
call ebx
push 0
push 0x40a
push esi
call edi
push eax
call ebx
push 0
push 0x3ec
push esi
call edi
push eax
call ebx
push 0
push 0x3f8
push esi
call edi
push eax
call ebx
push 0
push 0x3f9
push esi
call edi
push eax
call ebx
pop edi
pop esi
pop ebx
ret 8
push 0
push 0x405
push esi
call edi
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call ebx
push 0
push 0x3e9
push esi
call edi
push eax
call ebx
push 0
push 0x405
push esi
call edi
push eax
call ebx
push 0
push 0x406
push esi
call edi
push eax
call ebx
push 0
push 0x407
push esi
call edi
push eax
call ebx
push 0
push 0x408
push esi
call edi
push eax
call ebx
push 0
push 0x3ea
push esi
call edi
push eax
call ebx
push 0
push 0x409
push esi
call edi
push eax
call ebx
push 0
push 0x40b
push esi
call edi
push eax
call ebx
push 5
push 0x40a
push esi
call edi
push eax
call ebx
push 5
push 0x3ec
push esi
call edi
push eax
call ebx
push 5
push 0x3f8
push esi
call edi
push eax
call ebx
push 5
push 0x3f9
push esi
call edi
push eax
call ebx
pop edi
pop esi
pop ebx
ret 8
Function at 0x10003ef0
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x1001a440]
movzx ecx, byte [0x1001a1f4]
push edi
mov edi, dword [esp + 8]
push 0x1001a3b8
push 0x1001a448
push 0x1001a200
push eax
push ecx
mov dword [0x1001a3b0], edi
call fcn.10006290
test al, al
je 0x10003fed
movzx edx, byte [0x1001a1f4]
neg edx
sbb edx, edx
and edx, 5
push edx
push 0x3f5
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp byte [0x1001a1f4], 0
je 0x10003f7d
call fcn.100057a0
push eax
push 0x1001a448
push str.Hosting__s_on_port__i
call fcn.10003c60
push str.WARNING:_Hosting_requires_hosting_ports_to_be_forwarded_and_enabled_in_firewalls.
call fcn.10003c60
add esp, 0x10
mov byte [0x1001a4cc], 1
pop edi
ret 4
push esi
mov eax, 0x1001a288
mov esi, 0x6cee
mov cl, byte [eax + 1]
inc eax
cmp cl, 0x3a
je 0x10003f9a
test cl, cl
jne 0x10003f88
cmp cl, 0x3a
jne 0x10003fb3
mov byte [eax], 0
inc eax
push eax
call dword [sym.imp.MSVCR90.dll_atoi]
mov esi, eax
add esp, 4
test esi, esi
jne 0x10003fb3
mov esi, 0x6cee
push esi
push 0x1001a288
push str.Connecting_to__s:_i
call fcn.10003c60
add esp, 0xc
push esi
push 0x1001a288
call fcn.100064c0
pop esi
test al, al
jne 0x10003f72
push 0
push 0x1001a288
push str.Error_connecting_to_specified_host_port
push edi
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
ret 4
push str.Error_initializing_sockets
call fcn.10003c60
add esp, 4
pop edi
ret 4
Function at 0x10004440
Capabilities:
Get graphical window text
Hide graphical window

Disassembly:
mov al, byte [esp + 8]
push ebp
mov ebp, dword [esp + 8]
push esi
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
mov byte [0x1001a1f4], al
test al, al
jne 0x10004482
push 0
push 0
push 0xf0
push 0x3ff
push ebp
call esi
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 1
jne 0x10004482
mov dword [0x1001a440], 0
jmp 0x10004497
push 0
push 0
push 0x3e8
push ebp
call dword [sym.imp.USER32.dll_GetDlgItemInt]
mov dword [0x1001a440], eax
push edi
push 0x7f
push 0x1001a448
push 0x3ec
push ebp
call esi
mov edi, dword [sym.imp.USER32.dll_GetWindowTextA]
push eax
call edi
push 0x7f
push 0x1001a288
push 0x3ea
push ebp
call esi
push eax
call edi
push 0x1f
push 0x1001a3b8
push 0x3fb
push ebp
call esi
push eax
call edi
cmp byte [0x1001a1f4], 0
pop edi
je 0x100045a2
mov eax, dword [0x100187ec]
push ebx
test eax, eax
je 0x1000454d
mov esi, eax
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100044f1
sub eax, edx
test eax, eax
je 0x1000454d
mov edi, edi
mov edx, 0x1001a448
mov ecx, esi
mov bl, byte [ecx]
cmp bl, byte [edx]
jne 0x10004527
test bl, bl
je 0x10004523
mov bl, byte [ecx + 1]
cmp bl, byte [edx + 1]
jne 0x10004527
add ecx, 2
add edx, 2
test bl, bl
jne 0x10004507
xor ecx, ecx
jmp 0x1000452c
sbb ecx, ecx
sbb ecx, 0xffffffff
test ecx, ecx
je 0x10004563
lea esi, [esi + eax + 1]
mov eax, esi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10004540
sub eax, edx
test eax, eax
jne 0x10004500
push 0
push 0
push str.Pick_a_valid_game
push ebp
call dword [sym.imp.USER32.dll_MessageBoxA]
pop ebx
pop esi
pop ebp
ret 8
push 0x188
push 0x10014788
call fcn.10001020
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
add esp, 8
push 0
push ebp
call esi
mov eax, dword [0x100184a4]
push 0
push 0x10004000
push 0
push 0x66
push eax
call dword [sym.imp.USER32.dll_DialogBoxParamA]
push 5
push ebp
call esi
pop ebx
pop esi
pop ebp
ret 8
mov ecx, dword [0x100184a4]
push 0
push 0x10004000
push 0
push 0x66
push ecx
call dword [sym.imp.USER32.dll_DialogBoxParamA]
pop esi
pop ebp
ret 8

Function at 0x10005a70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10013268
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
mov eax, dword [0x1001842c]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
call fcn.10002fa0
xor ebx, ebx
mov dword [esi], vtable.p2p_message.0
mov dword [esi + 0x2064], ebx
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], ebx
mov dword [esi + 0x40a8], ebx
call fcn.10002fa0
lea ecx, [esp + 0x10]
call fcn.100031a0
mov byte [esi + 0x20], bl
mov byte [esi + 0x21], bl
mov byte [esi + 0x22], 0xff
mov dword [esi + 0x40ac], 3
mov dword [esi + 0x40b0], ebx
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x30
ret
Function at 0x10006970
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x11c
mov eax, dword [0x1001842c]
xor eax, esp
mov dword [esp + 0x118], eax
cmp byte [0x1001a4f4], 0
je 0x10006998
push 0xfa
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [0x1001a4f4], 0
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
push esi
mov dword [0x1001a6c4], 0
je 0x10006a00
push 0
push 1
lea ecx, [esp + 0x20]
call fcn.10007ba0
push 0x40
push 0x1001a4f0
lea ecx, [esp + 0x20]
call fcn.10007c30
mov ecx, dword [0x1001a4f0]
push 0
push 1
call fcn.10006400
call ebp
sub eax, dword [0x1001a4e8]
cmp dword [0x1001a6c4], 4
mov dword [0x1001a4e0], eax
jge 0x10006b26
lea esp, [esp]
mov ecx, dword [0x1001a4f0]
mov eax, dword [ecx]
mov edx, dword [eax + 0x1c]
call edx
test al, al
jne 0x10006a37
push 0
push 1
call fcn.10002fe0
test al, al
je 0x10006aff
mov ecx, dword [0x1001a4f0]
mov eax, dword [ecx]
mov edx, dword [eax + 0x1c]
call edx
test al, al
je 0x10006aff
lea ecx, [esp + 0x18]
call fcn.10007b80
lea eax, [esp + 8]
push eax
push 0
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [0x1001a4f0]
call fcn.10005450
test al, al
je 0x10006aff
mov ecx, dword [esp + 0x18]
mov eax, ecx
and eax, 0xf
cmp eax, 1
jne 0x10006ab4
test cl, 0xf0
jne 0x10006b0e
cmp byte [0x1001a4f4], 0
je 0x10006a93
mov eax, dword [0x1001a6c4]
inc eax
cmp eax, 4
mov dword [0x1001a6c4], eax
jge 0x10006b26
mov esi, dword [0x1001a4f0]
lea ecx, [esp + 0x18]
call fcn.10007c10
movzx edx, al
push edx
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call fcn.10006110
jmp 0x10006aff
cmp eax, 9
jne 0x10006aff
mov esi, dword [0x1001c6f8]
shl esi, 8
lea ecx, [esp + 0x18]
add esi, 0x1001a6f8
call fcn.100080d0
mov dword [esi], eax
mov byte [esi + 4], 0
add esi, 5
push esi
lea ecx, [esp + 0x1c]
call fcn.10008050
mov eax, dword [0x1001c6f8]
inc eax
mov dword [0x1001c6f8], eax
test eax, eax
jle 0x10006aff
mov ecx, dword [0x1001a6f8]
mov dword [0x1001a6d8], ecx
cmp dword [0x1001a6c4], 4
jl 0x10006a00
jmp 0x10006b26
lea ecx, [esp + 0x18]
call fcn.100080d0
mov dword [0x1001a6c0], eax
mov dword [0x1001a6c4], 0x63
cmp byte [0x1001a4f4], 0
je 0x10006b87
call ebp
sub eax, dword [0x1001a4e8]
push 1
sub eax, dword [0x1001a4e0]
push 1
cdq
and edx, 3
add eax, edx
sar eax, 2
lea ecx, [esp + 0x20]
mov dword [0x1001a6c0], eax
call fcn.10007ba0
mov edx, dword [0x1001a6c0]
push edx
lea ecx, [esp + 0x1c]
call fcn.10007da0
mov esi, dword [0x1001a4f0]
lea ecx, [esp + 0x18]
call fcn.10007c10
movzx eax, al
push eax
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
call fcn.10006110
mov ecx, dword [esp + 0x120]
pop esi
pop ebp
xor ecx, esp
mov al, 1
call fcn.10012622
add esp, 0x11c
ret