joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40102a
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
push ebx
push esi
push edi
push str._JAVA_LAUNCHER_DEBUG
call dword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
xor ebx, ebx
pop ecx
test eax, eax
je 0x401078
push str.Windows_original_main_args:_n
call fcn.004010f9
mov edi, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___argc]
mov esi, ebx
pop ecx
call edi
cmp dword [eax], ebx
jle 0x401078
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___argv]
mov eax, dword [eax]
push dword [eax + esi*4]
push esi
push str.wwwd_args__d____s_n
call fcn.004010f9
add esp, 0xc
inc esi
call edi
cmp esi, dword [eax]
jl 0x401058
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push eax
call sub.jli.dll_JLI_CmdToArgs
call sub.jli.dll_JLI_GetStdArgc
mov edi, eax
lea ecx, [edi*4 + 4]
push ecx
call sub.jli.dll_JLI_MemAlloc
pop ecx
pop ecx
mov esi, eax
call sub.jli.dll_JLI_GetStdArgs
mov edx, ebx
test edi, edi
jle 0x4010b2
mov ecx, dword [eax + edx*8]
mov dword [esi + edx*4], ecx
inc edx
cmp edx, edi
jl 0x4010a7
mov ecx, dword [str.java]
mov dword [esi + edx*4], ebx
test ecx, ecx
jne 0x4010c1
mov ecx, dword [esi]
mov eax, dword [section..data]
test eax, eax
jne 0x4010cc
mov eax, dword [esi]
push ebx
push ebx
push ebx
push 1
push ecx
push eax
push 0x4021b4
push 0x4021b8
push 0x40300c
push 2
push 0x403004
push 2
push esi
push edi
call sub.jli.dll_JLI_Launch
add esp, 0x38
pop edi
pop esi
pop ebx
ret
Function at 0x404ee0
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov dword [0x56546c], 0
push 1
push dword [esi + 4]
call dword [sym.imp.USER32.dll_EnableWindow]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_BringWindowToTop]
push 5
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
ret

Function at 0x405720
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51ad20
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x55e904]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov edx, dword [edi]
call fcn.00405a10
mov eax, dword [edi]
mov esi, dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
mov dword [eax], eax
mov eax, dword [edi]
mov dword [eax + 4], eax
lea eax, [ebp - 0x230]
push eax
push 0
mov dword [edi + 4], 0
mov dword [ebp - 0x230], 0
call esi
test eax, eax
je 0x40578b
cmp eax, 0x6f
jne 0x4057b4
push dword [ebp - 0x230]
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x4057b4
lea eax, [ebp - 0x230]
push eax
push ebx
call esi
test eax, eax
je 0x4057bb
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor eax, eax
jmp 0x405905
xorps xmm0, xmm0
mov esi, ebx
movlpd qword [ebp - 0x1c], xmm0
mov eax, dword [esi + 0x194]
lea ecx, [ebp - 0x1c]
cmp eax, dword [ecx]
jne 0x4057e1
mov eax, dword [esi + 0x198]
cmp eax, dword [ecx + 4]
je 0x4058ec
push 0x20a
lea eax, [ebp - 0x22c]
push 0
push eax
call fcn.004f05a0
movzx eax, byte [esi + 0x199]
add esp, 0xc
push eax
movzx eax, byte [esi + 0x198]
push eax
movzx eax, byte [esi + 0x197]
push eax
movzx eax, byte [esi + 0x196]
push eax
movzx eax, byte [esi + 0x195]
push eax
movzx eax, byte [esi + 0x194]
push eax
push 0x54a338
push 0xffffffffffffffff
lea eax, [ebp - 0x22c]
push 0x104
push eax
call fcn.00405700
add esp, 0x28
mov dword [ebp - 0x248], 0
xor eax, eax
mov dword [ebp - 0x238], 0
mov word [ebp - 0x248], ax
lea eax, [ebp - 0x22c]
mov dword [ebp - 0x234], 7
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x405872
sub eax, edx
lea ecx, [ebp - 0x248]
sar eax, 1
push eax
lea eax, [ebp - 0x22c]
push eax
call fcn.004039a0
lea eax, [ebp - 0x248]
mov dword [ebp - 4], 0
push eax
mov ecx, edi
call fcn.00405930
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x234]
cmp edx, 8
jb 0x4058ec
mov ecx, dword [ebp - 0x248]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4058e2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405921
push edx
push ecx
call fcn.004ee8e8
add esp, 8
mov esi, dword [esi]
test esi, esi
jne 0x4057c5
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor eax, eax
cmp dword [edi + 4], eax
setne al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004ee450
mov esp, ebp
pop ebp
ret
call fcn.004f8e2c
int3
Function at 0x407010
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
mov eax, dword [0x55e904]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
test ecx, ecx
je 0x4071a6
test edx, edx
jle 0x4071a6
push edx
xorps xmm0, xmm0
mov byte [ebp - 0x34], 0
push ecx
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x9c], 0x67452301
mov dword [ebp - 0x98], 0xefcdab89
mov dword [ebp - 0x94], 0x98badcfe
mov dword [ebp - 0x90], 0x10325476
movups xmmword [ebp - 0x30], xmm0
mov byte [ebp - 0x10], 0
movups xmmword [ebp - 0x20], xmm0
call fcn.00406820
cmp byte [ebp - 0x34], 0
jne 0x407156
xor edx, edx
lea ecx, [ebp - 0x8b]
movzx eax, byte [ecx - 1]
lea ecx, [ecx + 4]
mov byte [ebp + edx - 0xc], al
movzx eax, byte [ecx - 4]
mov byte [ebp + edx - 0xb], al
movzx eax, byte [ecx - 3]
mov byte [ebp + edx - 0xa], al
movzx eax, byte [ecx - 2]
mov byte [ebp + edx - 9], al
add edx, 4
cmp edx, 8
jb 0x4070a5
mov edx, dword [ebp - 0x8c]
mov ecx, 0x78
shr edx, 3
mov eax, 0x38
and edx, 0x3f
sub ecx, edx
sub eax, edx
cmp edx, 0x38
cmovae eax, ecx
lea ecx, [ebp - 0x9c]
push eax
push 0x55f380
call fcn.00406820
push 8
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x9c]
call fcn.00406820
xor edx, edx
lea ecx, [ebp - 0x9b]
nop word [eax + eax]
movzx eax, byte [ecx - 1]
lea ecx, [ecx + 4]
mov byte [ebp + edx - 0x44], al
movzx eax, byte [ecx - 4]
mov byte [ebp + edx - 0x43], al
movzx eax, byte [ecx - 3]
mov byte [ebp + edx - 0x42], al
movzx eax, byte [ecx - 2]
mov byte [ebp + edx - 0x41], al
add edx, 4
cmp edx, 0x10
jb 0x407120
mov byte [ebp - 0x84], 0
mov byte [ebp - 0x34], 1
push esi
push edi
xor esi, esi
lea edi, [ebp - 0x30]
nop dword [eax]
movzx eax, byte [ebp + esi - 0x44]
push eax
push str._02x
push 3
push edi
call fcn.00406800
inc esi
add esp, 0x10
add edi, 2
cmp esi, 0x10
jl 0x407160
push 0x20
lea eax, [ebp - 0x30]
mov byte [ebp - 0x10], 0
push eax
mov ecx, ebx
call fcn.00406160
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ee450
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop ebx
call fcn.004ee450
mov esp, ebp
pop ebp
ret
Function at 0x409290
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51af71
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x55e904]
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, ecx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x18], esi
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x5667d8]
cmp eax, dword [ecx + 4]
jle 0x409455
push 0x5667d8
call fcn.004ee591
add esp, 4
cmp dword [0x5667d8], 0xffffffff
jne 0x409455
mov dword [ebp - 4], 0
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0xa8]
mov dword [ebp - 0xa8], 0x12
push eax
xorps xmm0, xmm0
mov dword [ebp - 0xa4], str.ko_KR
push ecx
movlpd qword [0x5667d0], xmm0
mov dword [ebp - 0xa0], 9
mov dword [ebp - 0x9c], str.en_US
mov dword [ebp - 0x98], 0x2a
mov dword [ebp - 0x94], str.vi_VN
mov dword [ebp - 0x90], 0x1e
mov dword [ebp - 0x8c], str.th_TH
mov dword [ebp - 0x88], 0x19
mov dword [ebp - 0x84], str.ru_RU
mov dword [ebp - 0x80], 0x22
mov dword [ebp - 0x7c], str.uk_UA
mov dword [ebp - 0x78], 0x16
mov dword [ebp - 0x74], str.pt_PT
mov dword [ebp - 0x70], 0x1f
mov dword [ebp - 0x6c], str.tr_TR
mov dword [ebp - 0x68], 0xa
mov dword [ebp - 0x64], str.es_ES
mov dword [ebp - 0x60], 0xc
mov dword [ebp - 0x5c], str.fr_FR
mov dword [ebp - 0x58], 7
mov dword [ebp - 0x54], str.de_DE
mov dword [ebp - 0x50], 0x11
mov dword [ebp - 0x4c], str.ja_JP
mov dword [ebp - 0x48], 0x21
mov dword [ebp - 0x44], str.in_ID
mov dword [ebp - 0x40], 1
mov dword [ebp - 0x3c], str.ar_IL
mov dword [ebp - 0x38], 0x29
mov dword [ebp - 0x34], str.fa_IR
mov dword [ebp - 0x30], 0x39
mov dword [ebp - 0x2c], str.hi_IN
mov dword [ebp - 0x28], 0x10
mov dword [ebp - 0x24], str.it_IT
mov dword [ebp - 0x20], 0x3e
mov dword [ebp - 0x1c], str.ms_MY
call fcn.00403530
push 0x521830
call fcn.004ee8d3
add esp, 4
mov dword [ebp - 4], 0xffffffff
push 0x5667d8
call fcn.004ee547
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx eax, ax
mov ecx, eax
and ecx, 0x3ff
cmp cx, 4
jne 0x409498
mov ecx, 0xc04
cmp ax, cx
je 0x40948f
mov ecx, 0x1404
cmp ax, cx
je 0x40948f
mov ecx, 0x404
cmp ax, cx
je 0x40948f
mov ecx, 0x7c04
push 5
push str.zh_TW
jmp 0x4094fa
mov eax, ecx
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00403660
mov eax, dword [ebp - 0x14]
cmp eax, dword [0x5667d0]
je 0x4094f3
mov edx, dword [eax + 0x14]
mov ecx, edx
xor eax, eax
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
lea edi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4094e0
sub ecx, edi
sar ecx, 1
push ecx
push edx
jmp 0x409513
push 5
push str.en_US
mov dword [esi], 0
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov ecx, esi
call fcn.004039a0
mov eax, esi
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.004ee450
mov esp, ebp
pop ebp
ret
Function at 0x40d460
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51b56d
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x55e904]
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, ecx
push 4
xor eax, eax
mov dword [ebp - 0x2c], 0
push 0x54b094
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
call fcn.004039a0
mov ecx, esi
mov dword [ebp - 4], 0
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40d4c2
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x2c]
call fcn.00403b00
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
push 0
cmovae eax, dword [ebp - 0x2c]
push 0
push 3
push 0
push 3
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x40d570
push 0
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push ecx
push 0xc
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x38], 8
push ecx
push 0xc
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x34], 0
push ecx
push 0x2d1400
push eax
mov byte [ebp - 0x3c], 0
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
cmp byte [ebp - 0x3c], 1
jne 0x40d559
push str.It_is_suport_trim
push 0xa7
push str.helper::disk::isSSD
call fcn.0042ee30
add esp, 0xc
mov bl, 1
jmp 0x40d572
push str.It_is_not_suport_trim
push 0xab
push str.helper::disk::isSSD
call fcn.0042ee30
add esp, 0xc
xor bl, bl
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x40d5a8
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40d59e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d5c5
push edx
push ecx
call fcn.004ee8e8
add esp, 8
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.004ee450
mov esp, ebp
pop ebp
ret
call fcn.004f8e2c
int3
Function at 0x40d5d0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24c
mov eax, dword [0x55e904]
xor eax, esp
mov dword [esp + 0x248], eax
push ebx
push esi
push edi
push 0
push 2
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
jne 0x40d622
push str.CreateToolhelp32Snapshot__of_processes_
call fcn.0040cce0
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x248]
xor ecx, esp
call fcn.004ee450
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0x22c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x40d649
push str.Process32First
call fcn.0040cce0
add esp, 4
jmp 0x40d67d
mov edi, dword [sym.imp.KERNEL32.dll_Process32NextW]
nop
lea eax, [esp + 0x44]
mov ecx, ebx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.0040fa30
lea eax, [esp + 0x20]
push eax
push esi
call edi
test eax, eax
jne 0x40d650
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x254]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004ee450
mov esp, ebp
pop ebp
ret
Function at 0x40f0f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ecx, 0x564698
push 0
call fcn.004efbbe
mov edi, eax
mov dword [ebp - 8], 1
test edi, edi
je 0x40f285
mov eax, dword [ebp + 8]
shr eax, 4
mov dword [ebp - 0x10], eax
lea ecx, [eax + 1]
movzx eax, cx
mov dword [ebp - 0xc], eax
nop dword [eax + eax]
push 0
push eax
push 6
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
mov ebx, eax
test ebx, ebx
je 0x40f18c
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x40f18c
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x40f18c
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, dword [ebp + 8]
mov ecx, ebx
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x40f182
cmp esi, edx
jae 0x40f18c
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x40f170
cmp esi, edx
jae 0x40f18c
cmp word [esi], 0
jne 0x40f1ad
mov ebx, dword [ebp - 8]
mov ecx, 0x564698
push ebx
call fcn.004efbbe
mov edi, eax
inc ebx
mov dword [ebp - 8], ebx
test edi, edi
je 0x40f285
mov eax, dword [ebp - 0xc]
jmp 0x40f130
test edi, edi
je 0x40f285
mov eax, dword [ebp - 0x10]
inc eax
push 6
movzx eax, ax
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp + 8], eax
test eax, eax
je 0x40f285
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x40f285
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x40f285
push dword [ebp + 8]
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
lea ecx, [esi + eax]
and ebx, 0xf
jbe 0x40f216
cmp esi, ecx
jae 0x40f285
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ebx, 1
jne 0x40f204
cmp esi, ecx
jae 0x40f285
movzx eax, word [esi]
test ax, ax
je 0x40f285
mov edx, dword [ebp - 4]
mov edi, eax
mov ebx, eax
mov ecx, 1
mov edx, dword [edx]
mov eax, dword [edx - 8]
sub ecx, dword [edx - 4]
sub eax, edi
or ecx, eax
jge 0x40f24c
mov ebx, dword [ebp - 4]
mov ecx, ebx
push edi
call fcn.0040f320
mov edx, dword [ebx]
movzx ebx, word [esi]
movzx ecx, bx
lea eax, [esi + 2]
push ecx
push eax
push edi
push edx
call fcn.004f91fa
push eax
call fcn.0040cd70
mov ecx, dword [ebp - 4]
add esp, 0x14
mov eax, dword [ecx]
cmp edi, dword [eax - 8]
jg 0x40f290
mov dword [eax - 0xc], edi
mov eax, dword [ecx]
xor ecx, ecx
mov word [eax + edi*2], cx
lea eax, [ecx + 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x80070057
call fcn.0040cd50
int3
Function at 0x40fdb0
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x1e8
mov eax, dword [0x55e904]
xor eax, esp
mov dword [esp + 0x1e4], eax
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
push 2
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
lea eax, [esp + 0x58]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
push esi
push edi
mov ecx, 0x55f4f8
call fcn.004102e0
test al, al
je 0x40fe01
call fcn.004a6760
push str._end_
push 0x53
push str.XZDownloaderImpl::clear
call fcn.0042ee30
mov eax, dword [0x55f500]
add esp, 0xc
test eax, eax
je 0x40fe2f
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x55f500], 0
mov ecx, 0x55f504
call fcn.004356a0
mov ecx, dword [0x55f4fc]
test ecx, ecx
je 0x40fe4c
push 1
push 0
call fcn.004ab650
push dword [0x565400]
mov byte [0x56544c], 1
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0x1f40
mov ecx, 0x5653d8
call fcn.00436280
mov ecx, 0x56538c
call fcn.0042f020
push 0x3e8
mov ecx, 0x565394
call fcn.00436280
mov ecx, 0x565110
call fcn.00436790
mov ecx, 0x5653ac
call fcn.0042ef90
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.0042eee0
call fcn.00445590
lea eax, [esp + 0x40]
push eax
call fcn.00433ff0
add esp, 4
lea ecx, [esp + 0x40]
push 0x14
push 0x54b2d8
call fcn.00403b00
push 0x565228
lea ecx, [esp + 0xc]
call fcn.00403900
cmp dword [esp + 0x54], 8
lea eax, [esp + 0x40]
push dword [esp + 0x50]
cmovae eax, dword [esp + 0x44]
push eax
push ecx
lea ecx, [esp + 0x14]
call fcn.00410030
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x20], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esp + 0x30], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov edx, dword [esp + 0x1c]
cmp edx, 8
jb 0x40ff5a
mov ecx, dword [esp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40ff50
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410019
push edx
push ecx
call fcn.004ee8e8
add esp, 8
cmp dword [esp + 0x30], 0
je 0x40ff76
cmp dword [esp + 0x34], 8
lea eax, [esp + 0x20]
cmovae eax, dword [esp + 0x20]
push eax
call dword [sym.imp.GDI32.dll_RemoveFontResourceW]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov edx, dword [esp + 0x34]
cmp edx, 8
jb 0x40ffb4
mov ecx, dword [esp + 0x20]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40ffaa
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41001e
push edx
push ecx
call fcn.004ee8e8
add esp, 8
mov edx, dword [esp + 0x54]
xor eax, eax
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 7
mov word [esp + 0x20], ax
cmp edx, 8
jb 0x410003
mov ecx, dword [esp + 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40fff9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41001e
push edx
push ecx
call fcn.004ee8e8
add esp, 8
mov ecx, dword [esp + 0x1ec]
pop edi
pop esi
xor ecx, esp
call fcn.004ee450
mov esp, ebp
pop ebp
ret 0x10
call fcn.004f8e2c
call fcn.004f8e2c
int3
Function at 0x425520
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0xc], edi
test eax, eax
jg 0x425552
jl 0x425545
test ecx, ecx
jne 0x425552
xor eax, eax
xor edx, edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebx + 0x38], 0
je 0x425612
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], eax
mov ecx, ebx
call fcn.00427710
mov esi, eax
mov eax, edx
mov dword [esp + 0x14], eax
test eax, eax
jl 0x4255be
jg 0x42557d
test esi, esi
je 0x4255be
mov ecx, dword [esp + 0xc]
cmp ecx, eax
jg 0x425595
mov eax, dword [esp + 0x10]
jl 0x42558f
cmp eax, esi
jae 0x425595
mov esi, eax
mov dword [esp + 0x14], ecx
mov eax, dword [ebx + 0x1c]
push esi
push dword [eax]
push edi
call fcn.004f0970
mov eax, dword [ebx + 0x2c]
add esp, 0xc
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
sub ecx, esi
sbb edx, dword [esp + 0x14]
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
jmp 0x4255df
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
mov edx, dword [esp + 0xc]
cmp eax, 0xffffffff
je 0x4255fb
mov ecx, dword [esp + 0x10]
mov esi, 1
add ecx, 0xffffffff
mov byte [edi], al
adc edx, 0xffffffff
add edi, esi
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
test edx, edx
jg 0x425564
jl 0x4255fb
test ecx, ecx
jne 0x425564
mov eax, dword [ebp + 0xc]
sub eax, dword [esp + 0x10]
mov ecx, dword [ebp + 0x10]
sbb ecx, edx
mov edx, ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x1c]
mov edi, ecx
mov edx, dword [eax]
test edx, edx
je 0x425651
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax]
test eax, eax
je 0x425651
mov edi, dword [esp + 0xc]
cmp eax, ecx
mov esi, ecx
cmovb esi, eax
push esi
push edx
push edi
call fcn.004f0970
mov eax, dword [ebx + 0x2c]
add edi, esi
mov dword [esp + 0x18], edi
add esp, 0xc
mov edi, dword [ebp + 0xc]
sub edi, esi
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
cmp dword [ebx + 0x4c], 0
mov ecx, edi
je 0x4256c0
mov esi, dword [ebx + 0xc]
lea eax, [ebx + 0x3c]
cmp dword [esi], eax
jne 0x425677
mov edx, dword [ebx + 0x54]
mov ecx, dword [ebx + 0x50]
sub edx, ecx
mov dword [esi], ecx
mov eax, dword [ebx + 0x1c]
mov dword [eax], ecx
mov eax, dword [ebx + 0x2c]
mov dword [eax], edx
mov esi, dword [esp + 0xc]
mov ecx, edi
cmp edi, 0xfff
jbe 0x4256a9
push dword [ebx + 0x4c]
push 0xfff
push 1
push esi
call fcn.004fa892
sub edi, eax
add esp, 0x10
add esi, eax
mov ecx, edi
cmp eax, 0xfff
jne 0x4256d4
cmp edi, eax
ja 0x425685
test ecx, ecx
je 0x4256c0
push dword [ebx + 0x4c]
push edi
push 1
push esi
call fcn.004fa892
mov ecx, edi
add esp, 0x10
sub ecx, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
sub eax, ecx
sbb edx, 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
sub eax, edi
pop edi
pop esi
sbb edx, 0
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4263d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51d810
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x55e904]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
push 8
mov dword [eax], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.004ee667
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.004ecf63
mov dword [esi + 4], eax
add esp, 8
mov eax, dword [ebp - 0x10]
lea edi, [eax + 0x14]
lea ecx, [eax + 0x18]
lea edx, [eax + 0x24]
mov dword [eax + 0x34], esi
lea ebx, [eax + 4]
mov dword [eax + 0xc], ebx
lea esi, [eax + 8]
mov dword [eax + 0x10], esi
mov dword [eax + 0x1c], edi
mov dword [eax + 0x20], ecx
mov dword [eax + 0x2c], edx
add eax, 0x28
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x14]
mov dword [esi], 0
mov dword [ecx], 0
mov dword [eax], 0
mov eax, dword [ebp - 0x10]
mov dword [ebx], 0
mov dword [edi], 0
mov dword [edx], 0
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 0x431280
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x55e904]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x11c
push 0
lea eax, [ebp - 0x120]
push eax
call fcn.004f05a0
add esp, 0xc
mov dword [ebp - 0x120], 0x11c
lea ecx, [ebp - 0x120]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x4312db
mov dword [ebp - 0x120], 0x114
lea edx, [ebp - 0x120]
push edx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x11c], 6
jb 0x4312e8
mov al, 1
jmp 0x4312ea
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ee450
mov esp, ebp
pop ebp
ret