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

Disassembly:
call fcn.0042d5f9
push 0
call dword [sym.imp.KERNEL32.DLL_ExitProcess]

Function at 0x47d3e0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x67000]
push edi
jmp 0x47d3fa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x47d401
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x47d3f0
mov eax, 1
add ebx, ebx
jne 0x47d413
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x47d424
jne 0x47d443
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x47d443
dec eax
add ebx, ebx
jne 0x47d430
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x47d408
add ebx, ebx
jne 0x47d43f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x47d495
xor ecx, ecx
sub eax, 3
jb 0x47d45b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x47d4ca
sar eax, 1
mov ebp, eax
jmp 0x47d466
add ebx, ebx
jne 0x47d466
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x47d434
inc ecx
add ebx, ebx
jne 0x47d474
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x47d434
add ebx, ebx
jne 0x47d481
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x47d476
jne 0x47d492
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x47d476
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x47d4b4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x47d4a6
jmp 0x47d3f6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x47d4b4
add edi, ecx
jmp 0x47d3f6
pop esi
mov edi, esi
mov ecx, 0x2a04
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x47d4d2
cmp byte [edi], 6
jne 0x47d4d2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x47d4d7
lea edi, [esi + 0x7a000]
mov eax, dword [edi]
or eax, eax
je 0x47d54f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x7d000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x7d118]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x47d504
mov ecx, edi
jns 0x47d533
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x7d11c]
or eax, eax
je 0x47d549
mov dword [ebx], eax
add ebx, 4
jmp 0x47d521
call dword [esi + 0x7d12c]
mov ebp, dword [esi + 0x7d120]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x47d583
sub esp, 0xffffff80
jmp section.UPX0
Function at 0x1b062f0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x76c000]
push edi
or ebp, 0xffffffff
jmp 0x1b06312
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x1b06319
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1b06308
mov eax, 1
add ebx, ebx
jne 0x1b0632b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x1b0633c
jne 0x1b0635b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1b0635b
dec eax
add ebx, ebx
jne 0x1b06348
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x1b06320
add ebx, ebx
jne 0x1b06357
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x1b063ad
xor ecx, ecx
sub eax, 3
jb 0x1b06373
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x1b063e2
sar eax, 1
mov ebp, eax
jmp 0x1b0637e
add ebx, ebx
jne 0x1b0637e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1b0634c
inc ecx
add ebx, ebx
jne 0x1b0638c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1b0634c
add ebx, ebx
jne 0x1b06399
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x1b0638e
jne 0x1b063aa
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1b0638e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x1b063cc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x1b063be
jmp 0x1b0630e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x1b063cc
add edi, ecx
jmp 0x1b0630e
pop esi
mov edi, esi
mov ecx, 0x5df97
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x1b063ea
mov eax, dword [edi]
mov bl, byte [edi + 4]
xchg ah, al
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x1b063ef
lea edi, [esi + 0xc02000]
mov eax, dword [edi]
or eax, eax
je 0x1b06457
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xc82aac]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xc82bd8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x1b06415
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xc82bdc]
or eax, eax
je 0x1b06451
mov dword [ebx], eax
add ebx, 4
jmp 0x1b06432
call dword [esi + 0xc82bec]
mov ebp, dword [esi + 0xc82be0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x1b0648b
sub esp, 0xffffff80
jmp 0x154a660
Function at 0x403020
Capabilities:
Delete file
Enumerate gui resources

Disassembly:
mov eax, dword [0x4c5f1c]
mov ecx, dword [0x4c2e28]
sub esp, 0xc2c
push ebx
push ebp
shr eax, 3
push esi
push edi
test eax, eax
jbe 0x403113
mov esi, dword [sym.imp.KERNEL32.dll_SetConsoleMode]
mov edi, dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
mov ebx, dword [sym.imp.KERNEL32.dll_WriteProfileSectionA]
mov ebp, dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], eax
cmp dword [0x4c5f1c], 0x959
jne 0x4030f9
push 0
push 0
call esi
push 0
lea eax, [esp + 0x43c]
push eax
push 0
call edi
push 0
push 0
call ebx
push 0
call ebp
push 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumCalendarInfoExW]
lea ecx, [esp + 0x1c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_SetCommState]
push 0
push 0
lea edx, [esp + 0x40]
push edx
call dword [sym.imp.KERNEL32.dll_AddConsoleAliasA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetStdHandle]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumResourceTypesA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCommState]
push 0
push 0x402b70
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenEventW]
mov eax, dword [esp + 0x14]
push eax
call fcn.00402e60
add dword [esp + 0x14], 8
sub dword [esp + 0x18], 1
jne 0x403060
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc2c
ret
Function at 0x403940
Capabilities:
Accept command line arguments

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x457f38
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
xor ebx, ebx
cmp dword [0x4c5f1c], 0x84
jne 0x4039cc
push ebx
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedFlushSList]
push ebx
call dword [sym.imp.KERNEL32.dll_AddAtomW]
mov dword [esp + 0x1c], 0xf
mov dword [esp + 0x18], ebx
mov byte [esp + 8], bl
push ebx
mov dword [esp + 0x2c], ebx
call fcn.00403c76
push ebx
push ebx
call fcn.00403d04
add esp, 0xc
mov dword [esp + 0x28], 0xffffffff
cmp dword [esp + 0x1c], 0x10
jb 0x4039bc
mov eax, dword [esp + 8]
push eax
call fcn.00403eeb
add esp, 4
mov dword [esp + 0x1c], 0xf
mov dword [esp + 0x18], ebx
mov byte [esp + 8], bl
cmp byte [0x45bdd0], bl
jle 0x4039dc
push ebx
push ebx
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ecx, dword [0x45b0d4]
mov edx, dword [0x45b0a8]
mov dword [0x4c5f1c], ecx
mov dword [0x4c68bc], edx
call fcn.00403160
mov ecx, dword [esp + 0x20]
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret 0x10

Function at 0x405520
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4590f8]
jne 0x40552a
repz ret
jmp fcn.00409af2
Function at 0x409815
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0040759b
and dword [ebp - 4], 0
cmp dword [0x45b994], 0
mov ebx, eax
jne 0x4098c6
push 0x401a4c
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x409977
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x401a40
push edi
call esi
test eax, eax
je 0x409977
push eax
call fcn.00407529
mov dword [esp], 0x401a30
push edi
mov dword [0x45b994], eax
call esi
push eax
call fcn.00407529
mov dword [esp], 0x401a1c
push edi
mov dword [0x45b998], eax
call esi
push eax
call fcn.00407529
mov dword [esp], 0x401a00
push edi
mov dword [0x45b99c], eax
call esi
push eax
call fcn.00407529
pop ecx
mov dword [0x45b9a4], eax
test eax, eax
je 0x4098c6
push 0x4019e8
push edi
call esi
push eax
call fcn.00407529
pop ecx
mov dword [0x45b9a0], eax
mov eax, dword [0x45b9a0]
cmp eax, ebx
je 0x40991e
cmp dword [0x45b9a4], ebx
je 0x40991e
push eax
call fcn.004075a4
push dword [0x45b9a4]
mov esi, eax
call fcn.004075a4
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40991e
test edi, edi
je 0x40991e
call esi
test eax, eax
je 0x409915
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x409915
test byte [ebp - 0xc], 1
jne 0x40991e
or dword [ebp + 0x10], 0x200000
jmp 0x409957
mov eax, dword [0x45b998]
cmp eax, ebx
je 0x409957
push eax
call fcn.004075a4
pop ecx
test eax, eax
je 0x409957
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x409957
mov eax, dword [0x45b99c]
cmp eax, ebx
je 0x409957
push eax
call fcn.004075a4
pop ecx
test eax, eax
je 0x409957
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x45b994]
call fcn.004075a4
pop ecx
test eax, eax
je 0x409977
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x409979
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x459f90
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x3a000]
push edi
jmp 0x459faa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x459fb1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x459fa0
mov eax, 1
add ebx, ebx
jne 0x459fc3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x459fd4
jne 0x459ff3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x459ff3
dec eax
add ebx, ebx
jne 0x459fe0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x459fb8
add ebx, ebx
jne 0x459fef
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x45a045
xor ecx, ecx
sub eax, 3
jb 0x45a00b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x45a07a
sar eax, 1
mov ebp, eax
jmp 0x45a016
add ebx, ebx
jne 0x45a016
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x459fe4
inc ecx
add ebx, ebx
jne 0x45a024
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x459fe4
add ebx, ebx
jne 0x45a031
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x45a026
jne 0x45a042
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x45a026
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x45a064
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x45a056
jmp 0x459fa6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x45a064
add edi, ecx
jmp 0x459fa6
pop esi
mov edi, esi
mov ecx, 0x10ba
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x45a082
cmp byte [edi], 0xc
jne 0x45a082
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x45a087
lea edi, [esi + 0x56000]
mov eax, dword [edi]
or eax, eax
je 0x45a0ff
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x665e8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x66704]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x45a0b4
mov ecx, edi
jns 0x45a0e3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x6670c]
or eax, eax
je 0x45a0f9
mov dword [ebx], eax
add ebx, 4
jmp 0x45a0d1
call dword [esi + 0x66708]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x45a130
cmp al, 0xef
ja 0x45a123
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x45a105
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x45a112
mov ebp, dword [esi + 0x66710]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x45a164
sub esp, 0xffffff80
jmp 0x423d3e
Function at 0x406b80
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov dword [0x579ad0], 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 0x40a820
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51f2ae
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x56e910]
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 eax, dword [0x57a650]
mov dword [ebp - 0xac], 0
test al, 1
jne 0x40a9be
or eax, 1
mov dword [0x57a650], eax
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
movq qword [0x57a654], 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.00403d80
push 0x529600
call fcn.004e4f83
add esp, 4
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx eax, ax
mov ecx, eax
and ecx, 0x3ff
cmp cx, 4
jne 0x40aa27
mov ecx, 0xc04
cmp ax, cx
je 0x40aa04
mov ecx, 0x1404
cmp ax, cx
je 0x40aa04
mov ecx, 0x404
cmp ax, cx
je 0x40aa04
mov ecx, 0x7c04
cmp ax, cx
je 0x40aa04
push str.zh_TW
jmp 0x40aa76
push 5
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov ecx, esi
push str.zh_TW
mov word [esi], ax
call fcn.00405200
jmp 0x40aa7d
mov edi, dword [0x57a654]
mov edx, ecx
mov ecx, edi
mov eax, dword [edi + 4]
cmp byte [eax + 0xd], 0
jne 0x40aa60
lea ebx, [ebx]
cmp dword [eax + 0x10], edx
jge 0x40aa4a
mov eax, dword [eax + 8]
jmp 0x40aa4e
mov ecx, eax
mov eax, dword [eax]
cmp byte [eax + 0xd], 0
je 0x40aa40
cmp ecx, edi
je 0x40aa60
mov dword [ebp - 0x14], ecx
cmp edx, dword [ecx + 0x10]
jge 0x40aa63
mov dword [ebp - 0x14], edi
lea eax, [ebp - 0x14]
mov eax, dword [eax]
cmp eax, edi
je 0x40aa71
push dword [eax + 0x14]
jmp 0x40aa76
push str.en_US
mov ecx, esi
call fcn.00405330
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.004e46d4
mov esp, ebp
pop ebp
ret
Function at 0x40c120
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x814
mov eax, dword [0x56e910]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor eax, eax
mov dword [ebp - 0x814], 0
push 0x7fe
push eax
mov word [ebp - 0x804], ax
mov edi, edx
lea eax, [ebp - 0x802]
mov esi, ecx
push eax
call fcn.004ef570
add esp, 0xc
mov dword [ebp - 0x810], 0
cmp dword [edi + 0x14], 8
jb 0x40c173
mov edi, dword [edi]
lea eax, [ebp - 0x810]
push eax
push edi
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x40c1ce
mov dword [ebp - 0x808], eax
lea eax, [ebp - 0x80c]
push eax
lea eax, [ebp - 0x804]
mov dword [ebp - 0x80c], 0x800
push eax
lea eax, [ebp - 0x808]
push eax
push 0
push str.InstallDir
push dword [ebp - 0x810]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x810]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
cmp word [ebp - 0x804], ax
jne 0x40c1ee
xor ecx, ecx
jmp 0x40c206
lea ecx, [ebp - 0x804]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40c1f7
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x804]
mov ecx, esi
push eax
call fcn.00405200
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.004e46d4
mov esp, ebp
pop ebp
ret

Function at 0x410f40
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x268
mov eax, dword [0x56e910]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor eax, eax
mov dword [ebp - 0x268], 0
push 0x256
push eax
mov word [ebp - 0x25c], ax
mov esi, edx
lea eax, [ebp - 0x25a]
mov edi, ecx
push eax
call fcn.004ef570
add esp, 0xc
push esi
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x410fd0
lea eax, [ebp - 0x260]
push eax
push 4
lea eax, [ebp - 0x264]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_K32EnumProcessModules]
test eax, eax
je 0x410fc9
push 0x104
lea eax, [ebp - 0x25c]
push eax
push dword [ebp - 0x264]
push esi
call dword [sym.imp.KERNEL32.dll_K32GetModuleFileNameExW]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov word [edi], ax
cmp word [ebp - 0x25c], ax
jne 0x410ff0
xor ecx, ecx
jmp 0x41100f
lea ecx, [ebp - 0x25c]
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x411000
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x25c]
mov ecx, edi
push eax
call fcn.00405200
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.004e46d4
mov esp, ebp
pop ebp
ret
Function at 0x4117e0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51fc61
mov eax, dword fs:[0]
push eax
sub esp, 0x158
mov eax, dword [0x56e910]
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 ebx, ecx
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x134]
mov edi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
push eax
mov dword [ebp - 0x134], 0x11c
call edi
test eax, eax
jne 0x411843
lea eax, [ebp - 0x134]
mov dword [ebp - 0x134], 0x114
push eax
call edi
cmp dword [ebp - 0x130], 6
jb 0x411930
cmp dword [ebp - 0x12c], 2
jb 0x411930
push str.runPlayer_no_amdin
push 0x579
push str.DownloaderModel::runPlayer
call fcn.0043de40
add esp, 0xc
lea edx, [ebx + 0x244]
lea ecx, [ebp - 0x14c]
push 0x54ea58
call fcn.00415d10
add esp, 4
mov dword [ebp - 4], 0
cmp dword [esi + 0x14], 8
jb 0x41189e
mov edx, dword [esi]
jmp 0x4118a0
mov edx, esi
sub esp, 8
mov ecx, eax
call fcn.00411420
add esp, 8
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x138], 8
mov edi, eax
jb 0x4118cd
push dword [ebp - 0x14c]
call fcn.00488e40
add esp, 4
cmp edi, 0xffffffff
jne 0x411975
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.runPlayer_no_amdin_error__d
push 0x57d
push str.DownloaderModel::runPlayer
call fcn.0043de40
push 0x54ea58
lea edx, [ebx + 0x244]
lea ecx, [ebp - 0x14c]
call fcn.00415d10
add esp, 0x14
push 0
push 1
push esi
push eax
mov dword [ebp - 4], 1
call fcn.004467c0
add esp, 0x10
cmp dword [ebp - 0x138], 8
jb 0x411975
push dword [ebp - 0x14c]
jmp 0x41196d
push 0x54ea58
lea edx, [ebx + 0x244]
lea ecx, [ebp - 0x164]
call fcn.00415d10
add esp, 4
push 0
push 1
push esi
push eax
mov dword [ebp - 4], 2
call fcn.004467c0
add esp, 0x10
cmp dword [ebp - 0x150], 8
jb 0x411975
push dword [ebp - 0x164]
call fcn.00488e40
add esp, 4
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.004e46d4
mov esp, ebp
pop ebp
ret 4
Function at 0x41adc0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x520d08
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x56e910]
xor eax, esp
mov dword [esp + 0xc], eax
push esi
push edi
mov eax, dword [0x56e910]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
lea eax, [esp + 0x10]
mov dword [esp + 0xc], 0
xorps xmm0, xmm0
push eax
movq qword [esp + 0x14], xmm0
call fcn.004e7452
push 0x56b0b0
lea eax, [esp + 0x18]
mov dword [esp + 0x30], 0
push esi
push eax
call fcn.004e7420
lea eax, [esp + 0x20]
push eax
push edi
call fcn.004e7400
lea eax, [esp + 0x28]
mov dword [esp + 0x40], 0xffffffff
push eax
call fcn.004e74a3
add esp, 0x1c
mov eax, edi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0xc]
xor ecx, esp
call fcn.004e46d4
mov esp, ebp
pop ebp
ret

Function at 0x41e650
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x521328
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x56e910]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
sub esp, 0x18
mov ecx, esp
push 0xffffffffffffffff
push 0
push dword [ebp + 0x10]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
mov byte [ecx], 0
call fcn.004092b0
push dword [ebp + 0xc]
lea eax, [esp + 0x28]
push dword [ebp + 8]
push eax
call fcn.0041e580
add esp, 0x24
mov dword [esp + 0x30], 0
cmp dword [eax + 0x14], 0x10
jb 0x41e6c1
mov eax, dword [eax]
mov dword [esp + 8], eax
mov ecx, esi
lea eax, [esp + 8]
push eax
call fcn.004e5cad
cmp dword [esp + 0x20], 0x10
mov dword [esi], vtable.std::runtime_error.0
jb 0x41e6ea
push dword [esp + 0xc]
call fcn.00488e40
add esp, 4
mov eax, dword [ebp + 8]
mov dword [esi + 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x10], eax
mov eax, esi
mov dword [esi], vtable.std::_System_error.0
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0xc