joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10002b50
Capabilities:
Terminate process

Disassembly:
push 8
push 0x10007438
call fcn.1000187c
push 8
call fcn.10001f1d
pop ecx
xor edi, edi
mov dword [ebp - 4], edi
xor esi, esi
inc esi
cmp dword [0x10009acc], esi
jne 0x10002b84
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [0x10009ac8], esi
mov al, byte [ebp + 0x10]
mov byte [0x10009ac4], al
cmp dword [ebp + 0xc], edi
jne 0x10002bce
cmp dword [0x1000a128], edi
je 0x10002bbe
mov eax, dword [0x1000a124]
sub eax, 4
mov dword [0x1000a124], eax
cmp eax, dword [0x1000a128]
jb 0x10002bbe
mov eax, dword [eax]
cmp eax, edi
je 0x10002b9f
call eax
jmp 0x10002b9f
push 0x10009020
mov eax, 0x1000901c
call fcn.10002ace
pop ecx
push 0x10009028
mov eax, 0x10009024
call fcn.10002ace
pop ecx
or dword [ebp - 4], 0xffffffff
call 0x10002bff
cmp dword [ebp + 0x10], edi
jne 0x10002c0d
mov dword [0x10009acc], esi
push dword [ebp + 8]
call fcn.10002a8c
xor edi, edi
xor esi, esi
inc esi
cmp dword [ebp + 0x10], edi
je 0x10002c0c
push 8
call fcn.10001e68
pop ecx
ret
call fcn.100018b7
ret

Function at 0x1000359c
Capabilities:
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x90]
sub esp, 0x110
mov eax, dword [0x10009034]
mov ecx, dword [ebp + 0x98]
push ebx
xor eax, ebp
push esi
mov dword [ebp + 0x8c], eax
xor edx, edx
push edi
xor eax, eax
cmp ecx, dword [eax*8 + 0x10009218]
je 0x100035d3
inc eax
cmp eax, 0x13
jb 0x100035c4
mov esi, eax
shl esi, 3
cmp ecx, dword [esi + 0x10009218]
jne 0x100036f6
mov eax, dword [0x10009910]
cmp eax, 1
je 0x100036d1
cmp eax, edx
jne 0x10003603
cmp dword [0x10009914], 1
je 0x100036d1
cmp ecx, 0xfc
je 0x100036f6
push 0x104
lea eax, [ebp - 0x7c]
push eax
push edx
mov byte [ebp + 0x88], dl
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x10003639
lea eax, [ebp - 0x7c]
push str._program_name_unknown_
push eax
call fcn.10003850
pop ecx
pop ecx
lea edi, [ebp - 0x7c]
mov eax, edi
push eax
call fcn.10003a80
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x1000366d
mov eax, edi
push eax
call fcn.10003a80
mov edi, eax
lea eax, [ebp - 0x7c]
sub eax, 0x3b
push 3
add edi, eax
push 0x100071f4
push edi
call fcn.10003950
add esp, 0x10
push edi
call fcn.10003a80
push dword [esi + 0x1000921c]
mov ebx, eax
call fcn.10003a80
lea eax, [ebx + eax + 0x1c]
pop ecx
add eax, 3
pop ecx
and eax, 0xfffffffc
call fcn.100033e0
mov ebx, esp
push str.Runtime_Error__n_nProgram:
push ebx
call fcn.10003850
push edi
push ebx
call fcn.10003860
push 0x100071f0
push ebx
call fcn.10003860
push dword [esi + 0x1000921c]
push ebx
call fcn.10003860
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebx
call fcn.1000374d
add esp, 0x2c
jmp 0x100036f6
push edx
lea eax, [ebp - 0x80]
push eax
lea esi, [esi + 0x1000921c]
push dword [esi]
call fcn.10003a80
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
lea esp, [ebp - 0x8c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x8c]
xor ecx, ebp
call fcn.100012ed
add ebp, 0x90
leave
ret
Function at 0x1000374d
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [0x10009be0], ebx
push esi
push edi
jne 0x100037cd
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x10003808
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
mov dword [0x10009be0], eax
je 0x10003808
push str.GetActiveWindow
push edi
call esi
push str.GetLastActivePopup
push edi
mov dword [0x10009be4], eax
call esi
cmp dword [0x10009a8c], 2
mov dword [0x10009be8], eax
jne 0x100037cd
push str.GetUserObjectInformationA
push edi
call esi
test eax, eax
mov dword [0x10009bf0], eax
je 0x100037cd
push str.GetProcessWindowStation
push edi
call esi
mov dword [0x10009bec], eax
mov eax, dword [0x10009bec]
test eax, eax
je 0x10003812
call eax
test eax, eax
je 0x100037f9
lea ecx, [ebp - 4]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [0x10009bf0]
test eax, eax
je 0x100037f9
test byte [ebp - 8], 1
jne 0x10003812
cmp dword [0x10009a98], 4
jb 0x1000380c
or byte [ebp + 0x12], 0x20
jmp 0x10003831
xor eax, eax
jmp 0x10003841
or byte [ebp + 0x12], 4
jmp 0x10003831
mov eax, dword [0x10009be4]
test eax, eax
je 0x10003831
call eax
mov ebx, eax
test ebx, ebx
je 0x10003831
mov eax, dword [0x10009be8]
test eax, eax
je 0x10003831
push ebx
call eax
mov ebx, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
call dword [0x10009be0]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10005a5e
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
push 4
pop eax
call fcn.100033e0
mov esi, esp
push 0x1c
lea eax, [ebp - 0x28]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x10005af9
mov ebx, dword [ebp - 0x24]
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x48]
mov eax, dword [0x10009a8c]
lea edi, [ecx - 1]
not edi
and edi, esi
sub edi, ecx
mov esi, eax
dec esi
neg esi
sbb esi, esi
and esi, 0xfffffff1
add esi, 0x11
imul esi, ecx
add esi, ebx
cmp edi, esi
mov dword [ebp - 8], ecx
jb 0x10005af9
cmp eax, 1
je 0x10005b1a
mov dword [ebp - 4], ebx
mov ebx, 0x1000
push 0x1c
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x10005af9
mov eax, dword [ebp - 0x1c]
add dword [ebp - 4], eax
test dword [ebp - 0x18], ebx
je 0x10005ac6
test byte [ebp - 0x13], 1
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], eax
je 0x10005af5
xor eax, eax
inc eax
jmp 0x10005b39
cmp edi, eax
jae 0x10005afd
xor eax, eax
jmp 0x10005b39
cmp eax, esi
jae 0x10005b04
mov dword [ebp - 4], esi
push 4
push ebx
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov eax, dword [0x10009a8c]
jmp 0x10005b1d
mov dword [ebp - 4], edi
dec eax
neg eax
sbb eax, eax
and eax, 0x103
lea ecx, [ebp - 0xc]
push ecx
inc eax
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea esp, [ebp - 0x58]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401a50
Capabilities:
Contain obfuscated stackstrings

Disassembly:
jne 0x401a5a
call fcn.0040175e
add esp, 0x10
lea ecx, [ebp - 0xb0]
push ecx
call eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xac]
xor edx, edx
div ecx
xor edx, edx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 8]
div ecx
test edx, edx
je 0x401a87
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.00401799
xchg edi, eax
xchg ebp, eax
cmp ah, byte [ecx]
lea eax, [ebp - 0x40]
push eax
invalid
Function at 0x402080
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov dword [ebp - 0x670], 4
and byte [ebp - 0x3c4], 0
and byte [ebp - 0x3c3], 0
mov byte [ebp - 0x3c2], 0x99
and byte [ebp - 0x3c1], 0
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
mov byte [ebp - 0x3bd], 0x2b
mov byte [ebp - 0x3bc], 9
mov byte [ebp - 0x3bb], 2
mov byte [ebp - 0x3ba], 0x13
mov byte [ebp - 0x3b9], 0xa
mov byte [ebp - 0x3b8], 3
mov byte [ebp - 0x3b7], 0x20
mov byte [ebp - 0x3b6], 0xf
mov byte [ebp - 0x3b5], 0xa
mov byte [ebp - 0x3b4], 3
mov byte [ebp - 0x3b3], 0x28
mov byte [ebp - 0x3b2], 7
mov byte [ebp - 0x3b1], 0xb
mov byte [ebp - 0x3b0], 3
mov byte [ebp - 0x3af], 0x27
cld
invalid
jmp dword [edi]
mov byte [ebp - 0x3ae], 0x66
lea eax, [ebp - 0x3c4]
push eax
call fcn.004017a9
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0040175e
add esp, 0xc
mov dword [ebp - 0x538], eax
and byte [ebp - 0x3ec], 0
and byte [ebp - 0x3eb], 0
mov byte [ebp - 0x3ea], 0x11
and byte [ebp - 0x3e9], 0
mov byte [ebp - 0x3e8], 0xa9
mov byte [ebp - 0x3e7], 0x8b
mov byte [ebp - 0x3e6], 0x9a
mov byte [ebp - 0x3e5], 0xa3
mov byte [ebp - 0x3e4], 0x81
mov byte [ebp - 0x3e3], 0x8a
mov byte [ebp - 0x3e2], 0x9b
mov byte [ebp - 0x3e1], 0x82
mov byte [ebp - 0x3e0], 0x8b
mov byte [ebp - 0x3df], 0xa6
mov byte [ebp - 0x3de], 0x8f
mov byte [ebp - 0x3dd], 0x80
mov byte [ebp - 0x3dc], 0x8a
mov byte [ebp - 0x3db], 0x82
mov byte [ebp - 0x3da], 0x8b
mov byte [ebp - 0x3d9], 0xaf
mov byte [ebp - 0x3d8], 0xee
lea eax, [ebp - 0x3ec]
push eax
call fcn.004017a9
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0040175e
add esp, 0xc
mov dword [ebp - 0x340], eax
call fcn.00401799
bound ebx, qword [edi - 0xd]
or dword [eax - 0x5335b], eax
inc dword [eax]
and byte [ebp - 0x533], 0
mov byte [ebp - 0x532], 0x68
and byte [ebp - 0x531], 0
mov byte [ebp - 0x530], 0xd4
mov byte [ebp - 0x52f], 0xfb
mov byte [ebp - 0x52e], pe_nt_image_headers32
mov byte [ebp - 0x52d], 0xe4
mov byte [ebp - 0x52c], 0xf2
mov byte [ebp - 0x52b], 0xdf
mov byte [ebp - 0x52a], 0xf6
mov byte [ebp - 0x529], 0xf9
mov byte [ebp - 0x528], 0xf3
mov byte [ebp - 0x527], 0xfb
mov byte [ebp - 0x526], 0xf2
mov byte [ebp - 0x525], 0x97
lea eax, [ebp - 0x534]
push eax
call fcn.004017a9
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0040175e
add esp, 0xc
mov dword [ebp - 0x680], eax
call fcn.00401799
mov esp, 0x806f6149
movsd dword es:[edi], dword [esi]
pushfd
stc
invalid
Function at 0x10001070
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90
mov eax, dword [0x1015d4d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
push 0x7f
mov ebx, ecx
lea ecx, [ebp - 0x83]
mov edi, edx
push 0
push ecx
mov dword [ebp - 0x88], edi
mov dword [ebp - 0x8c], eax
mov byte [ebp - 0x84], 0
call fcn.100f66b0
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edi, eax
test edi, edi
jne 0x100010de
mov edx, 0x65
pop edi
mov word [esi], dx
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100f4e20
mov esp, ebp
pop ebp
ret 0xc
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x1000112f
mov eax, 0x69
push ebx
mov word [esi], ax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x88]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100f4e20
mov esp, ebp
pop ebp
ret 0xc
mov edx, dword [ebp + 8]
push 0
push 0
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [ebp - 0x90]
push eax
push 0x80
lea ecx, [ebp - 0x84]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1000118f
mov edx, 0x69
push ebx
mov word [esi], dx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x88]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100f4e20
mov esp, ebp
pop ebp
ret 0xc
mov al, byte [ebp - 0x74]
cmp al, 0x31
je 0x100011a6
cmp al, 0x32
je 0x100011a6
cmp al, 0x33
je 0x100011a6
cmp al, 0x37
je 0x100011a6
cmp al, 0x3b
jne 0x100011bd
push 0xe
lea ecx, [ebp - 0x64]
push 0x101408c8
push ecx
call fcn.100f4fba
add esp, 0xc
test eax, eax
je 0x100011c4
mov edx, 0xc9
jmp 0x10001163
push edi
lea ecx, [ebp - 0x84]
push ecx
mov ecx, dword [ebp - 0x8c]
mov edx, esi
call fcn.10001240
push ebx
test eax, eax
jne 0x100011e8
mov edx, 0xc9
jmp 0x10001164
lea esi, [edi + 0x330]
lea eax, [ebp - 0x84]
call fcn.100014a0
lea ecx, [edi + 0x338]
lea eax, [ebp - 0x84]
mov edi, ebx
call fcn.10001520
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x88]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.100f4e20
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10001240
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x378
mov eax, dword [0x1015d4d0]
xor eax, esp
mov dword [esp + 0x374], eax
mov eax, dword [ebp + 8]
push esi
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], ecx
movsx cx, byte [eax + 0x30]
movzx eax, word [eax]
push edi
mov edi, dword [ebp + 0xc]
mov dword [esp + 0x18], edx
movzx edx, cx
mov dword [esp + 0x14], eax
mov word [edi], ax
mov eax, dword [edi + 0x32c]
push eax
mov dword [esp + 0x28], edi
mov dword [esp + 0x30], edx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov esi, eax
test esi, esi
jne 0x100012bd
mov edx, dword [esp + 0x18]
mov ecx, 0x65
mov word [edx], cx
pop edi
pop esi
mov ecx, dword [esp + 0x374]
xor ecx, esp
call fcn.100f4e20
mov esp, ebp
pop ebp
ret 8
movzx eax, word [esp + 0x14]
push 0
lea ecx, [esp + 0x20]
push ecx
lea edx, [eax*8]
push edx
add edi, 2
push edi
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
mov dword [esp + 0x30], 0
mov dword [esp + 0x24], eax
call edi
test eax, eax
jne 0x10001323
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov eax, 0x69
mov word [ecx], ax
mov eax, dword [edx + 0x32c]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x374]
xor ecx, esp
call fcn.100f4e20
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [esp + 0x28]
mov al, byte [ecx + 0x10]
cmp al, 0x33
je 0x100013a9
cmp al, 0x37
je 0x100013a9
cmp al, 0x3b
je 0x100013a9
xor edx, edx
cmp dx, word [esp + 0x14]
jae 0x10001469
mov eax, dword [esp + 0x10]
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], eax
jmp 0x10001357
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
lea ecx, [esp + 0x20]
push ecx
push 0x348
lea edx, [esp + 0x3c]
push edx
push ebx
call edi
mov eax, dword [esp + 0x20]
push eax
sub esp, 0x348
mov edi, esp
mov ecx, 0xd2
lea esi, [esp + 0x37c]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x360]
mov ecx, esi
call fcn.10001580
add esi, 0x1bc
dec dword [esp + 0x18]
mov dword [esp + 0x14], esi
jne 0x10001351
jmp 0x10001469
mov eax, dword [esp + 0x10]
imul eax, eax, 0x1bc
push 0
lea ecx, [esp + 0x20]
push ecx
push eax
push esi
push ebx
call edi
mov eax, dword [esp + 0x2c]
xor edx, edx
cmp dx, ax
jae 0x10001469
movzx eax, ax
mov dword [esp + 0x10], eax
push 0
lea ecx, [esp + 0x20]
push ecx
push 1
lea edx, [esp + 0x1b]
push edx
push ebx
call edi
push 0x10
push 0x2711
call dword [esp + 0x28]
movzx ecx, byte [esp + 0xf]
imul ecx, ecx, 0x1bc
mov dword [ecx + esi + 0x1ac], eax
movzx edx, byte [esp + 0xf]
imul edx, edx, 0x1bc
mov eax, dword [edx + esi + 0x1ac]
mov dword [eax + 0x27100], 0x6464
mov dword [eax + 0x27104], 0x1010101
mov dword [eax + 0x27108], 0
mov dword [eax + 0x2710c], 0x7f0201
movzx eax, byte [esp + 0xf]
imul eax, eax, 0x1bc
mov ecx, dword [eax + esi + 0x1ac]
push 0
lea edx, [esp + 0x20]
push edx
push 0x27100
push ecx
push ebx
call edi
dec dword [esp + 0x10]
jne 0x100013d5
mov edx, dword [esp + 0x24]
mov eax, dword [edx + 0x32c]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ecx, dword [esp + 0x37c]
pop edi
pop esi
xor ecx, esp
mov eax, 1
call fcn.100f4e20
mov esp, ebp
pop ebp
ret 8
Function at 0x10001520
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
movzx eax, word [eax + 0x41]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
mov esi, ecx
push 0
mov edx, eax
lea ecx, [ebp - 4]
push ecx
shl edx, 4
mov word [esi], ax
push edx
lea eax, [esi + 4]
push eax
push edi
mov dword [ebp - 4], 0
call ebx
movzx edx, word [esi]
push 0
lea ecx, [ebp - 4]
push ecx
add edx, edx
push edx
lea eax, [esi + 0x64]
push eax
push edi
call ebx
movzx edx, word [esi]
push 0
lea ecx, [ebp - 4]
push ecx
add edx, edx
push edx
add esi, 0x70
push esi
push edi
call ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x100022c9
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x1015d4d0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0x800
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x11c], eax
mov esi, ecx
lea eax, [ebp - 0x120]
jne 0x10002311
push 0x10119f68
push 4
push eax
call fcn.100f53c5
push eax
call fcn.10001a87
add esp, 0x10
jmp 0x10002327
push 4
push eax
push 3
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x100023aa
push edi
call fcn.100f646e
mov edi, dword [eax]
call fcn.100f646e
and dword [eax], 0
lea eax, [ebp - 0x120]
push eax
push dword [ebp - 0x11c]
lea eax, [ebp - 0x118]
push esi
push 0x111
mov esi, 0x112
push esi
push eax
call fcn.100f640b
add esp, 0x18
mov dword [ebp - 0x11c], eax
call fcn.100f646e
cmp dword [eax], 0
je 0x1000237e
call fcn.100f646e
push dword [eax]
call fcn.10001acf
pop ecx
jmp 0x10002385
call fcn.100f646e
mov dword [eax], edi
cmp dword [ebp - 0x11c], 0xffffffff
pop edi
je 0x100023aa
cmp dword [ebp - 0x11c], esi
jae 0x100023aa
push 0
push 0
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
jmp 0x100023ac
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.100f4e20
leave
ret
Function at 0x100023b9
Capabilities:
Identify system language via api

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x1015d4d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x144], eax
mov eax, dword [ebp + 0xc]
push edi
push str.KERNEL32.DLL
mov dword [ebp - 0x13c], eax
xor esi, esi
call fcn.1000209c
pop ecx
cmp eax, esi
je 0x100024a3
push str.GetThreadPreferredUILanguages
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
cmp edi, esi
je 0x100024a3
xor eax, eax
push 0xc8
mov word [ebp - 0xd0], ax
lea eax, [ebp - 0xce]
push esi
push eax
mov dword [ebp - 0x140], esi
call fcn.100f66b0
add esp, 0xc
lea eax, [ebp - 0x138]
push eax
lea eax, [ebp - 0xd0]
push eax
lea eax, [ebp - 0x140]
push eax
push 0x34
mov dword [ebp - 0x138], 0x65
call edi
test eax, eax
je 0x100024a3
lea edi, [ebp - 0xd0]
cmp word [ebp - 0xd0], si
je 0x100024a3
cmp esi, 0x14
jge 0x100024a3
push 0x10
push 0
push edi
call fcn.100f6694
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x10002492
call fcn.100f646e
cmp dword [eax], 0x22
je 0x10002492
mov dword [ebp + esi*4 - 0x134], ebx
inc esi
push edi
call fcn.100f64b7
lea edi, [edi + eax*2 + 2]
cmp word [edi], 0
pop ecx
jne 0x10002468
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov edi, dword [sym.imp.KERNEL32.dll_ConvertDefaultLocale]
movzx eax, ax
mov ecx, eax
and ecx, 0x3ff
mov ebx, 0xfc00
and eax, ebx
or eax, ecx
push eax
mov dword [ebp - 0x138], ecx
call edi
push dword [ebp - 0x138]
mov dword [ebp + esi*4 - 0x134], eax
call edi
mov dword [ebp + esi*4 - 0x130], eax
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
movzx eax, ax
mov ecx, eax
and ecx, 0x3ff
and eax, ebx
or eax, ecx
push eax
mov dword [ebp - 0x138], ecx
call edi
push dword [ebp - 0x138]
mov dword [ebp + esi*4 - 0x12c], eax
call edi
mov dword [ebp + esi*4 - 0x128], eax
add esi, 4
cmp dword [0x1015e8b8], 0
jne 0x1000252e
mov dword [ebp + esi*4 - 0x134], 0x800
inc esi
xor edi, edi
test esi, esi
jle 0x10002557
push dword [ebp + edi*4 - 0x134]
mov ecx, dword [ebp - 0x144]
push dword [ebp - 0x13c]
call fcn.100022c9
pop ecx
pop ecx
test eax, eax
jne 0x10002559
inc edi
cmp edi, esi
jl 0x10002534
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100f4e20
leave
ret 8
Function at 0x1000844b
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x1015d4d0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x105
push esi
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x10008480
xor eax, eax
jmp 0x100084d3
lea eax, [ebp - 0x210]
push eax
call fcn.100f64b7
cmp word [ebp + eax*2 - 0x212], 0x5c
pop ecx
je 0x100084b1
push 0x1011a638
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.100f8811
add esp, 0xc
test eax, eax
jne 0x1000847c
push edi
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.100f8811
add esp, 0xc
test eax, eax
jne 0x1000847c
lea eax, [ebp - 0x210]
push eax
call fcn.1000836d
pop ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.100f4e20
leave
ret

Function at 0x10014675
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x100146bc
call fcn.10005d1f
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x100146bc
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x100146d8
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.1001417a
mov esi, eax
test edi, edi
je 0x100146d6
test ebx, ebx
je 0x100146d6
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x10014ab7
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x10115846
call fcn.100f5808
mov esi, ecx
cmp dword [esi + 0x6c], 0
jne 0x10014adc
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x10014b2e
call fcn.1000bbe2
push eax
lea ecx, [ebp - 0x10]
call fcn.10007508
mov ecx, dword [esi + 0x6c]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.100f8161
push eax
call fcn.10001a87
add esp, 0x14
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.10002082
mov eax, esi
call fcn.100f58e0
ret 8