joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4087a0
Capabilities:
Enumerate gui resources

Disassembly:
sub esp, 0x94
push esi
push edi
call fcn.004043e0
test al, al
jne 0x4087cc
mov eax, dword [0x96edd0]
push str.__Unable_to_create_window__n
call dword [eax + 4]
add esp, 4
xor al, al
pop edi
pop esi
add esp, 0x94
ret
mov al, byte [0x431394]
mov esi, dword [sym.imp.USER32.dll_ChangeDisplaySettingsA]
test al, al
jne 0x408834
mov ecx, 0x25
xor eax, eax
lea edi, [esp + 8]
mov edx, dword [0x43138c]
rep stosd dword es:[edi], eax
mov ecx, dword [0x431388]
mov eax, dword [0x431390]
mov dword [esp + 0x74], ecx
lea ecx, [esp + 8]
push 4
push ecx
mov word [esp + 0x34], 0x94
mov dword [esp + 0x80], edx
mov dword [esp + 0x78], eax
mov dword [esp + 0x38], 0x1c0000
call esi
test eax, eax
je 0x408834
call fcn.00404650
pop edi
xor al, al
pop esi
add esp, 0x94
ret
push str.opengl32.dll
call fcn.00401890
add esp, 4
call fcn.00406f70
test al, al
jne 0x40887a
mov edx, dword [0x96edd0]
push str.__Unable_to_enable_GL__n
call dword [edx + 4]
mov al, byte [0x431394]
add esp, 4
test al, al
jne 0x40886a
push 0
push 0
call esi
call fcn.00404650
pop edi
xor al, al
pop esi
add esp, 0x94
ret
mov eax, dword [0x96edd4]
mov byte [0x4313a4], 1
mov byte [eax + 0x124], 1
call fcn.00408440
call fcn.00407ff0
mov ecx, dword [0x96edd0]
push 0x1f00
lea esi, [ecx + 4]
call dword [0x430e68]
push eax
push str.GL_vendor:__s_n
call dword [esi]
mov edx, dword [0x96edd0]
add esp, 8
push 0x1f01
lea esi, [edx + 4]
call dword [0x430e68]
push eax
push str.GL_renderer:__s_n
call dword [esi]
mov eax, dword [0x96edd0]
add esp, 8
push 0x1f02
lea esi, [eax + 4]
call dword [0x430e68]
push eax
push str.GL_version:__s_n
call dword [esi]
add esp, 8
call fcn.004085c0
test al, al
jne 0x40890c
call fcn.00407110
pop edi
xor al, al
pop esi
add esp, 0x94
ret
mov ecx, dword [0x96edd0]
push str.MEG_FRAME_BUFFER
call dword [ecx + 0x28]
add esp, 4
mov dword [0x443024], eax
test eax, eax
mov dword [0x443028], eax
je 0x408940
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x408940
push ecx
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov eax, dword [0x443024]
add esp, 4
mov edx, dword [0x431388]
mov dword [eax + 4], edx
mov eax, dword [0x443024]
mov ecx, dword [0x43138c]
mov dword [eax + 8], ecx
mov eax, dword [0x443024]
mov edx, dword [eax + 8]
imul edx, dword [eax + 4]
shl edx, 2
push edx
call dword [sym.imp.MSVCRT.dll_malloc]
mov ecx, dword [0x443024]
push str.__GL_init_ok_n
mov dword [ecx + 0x10], eax
mov edx, dword [0x443024]
xor eax, eax
mov ecx, dword [edx + 8]
mov edi, dword [edx + 0x10]
imul ecx, dword [edx + 4]
shl ecx, 2
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [0x96edd0]
call dword [eax + 4]
mov al, byte [0x431394]
add esp, 8
test al, al
jne 0x4089d0
mov ecx, dword [0x96edd0]
push str.__Hiding_StartBar_r_.._n
call dword [ecx + 4]
add esp, 4
push 0
push 0x4084f0
call dword [sym.imp.USER32.dll_EnumWindows]
mov ecx, 0x400
xor eax, eax
mov edi, 0x96cdd0
rep stosd dword es:[edi], eax
mov ecx, 0x400
mov edi, 0x96ddd0
rep stosd dword es:[edi], eax
pop edi
mov al, 1
pop esi
add esp, 0x94
ret
Function at 0x40a2e0
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x2c
lea ecx, [esp]
push edi
mov edi, dword [esp + 0x34]
push eax
push 1
push 0x2c
push ecx
mov dword [edi + 8], 1
call dword [sym.imp.MSVCRT.dll_fread]
mov eax, dword [esp + 0x24]
add esp, 0x10
cmp eax, 0x10
je 0x40a32c
push str._Unsupported_or_BAD_sample_format
call fcn.004098b0
mov ecx, 0x50
xor eax, eax
add esp, 4
rep stosd dword es:[edi], eax
xor al, al
pop edi
add esp, 0x2c
ret
push ebx
push ebp
mov eax, dword [esp + 0x28]
push esi
mov esi, dword [esp + 0x32]
xor edx, edx
and esi, 0xffff
mov ecx, dword [esp + 0x26]
mov ebx, esi
and ecx, 0xffff
shr ebx, 3
div ebx
fild dword [esp + 0x38]
xor edx, edx
sub esp, 8
mov dword [edi + 0x10], ecx
mov dword [edi + 0x14], esi
div ecx
mov edx, dword [esp + 0x40]
mov dword [edi + 0x20], edx
mov ebx, eax
cdq
idiv ecx
mov dword [edi + 0x18], ebx
mov ebp, eax
mov eax, esi
cdq
and edx, 7
mov dword [esp + 0x48], ebp
add eax, edx
mov ebp, eax
mov eax, dword [esp + 0x48]
cdq
sar ebp, 3
idiv ebp
mov dword [esp + 0x48], eax
fild dword [esp + 0x48]
fdivp st(1)
fmul dword [0x41e214]
fstp qword [esp]
push ecx
push esi
push ebx
push str.__d__d__d_WAV___.2fs_
call fcn.004098b0
mov ecx, dword [edi + 0x20]
push ecx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov edx, dword [esp + 0x60]
mov ecx, dword [edi + 0x20]
push edx
push 1
push ecx
push eax
mov dword [edi + 0x1c], eax
call dword [sym.imp.MSVCRT.dll_fread]
add esp, 0x2c
mov al, 1
pop esi
pop ebp
pop ebx
pop edi
add esp, 0x2c
ret

Function at 0x40bbd0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
lea eax, [ebp - 0x28]
xor esi, esi
push eax
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x10]
cmp eax, 0x182
je 0x40bc13
cmp eax, 0x1e6
je 0x40bc13
push eax
push ebx
push ecx
push edx
mov eax, 1
cpuid
mov dword [ebp - 4], edx
pop edx
pop ecx
pop ebx
pop eax
mov eax, dword [ebp - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x455fb6
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
push 4
pop eax
call fcn.004548d0
mov esi, esp
push 0x1c
lea eax, [ebp - 0x28]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x456051
mov ebx, dword [ebp - 0x24]
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x48]
mov eax, dword [0x498df0]
lea edi, [ecx - 1]
not edi
and edi, esi
sub edi, ecx
mov esi, eax
dec esi
neg esi
sbb esi, esi
and esi, 0xfffffff1
add esi, 0x11
imul esi, ecx
add esi, ebx
cmp edi, esi
mov dword [ebp - 8], ecx
jb 0x456051
cmp eax, 1
je 0x456072
mov dword [ebp - 4], ebx
mov ebx, 0x1000
push 0x1c
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x456051
mov eax, dword [ebp - 0x1c]
add dword [ebp - 4], eax
test dword [ebp - 0x18], ebx
je 0x45601e
test byte [ebp - 0x13], 1
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], eax
je 0x45604d
xor eax, eax
inc eax
jmp 0x456091
cmp edi, eax
jae 0x456055
xor eax, eax
jmp 0x456091
cmp eax, esi
jae 0x45605c
mov dword [ebp - 4], esi
push 4
push ebx
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov eax, dword [0x498df0]
jmp 0x456075
mov dword [ebp - 4], edi
dec eax
neg eax
sbb eax, eax
and eax, 0x103
lea ecx, [ebp - 0xc]
push ecx
inc eax
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea esp, [ebp - 0x58]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x458bb1
Capabilities:
Contain obfuscated stackstrings

Disassembly:
call fcn.0045887b
push eax
push esi
push dword [ebp + 8]
call fcn.00458830
add esp, 0x10
mov dword [ebp - 0x88], eax
call fcn.0045886b
cmp ebx, esi
mov cl, 0xf6
lea eax, [ebp - 0x18]
mov byte [ebp - 0x18], bl
push eax
mov byte [ebp - 0x17], bl
mov byte [ebp - 0x16], 0x40
mov byte [ebp - 0x15], bl
mov byte [ebp - 0x14], 0xe9
mov byte [ebp - 0x13], 0xd6
mov byte [ebp - 0x12], 0xcd
mov byte [ebp - 0x11], 0xcb
mov byte [ebp - 0x10], 0xca
mov byte [ebp - 0xf], 0xde
mov byte [ebp - 0xe], 0xd3
mov byte [ebp - 0xd], 0xf9
stc
Function at 0x458c02
Capabilities:
Contain obfuscated stackstrings

Disassembly:
stc
mov byte [ebp - 0xc], 0xcd
mov byte [ebp - 0xb], 0xda
mov byte [ebp - 0xa], 0xda
mov byte [ebp - 9], 0xbf
call fcn.0045887b
push eax
push esi
push dword [ebp + 8]
call fcn.00458830
mov dword [ebp - 8], eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.0045887b
push eax
push esi
push dword [ebp + 8]
call fcn.00458830
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.0045887b
push eax
push esi
push dword [ebp + 8]
call fcn.00458830
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.0045886b
push eax
ja 0x458cf9
stc
mov byte [ebp - 0x84], bl
mov byte [ebp - 0x83], bl
mov byte [ebp - 0x82], 0xe9
mov byte [ebp - 0x81], bl
mov byte [ebp - 0x80], 0x51
mov byte [ebp - 0x7f], 0x73
mov byte [ebp - 0x7e], 0x62
mov byte [ebp - 0x7d], 0x5b
mov byte [ebp - 0x7c], 0x79
mov byte [ebp - 0x7b], 0x72
mov byte [ebp - 0x7a], 0x63
mov byte [ebp - 0x79], 0x7a
mov byte [ebp - 0x78], 0x73
mov byte [ebp - 0x77], 0x5e
mov byte [ebp - 0x76], 0x77
mov byte [ebp - 0x75], 0x78
mov byte [ebp - 0x74], 0x72
mov byte [ebp - 0x73], 0x7a
mov byte [ebp - 0x72], 0x73
mov byte [ebp - 0x71], 0x57
mov byte [ebp - 0x70], 0x16
call fcn.0045886b
test dword [edx - 0x7a72ec17], ecx
jl 0x458d56
invalid
invalid
Function at 0x458ede
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax], ebx
je 0x458f1f
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jae 0x458f1a
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
cmp edx, 0x3000
jne 0x458f04
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x458f0c
cmp edx, ebx
jne 0x45905a
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
inc ebp
or byte [edx], al
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x458edb
add eax, dword [eax + 4]
jmp 0x458ec8
mov dword [ebp + 0xc], ebx
jmp 0x458f2a
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x458f42
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x458f60
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
invalid
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x458fbe
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x458fa5
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x458fae
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x458fb8
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x458f9a
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x458f24
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x45900b
dec eax
je 0x459002
sub eax, 3
je 0x458ff9
mov dword [ebp - 4], 0x40
jmp 0x459028
mov dword [ebp - 4], 4
jmp 0x45900e
mov dword [ebp - 4], 0x20
jmp 0x45900e
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x45905a
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x458fda
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.0045886b
jl 0x458feb
xor al, 0xff
jne 0x459065
push 1
push esi
call edi
mov eax, esi
jmp 0x459066
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
rcr byte [edi + 0x5e], 0x5b
pop edi
pop esi
pop ebx
leave
ret

Function at 0x459109
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push eax
call fcn.0045887b
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00458830
add esp, 0xc
mov dword [ebp - 0x68c], eax
call dword [ebp - 0x68c]
mov dword [ebp - 0x674], eax
mov dword [ebp - 0x384], 4
add byte [eax], al

Function at 0x459139
Capabilities:
Contain obfuscated stackstrings

Disassembly:
add byte [eax], al
and byte [ebp - 0x334], 0
Function at 0x459163
Capabilities:
Contain obfuscated stackstrings

Disassembly:
and byte [ebp - 0x3c3], 0
mov byte [ebp - 0x3c2], 0x99
and byte [ebp - 0x3c1], 0
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
mov byte [ebp - 0x3bd], 0x2b
mov byte [ebp - 0x3bc], 9
mov byte [ebp - 0x3bb], 2
mov byte [ebp - 0x3ba], 0x13
mov byte [ebp - 0x3b9], 0xa
mov byte [ebp - 0x3b8], 3
mov byte [ebp - 0x3b7], 0x20
mov byte [ebp - 0x3b6], 0xf
mov byte [ebp - 0x3b5], 0xa
mov byte [ebp - 0x3b4], 3
mov byte [ebp - 0x3b3], 0x28
mov byte [ebp - 0x3b2], 7
mov byte [ebp - 0x3b1], 0xb
mov byte [ebp - 0x3b0], 3
mov byte [ebp - 0x3af], 0x27
mov byte [ebp - 0x3ae], 0x66
lea eax, [ebp - 0x3c4]
push eax
call fcn.0045887b
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00458830
add esp, 0xc
mov dword [ebp - 0x538], eax
and byte [ebp - 0x3ec], 0
and byte [ebp - 0x3eb], 0
mov byte [ebp - 0x3ea], 0x11
and byte [ebp - 0x3e9], 0
mov byte [ebp - 0x3e8], 0xa9
mov byte [ebp - 0x3e7], 0x8b
mov byte [ebp - 0x3e6], 0x9a
mov byte [ebp - 0x3e5], 0xa3
mov byte [ebp - 0x3e4], 0x81
mov byte [ebp - 0x3e3], 0x8a
mov byte [ebp - 0x3e2], 0x9b
mov byte [ebp - 0x3e1], 0x82
mov byte [ebp - 0x3e0], 0x8b
mov byte [ebp - 0x3df], 0xa6
mov byte [ebp - 0x3de], 0x8f
mov byte [ebp - 0x3dd], 0x80
invalid
Function at 0x45950e
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov dword [ebp - 0x33c], eax
call fcn.0045886b
shr byte [esi], 0x20
mov bl, 0x68
add al, 1
add byte [eax], al
lea eax, [ebp - 0x334]
push eax
push dword [ebp + 8]
call dword [ebp - 0x538]
mov dword [ebp - 0x398], eax
mov byte [ebp - 0x544], 1
cmp dword [ebp - 0x398], 0
je 0x45955f
cmp dword [ebp - 0x398], 0
je 0x459729
cmp dword [ebp + 0xc], 1
je 0x459729
cmp dword [ebp + 0xc], 8
jne 0x4596f1
and byte [ebp - 0x6b8], 0
and byte [ebp - 0x6b7], 0
mov byte [ebp - 0x6b6], 0x9b
and byte [ebp - 0x6b5], 0
mov byte [ebp - 0x6b4], 0x33
mov byte [ebp - 0x6b3], 0x16
mov byte [ebp - 0x6b2], 0xd
mov byte [ebp - 0x6b1], 0x10
mov byte [ebp - 0x6b0], 1
add esi, eax
test dword [ecx - 7], edx
invalid
push dword [esi + eax*8]
test dword [edx - 7], edx
invalid
call dword [esi]
mov byte [ebp - 0x6ad], 0xb
mov byte [ebp - 0x6ac], 7
mov byte [ebp - 0x6ab], 1
mov byte [ebp - 0x6aa], 0x17
call fcn.0045886b
xchg edx, eax
invalid
and byte [ebp - 0x230], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x22f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x12c], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x12b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x654], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x653]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x504], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x503]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call fcn.00458849
or byte [eax + 0x2ff845c6], ah
mov byte [ebp - 0x24], 0x34
and byte [ebp - 0x36c], 0
and byte [ebp - 0x36b], 0
mov byte [ebp - 0x36a], 0xaa
and byte [ebp - 0x369], 0
mov byte [ebp - 0x368], 0x12
mov byte [ebp - 0x367], 0x30
mov byte [ebp - 0x366], 0x21
mov byte [ebp - 0x365], 6
mov byte [ebp - 0x364], 0x2c
mov byte [ebp - 0x363], 0x26
mov byte [ebp - 0x362], 0x21
mov byte [ebp - 0x361], 0x30
mov byte [ebp - 0x360], 0x38
mov byte [ebp - 0x35f], 0x11
mov byte [ebp - 0x35e], 0x3c
mov byte [ebp - 0x35d], 0x27
mov byte [ebp - 0x35c], 0x30
mov byte [ebp - 0x35b], 0x36
mov byte [ebp - 0x35a], 0x21
mov byte [ebp - 0x359], 0x3a
mov byte [ebp - 0x358], 0x27
mov byte [ebp - 0x357], 0x2c
mov byte [ebp - 0x356], 0x14
mov byte [ebp - 0x355], 0x55
lea eax, [ebp - 0x36c]
push eax
call fcn.0045887b
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00458830
add esp, 0xc
mov dword [ebp - 0x3d4], eax
call fcn.0045886b
xchg esi, eax
loop 0x4598e4
dec edx
push 0x104
lea eax, [ebp - 0x12c]
push eax
call dword [ebp - 0x3d4]
mov dword [ebp - 0x28], eax
call fcn.0045886b
push edx
invalid
nop
cld
invalid
Function at 0x401b30
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44d34a
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x47b00c]
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 - 0x28], esi
mov edi, dword [ebp + 8]
push 0
mov dword [ebp - 0x2c], esi
call fcn.00431fcf
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov byte [ebp - 4], 6
test edi, edi
jne 0x401bf0
lea eax, [ebp - 0x20]
mov dword [ebp - 0x24], vtable.std::exception.0
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], str.bad_locale_name
xorps xmm0, xmm0
mov byte [ebp - 0x14], 1
push eax
movq qword [ebp - 0x20], xmm0
call fcn.00434573
add esp, 8
mov dword [ebp - 0x24], vtable.std::runtime_error.0
lea eax, [ebp - 0x24]
push 0x47801c
push eax
call fcn.00435a6f
push edi
push esi
call fcn.00432317
add esp, 8
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.00430eab
mov esp, ebp
pop ebp
ret 4

Function at 0x403100
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push esi
mov esi, ecx
test edx, edx
jne 0x403115
lea eax, [edx + 0xd]
pop esi
pop ebp
ret 0xc
mov eax, edx
push edi
lea edi, [eax + 2]
nop dword [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x403120
sub eax, edi
sar eax, 1
lea eax, [eax*2 + 2]
push eax
push edx
push 1
push 0
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x403150
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
test ebx, ebx
jne 0x403169
lea eax, [ebx + 0xd]
pop ebx
mov esp, ebp
pop ebp
ret 8
push esi
push edi
xor esi, esi
mov edx, ebx
nop
mov eax, edx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x403175
sub eax, edi
sar eax, 1
lea ecx, [eax + 1]
lea edx, [edx + ecx*2]
lea esi, [esi + ecx*2]
cmp ecx, 1
jne 0x403170
mov eax, dword [ebp - 4]
push esi
push ebx
push 7
push 0
push dword [ebp + 8]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4031b0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x22c
mov eax, dword [0x47b00c]
xor eax, esp
mov dword [esp + 0x228], eax
push ebx
push esi
mov eax, ecx
mov dword [esp + 0x18], 0
mov ecx, dword [ebp + 8]
lea edx, [esp + 0x1c]
push edi
push edx
mov edi, dword [eax + 4]
xorps xmm0, xmm0
or edi, 0x2001f
movq qword [esp + 0x18], xmm0
push edi
push 0
push ecx
push dword [eax]
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, eax
test esi, esi
jne 0x4032e9
mov eax, dword [esp + 0x14]
xor esi, esi
test eax, eax
je 0x403244
push eax
call ebx
mov esi, eax
mov eax, dword [esp + 0x20]
and edi, 0x300
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edi
test esi, esi
jne 0x4032e9
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea ecx, [esp + 0x28]
push ecx
push esi
push esi
push esi
lea ecx, [esp + 0x34]
mov dword [esp + 0x34], 0x100
push ecx
lea ecx, [esp + 0x44]
push ecx
push esi
push eax
call edi
test eax, eax
jne 0x4032bf
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x18]
call fcn.004031b0
mov esi, eax
test esi, esi
jne 0x4032e9
lea eax, [esp + 0x28]
mov dword [esp + 0x24], 0x100
push eax
push esi
push esi
push esi
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x44]
push eax
push esi
push dword [esp + 0x30]
call edi
test eax, eax
je 0x403286
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4032d2
push eax
call ebx
mov dword [esp + 0x14], 0
push dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x1c], 0
call fcn.00402ef0
mov esi, eax
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4032f4
push eax
call ebx
mov ecx, dword [esp + 0x234]
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00430eab
mov esp, ebp
pop ebp
ret 4
Function at 0x4037e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44d563
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x47b00c]
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 dword [ebp - 0x10], esp
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x42c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x428], eax
mov dword [ebp - 0x20], 0
push 0x404
xorps xmm0, xmm0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x424]
movq qword [ebp - 0x1c], xmm0
push 0
push eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], 0
call fcn.00435ae0
add esp, 0xc
mov dword [ebp - 0x424], 0
push 0x60
push 0
mov byte [ebp - 4], 1
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push esi
call ebx
mov edi, eax
mov dword [ebp - 0x430], edi
test edi, edi
jne 0x4038a1
push 2
push eax
push esi
call ebx
mov edi, eax
mov dword [ebp - 0x430], eax
test edi, edi
jne 0x4038a1
call fcn.00402820
mov esi, eax
jmp 0x40398e
push dword [ebp - 0x428]
push dword [ebp - 0x42c]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x4038c4
call fcn.00402820
jmp 0x403981
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x42c], ebx
test ebx, ebx
jne 0x4038e2
call fcn.00402820
jmp 0x403981
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov dword [ebp - 0x428], esi
lea eax, [esi + 1]
cmp eax, esi
jae 0x403903
mov esi, 0x8007000e
jmp 0x403983
push eax
lea ecx, [ebp - 0x424]
mov byte [ebp - 4], 2
call fcn.004278d0
jmp 0x40392d
mov dword [ebp - 4], 1
cmp dword [ebp - 0x424], 0
jne 0x403944
mov esi, 0x8007000e
jmp 0x403983
push esi
push dword [ebp - 0x424]
push esi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
jne 0x403964
call fcn.00402820
jmp 0x403981
mov eax, dword [ebp - 0x424]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x1c]
push dword [ebp - 0x424]
call fcn.004045b0
mov esi, eax
test edi, edi
je 0x40398e
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x420]
cmp dword [ebp - 0x424], eax
je 0x4039b0
lea ecx, [ebp - 0x424]
call fcn.00428030
nop word [eax + eax]
mov eax, esi
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.00430eab
mov esp, ebp
pop ebp
ret 0x10