joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10087ce0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10189dc0
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x101e40b0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x80], eax
mov eax, dword [eax]
mov edi, dword [ebp + 8]
test eax, eax
je 0x10087eb6
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x101b346c
push eax
call esi
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x80]
push 0x101b34a4
push dword [eax]
call esi
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x80]
push 0x101b3498
push dword [eax]
call esi
cmp dword [ebp - 0x60], 0
mov esi, eax
je 0x10087eb6
cmp dword [ebp - 0x84], 0
je 0x10087eb6
test esi, esi
je 0x10087eb6
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x48], 0x65004b
mov dword [ebp - 0x44], 0x620079
mov dword [ebp - 0x40], 0x61006f
mov dword [ebp - 0x3c], 0x640072
mov dword [ebp - 0x38], 0x4c0020
mov dword [ebp - 0x34], 0x790061
mov dword [ebp - 0x30], 0x75006f
mov dword [ebp - 0x2c], 0x5c0074
mov dword [ebp - 0x28], 0x750053
mov dword [ebp - 0x24], 0x730062
mov dword [ebp - 0x20], 0x690074
mov dword [ebp - 0x1c], 0x750074
mov dword [ebp - 0x18], 0x650074
mov dword [ebp - 0x14], 0x73
mov dword [ebp - 0x80], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x7c]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x48]
mov dword [ebp - 0x7c], 0
push eax
push 0x20019
lea ecx, [ebp - 0x80]
call fcn.100c67f0
push eax
call dword [ebp - 0x60]
test eax, eax
je 0x10087ea7
xor eax, eax
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 7
mov word [ebp - 0x78], ax
mov byte [ebp - 4], 1
lea eax, [ebp - 0x78]
push edi
push str._08x
push eax
call fcn.10030e80
add esp, 0xc
mov dword [ebp - 0x4c], 0
cmp dword [ebp - 0x64], 8
lea ecx, [ebp - 0x60]
lea eax, [ebp - 0x78]
mov dword [ebp - 0x60], 0x14
cmovae eax, dword [ebp - 0x78]
xorps xmm0, xmm0
push ecx
lea ecx, [ebp - 0x5c]
push ecx
push 0
push 0
push eax
push dword [ebp - 0x7c]
movups xmmword [ebp - 0x5c], xmm0
call dword [ebp - 0x84]
test eax, eax
jne 0x10087e96
push 0x10
push eax
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstoul]
add esp, 0xc
mov edi, eax
push dword [ebp - 0x7c]
call esi
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x78]
call fcn.10005660
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x80]
call fcn.100c6990
mov eax, edi
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.10177d47
mov esp, ebp
pop ebp
ret 4
Function at 0x10087ee0
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x101e40b0]
xor eax, esp
mov dword [esp + 0x114], eax
push 0x110
lea eax, [esp + 8]
mov dword [esp + 4], 0x114
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x10087f3c
cmp dword [esp + 4], 6
jb 0x10087f3c
mov al, 1
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.10177d47
add esp, 0x118
ret
mov ecx, dword [esp + 0x114]
xor al, al
xor ecx, esp
call fcn.10177d47
add esp, 0x118
ret
Function at 0x100889a0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x230
mov eax, dword [0x101e40b0]
xor eax, esp
mov dword [esp + 0x22c], eax
push ebx
mov ebx, dword [esp + 0x238]
push ebp
mov ebp, dword [esp + 0x244]
push esi
mov esi, dword [esp + 0x244]
test ebx, ebx
je 0x10088aeb
mov eax, dword [ecx]
test eax, eax
je 0x10088aeb
push edi
push 0x101b34a4
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x10088aea
push 0x208
lea eax, [esp + 0x38]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [esp + 0x10], 0x208
cmp dword [esi + 0x14], 8
jb 0x10088a19
mov esi, dword [esi]
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x38]
push eax
push 0
push 0
push esi
push ebx
call edi
lea eax, [esp + 0x34]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10088a32
sub eax, edx
lea ecx, [ebp + 0x38]
sar eax, 1
push eax
lea eax, [esp + 0x38]
push eax
call fcn.100056d0
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x208
push eax
lea eax, [esp + 0x38]
push eax
push 0
push 0
push str.Profile
push ebx
call edi
lea ecx, [esp + 0x34]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10088a74
sub ecx, edx
lea eax, [esp + 0x34]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp + 0x50]
call fcn.100056d0
xor eax, eax
mov dword [esp + 0x14], 0x65004b
mov word [esp + 0x30], ax
lea eax, [esp + 0x10]
push eax
push ebp
push 0
push 0
lea eax, [esp + 0x24]
mov dword [esp + 0x28], 0x620079
push eax
push ebx
mov dword [esp + 0x34], 0x61006f
mov dword [esp + 0x38], 0x640072
mov dword [esp + 0x3c], 0x61004c
mov dword [esp + 0x40], 0x6f0079
mov dword [esp + 0x44], 0x740075
mov dword [esp + 0x28], 4
call edi
pop edi
mov ecx, dword [esp + 0x238]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10177d47
add esp, 0x230
ret 0xc
Function at 0x10089cd0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1018a248
mov eax, dword fs:[0]
push eax
sub esp, 0x124
mov eax, dword [0x101e40b0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 1
mov dword [ebp - 0x14], 0
call fcn.10177d89
mov dword [ebp - 0x14], eax
push 0x118
push 0
mov byte [eax], 0
lea eax, [ebp - 0x12c]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x10
mov dword [ebp - 0x130], 0x11c
lea eax, [ebp - 0x130]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x10089d54
cmp dword [ebp - 0x12c], 6
mov eax, dword [ebp - 0x14]
setae cl
mov byte [eax], cl
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea ecx, [ebp - 0x14]
call fcn.10041cb0
test al, al
je 0x10089d81
lea ecx, [ebp - 0x14]
call fcn.10041610
test al, al
jne 0x10089d81
xor bl, bl
jmp 0x10089e1f
lea esi, [edi + 4]
xor ecx, ecx
mov edx, esi
call fcn.100c6420
test al, al
jne 0x10089da5
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x10089da0
mov esi, dword [esi]
xor eax, eax
mov word [esi], ax
lea esi, [edi + 0x1c]
mov ecx, 0x1a
mov edx, esi
call fcn.100c6420
test al, al
jne 0x10089dcc
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x10089dc7
mov esi, dword [esi]
xor eax, eax
mov word [esi], ax
lea esi, [edi + 0x34]
mov ecx, 2
mov edx, esi
call fcn.100c6420
test al, al
jne 0x10089df3
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x10089dee
mov esi, dword [esi]
xor eax, eax
mov word [esi], ax
lea esi, [edi + 0x4c]
mov ecx, 0xb
mov edx, esi
call fcn.100c6420
test al, al
jne 0x10089e1a
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x10089e15
mov esi, dword [esi]
xor eax, eax
mov word [esi], ax
mov byte [edi], 1
mov bl, 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.10040e80
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10177d47
mov esp, ebp
pop ebp
ret
Function at 0x10089ed0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1018a291
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x101e40b0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0xc]
mov edx, esi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x30], 0
cmp dword [esi + 0x14], 8
jb 0x10089f14
mov edx, dword [esi]
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x10089f2e
mov eax, edx
nop dword [eax]
cmp word [eax], 0x25
je 0x10089f63
add eax, 2
sub ecx, 1
jne 0x10089f20
push esi
mov ecx, edi
call fcn.10005590
mov dword [ebp - 4], 0
mov dword [ebp - 0x30], 1
mov eax, edi
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.10177d47
mov esp, ebp
pop ebp
ret 8
test eax, eax
je 0x10089f2e
sub eax, edx
sar eax, 1
cmp eax, 0xffffffff
je 0x10089f2e
push esi
lea ecx, [ebp - 0x28]
call fcn.10005590
mov dword [ebp - 4], 1
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x10089f8a
mov eax, dword [esi]
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [ebp - 0x34], eax
test eax, eax
jne 0x10089fb9
push esi
mov ecx, edi
call fcn.10005590
mov dword [ebp - 0x30], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.10005660
jmp 0x10089f44
xor ecx, ecx
add eax, 2
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.10177fb4
add esp, 4
mov dword [ebp - 0x2c], eax
cmp dword [esi + 0x14], 8
jb 0x10089fe0
mov esi, dword [esi]
mov ecx, dword [ebp - 0x34]
inc ecx
push ecx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov esi, dword [ebp - 0x2c]
test eax, eax
je 0x1008a01d
cmp eax, dword [ebp - 0x34]
ja 0x1008a01d
xor ecx, ecx
mov word [esi + eax*2], cx
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1008a004
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x28]
call fcn.100056d0
push esi
call fcn.10178437
movups xmm0, xmmword [ebp - 0x28]
mov dword [edi + 0x10], 0
xor eax, eax
mov dword [edi + 0x14], 0
add esp, 4
movups xmmword [edi], xmm0
mov word [ebp - 0x28], ax
movq xmm0, qword [ebp - 0x18]
movq qword [edi + 0x10], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x30], 1
mov byte [ebp - 4], al
lea ecx, [ebp - 0x28]
call fcn.10005660
jmp 0x10089f44
Function at 0x1008add0
Capabilities:
Contain obfuscated stackstrings
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1018a41c
mov eax, dword fs:[0]
push eax
sub esp, 0x2b8
mov eax, dword [0x101e40b0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x264]
push 0x208
push 0
push eax
mov dword [ebp - 0x5c], 0x61004d
mov ebx, 0x6c
mov dword [ebp - 0x58], 0x720063
mov dword [ebp - 0x54], 0x6d006f
mov dword [ebp - 0x50], 0x640065
mov dword [ebp - 0x4c], 0x46005c
mov dword [ebp - 0x48], 0x61006c
mov dword [ebp - 0x44], 0x680073
mov dword [ebp - 0x40], 0x46005c
mov dword [ebp - 0x3c], 0x61006c
mov dword [ebp - 0x38], 0x680073
mov dword [ebp - 0x34], 0x650048
mov dword [ebp - 0x30], 0x70006c
mov dword [ebp - 0x2c], 0x720065
mov dword [ebp - 0x28], 0x650053
mov dword [ebp - 0x24], 0x760072
mov dword [ebp - 0x20], 0x630069
mov dword [ebp - 0x1c], 0x2e0065
mov dword [ebp - 0x18], 0x780065
mov dword [ebp - 0x14], 0x65
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x264]
push eax
push 0
push 0
push 0x29
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
xor eax, eax
mov dword [ebp - 0x2b4], 0
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x2b0], 0
mov dword [ebp - 0x2b4], 0
lea edx, [ecx + 2]
mov dword [ebp - 0x2b0], 7
mov word [ebp - 0x2c4], ax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1008aef0
sub ecx, edx
lea eax, [ebp - 0x5c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x2c4]
call fcn.100056d0
mov dword [ebp - 4], 0
xor eax, eax
mov word [ebp - 0x2ac], ax
lea eax, [ebp - 0x264]
mov dword [ebp - 0x29c], 0
lea edx, [eax + 2]
mov dword [ebp - 0x298], 0
mov dword [ebp - 0x29c], 0
mov dword [ebp - 0x298], 7
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1008af50
sub eax, edx
lea ecx, [ebp - 0x2ac]
sar eax, 1
push eax
lea eax, [ebp - 0x264]
push eax
call fcn.100056d0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x2c4]
push eax
lea edx, [ebp - 0x2ac]
lea ecx, [ebp - 0x294]
call fcn.1003d4f0
add esp, 4
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2ac]
call fcn.10005660
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2c4]
call fcn.10005660
lea ecx, [ebp - 0x294]
call fcn.100316d0
test al, al
jne 0x1008afc2
xor bl, bl
jmp 0x1008b017
lea edx, [ebp - 0x294]
lea ecx, [ebp - 0x27c]
call fcn.10044f70
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x26c]
test ecx, ecx
jne 0x1008afe5
xor bl, bl
jmp 0x1008b008
lea eax, [ebp - 0x27c]
cmp esi, eax
je 0x1008b006
cmp dword [ebp - 0x268], 8
push ecx
cmovae eax, dword [ebp - 0x27c]
mov ecx, esi
push eax
call fcn.100056d0
mov bl, 1
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x27c]
call fcn.10005660
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x294]
call fcn.10005660
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10177d47
mov esp, ebp
pop ebp
ret 4
Function at 0x10091a70
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1018ad8c
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x101e40b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
lea edi, [ebx + 0x10]
mov dword [ebp + 8], edi
mov dword [ebp - 4], 0
lea esi, [edi + 0x18]
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 4
lea ecx, [esi + 0x48]
call fcn.10005660
mov byte [ebp - 4], 3
lea ecx, [esi + 0x30]
call fcn.10005660
mov byte [ebp - 4], 2
lea ecx, [esi + 0x18]
call fcn.10005660
mov byte [ebp - 4], 0
mov ecx, esi
call fcn.10005660
mov dword [ebp - 4], 0xffffffff
mov ecx, edi
call fcn.10005660
push 0x88
push ebx
call fcn.10177d58
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10095b30
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017e628
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x101e40b0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
push ecx
lea ecx, [ebp - 0x28]
call fcn.10005590
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.10030c00
cmp dword [ebp - 0x18], 2
jbe 0x10095c36
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
cmp ecx, 8
cmovae eax, edx
cmp word [eax], 0x5c
jne 0x10095ba7
cmp ecx, 8
lea eax, [ebp - 0x28]
cmovae eax, edx
cmp word [eax + 2], 0x5c
je 0x10095c99
cmp ecx, 8
lea eax, [ebp - 0x28]
cmovae eax, edx
cmp word [eax], 0x2f
jne 0x10095bca
cmp ecx, 8
lea eax, [ebp - 0x28]
cmovae eax, edx
cmp word [eax + 2], 0x2f
je 0x10095c9d
push 0x5c
mov edx, 0x2f
lea ecx, [ebp - 0x28]
call fcn.10030a00
mov edx, dword [ebp - 0x28]
mov eax, ecx
mov ecx, dword [ebp - 0x14]
add esp, 4
cmp ecx, 8
cmovae eax, edx
cmp word [eax + 2], 0x3a
jne 0x10095c9d
cmp ecx, 8
lea eax, [ebp - 0x28]
cmovae eax, edx
cmp word [eax + 4], 0x5c
jne 0x10095c9d
cmp ecx, 8
lea eax, [ebp - 0x28]
cmovae eax, edx
cmp word [eax], 0x61
jb 0x10095c9d
cmp ecx, 8
lea eax, [ebp - 0x28]
cmovae eax, edx
cmp word [eax], 0x7a
ja 0x10095c9d
cmp ecx, 8
lea eax, [ebp - 0x28]
cmovae eax, edx
jmp 0x10095c86
jne 0x10095c9d
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
cmp ecx, 8
cmovae eax, edx
cmp word [eax + 2], 0x3a
jne 0x10095c9d
cmp ecx, 8
lea eax, [ebp - 0x28]
cmovae eax, edx
cmp word [eax], 0x61
jb 0x10095c9d
cmp ecx, 8
lea eax, [ebp - 0x28]
cmovae eax, edx
cmp word [eax], 0x7a
ja 0x10095c9d
push 1
push 0x101acba8
lea ecx, [ebp - 0x28]
call fcn.10008ba0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x10095c9d
shr eax, 4
and al, 1
mov byte [esi], al
mov bl, 1
jmp 0x10095c9f
xor bl, bl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10005660
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10177d47
mov esp, ebp
pop ebp
ret
Function at 0x10097070
Capabilities:
Get common file path

Disassembly:
sub esp, 0x638
mov eax, dword [0x101e40b0]
xor eax, esp
mov dword [esp + 0x634], eax
push ebx
push ebp
push esi
push edi
push 0x208
xor esi, esi
lea eax, [esp + 0x30]
push esi
push eax
mov ebp, ecx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esp + 0x2c]
push 0x104
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x10097233
lea eax, [esp + 0x2c]
push 0x5c
push eax
call dword [sym.imp.VCRUNTIME140.dll_wcsrchr]
add esp, 8
test eax, eax
je 0x100970e4
movups xmm0, xmmword [str.DbgHelp.dll]
movups xmmword [eax + 2], xmm0
movq xmm0, qword [0x101b5964]
movq qword [eax + 0x12], xmm0
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
lea eax, [esp + 0x2c]
push eax
call edi
test eax, eax
jne 0x10097104
push str.DbgHelp.dll
call edi
test eax, eax
je 0x10097233
push 0x101b5940
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
test ebx, ebx
je 0x1009722f
lea eax, [esp + 0x1c]
xorps xmm0, xmm0
push eax
movups xmmword [esp + 0x20], xmm0
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push 0x208
lea eax, [esp + 0x440]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esp + 0x43c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0x208
lea eax, [esp + 0x238]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
movzx eax, word [esp + 0x34]
push eax
movzx eax, word [esp + 0x36]
push eax
movzx eax, word [esp + 0x38]
push eax
movzx eax, word [esp + 0x3a]
push eax
movzx eax, word [esp + 0x3a]
push eax
movzx eax, word [esp + 0x3c]
push eax
lea eax, [esp + 0x460]
push eax
lea eax, [esp + 0x25c]
push 0x101b5900
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x30
lea eax, [esp + 0x234]
push 0x24
push str.App_Crashed___WriteMiniDump__
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
jne 0x10097233
push 0
push 0x80
push 2
push 0
push 2
push 0x40000000
lea eax, [esp + 0x24c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x1009722f
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0
push 0
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
push eax
push 0
push edi
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call ebx
test eax, eax
mov ecx, 1
push edi
cmovne esi, ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
jmp 0x10097235
xor eax, eax
mov ecx, dword [esp + 0x644]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10177d47
add esp, 0x638
ret
Function at 0x10097610
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1018ba34
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x101e40b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0xf
mov byte [ebx], 0
mov dword [ebp - 4], 0
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x2c], 0xf
mov byte [ebx + 0x18], 0
mov byte [ebp - 4], 1
mov dword [ebx + 0x40], 0
mov dword [ebx + 0x44], 0xf
mov byte [ebx + 0x30], 0
mov byte [ebp - 4], 2
mov dword [ebx + 0x78], 0
mov byte [ebp - 4], 3
lea esi, [ebx + 0x7c]
push 0
mov dword [ebp - 0x14], esi
push 0
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.10053390
mov dword [esi], eax
mov byte [ebp - 4], 6
lea ecx, [ebx + 0x30]
push 6
push str.._log_
mov byte [ebx + 0x54], 0
call fcn.100071a0
mov dword [ebx + 0x48], 1
mov word [ebx + 0x4c], 0x101
mov byte [ebx + 0x4e], 0
mov dword [ebx + 0x50], 0x64
mov byte [ebx + 0x55], 1
mov dword [ebx + 0x60], 0
mov dword [ebx + 0x64], 0
mov dword [ebx + 0x68], 0
mov dword [ebx + 0x6c], 0
mov dword [ebx + 0x70], 0
mov dword [ebx + 0x74], 0
mov dword [ebx + 0x58], 0
mov dword [ebx + 0x5c], 0
mov dword [ebp - 4], 0xffffffff
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10097770
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1018ba7d
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x101e40b0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x234], ecx
mov eax, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x23c], eax
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x218], 0
mov dword [ebp - 0x218], edi
mov dword [ebp - 0x214], 0
mov dword [ebp - 0x214], 0xf
mov dword [ebp - 0x238], eax
mov byte [ebp - 0x228], 0
mov dword [ebp - 4], 1
cmp dword [ecx], edi
jne 0x10097830
movups xmm0, xmmword [ebp - 0x228]
mov dword [eax + 0x10], edi
mov dword [eax + 0x14], edi
movups xmmword [eax], xmm0
mov byte [ebp - 0x228], 0
movq xmm0, qword [ebp - 0x218]
movq qword [eax + 0x10], xmm0
mov dword [ebp - 0x218], edi
mov dword [ebp - 0x214], 0xf
jmp 0x1009790a
push dword [ecx]
lea eax, [ebp - 0x210]
push 0x200
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov ecx, dword [ebp - 0x214]
mov esi, eax
add esp, 0x10
mov eax, ecx
sub eax, edi
push esi
cmp esi, eax
ja 0x1009788b
lea eax, [edi + esi]
cmp ecx, 0x10
mov dword [ebp - 0x218], eax
lea eax, [ebp - 0x228]
cmovae eax, dword [ebp - 0x228]
add edi, eax
lea eax, [ebp - 0x210]
push eax
push edi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [edi + esi], 0
jmp 0x100978ab
lea eax, [ebp - 0x210]
mov byte [ebp - 0x230], 0
push eax
push dword [ebp - 0x230]
lea ecx, [ebp - 0x228]
push esi
call fcn.1004eb20
cmp esi, 0x200
jne 0x100978c4
mov edi, dword [ebp - 0x218]
mov ecx, dword [ebp - 0x234]
jmp 0x10097830
mov eax, dword [ebp - 0x238]
movups xmm0, xmmword [ebp - 0x228]
mov byte [ebp - 0x228], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x218]
movq qword [eax + 0x10], xmm0
mov dword [ebp - 0x218], 0
mov dword [ebp - 0x214], 0xf
mov dword [ebp - 0x22c], 1
mov byte [ebp - 4], 0
mov byte [ebp - 0x228], 0
mov dword [ebp - 0x214], 0xf
mov dword [ebp - 0x218], 0
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.10177d47
mov esp, ebp
pop ebp
ret 4
Function at 0x1009b050
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push esi
mov esi, ecx
push edi
cmp byte [esi + 4], 0
lea edi, [esi - 0x10]
je 0x1009b079
push 6
push str.log4z_already_start__r_n
mov ecx, edi
call fcn.1009a7f0
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0
push 0x40
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreW]
push 0
push 0
push edi
push 0x10097600
push 0
push 0
mov dword [esi + 0xc], eax
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov ecx, eax
add esp, 0x18
or ecx, 0
je 0x1009b0cc
push 0xbb8
mov dword [edi + 8], eax
mov dword [edi + 0xc], 0
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x1009b0d9
mov al, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push str.log4z:_create_log4z_thread_error___r_n
call fcn.100972a0
add esp, 4
pop edi
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100a56d0
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x210
mov eax, dword [0x101e40b0]
xor eax, esp
mov dword [esp + 0x20c], eax
push esi
push edi
push 0x208
lea eax, [esp + 0x10]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push 5
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov edi, dword [sym.imp.USER32.dll_GetWindow]
push eax
call edi
mov esi, eax
test esi, esi
je 0x100a5782
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetWindowTextW]
push ebp
mov ebp, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsnicmp]
nop
push 0x104
lea eax, [esp + 0x18]
push eax
push esi
call ebx
lea eax, [esp + 0x14]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x100a5734
sub eax, edx
sar eax, 1
je 0x100a5773
mov ecx, str.2345Pic_SetDefault
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100a5750
sub ecx, edx
lea eax, [esp + 0x14]
sar ecx, 1
push ecx
push str.2345Pic_SetDefault
push eax
call ebp
add esp, 0xc
test eax, eax
je 0x100a577e
push 2
push esi
call edi
mov esi, eax
test esi, esi
jne 0x100a5720
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
xor ecx, esp
call fcn.10177d47
add esp, 0x210
ret