joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401ef0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x46e858
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
mov eax, dword [0x477028]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
xor ecx, ecx
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], vtable.CBitmap.0
mov eax, dword [ebp + 8]
mov dword [esp + 0x38], ecx
cmp eax, 2
jl 0x401f39
cmp eax, 6
jle 0x401f3e
mov eax, 2
cmp dword [ebp + 0xc], ecx
je 0x401f4d
movzx eax, word [eax*2 + 0x470bfc]
jmp 0x401f55
movzx eax, word [eax*2 + 0x470bf0]
push eax
push 2
push eax
call dword [0x470830]
push eax
call dword [0x47024c]
push eax
lea ecx, [esp + 0x10]
call dword [0x470690]
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push eax
push 0x18
push ecx
call dword [0x470074]
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x1c]
push edx
call dword [0x470070]
mov dword [esp + 0x38], 0xffffffff
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], vtable.CBitmap.0
call fcn.00402260
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x403320
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46ec4c
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x477028]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea edi, [esi + 0x18]
xor ebx, ebx
lea ecx, [esi + 0x30]
mov dword [edi], ebx
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
call dword [0x47084c]
mov dword [ebp - 4], ebx
xor eax, eax
lea ebx, [esi + 0x34]
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], eax
call fcn.004033f0
mov dword [esi], eax
xor eax, eax
push eax
push eax
push eax
push eax
mov ecx, 2
push edi
mov edi, dword [0x47023c]
mov dword [esi + 4], ecx
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], ecx
call edi
xor eax, eax
push 0x47115c
lea ecx, [esi + 0x30]
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
call dword [0x470670]
push 0
push 0
push 0
push 0
push ebx
call edi
cmp byte [ebp + 0xc], 0
mov dword [esi + 0x44], 0x18
je 0x4033d4
mov ecx, esi
call fcn.00403d30
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x403d30
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x46ec19
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x477028]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov esi, ecx
xor ecx, ecx
call fcn.004035a0
mov ecx, 1
mov dword [esi], eax
call fcn.004035a0
mov ecx, 2
mov dword [esi + 4], eax
call fcn.004035a0
mov ecx, 3
mov dword [esi + 8], eax
call fcn.004035a0
mov ecx, 4
mov dword [esi + 0xc], eax
call fcn.004035a0
mov ecx, 5
mov dword [esi + 0x10], eax
call fcn.004035a0
mov ecx, 7
mov dword [esi + 0x14], eax
call fcn.004035a0
mov ecx, 8
mov dword [esi + 0x28], eax
call fcn.004035a0
lea edi, [esi + 0x30]
lea ebx, [esp + 0x10]
mov dword [esi + 0x2c], eax
call fcn.004038d0
push eax
mov ecx, edi
mov dword [esp + 0x44], 0
call dword [0x470668]
mov ecx, ebx
mov dword [esp + 0x40], 0xffffffff
call dword [0x470874]
mov ecx, 0x12
call fcn.004035a0
push 0x11
lea edx, [esi + 0x34]
lea ecx, [esp + 0x18]
mov dword [esi + 0x44], eax
call fcn.00403750
mov ecx, dword [eax]
mov dword [esi + 0x34], ecx
mov edx, dword [eax + 4]
mov dword [esi + 0x38], edx
mov ecx, dword [eax + 8]
mov dword [esi + 0x3c], ecx
mov edx, dword [eax + 0xc]
mov dword [esi + 0x40], edx
push 6
lea edx, [esi + 0x18]
lea ecx, [esp + 0x28]
call fcn.00403750
mov ecx, dword [eax]
mov dword [esi + 0x18], ecx
mov edx, dword [eax + 4]
mov dword [esi + 0x1c], edx
mov ecx, dword [eax + 8]
mov dword [esi + 0x20], ecx
mov edx, dword [eax + 0xc]
mov dword [esi + 0x24], edx
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x404e90
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov esi, eax
xor ecx, ecx
mov eax, 0x39
mov edx, 2
mul edx
seto cl
push edi
mov dword [esi], 0
neg ecx
or ecx, eax
push ecx
call dword [0x47086c]
push str.Version
push str.fx_92_College_2D
push str.ESPLUSemulator4
push 0x4712c0
push str._s_s_s_s
mov edi, eax
push 0x39
push edi
call dword [0x4701a8]
add esp, 0x20
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push edi
push 0x80000002
call dword [section..rdata]
mov ebx, eax
mov dword [ebp - 0x14], ebx
test ebx, ebx
jne 0x404f99
lea ecx, [ebp - 0xc]
push ecx
mov ecx, dword [ebp - 4]
lea edx, [ebp - 8]
push edx
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
push ebx
push str.VERSION
push ecx
mov dword [ebp - 0x10], 4
mov dword [ebp - 0xc], 0x20
call dword [0x470030]
mov ebx, dword [ebp - 4]
neg eax
sbb eax, eax
not eax
and eax, dword [ebp - 8]
lea edx, [esi + 8]
mov dword [esi + 4], eax
push edx
mov eax, 0x47135c
call fcn.004050e0
mov ebx, dword [ebp - 4]
lea eax, [esi + 0xc]
push eax
mov eax, str.HELP
call fcn.004050e0
mov ebx, dword [ebp - 4]
lea ecx, [esi + 0x1c]
push ecx
mov eax, str.SerialNo
call fcn.004050e0
mov ebx, dword [ebp - 4]
lea edx, [esi + 0x20]
push edx
mov eax, str.Country
call fcn.004050e0
mov ebx, dword [ebp - 4]
add esi, 0x24
push esi
mov eax, str.MANUAL
call fcn.004050e0
mov ebx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
push eax
call dword [0x470034]
push edi
call dword [0x470888]
add esp, 4
pop edi
xor eax, eax
test ebx, ebx
pop esi
sete al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100010aa
Capabilities:
Compress data via winapi

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x10006040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0xc]
push str.ntdll.dll
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x1c], eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x10001157
push ebx
push esi
push str.RtlDecompressBuffer
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
and dword [ebp - 8], 0
mov ebx, 0x1000
mov dword [ebp - 0x14], eax
push ebx
jmp 0x10001131
push ebx
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 8]
push eax
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push ebx
push esi
push 2
call dword [ebp - 0x14]
mov eax, dword [ebp - 8]
cmp ebx, eax
jae 0x10001141
test esi, esi
je 0x1000112e
push esi
call dword [sym.imp.mfc140u.dll_operator_1]
mov eax, dword [ebp - 8]
pop ecx
mov ebx, eax
push eax
call dword [sym.imp.mfc140u.dll_operator]
mov esi, eax
pop ecx
test esi, esi
jne 0x100010fb
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x18]
push edi
mov dword [ecx], esi
mov ecx, dword [ebp - 0x1c]
mov dword [ecx], eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
pop esi
inc eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.10001e7d
leave
ret
Function at 0x10001354
Capabilities:
Encode data using xor
Get common file path

Disassembly:
push 0x25c
mov eax, 0x1000305a
call fcn.1000258f
xor esi, esi
lea eax, [ebp - 0x210]
push esi
push 0x2e
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str.pass.txt
lea eax, [ebp - 0x210]
push 0xff
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
add esp, 0xc
lea edi, [ebp - 0x22c]
xor eax, eax
push 6
pop ecx
rep stosd dword es:[edi], eax
lea ecx, [ebp - 0x22c]
call dword [0x10004104]
push esi
push 0x1001
lea eax, [ebp - 0x210]
mov dword [ebp - 4], esi
push eax
lea ecx, [ebp - 0x22c]
call dword [sym.imp.mfc140u.dll_CStdioFile::Open]
push str.20211215
lea ecx, [ebp - 0x22c]
call dword [sym.imp.mfc140u.dll_CStdioFile::WriteString]
lea ecx, [ebp - 0x22c]
call dword [sym.imp.mfc140u.dll_CStdioFile::Close]
push 0x10004318
lea eax, [ebp - 0x210]
mov dword [ebp - 0x230], esi
push eax
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__wfopen_s]
add esp, 0xc
test eax, eax
jne 0x10001434
lea eax, [ebp - 0x214]
push eax
push 0x1000431c
push dword [ebp - 0x230]
call fcn.10001056
add esp, 0xc
cmp eax, 0xffffffff
jne 0x10001408
push dword [ebp - 0x230]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
pop ecx
mov eax, dword [ebp - 0x214]
test eax, eax
je 0x100013e2
push 8
pop ecx
xor edx, edx
mov dword [ebp - 0x244], ecx
inc edx
mov dword [ebp - 0x23c], ecx
mov ecx, dword [0x100060b4]
push 3
pop edi
mov dword [ebp - 0x240], edx
mov dword [ebp - 0x258], edx
xor edx, edx
mov dword [ebp - 0x25c], eax
mov eax, ecx
div edi
mov dword [ebp - 0x254], edi
mov edx, esi
push 9
mov edi, eax
mov dword [ebp - 0x238], esi
mov dword [ebp - 0x234], esi
mov dword [ebp - 0x230], esi
mov dword [ebp - 0x268], 0x86
mov dword [ebp - 0x264], 0x68
mov dword [ebp - 0x260], 0x66
mov dword [ebp - 0x250], 5
mov dword [ebp - 0x24c], 7
pop ebx
mov dword [ebp - 0x248], ebx
test edi, edi
je 0x100014ee
xor ecx, ecx
cmp esi, ebx
cmovne ecx, esi
mov al, byte [ebp + ecx*4 - 0x268]
lea esi, [ecx + 1]
xor byte [edx + 0x100060bc], al
inc edx
cmp edx, edi
jb 0x100014cc
mov ecx, dword [0x100060b4]
lea eax, [ebp - 0x230]
mov edx, ecx
push eax
lea eax, [ebp - 0x234]
mov ebx, 0x100060bc
push eax
mov ecx, ebx
call fcn.100010aa
movzx eax, byte [0x100060b8]
xor edx, edx
pop ecx
pop ecx
push 0x5f
pop edi
div edi
mov ecx, dword [0x100060b4]
mov esi, ebx
add dl, 0x58
test ecx, ecx
je 0x1000153d
mov al, byte [esi]
xor al, dl
add al, dl
mov byte [esi], al
inc esi
sub ecx, 1
jne 0x10001529
mov ecx, dword [0x100060b4]
neg ecx
lea eax, [ebp - 0x244]
mov edx, ecx
mov ecx, ebx
push eax
call fcn.10001164
push ecx
push ecx
mov ecx, ebx
call fcn.10001919
add esp, 0xc
mov esi, eax
mov ecx, esi
call fcn.10001ab1
call eax
test esi, esi
je 0x10001571
mov ecx, esi
call fcn.10001b3a
lea ecx, [ebp - 0x22c]
call dword [sym.imp.mfc140u.dll_CStdioFile::CStdioFile]
call fcn.1000254d
ret
Function at 0x10001919
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, ecx
mov ecx, 0x5a4d
push ebx
push esi
push edi
mov dword [ebp - 4], eax
cmp word [eax], cx
jne 0x10001a9f
mov ebx, dword [eax + 0x3c]
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x10001a9f
mov edi, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push 4
push 0x3000
push dword [ebx + 0x50]
push dword [ebx + 0x34]
call edi
mov esi, eax
mov dword [ebp - 8], esi
test esi, esi
jne 0x10001980
push 4
push 0x3000
push dword [ebx + 0x50]
push eax
call edi
mov esi, eax
mov dword [ebp - 8], eax
test esi, esi
jne 0x10001980
push 0xe
jmp 0x10001aa4
push 0x24
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
test edi, edi
jne 0x100019b1
push 0xe
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 0x8000
push edi
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x10001aaa
xor eax, eax
mov dword [edi + 4], esi
push 4
push 0x1000
mov dword [edi + 0xc], eax
mov dword [edi + 8], eax
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], 0x100018ec
mov dword [edi + 0x18], 0x100018fa
mov dword [edi + 0x1c], 0x1000190b
mov dword [edi + 0x20], eax
push dword [ebx + 0x54]
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push dword [ebx + 0x54]
mov esi, eax
push dword [ebp - 4]
push esi
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp - 4]
mov edx, ebx
mov ecx, dword [ebp - 4]
push edi
mov eax, dword [eax + 0x3c]
add eax, esi
mov esi, dword [ebp - 8]
mov dword [edi], eax
mov dword [eax + 0x34], esi
call fcn.1000158e
mov edx, esi
add esp, 0x10
sub edx, dword [ebx + 0x34]
je 0x10001a22
mov ecx, edi
call fcn.10001711
mov ecx, edi
call fcn.1000179a
test eax, eax
je 0x10001a8b
mov ecx, edi
call fcn.10001636
mov eax, dword [edi]
mov ebx, dword [eax + 0xc0]
test ebx, ebx
je 0x10001a6a
mov eax, dword [edi + 4]
mov dword [ebp - 4], eax
mov ebx, dword [ebx + eax + 0xc]
test ebx, ebx
je 0x10001a6a
mov eax, dword [ebx]
test eax, eax
je 0x10001a6a
mov esi, dword [ebp - 4]
push 0
push 1
push esi
call eax
lea ebx, [ebx + 4]
mov eax, dword [ebx]
test eax, eax
jne 0x10001a57
mov esi, dword [ebp - 8]
mov eax, dword [edi]
mov eax, dword [eax + 0x28]
test eax, eax
je 0x10001a9b
push 0
push 1
push esi
add eax, esi
call eax
test eax, eax
jne 0x10001a94
push 0x45a
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, edi
call fcn.10001b3a
jmp 0x10001aaa
mov dword [edi + 0x10], 1
mov eax, edi
jmp 0x10001aac
push 0xc1
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x12002e01
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x12086863
call fcn.12055780
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [ebp - 0x10], esi
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov eax, dword [0x120b3180]
mov dword [esi + 0xc], eax
mov eax, dword [0x120b3180]
mov dword [ebp - 4], ebx
mov dword [esi + 0x14], eax
mov eax, dword [0x120b3180]
mov dword [esi + 0x18], eax
mov eax, dword [0x120b3180]
mov dword [esi + 0x1c], eax
mov eax, dword [0x120b3180]
mov dword [esi + 0x20], eax
push 0x12002f75
push 0x12002f69
push 0x1f4
lea eax, [esi + 0x34]
push 0x14
push eax
mov byte [ebp - 4], 4
mov dword [esi + 0x28], ebx
call fcn.12055970
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [esi + 0x2754]
push 0x120a9244
push eax
mov dword [esi + 0x2744], ebx
mov dword [esi], method.CSyncObject.virtual_20
call edi
lea eax, [esi + 0x2760]
push 0x120a9240
push eax
mov dword [esi + 0x275c], ebx
call edi
lea eax, [esi + 0x276c]
push 0x120a923c
push eax
mov dword [esi + 0x2768], ebx
call edi
lea eax, [esi + 0x2778]
push 0x120a9238
push eax
mov dword [esi + 0x2774], ebx
call edi
lea eax, [esi + 0x2784]
push 0x120a9234
push eax
mov dword [esi + 0x2780], ebx
call edi
lea eax, [esi + 0x2790]
push 0x120a9230
push eax
mov dword [esi + 0x278c], ebx
call edi
lea eax, [esi + 0x279c]
push 0x120a922c
push eax
mov dword [esi + 0x2798], ebx
call edi
lea eax, [esi + 0x27a8]
push str.XRKBLCPE
push eax
mov dword [esi + 0x27a4], ebx
call edi
mov dword [esi + 0x27b0], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x24], ebx
mov eax, esi
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x12002f7d
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags

Disassembly:
mov eax, 0x120868c0
call fcn.12055780
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], method.CSyncObject.virtual_20
push dword [esi + 0x2c]
mov dword [ebp - 4], 5
call fcn.12074064
push dword [esi + 0x30]
call fcn.12074064
pop ecx
lea eax, [esi + 0x34]
pop ecx
mov byte [ebp - 4], 4
push 0x12002f75
push 0x1f4
push 0x14
push eax
call fcn.120559f2
lea ecx, [esi + 0x20]
mov byte [ebp - 4], 3
call fcn.1207396a
lea ecx, [esi + 0x1c]
mov byte [ebp - 4], 2
call fcn.1207396a
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 1
call fcn.1207396a
and byte [ebp - 4], 0
lea ecx, [esi + 0x14]
call fcn.1207396a
or dword [ebp - 4], 0xffffffff
lea ecx, [esi + 0xc]
call fcn.1207396a
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x12003dca
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
lea eax, [ebp - 8]
mov dword [0x120b7bfc], 2
push eax
lea eax, [ebp - 4]
push eax
call fcn.120124dd
pop ecx
test eax, eax
pop ecx
je 0x12003e03
mov eax, dword [ebp - 4]
shr eax, 0x10
cmp ax, 5
jb 0x12003e03
or dword [0x120b7bfc], 1
cmp dword [0x120a9224], 0xffffffff
jne 0x12003e3d
and dword [0x120a9224], 0
lea eax, [ebp - 0x9c]
push eax
mov dword [ebp - 0x9c], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x8c], 2
jne 0x12003e3d
mov dword [0x120a9224], 1
cmp dword [0x120a9224], 0
je 0x12003e4d
or dword [0x120b7bfc], 4
leave
ret
Function at 0x12003f33
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x1208693f
call fcn.12055780
sub esp, 0x810
mov eax, dword [0x120b3180]
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], edi
cmp dword [ebp + 0x10], 4
mov dword [ebp - 4], 1
jne 0x1200400c
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push edi
push edi
push 0x18b
push dword [ebp + 0xc]
call esi
cmp dword [ebp + 0x14], eax
jge 0x120040eb
mov al, byte [0x120b7bfc]
test al, 4
je 0x12003fa6
test al, 2
je 0x12003fa6
lea eax, [ebp - 0x418]
push eax
push dword [ebp + 0x14]
push 0x189
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x12003fba
lea eax, [ebp - 0x418]
push eax
push dword [ebp + 0x14]
push 0x189
push dword [ebp + 0xc]
call esi
cmp eax, 0xffffffff
je 0x120040eb
mov cl, byte [0x120b7bfc]
mov eax, dword [ebp - 0x418]
test cl, 1
jne 0x12003fda
lea eax, [ebp - 0x418]
test cl, 2
je 0x12003ffe
push edi
push edi
lea ecx, [ebp - 0x81c]
push 0x404
push ecx
push 0xffffffffffffffff
push eax
push edi
push edi
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea eax, [ebp - 0x81c]
push eax
lea ecx, [ebp - 0x10]
call fcn.12073af3
jmp 0x120040eb
cmp dword [ebp + 0x10], 3
jne 0x120040eb
mov ebx, dword [ebp + 0xc]
push 0xfffffffffffffff0
push ebx
call dword [sym.imp.USER32.dll_GetWindowLongA]
test al, 3
push edi
push edi
je 0x120040c3
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push 0x146
push ebx
call esi
cmp dword [ebp + 0x14], eax
jge 0x120040eb
mov al, byte [0x120b7bfc]
test al, 4
je 0x12004068
test al, 2
je 0x12004068
lea eax, [ebp - 0x418]
push eax
push dword [ebp + 0x14]
push 0x148
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x1200407a
lea eax, [ebp - 0x418]
push eax
push dword [ebp + 0x14]
push 0x148
push ebx
call esi
cmp eax, 0xffffffff
je 0x120040eb
mov cl, byte [0x120b7bfc]
mov eax, dword [ebp - 0x418]
test cl, 1
jne 0x12004096
lea eax, [ebp - 0x418]
test cl, 2
je 0x12003ffe
push edi
push edi
lea ecx, [ebp - 0x81c]
push 0x404
push ecx
push 0xffffffffffffffff
push eax
push edi
push edi
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea eax, [ebp - 0x81c]
jmp 0x12003ffe
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0xe
push ebx
call edi
mov esi, eax
lea ecx, [ebp - 0x10]
inc esi
push esi
call fcn.12073d9a
push eax
push esi
push 0xd
push ebx
call edi
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.12073de9
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.120736df
mov dword [ebp - 0x14], 1
and byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.1207396a
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x120069ea
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x12086cc6
call fcn.12055780
sub esp, 0x40
push ebx
push esi
push edi
xor edi, edi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.1202eaf0
push 0xa
mov dword [ebp - 4], edi
pop ecx
mov dword [esi + 0x1c], 0x1208ee68
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], 0x11
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], ecx
lea ebx, [esi + 0x38]
mov eax, vtable.CFont.0
mov dword [ebx + 4], edi
mov dword [ebx], eax
mov dword [esi + 0x44], edi
mov dword [esi + 0x40], eax
mov eax, 0x1208ee5c
mov dword [esi + 0x4c], edi
mov dword [esi + 0x48], eax
mov dword [esi + 0x54], edi
mov dword [esi + 0x50], eax
lea eax, [esi + 0x78]
mov dword [eax], method.CCommandLineInfo.virtual_0
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edi
mov dword [eax + 8], edi
mov dword [eax + 4], edi
mov dword [eax + 0x14], edi
mov dword [eax + 0x18], ecx
lea eax, [esi + 0x60]
mov byte [ebp - 4], 6
push eax
mov dword [esi], 0x1208ee50
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x3c
lea eax, [ebp - 0x4c]
push edi
push eax
call fcn.12055850
lea eax, [ebp - 0x30]
push str.Verdana
push eax
mov dword [ebp - 0x4c], 0x46
call fcn.12055e80
lea eax, [ebp - 0x30]
push str.Arial
push eax
call fcn.12055e80
add esp, 0x1c
lea eax, [ebp - 0x4c]
lea ecx, [esi + 0x40]
push edi
push eax
call fcn.1207d566
lea eax, [ebp - 0x30]
push str.Verdana
push eax
mov dword [ebp - 0x44], 0xa8c
mov dword [ebp - 0x40], 0x10
mov dword [ebp - 0x4c], 0x46
call fcn.12055e80
lea eax, [ebp - 0x30]
push str.Arial
push eax
call fcn.12055e80
add esp, 0x10
lea eax, [ebp - 0x4c]
push edi
push eax
mov ecx, ebx
call fcn.1207d566
push 0x82
lea ecx, [esi + 0x48]
call fcn.12006bcb
push 0x83
lea ecx, [esi + 0x50]
call fcn.12006bcb
mov edi, dword [sym.imp.USER32.dll_RegisterWindowMessageA]
push str.GSNShowCMUPreferences
call edi
push 0x120a97c8
mov dword [esi + 0x58], eax
call edi
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x5c], eax
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x120073ac
Capabilities:
Resume thread

Disassembly:
push esi
push 0
push 4
push 0
push 0
push 0x1208ee78
call fcn.12074439
mov esi, eax
test esi, esi
je 0x120073d2
push dword [esi + 0x28]
and dword [esi + 0x24], 0
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, esi
pop esi
ret
Function at 0x12007880
Capabilities:
Check for time delay via gettickcount
Terminate thread

Disassembly:
sub esp, 0x28
push ebx
push edi
mov ebx, ecx
xor edi, edi
cmp dword [ebx + 0xc0], edi
je 0x12007998
push ebp
push esi
push str.Telling_CMU_thread_to_quit
mov ebp, str.D:FixTree_25System_CodeegIEClientegIEClient.cpp
push 0x9f
push ebp
push edi
call fcn.1200f4fa
mov ecx, dword [ebx + 0xc0]
add esp, 0x10
call fcn.120073d6
mov eax, dword [ebx + 0xc0]
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov eax, dword [eax + 0x28]
mov dword [esp + 0x14], eax
call esi
push edi
mov dword [esp + 0x1c], eax
push edi
push edi
lea eax, [esp + 0x28]
push edi
push eax
call dword [sym.imp.USER32.dll_PeekMessageA]
call esi
mov edi, eax
mov dword [esp + 0x10], 0x7b
add edi, 0x1b58
call esi
cmp eax, edi
jae 0x12007925
push 0x32
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
mov dword [esp + 0x10], eax
jne 0x12007925
xor eax, eax
push eax
push eax
push eax
push eax
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.USER32.dll_PeekMessageA]
jmp 0x120078f5
call esi
sub eax, dword [esp + 0x18]
cmp dword [esp + 0x10], 0x102
jne 0x12007959
push eax
push str.CMUMgrThread_waited__d_ms__Thread_did_NOT_exit.__Wait_returned_WAIT_TIMEOUT..
push 0xb5
push ebp
push 1
call fcn.1200f4fa
add esp, 0x14
push 1
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
jmp 0x1200797e
xor ecx, ecx
cmp eax, 0x7d0
jbe 0x12007965
push 1
pop ecx
push dword [esp + 0x10]
push eax
push str.CMUMgrThread_waited__d_ms__wait_returned__d.
push 0xbe
push ebp
push ecx
call fcn.1200f4fa
add esp, 0x18
mov ecx, dword [ebx + 0xc0]
pop esi
test ecx, ecx
pop ebp
je 0x12007991
mov eax, dword [ecx]
push 1
call dword [eax + 4]
and dword [ebx + 0xc0], 0
pop edi
pop ebx
add esp, 0x28
ret

Function at 0x12007d4f
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
and dword [edi], 0
and dword [ebx], 0
test esi, esi
je 0x12007dc6
cmp byte [esi], 0
je 0x12007dc6
lea eax, [ebp + 8]
push eax
push esi
call sub.VERSION.dll_GetFileVersionInfoSizeA
test eax, eax
mov dword [ebp + 0xc], eax
je 0x12007dc6
push eax
call fcn.1207403b
pop ecx
mov dword [ebp + 0x10], eax
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push esi
call sub.VERSION.dll_GetFileVersionInfoA
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0x120a9b58
push dword [ebp + 0x10]
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x12007dbd
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
mov dword [ebx], ecx
mov eax, dword [eax + 0xc]
mov dword [edi], eax
push dword [ebp + 0x10]
call fcn.12074064
pop ecx
pop edi
pop esi
pop ebx
leave
ret