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

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push edi
push 0x10131c2c
push 0x64
mov esi, edx
call fcn.101224e8
mov edi, eax
add esp, 8
test edi, edi
je 0x1010c856
push 0x63
lea ecx, [edi + 1]
push 0
push ecx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov byte [edi], 1
lea eax, [edi + 4]
push 2
push eax
call dword [sym.imp.MSVCP140.dll__Mtx_init_in_situ]
lea eax, [edi + 0x34]
push eax
call dword [sym.imp.MSVCP140.dll__Cnd_init_in_situ]
add esp, 0xc
mov dword [0x102b2ccc], edi
xorps xmm0, xmm0
movq qword [edi + 0x5c], xmm0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0x1027cbf0
mov dword [0x102b3104], eax
call dword [sym.imp.MSVCP140.dll__Mtx_lock]
add esp, 4
test eax, eax
je 0x1010c751
push eax
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
test esi, esi
je 0x1010c766
movups xmm0, xmmword [esi]
movups xmmword [0x102b2ed0], xmm0
movq xmm0, qword [esi + 0x10]
jmp 0x1010c770
xorps xmm0, xmm0
movups xmmword [0x102b2ed0], xmm0
movq qword [0x102b2ee0], xmm0
xorps xmm0, xmm0
push 0x1027cbf0
movups xmmword [0x102b30ec], xmm0
movq qword [0x102b30fc], xmm0
call dword [sym.imp.MSVCP140.dll__Mtx_unlock]
add esp, 4
cmp dword [0x102b710c], 0
jne 0x1010c860
mov eax, str.889495873183154226
mov dword [0x1029dc90], 0x101c7d98
mov esi, 1
mov edx, 0x1029dca0
sub esi, eax
lea ecx, [eax + esi]
cmp ecx, 0x40
jae 0x1010c7d3
mov cl, byte [eax]
inc eax
mov byte [edx], cl
inc edx
cmp byte [eax], 0
jne 0x1010c7c0
mov esi, dword [0x102b2ccc]
mov al, 1
mov byte [edx], 0
mov dword [0x102b710c], 0x1029dc90
mov dword [0x1029dc98], 0x1010cdb0
mov dword [0x1029dc9c], 0x1010cdc0
xchg byte [esi], al
push 4
call fcn.10121fbe
add esp, 4
lea ecx, [ebp - 4]
mov dword [eax], esi
push ecx
push 0
push eax
push 0x1010d2c0
push 0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov ecx, eax
add esp, 0x18
mov dword [ebp - 8], ecx
test ecx, ecx
je 0x1010c847
cmp dword [esi + 0x60], 0
je 0x1010c838
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
mov eax, dword [ebp - 4]
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 6
mov dword [ebp - 4], 0
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
mov dword [0x102b2ccc], 0
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1010dac0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [0x102b710c]
push esi
push dword [ebp + 8]
mov dword [edi + 0x154], 1
lea eax, [edi + 0x15c]
lea ebx, [edi + 0x154]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov dword [edi + 0x158], esi
add esi, 8
je 0x1010dba9
mov eax, dword [edi]
test eax, eax
jne 0x1010db1f
push 0x4f
push str.D:_aFedorawareFedorawareFedorawareTeamFortress2TeamFortress2SDKDiscord_srcconnection_win.cpp
push str.self
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
jmp 0x1010db62
mov eax, dword [eax + 4]
cmp eax, 0xffffffff
je 0x1010db62
test ebx, ebx
jne 0x1010db42
push 0x56
push str.D:_aFedorawareFedorawareFedorawareTeamFortress2TeamFortress2SDKDiscord_srcconnection_win.cpp
push 0x10193740
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
jmp 0x1010db62
push 0
lea ecx, [ebp + 0xc]
mov dword [ebp + 0xc], 0
push ecx
push esi
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp eax, 1
jne 0x1010db62
cmp dword [ebp + 0xc], esi
je 0x1010dba9
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x1010db82
mov eax, dword [edi + 4]
cmp eax, 3
je 0x1010db76
cmp eax, 1
jne 0x1010db82
lea eax, [edi + 0x54]
push eax
push dword [edi + 0x50]
call ecx
add esp, 8
mov esi, dword [edi]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 4], 0xffffffff
xor al, al
mov byte [esi], 0
mov dword [edi + 4], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x10112950
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x5c
push esi
push 0x40
lea eax, [esp + 0x24]
mov esi, ecx
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, 0x20
mov dword [esp + 0x14], 0x67452301
mov dword [esp + 0x24], eax
lea ecx, [esp + 0x2c]
shr eax, 3
mov edx, 0x3f
and eax, 0x3f
mov dword [esp + 0x18], 0xefcdab89
add ecx, eax
mov dword [esp + 0x1c], 0x98badcfe
mov dword [esp + 0x20], 0x10325476
sub edx, eax
mov dword [esp + 0x28], 0
add esp, 0xc
mov dword [esp + 0x20], esi
mov byte [ecx], 0x80
inc ecx
cmp edx, 8
jae 0x101129e7
push edx
push 0
push ecx
call sub.VCRUNTIME140.dll_memset
lea edx, [esp + 0x2c]
lea ecx, [esp + 0x14]
call fcn.101122d0
push 0x38
lea eax, [esp + 0x30]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x18
jmp 0x101129f6
lea eax, [edx - 8]
push eax
push 0
push ecx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x20]
mov dword [esp + 0x58], eax
lea ecx, [esp + 8]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x5c], eax
call fcn.101122d0
mov eax, dword [esp + 0xe]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1011c130
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [0x101cf498]
push esi
push str.cl_interp
mov eax, dword [ecx]
call dword [eax + 0x34]
mov ecx, dword [0x101cf498]
mov dword [0x101c92f0], eax
push str.cl_sidespeed
mov eax, dword [ecx]
call dword [eax + 0x34]
mov ecx, dword [0x101cf498]
mov dword [0x101c92f4], eax
push str.cl_interp_ratio
mov eax, dword [ecx]
call dword [eax + 0x34]
mov ecx, dword [0x101cf498]
mov dword [0x101c92f8], eax
push str.cl_updaterate
mov eax, dword [ecx]
call dword [eax + 0x34]
mov ecx, dword [0x101cf498]
mov dword [0x101c92fc], eax
push str.tf_weapon_criticals_bucket_cap
mov eax, dword [ecx]
call dword [eax + 0x34]
mov ecx, dword [0x101cf498]
mov dword [0x101c9300], eax
push str.tf_weapon_criticals_bucket_bottom
mov eax, dword [ecx]
call dword [eax + 0x34]
mov ecx, dword [0x101cf498]
mov dword [0x101c9304], eax
push str.tf_weapon_criticals_bucket_default
mov eax, dword [ecx]
call dword [eax + 0x34]
mov ecx, dword [0x101cf498]
mov dword [0x101c9308], eax
push str.sv_gravity
mov eax, dword [ecx]
call dword [eax + 0x34]
mov ecx, dword [0x101cf498]
mov dword [0x101c930c], eax
push str.cl_flipviewmodels
mov eax, dword [ecx]
call dword [eax + 0x34]
mov ecx, dword [0x101cf498]
mov dword [0x101c9310], eax
push str.sv_maxunlag
mov eax, dword [ecx]
call dword [eax + 0x34]
mov ecx, dword [0x101cf498]
mov dword [0x101c9314], eax
push str.tf_enable_glows_after_respawn
mov eax, dword [ecx]
call dword [eax + 0x34]
mov ecx, dword [0x101cf498]
mov dword [0x101c9318], eax
push str.glow_outline_effect_enable
mov eax, dword [ecx]
call dword [eax + 0x34]
mov ecx, dword [0x101cf498]
mov dword [0x101c931c], eax
push str.r_drawspecificstaticprop
mov eax, dword [ecx]
call dword [eax + 0x34]
mov ecx, dword [0x101cf498]
mov dword [0x101c9320], eax
push str.sv_namechange_cooldown_seconds
mov eax, dword [ecx]
call dword [eax + 0x34]
mov ecx, dword [0x101cf498]
mov dword [0x101c9324], eax
push str.mp_idlemaxtime
mov eax, dword [ecx]
call dword [eax + 0x34]
mov ecx, dword [0x101cf498]
mov dword [0x101c9328], eax
push str.sv_maxusrcmdprocessticks
mov eax, dword [ecx]
call dword [eax + 0x34]
mov dword [0x101c932c], eax
mov ecx, dword [0x101cf498]
push str.sv_maxusrcmdprocessticks_holdaim
mov eax, dword [ecx]
call dword [eax + 0x34]
mov ecx, dword [0x101cf498]
mov dword [0x101c9330], eax
mov eax, dword [ecx]
call dword [eax + 0x44]
mov esi, eax
test esi, esi
je 0x1011c320
nop dword [eax + eax]
mov eax, dword [esi]
mov ecx, esi
and dword [esi + 0x14], 0xffbfbfed
call dword [eax + 0x18]
cmp eax, str.name
jne 0x1011c2dc
mov eax, dword [esi]
mov ecx, esi
push 0
mov dword [esi + 0x44], 0
call dword [eax + 0x3c]
mov dword [esi + 0x44], 0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18]
mov ecx, eax
mov al, byte [ecx]
test al, al
jne 0x1011c2f2
mov eax, 0x811c9dc5
jmp 0x1011c306
movsx eax, al
inc ecx
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
call fcn.10025450
mov dword [ebp - 4], eax
mov ecx, 0x101c9334
lea eax, [ebp - 4]
push eax
call fcn.10013800
mov dword [eax], esi
mov esi, dword [esi + 4]
test esi, esi
jne 0x1011c2b0
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1011c330
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov al, byte [esi]
test al, al
jne 0x1011c34c
mov eax, 0x811c9dc5
jmp 0x1011c362
movsx eax, al
lea ecx, [esi + 1]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
call fcn.10025450
mov dword [esp + 0x10], eax
mov ecx, 0x101c9334
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.10014bc0
mov eax, dword [eax]
cmp dword [eax + 0xc], 0
jne 0x1011c3d0
mov ecx, dword [0x101cf498]
push esi
mov eax, dword [ecx]
call dword [eax + 0x34]
mov cl, byte [esi]
mov ebx, eax
test cl, cl
jne 0x1011c39d
mov eax, 0x811c9dc5
jmp 0x1011c3b3
movsx eax, cl
lea ecx, [esi + 1]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
call fcn.10025450
mov dword [esp + 0x14], eax
mov ecx, 0x101c9334
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.10014bc0
mov eax, dword [eax]
mov dword [eax + 0xc], ebx
mov al, byte [esi]
test al, al
jne 0x1011c3dd
mov eax, 0x811c9dc5
jmp 0x1011c3f3
movsx eax, al
lea ecx, [esi + 1]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
call fcn.10025450
mov dword [esp + 0x14], eax
mov ecx, 0x101c9334
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.10014bc0
pop edi
pop esi
pop ebx
mov eax, dword [eax]
mov eax, dword [eax + 0xc]
mov esp, ebp
pop ebp
ret 4

Function at 0x1011d4c0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
movzx eax, byte [edx]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edx + 1]
xor ecx, eax
movzx eax, byte [edx + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 4]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 5]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 6]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 7]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
pop ebp
ret 4
Function at 0x1011fd40
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push esi
push edi
mov edi, ecx
mov edx, edi
lea ecx, [edx + 1]
nop dword [eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x1011fd50
xor esi, esi
mov eax, 0x811c9dc5
sub edx, ecx
je 0x1011fd9e
movzx ecx, byte [edi + esi]
inc esi
xor ecx, eax
imul eax, ecx, 0x1000193
cmp esi, edx
jb 0x1011fd62
cmp eax, 0x7c4a5426
ja 0x1011fdb1
je 0x1011fe08
cmp eax, 0x3a712436
ja 0x1011fda3
je 0x1011fe08
cmp eax, 0x2eb1674
je 0x1011fe08
cmp eax, 0x19acc50e
je 0x1011fe08
cmp eax, 0x39c98ba1
je 0x1011fe08
xor al, al
pop edi
pop esi
ret
cmp eax, 0x43d6266e
je 0x1011fe08
cmp eax, 0x4d7aa8c1
jmp 0x1011fd9c
cmp eax, 0xcb7412ac
ja 0x1011fddf
je 0x1011fe08
cmp eax, 0x9d08c4c8
ja 0x1011fdd1
je 0x1011fe08
cmp eax, 0x7f11af2d
je 0x1011fe08
cmp eax, 0x84ea2fe5
jmp 0x1011fd9c
cmp eax, 0xa7eab73f
je 0x1011fe08
cmp eax, 0xc941ff64
jmp 0x1011fd9c
cmp eax, 0xe80bc214
ja 0x1011fdf6
je 0x1011fe08
cmp eax, 0xd614ea2e
je 0x1011fe08
cmp eax, 0xe1525a25
jmp 0x1011fd9c
cmp eax, 0xee7a29e8
je 0x1011fe08
cmp eax, 0xf8573d98
sete al
pop edi
pop esi
ret
pop edi
mov al, 1
pop esi
ret

Function at 0x1011fe10
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push esi
push edi
mov edi, ecx
mov edx, edi
lea ecx, [edx + 1]
nop dword [eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x1011fe20
xor esi, esi
sub edx, ecx
mov ecx, 0x811c9dc5
je 0x1011fe65
movzx eax, byte [edi + esi]
inc esi
xor eax, ecx
imul ecx, eax, 0x1000193
cmp esi, edx
jb 0x1011fe32
cmp ecx, 0x5978b32e
ja 0x1011fe6a
je 0x1011fe7e
cmp ecx, 0x1b20e275
je 0x1011fe7e
cmp ecx, 0x3cb8abb3
je 0x1011fe7e
cmp ecx, 0x4c849f3c
je 0x1011fe7e
xor al, al
pop edi
pop esi
ret
cmp ecx, 0x97113ea7
je 0x1011fe7e
cmp ecx, 0xa8d619ea
sete al
pop edi
pop esi
ret
pop edi
mov al, 1
pop esi
ret
Function at 0x101207a0
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, ecx
mov dword [ebp - 4], edx
push edi
push 0
push 4
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
je 0x10120893
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x1012088c
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 0x20], 0x10
jb 0x10120872
call ebx
cmp dword [ebp - 0x14], eax
jne 0x10120872
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp - 0x18], eax
je 0x10120872
mov edx, dword [esi]
test edx, edx
jne 0x10120838
push 0x200
push edx
push dword [0x101d0950]
mov dword [esi + 4], 0x80
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, eax
mov dword [esi], edx
test edx, edx
je 0x1012088c
jmp 0x10120863
mov eax, dword [esi + 4]
cmp dword [esi + 8], eax
jb 0x10120863
shl eax, 3
push eax
push edx
push 0
push dword [0x101d0950]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov edx, eax
test edx, edx
je 0x1012088c
mov eax, dword [esi + 4]
add eax, eax
mov dword [esi], edx
mov dword [esi + 4], eax
mov ecx, dword [esi + 8]
mov eax, dword [ebp - 0x18]
mov dword [edx + ecx*4], eax
lea eax, [ecx + 1]
mov dword [esi + 8], eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x101207f7
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esi], 0
je 0x101208d9
xor edi, edi
cmp dword [esi + 8], edi
jbe 0x101208d9
nop
mov eax, dword [esi]
push dword [eax + edi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov ebx, eax
test ebx, ebx
je 0x101208d3
push ebx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push dword [ebp + 8]
mov edx, dword [ebp - 4]
mov ecx, ebx
call fcn.10120650
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, dword [esi + 8]
jb 0x101208a0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x101208e0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
imul esi, ecx, 0x2c
mov ebx, edx
push edi
add esi, dword [0x102bb550]
mov eax, dword [esi]
mov cl, byte [esi + 0x14]
and cl, 1
lea edi, [eax - 5]
cmove edi, eax
movzx eax, cl
lea ecx, [ebp - 4]
push ecx
push 0x40
lea eax, [eax*2 + 5]
push eax
push edi
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1012092d
pop edi
pop esi
mov eax, 0xa
pop ebx
mov esp, ebp
pop ebp
ret
test ebx, ebx
je 0x1012094e
mov byte [edi], 0xe9
mov eax, dword [esi + 4]
sub eax, edi
sub eax, 5
mov dword [edi + 1], eax
test byte [esi + 0x14], 1
je 0x1012096f
mov eax, dword [esi]
mov word [eax], 0xf9eb
jmp 0x1012096f
mov eax, dword [esi + 0xc]
test byte [esi + 0x14], 1
mov dword [edi], eax
je 0x10120969
mov ax, word [esi + 0x10]
mov word [edi + 4], ax
mov al, byte [esi + 0x12]
mov byte [edi + 6], al
jmp 0x1012096f
mov al, byte [esi + 0x10]
mov byte [edi + 4], al
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 8]
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push dword [ebp - 8]
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov cl, byte [esi + 0x14]
and bl, 1
mov al, bl
and cl, 0xfd
add al, al
shl bl, 2
or cl, al
and cl, 0xfb
or cl, bl
xor eax, eax
pop edi
mov byte [esi + 0x14], cl
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x101209c0
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov edx, dword [0x102bb558]
push ebx
push esi
push edi
xor edi, edi
xor esi, esi
mov dword [ebp - 4], edi
mov ebx, ecx
test edx, edx
je 0x10120ab1
mov eax, dword [0x102bb550]
add eax, 0x14
movzx ecx, byte [eax]
shr ecx, 1
and ecx, 1
cmp ecx, ebx
jne 0x10120a05
inc esi
add eax, 0x2c
cmp esi, edx
jb 0x101209e8
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp esi, 0xffffffff
je 0x10120ab1
xor eax, eax
lea ecx, [ebp - 0x10]
test ebx, ebx
setne al
or edx, 0xffffffff
push eax
call fcn.101207a0
mov ecx, dword [0x102bb558]
add esp, 4
cmp esi, ecx
jae 0x10120a65
imul edi, esi, 0x2c
mov eax, dword [0x102bb550]
movzx eax, byte [edi + eax + 0x14]
shr eax, 1
and eax, 1
cmp eax, ebx
je 0x10120a5a
mov edx, ebx
mov ecx, esi
call fcn.101208e0
mov dword [ebp - 4], eax
test eax, eax
jne 0x10120a62
mov ecx, dword [0x102bb558]
inc esi
add edi, 0x2c
cmp esi, ecx
jb 0x10120a31
mov edi, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x10120ab1
xor esi, esi
cmp dword [ebp - 8], esi
jbe 0x10120aa2
mov edi, eax
push dword [edi + esi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov ebx, eax
test ebx, ebx
je 0x10120a96
push ebx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [ebp - 8]
jb 0x10120a75
mov edi, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
push eax
push 0
push dword [0x101d0950]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10121ccf
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 2
lea eax, [ebp - 4]
push eax
push 0x20000001
push str._x_sys_default_locale
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov esi, dword [ebp + 0xc]
neg eax
sbb eax, eax
xor ecx, ecx
and eax, dword [ebp - 4]
push ecx
push ecx
push esi
push eax
push dword [ebp + 8]
mov dword [ebp - 4], eax
push ecx
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push eax
push dword [esi]
call fcn.10121cab
pop esi
leave
ret 8
Function at 0x40de73
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41a440]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.0040931a
mov dword [ebp - 0x14], eax
cmp dword [0x4383a0], esi
jne 0x40df66
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40def3
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40e046
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40e046
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40e046
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x4383a0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x4383a4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x4383a8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4383b0], eax
test eax, eax
je 0x40df63
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4383ac], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40df8b
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40df7e
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40dfa0
push 4
pop eax
jmp 0x40e048
cmp dword [ebp - 0x14], esi
je 0x40dfa0
push dword [0x4383a0]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40df85
mov eax, dword [0x4383ac]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40dffe
cmp dword [0x4383b0], edi
je 0x40dffe
push eax
call ebx
push dword [0x4383b0]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40dffe
test eax, eax
je 0x40dffe
call ecx
test eax, eax
je 0x40dff3
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x40dff3
test byte [ebp - 8], 1
jne 0x40dffe
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40e02e
mov eax, dword [0x4383a4]
cmp eax, edi
je 0x40e02b
push eax
call ebx
test eax, eax
je 0x40e02b
call eax
mov esi, eax
test esi, esi
je 0x40e02b
mov eax, dword [0x4383a8]
cmp eax, edi
je 0x40e02b
push eax
call ebx
test eax, eax
je 0x40e02b
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x4383a0]
call ebx
test eax, eax
je 0x40e046
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40e048
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00404429
mov esp, ebp
pop ebp
ret
Function at 0x402871
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x28
mov eax, 0x45c773
call fcn.0043f2b0
lea ecx, [ebp - 0x18]
call fcn.004308e3
and dword [ebp - 4], 0
mov byte [ebp - 4], 1
mov eax, dword [ebp + 8]
call fcn.00402ae9
or dword [ebp - 4], 0xffffffff
call fcn.004308f9
and dword [ebp - 0x14], 0
push 0x21
push 1
mov edi, 0x400000
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
je 0x40299a
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
test esi, esi
je 0x402991
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
xor ebx, ebx
cmp eax, ebx
je 0x40299a
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
cmp eax, ebx
je 0x40299a
mov dword [ebp - 4], 3
shr esi, 1
lea edi, [eax + esi*2]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], ebx
mov esi, eax
mov dword [ebp - 0x24], esi
cmp esi, edi
je 0x402937
cmp word [esi], bx
jne 0x402933
cmp dword [ebp - 0x1c], ebx
je 0x40292d
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp + 8]
call fcn.00402a51
lea eax, [esi + 2]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], ebx
jmp 0x402933
lea eax, [esi + 2]
mov dword [ebp - 0x1c], eax
inc esi
inc esi
jmp 0x402903
or dword [ebp - 4], 0xffffffff
jmp 0x402998
mov dword [ebp - 0x14], 1
jmp 0x4029a2
call fcn.00403147
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
jmp 0x4029cb
call fcn.0043f355
ret 4