joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44f0a5
Capabilities:
Create directory

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x1020
call fcn.0043dba0
mov eax, dword [0x4564f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x818], eax
mov eax, dword [ebp + 0x10]
lea ebx, [esi + 8]
push eax
mov ecx, ebx
call fcn.00413806
lea ecx, [esi + 0x18]
push edi
call fcn.00413806
push dword [ebp - 0x818]
lea edi, [esi + 0x10]
mov ecx, edi
call fcn.00413806
lea eax, [ebp - 0x814]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
lea eax, [esi + 0x34]
push eax
lea eax, [ebp - 0x814]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
movzx eax, word [ebp - 0x808]
push eax
movzx eax, word [ebp - 0x80a]
push eax
movzx eax, word [ebp - 0x80c]
push eax
movzx eax, word [ebp - 0x80e]
push eax
movzx eax, word [ebp - 0x812]
push eax
movzx eax, word [ebp - 0x814]
push eax
push dword [esi + 0x18]
lea eax, [ebp - 0x804]
push dword [ebx]
mov ebx, 0x800
push 0xffffffffffffffff
push ebx
push eax
call fcn.0043d64a
add esp, 0x2c
lea eax, [ebp - 0x804]
add esi, 0x20
push eax
mov ecx, esi
call fcn.00413806
push 0
push dword [edi]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push dword [esi]
lea eax, [ebp - 0x804]
push dword [edi]
push 0x404708
push 0xffffffffffffffff
push ebx
push eax
call fcn.0043d64a
mov esi, dword [0x458858]
xor edi, edi
add esp, 0x18
cmp esi, edi
je 0x44f1e4
push edi
push 1
mov ecx, esi
call fcn.00414777
test al, al
je 0x44f1e4
lea eax, [ebp - 0x804]
push eax
push 0x40f528
push edi
lea ecx, [ebp - 0x1020]
mov dword [ebp - 0x820], edi
mov dword [ebp - 0x81c], esi
call fcn.0044ef27
push eax
call fcn.0044ed72
add esp, 0xc
mov ecx, eax
call fcn.0044ef88
push edi
push 0x80
push 2
push edi
push 1
push 0x40000000
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x44f24c
mov eax, dword [0x458858]
mov dword [ebp - 0x820], edi
mov dword [ebp - 0x81c], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x804]
push eax
push 0x40f4f4
push edi
lea ecx, [ebp - 0x1020]
call fcn.0044ef27
push eax
call fcn.0044ed72
add esp, 0x10
mov ecx, eax
call fcn.0044ef88
xor al, al
jmp 0x44f266
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_SetStdHandle]
mov al, 1
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043db8b
leave
ret 0xc
Function at 0x44f898
Capabilities:
Encode data using base64

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 0xc]
push edi
call fcn.0044f877
cmp dword [ebp + 0x14], eax
jge 0x44f8b3
xor al, al
jmp 0x44f99f
mov ecx, dword [ebp + 0x10]
push ebx
push esi
mov byte [ecx], 0x30
inc ecx
push 3
mov byte [ecx], 0x62
pop esi
inc ecx
cmp edi, esi
jl 0x44f938
xor edx, edx
mov eax, edi
mov ebx, esi
div ebx
mov edx, dword [ebp + 8]
mov dword [ebp + 0xc], eax
imul eax, eax, 0xfffffffd
add edi, eax
movzx eax, byte [edx]
shr eax, 2
mov al, byte [eax + 0x40f568]
mov byte [ecx], al
movzx eax, byte [edx]
movzx ebx, byte [edx + 1]
and eax, esi
shl eax, 4
shr ebx, 4
or eax, ebx
mov al, byte [eax + 0x40f568]
inc ecx
mov byte [ecx], al
movzx eax, byte [edx + 1]
movzx ebx, byte [edx + 2]
and eax, 0xf
shl eax, 2
shr ebx, 6
or eax, ebx
mov al, byte [eax + 0x40f568]
inc ecx
mov byte [ecx], al
movzx eax, byte [edx + 2]
and eax, 0x3f
mov al, byte [eax + 0x40f568]
inc ecx
mov byte [ecx], al
inc ecx
add edx, esi
dec dword [ebp + 0xc]
jne 0x44f8da
jmp 0x44f93b
mov edx, dword [ebp + 8]
xor eax, eax
inc eax
test edi, edi
jle 0x44f99a
movzx ebx, byte [edx]
shr ebx, 2
mov bl, byte [ebx + 0x40f568]
mov byte [ecx], bl
inc ecx
cmp edi, eax
jle 0x44f981
movzx ebx, byte [edx]
and ebx, esi
movzx esi, byte [edx + 1]
shl ebx, 4
shr esi, 4
or ebx, esi
mov bl, byte [ebx + 0x40f568]
mov byte [ecx], bl
movzx edx, byte [edx + 1]
inc ecx
and edx, 0xf
mov dl, byte [edx*4 + 0x40f568]
mov byte [ecx], dl
jmp 0x44f995
movzx edx, byte [edx]
and edx, esi
shl edx, 4
mov dl, byte [edx + 0x40f568]
mov byte [ecx], dl
inc ecx
mov byte [ecx], 0x3d
inc ecx
mov byte [ecx], 0x3d
inc ecx
pop esi
mov byte [ecx], 0
pop ebx
pop edi
pop ebp
ret 0x10
Function at 0x452c2a
Capabilities:
Connect socket
Set socket configuration

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x158
mov eax, dword [0x4564f0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ebx, ecx
push 0x49
pop ecx
lea esi, [ebp + 8]
lea edi, [ebp - 0x148]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x148]
xor eax, eax
sub ecx, eax
je 0x452c84
dec ecx
je 0x452c7c
push 0x45437c
lea eax, [ebp - 0x150]
push eax
mov dword [ebp - 0x150], 0x4104d4
call fcn.0043fcd3
mov eax, dword [ebp - 0x144]
jmp 0x452cb6
cmp byte [ebp - 0x128], al
je 0x452ca7
mov cl, byte [ebp + eax - 0x128]
mov byte [ebp + eax - 0x14], cl
inc eax
cmp eax, 0xf
jg 0x452ca7
cmp byte [ebp + eax - 0x128], 0
jne 0x452c8c
mov byte [ebp + eax - 0x14], 0
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
push 2
mov dword [ebp - 0x14c], eax
push 4
lea eax, [ebp - 0x14c]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyaddr]
mov edi, eax
test edi, edi
jne 0x452cdb
push 2
pop eax
jmp 0x452d65
push 6
xor esi, esi
inc esi
push esi
push 2
call dword [sym.imp.WS2_32.dll_socket]
cmp eax, 0xffffffff
mov dword [ebx + 0x198], eax
jne 0x452d01
push 3
pop esi
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov eax, esi
jmp 0x452d65
and dword [ebp - 0x154], 0
push 8
lea ecx, [ebp - 0x158]
push ecx
push 0x1006
push 0xffff
push eax
mov dword [ebp - 0x158], esi
call dword [sym.imp.WS2_32.dll_setsockopt]
push dword [ebp + 0x12c]
mov word [ebp - 0x24], 2
mov eax, dword [edi + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x22], ax
push 0x10
lea eax, [ebp - 0x24]
push eax
push dword [ebx + 0x198]
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x452d63
push 4
jmp 0x452cf6
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043db8b
leave
ret 0x128

Function at 0x452dcb
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi]
push edi
mov edi, dword [sym.imp.WS2_32.dll_recv]
push 0
push 0xc
mov ebx, ecx
push eax
push dword [ebx + 0x198]
call edi
cmp eax, 0xffffffff
jne 0x452dfe
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push 6
pop eax
jmp 0x452e69
push 0xc
mov ecx, esi
call fcn.00453065
mov eax, dword [esi]
test byte [eax + 6], 0x20
je 0x452e13
push 7
jmp 0x452dfb
mov ecx, esi
call fcn.0045310f
and dword [ebp + 8], 0
movzx eax, ax
test eax, eax
mov dword [ebp - 4], eax
jle 0x452e52
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 4]
mov eax, dword [esi]
push 0
sub edx, ecx
push edx
lea eax, [eax + ecx + 0xc]
push eax
push dword [ebx + 0x198]
call edi
cmp eax, 0xffffffff
je 0x452e4a
add dword [ebp + 8], eax
mov eax, dword [ebp + 8]
cmp eax, dword [ebp - 4]
jl 0x452e28
mov ecx, esi
call fcn.0045310f
movzx eax, ax
add eax, 0xc
push eax
mov ecx, esi
call fcn.00453065
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x9a1790
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x376000]
mov dword [edi + 0x41a020], 0x64004208
push edi
jmp 0x9a17ba
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x9a17c1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x9a17b0
mov eax, 1
add ebx, ebx
jne 0x9a17d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x9a17e4
jne 0x9a1803
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x9a1803
dec eax
add ebx, ebx
jne 0x9a17f0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x9a17c8
add ebx, ebx
jne 0x9a17ff
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x9a1855
xor ecx, ecx
sub eax, 3
jb 0x9a181b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x9a188a
sar eax, 1
mov ebp, eax
jmp 0x9a1826
add ebx, ebx
jne 0x9a1826
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x9a17f4
inc ecx
add ebx, ebx
jne 0x9a1834
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x9a17f4
add ebx, ebx
jne 0x9a1841
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x9a1836
jne 0x9a1852
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x9a1836
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x9a1874
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x9a1866
jmp 0x9a17b6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x9a1874
add edi, ecx
jmp 0x9a17b6
pop esi
mov edi, esi
mov ecx, 0x2a1293
mov al, 0xe8
repne scasb al, byte es:[edi]
jne 0x9a18af
cmp byte [edi], 0x4c
jne 0x9a1894
mov eax, dword [edi]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
add eax, esi
stosd dword es:[edi], eax
jmp 0x9a1892
lea edi, [esi + 0x59c000]
mov eax, dword [edi]
or eax, eax
je 0x9a1900
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x5bea68]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x5bebf8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x9a18b5
mov ecx, edi
jns 0x9a18e4
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 + 0x5bebfc]
or eax, eax
je 0x9a18fa
mov dword [ebx], eax
add ebx, 4
jmp 0x9a18d2
call dword [esi + 0x5bec0c]
mov ebp, dword [esi + 0x5bec00]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x287]
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 0x9a1934
sub esp, 0xffffff80
jmp 0x68e7a5
Function at 0x403f80
Capabilities:
Get common file path

Disassembly:
push ebp
push esi
push edi
xor edi, edi
test ebx, ebx
je 0x403ffb
mov ebp, dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push edi
push edi
call ebp
push ebx
mov esi, eax
call fcn.0044cb48
add eax, esi
add esp, 4
lea eax, [eax + eax + 2]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
test edi, edi
jne 0x403fb7
pop edi
pop esi
pop ebp
ret
push esi
push edi
call ebp
mov ebp, eax
cmp word [edi + ebp*2 - 2], 0x5c
je 0x403fce
mov word [edi + ebp*2], 0x5c
add ebp, 1
push ebx
xor esi, esi
call fcn.0044cb48
add esp, 4
test eax, eax
jbe 0x403ffb
lea ebp, [edi + ebp*2]
mov cx, word [ebx + esi*2]
mov word [ebp], cx
push ebx
add esi, 1
add ebp, 2
call fcn.0044cb48
add esp, 4
cmp esi, eax
jb 0x403fe0
mov eax, edi
pop edi
pop esi
pop ebp
ret

Function at 0x404b10
Capabilities:
Link many functions at runtime

Disassembly:
mov eax, dword [0x4c4918]
push ebx
push ebp
mov ebp, dword [esp + 0xc]
xor ebx, ebx
test eax, eax
push esi
jne 0x404b3d
push eax
push str.Setupapi.dll
call fcn.004046a0
add esp, 8
test eax, eax
mov dword [0x4c4918], eax
je 0x404c76
cmp dword [0x4c491c], 0
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
jne 0x404b66
push str.SetupDiGetClassDevsW
push eax
call esi
test eax, eax
mov dword [0x4c491c], eax
je 0x404c76
mov eax, dword [0x4c4918]
cmp dword [0x4c4920], 0
jne 0x404b89
push str.SetupDiEnumDeviceInfo
push eax
call esi
test eax, eax
mov dword [0x4c4920], eax
je 0x404c76
mov eax, dword [0x4c4918]
cmp dword [0x4c4928], 0
jne 0x404bac
push str.SetupDiGetDeviceRegistryPropertyW
push eax
call esi
test eax, eax
mov dword [0x4c4928], eax
je 0x404c76
mov eax, dword [0x4c4918]
cmp dword [0x4c4924], 0
jne 0x404bcf
push str.SetupDiGetDeviceInterfaceDetailW
push eax
call esi
test eax, eax
mov dword [0x4c4924], eax
je 0x404c76
mov eax, dword [0x4c4918]
cmp dword [0x4c4930], 0
jne 0x404bed
push str.SetupDiDestroyDeviceInfoList
push eax
call esi
test eax, eax
mov dword [0x4c4930], eax
je 0x404c76
push 6
push 0
push 0
push 0
call dword [0x4c491c]
mov esi, eax
xor eax, eax
cmp esi, 0xffffffff
je 0x404c78
mov ecx, edi
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], eax
push edi
push eax
mov dword [ecx + 0x18], eax
push esi
mov dword [edi], 0x1c
call dword [0x4c4920]
test eax, eax
je 0x404c6f
lea ecx, [ecx]
push esi
push ebp
mov eax, edi
call fcn.004042b0
add esp, 8
cmp eax, 1
je 0x404c7c
xor edx, edx
mov eax, edi
mov dword [eax], edx
mov dword [eax + 4], edx
mov dword [eax + 8], edx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
push edi
add ebx, 1
mov dword [eax + 0x14], edx
push ebx
mov dword [eax + 0x18], edx
push esi
mov dword [edi], 0x1c
call dword [0x4c4920]
test eax, eax
jne 0x404c30
push esi
call dword [0x4c4930]
xor eax, eax
pop esi
pop ebp
pop ebx
ret
mov ecx, dword [esp + 0x14]
mov dword [ecx], esi
pop esi
pop ebp
mov eax, 1
pop ebx
ret
Function at 0x4054b0
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x14
push ebp
mov ebp, dword [esp + 0x1c]
push esi
xor esi, esi
cmp dword [0x4c49e8], esi
mov dword [esp + 8], esi
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], 0x24
mov dword [esp + 0x14], 0x26
mov dword [esp + 0x18], 0x2a
jne 0x405546
push 3
push 0x20
push 3
push 1
push 3
push 2
push esi
push esi
call sub.KERNEL32.dll_VerSetConditionMask
push edx
push eax
call sub.KERNEL32.dll_VerSetConditionMask
push edx
push eax
call sub.KERNEL32.dll_VerSetConditionMask
push edx
push eax
push 0x23
push 0x4c49e8
mov dword [0x4c49e8], 0x11c
mov dword [0x4c49ec], 6
mov dword [0x4c49f0], 1
mov word [0x4c4afc], si
call dword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
neg eax
sbb eax, eax
add eax, 1
mov dword [0x4bf318], eax
jmp 0x40554b
mov eax, dword [0x4bf318]
cmp eax, esi
je 0x40555a
pop esi
mov eax, 1
pop ebp
add esp, 0x14
ret
cmp ebp, esi
je 0x40567a
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
push edi
push esi
push esi
push esi
push ebp
call ebx
mov edi, eax
test edi, edi
je 0x405678
lea eax, [edi + edi]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
test eax, eax
mov dword [esp + 0x10], eax
je 0x405678
push 0
mov ecx, eax
push ecx
push edi
push ebp
call ebx
cmp edi, eax
jbe 0x405678
mov ebp, dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
xor ebx, ebx
jmp 0x4055b0
mov eax, dword [esp + ebx*4 + 0x18]
cmp eax, 0x26
jne 0x40562f
push 0
push 0
push str._ProgramW6432_
call ebp
mov edi, eax
test edi, edi
je 0x405678
lea edx, [edi + edi + 2]
push edx
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
test esi, esi
je 0x405678
push edi
push esi
push str._ProgramW6432_
call ebp
cmp edi, eax
jne 0x405678
push esi
push str._ProgramW6432_
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x405616
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
push 0x4922b4
push 0x26
jmp 0x405635
cmp word [esi + edi*2 - 4], 0x5c
je 0x405643
push 0x492554
add edi, 1
push edi
push esi
call fcn.00405320
jmp 0x405643
push 0x4922b4
push eax
call fcn.004053c0
mov esi, eax
add esp, 8
test esi, esi
je 0x405678
push esi
call fcn.0044cb48
push eax
mov eax, dword [esp + 0x18]
push esi
push eax
call fcn.0044d2aa
add esp, 0x10
neg eax
sbb eax, eax
inc eax
mov dword [esp + 0x14], eax
jne 0x405678
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
add ebx, 1
xor esi, esi
cmp ebx, 3
jl 0x4055b0
pop edi
pop ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LocalFree]
call esi
mov ecx, dword [esp + 8]
push ecx
call esi
mov eax, dword [esp + 0xc]
pop esi
pop ebp
add esp, 0x14
ret

Function at 0x405810
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
push eax
mov eax, dword [esp + 0xc]
call fcn.004056a0
mov esi, eax
add esp, 4
test esi, esi
je 0x405852
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x405834
test al, 0x50
je 0x405852
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x405847
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
pop esi
ret
mov eax, esi
pop esi
ret
Function at 0x406bb0
Capabilities:
Create process on windows

Disassembly:
push 1
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
ret
Function at 0x40a810
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x4bf370]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x14]
mov ebx, ecx
push eax
push ebx
mov dword [ebp - 0x18], ebx
call dword [sym.imp.USER32.dll_GetClientRect]
cmp dword [0x4c5adc], 0
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
jne 0x40a882
push ebx
call dword [sym.imp.USER32.dll_GetDC]
push eax
mov dword [0x4c5adc], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [0x4c5ad8], eax
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
push eax
push dword [0x4c5adc]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push dword [0x4c5ad8]
mov dword [0x4c5ad4], eax
call edi
push dword [0x4c5ae8]
mov esi, dword [0x4c5ad8]
lea eax, [ebp - 0x14]
push eax
push esi
call dword [sym.imp.USER32.dll_FillRect]
cmp dword [0x4c5aec], 0
je 0x40a8f0
mov eax, dword [0x4c5ae4]
test eax, eax
jne 0x40a8ca
push dword [0x4c5ad8]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push dword [0x4c5aec]
mov dword [0x4c5ae4], eax
push eax
call edi
mov eax, dword [0x4c5ae4]
push 0xcc0020
push 0
push 0
push eax
mov eax, dword [0x4c5acc]
push 0x280
push 0x320
add eax, 0xa
push eax
push 0xa
push esi
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [0x4bfdc4]
dec eax
cmp eax, 4
ja case.0x40a8fb.1
jmp dword [eax*4 + 0x40a97c]
push 0xb
jmp 0x40a914
push 0xc
jmp 0x40a914
push 0xe
jmp 0x40a914
push 0x10
jmp 0x40a914
push 0xd
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
push esi
call edi
mov ebx, eax
test ebx, ebx
je 0x40a939
movzx edx, byte [0x4c5933]
mov ecx, dword [ebp - 0x18]
push edx
mov edx, esi
call fcn.0040ab20
add esp, 4
push ebx
push esi
call edi
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
push 0xcc0020
push 0
push 0
push dword [0x4c5ad8]
push eax
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
push eax
push 0
push 0
push dword [0x4c5adc]
call dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043ef0f
mov esp, ebp
pop ebp
ret
Function at 0x4142c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.00428340
Function at 0x41c0a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x461edc
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x4bf370]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x18], ebx
cmp dword [ebp + 8], 0
mov dword [ebp - 0x10], 0
je 0x41c11a
mov dword [ebx], 0x479a34
mov dword [ebx + 0x70], 0
mov dword [ebx + 0x90], 0
mov dword [ebx + 0x94], 0
mov dword [ebx + 0x98], 0
mov dword [ebx + 0x68], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 1
push 0
lea esi, [ebx + 4]
mov ecx, ebx
push 0
push esi
mov dword [ebp + 8], esi
call fcn.0041c270
mov eax, dword [ebx]
push 8
mov dword [ebp - 4], 1
mov dword [ebp - 0x14], esi
mov eax, dword [eax + 4]
mov dword [ebx + eax], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ecx + ebx - 4], eax
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.0043f14b
mov esi, eax
add esp, 4
test esi, esi
je 0x41c177
push 1
mov byte [ebp - 4], 2
call fcn.0043e5b4
add esp, 4
mov dword [esi + 4], eax
jmp 0x41c179
xor esi, esi
lea eax, [ebx + 4]
mov dword [eax + 0x34], esi
lea ebx, [eax + 4]
mov dword [eax + 0xc], ebx
lea ecx, [eax + 0x18]
mov dword [eax + 0x20], ecx
lea edx, [eax + 0x24]
mov dword [eax + 0x2c], edx
lea esi, [eax + 8]
mov dword [eax + 0x10], esi
lea edi, [eax + 0x14]
mov dword [eax + 0x1c], edi
add eax, 0x28
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x14], eax
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x10]
mov dword [esi], 0
mov dword [ecx], 0
mov dword [eax], 0
mov eax, dword [ebp + 8]
mov dword [ebx], 0
mov ebx, dword [ebp + 8]
mov dword [edi], 0
mov dword [edx], 0
mov dword [eax + 0x2c], edx
mov dword [ebx], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov byte [ebx + 0x48], 0
mov byte [ebx + 0x3d], 0
mov ebx, dword [ebp - 0x10]
mov dword [eax + 0xc], ebx
mov ebx, dword [ebp + 8]
mov dword [eax + 0x10], esi
mov dword [eax + 0x1c], edi
mov dword [eax + 0x20], ecx
mov eax, dword [ebp - 0x14]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x10]
mov dword [esi], 0
mov dword [ecx], 0
mov dword [eax], 0
mov dword [ebx], 0
mov dword [edi], 0
mov dword [edx], 0
mov edx, dword [ebp + 8]
mov dword [edx + 0x4c], 0
mov eax, dword [0x4c0a04]
mov ecx, dword [0x4c0a08]
mov dword [edx + 0x40], eax
mov eax, dword [ebp - 0x18]
mov dword [edx + 0x44], ecx
mov dword [edx + 0x38], 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 4
Function at 0x426ef0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
mov eax, dword [0x4bf370]
xor eax, ebp
mov dword [ebp - 4], eax
movups xmm0, xmmword [str.Unknown_version]
push ebx
push esi
mov esi, ecx
lea eax, [ebp - 0x94]
push 0x90
push 0
push eax
movups xmmword [esi + 0x23c], xmm0
mov dword [esi + 0xecc], 0
xor bl, bl
call fcn.00440690
add esp, 0xc
mov dword [ebp - 0x98], 0x94
lea eax, [ebp - 0x98]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x88], 2
jne 0x426f8c
cmp dword [ebp - 0x94], 6
mov ecx, esi
jb 0x426f77
call fcn.00426fa0
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043ef0f
mov esp, ebp
pop ebp
ret
call fcn.00427a40
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043ef0f
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, bl
pop esi
xor ecx, ebp
pop ebx
call fcn.0043ef0f
mov esp, ebp
pop ebp
ret