joyce8/EMBER2024-capa huggingface dataset:
Function at 0x409fe0
Capabilities:
Query environment variable

Disassembly:
mov eax, dword [esp + 8]
cmp eax, 2
ja 0x409fec
xor al, al
ret
push eax
mov eax, dword [esp + 8]
push eax
push 0x4377b0
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
setne al
ret

Function at 0x40bbe0
Capabilities:
Link many functions at runtime

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 4], 0
jne 0x40bbf4
mov dword [esi + 0x10], 0xffffffff
xor al, al
pop esi
ret
push edi
call fcn.00409610
call fcn.00409690
test al, al
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
jne 0x40bc12
call fcn.00409830
test al, al
je 0x40bc36
mov eax, dword [esi + 4]
push str.AllocateAndGetTcpExTableFromStack
push eax
call edi
test eax, eax
mov dword [esi + 8], eax
je 0x40bc99
mov ecx, dword [esi + 4]
push str.AllocateAndGetUdpExTableFromStack
push ecx
call edi
test eax, eax
mov dword [esi + 0xc], eax
je 0x40bc99
call fcn.00409710
test al, al
jne 0x40bc51
call fcn.00409960
test al, al
jne 0x40bc51
call fcn.004097a0
test al, al
je 0x40bc75
mov edx, dword [esi + 4]
push str.GetExtendedTcpTable
push edx
call edi
test eax, eax
mov dword [esi + 0x14], eax
je 0x40bc99
mov eax, dword [esi + 4]
push str.GetExtendedUdpTable
push eax
call edi
test eax, eax
mov dword [esi + 0x18], eax
je 0x40bc99
mov ecx, dword [esi + 4]
push str.GetTcpTable
push ecx
call edi
test eax, eax
mov dword [esi + 0x1c], eax
je 0x40bc99
mov edx, dword [esi + 4]
push str.GetUdpTable
push edx
call edi
test eax, eax
mov dword [esi + 0x20], eax
jne 0x40bca5
pop edi
mov dword [esi + 0x10], 0xffffffff
xor al, al
pop esi
ret
pop edi
mov al, 1
pop esi
ret

Function at 0x40cbb4
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x444238]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0x800
push ebx
push esi
mov esi, ecx
mov ebx, edx
lea eax, [ebp - 0xc]
jne 0x40cbf1
push 0x437fd8
push 4
push eax
call fcn.0041d659
push eax
call fcn.00401140
add esp, 0x10
jmp 0x40cc03
push 4
push eax
push 3
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x40cc6e
push edi
call fcn.0041d751
mov edi, dword [eax]
call fcn.0041d751
and dword [eax], 0
lea eax, [ebp - 0xc]
push eax
push ebx
push esi
push 0x111
mov esi, 0x112
lea eax, [ebp - 0x230]
push esi
push eax
call fcn.0041d6f7
add esp, 0x18
mov ebx, eax
call fcn.0041d751
cmp dword [eax], 0
je 0x40cc4e
call fcn.0041d751
push dword [eax]
call fcn.0040cb51
pop ecx
jmp 0x40cc55
call fcn.0041d751
mov dword [eax], edi
cmp ebx, 0xffffffff
pop edi
je 0x40cc6e
cmp ebx, esi
jae 0x40cc6e
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
jmp 0x40cc70
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0041afda
leave
ret
Function at 0x40f206
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x24
mov eax, 0x434837
call fcn.0041d2ae
mov esi, ecx
mov dword [ebp - 0x20], esi
mov eax, dword [esi + 0x60]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x5c]
mov dword [ebp - 0x18], eax
call fcn.0041636e
mov edi, dword [eax + 0xc]
xor ebx, ebx
cmp dword [esi + 0x58], ebx
je 0x40f251
call fcn.0041636e
mov edi, dword [eax + 0xc]
push 5
push dword [esi + 0x58]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], ebx
je 0x40f262
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], ebx
jne 0x40f26f
or eax, 0xffffffff
jmp 0x40f3cb
mov ecx, esi
call fcn.0040ed58
mov dword [ebp - 0x14], eax
call fcn.00411f9c
and dword [ebp - 0x28], ebx
cmp dword [ebp - 0x14], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x24], ebx
je 0x40f2ed
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp dword [ebp - 0x14], eax
je 0x40f2ed
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x40f2ed
push 0
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x2c], 1
call fcn.0040cba1
mov ebx, eax
test ebx, ebx
mov dword [ebp - 0x24], ebx
je 0x40f2ed
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x120]
test eax, eax
je 0x40f2ed
mov ecx, ebx
call fcn.00414caf
test eax, eax
je 0x40f2ed
push 0
mov ecx, ebx
call fcn.00414cca
mov dword [ebp - 0x28], 1
and dword [ebp - 4], 0
push esi
call fcn.00413951
push dword [ebp - 0x14]
call fcn.00411ef4
push edi
push eax
push dword [ebp - 0x1c]
mov ecx, esi
call fcn.0040f00e
xor edi, edi
cmp eax, edi
je 0x40f34a
test byte [esi + 0x3c], 0x10
je 0x40f334
push 4
pop edi
mov ecx, esi
call fcn.00414b87
test ax, 0x100
je 0x40f32a
push 5
pop edi
push edi
mov ecx, esi
call fcn.00411a8a
xor edi, edi
cmp dword [esi + 0x20], edi
je 0x40f34a
push 0x97
push edi
push edi
push edi
push edi
push edi
mov ecx, esi
call fcn.00414d31
or dword [ebp - 4], 0xffffffff
jmp 0x40f375
cmp dword [ebp - 0x28], edi
je 0x40f383
push 1
mov ecx, ebx
call fcn.00414cca
cmp dword [ebp - 0x2c], edi
je 0x40f393
push 1
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp - 0x14], edi
je 0x40f3ac
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x20]
jne 0x40f3ac
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x60]
mov ecx, esi
call fcn.0040ed92
cmp dword [esi + 0x58], edi
je 0x40f3c8
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [esi + 0x44]
call fcn.0041d31a
ret
Function at 0x412f47
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x412f80
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00412f0a
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0040e1c9
pop esi
ret 4
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
pop esi
jmp dword [eax + 0x8c]

Function at 0x414a6b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x414aae
call fcn.0041636e
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x414aae
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x414ac9
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.00414625
test ebx, ebx
mov esi, eax
je 0x414ac7
test edi, edi
je 0x414ac7
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x41afda
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x444238]
jne 0x41afe4
repz ret
jmp fcn.00421a2c
Function at 0x41f9d2
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x4443e0]
je 0x41f9ed
inc edi
cmp edi, 0x17
jb 0x41f9de
cmp edi, 0x17
jae 0x41fb6d
push ebp
push 3
call fcn.004299b3
cmp eax, 1
pop ecx
je 0x41fb39
push 3
call fcn.004299b3
test eax, eax
pop ecx
jne 0x41fa21
cmp dword [0x444218], 1
je 0x41fb39
cmp ebx, 0xfc
je 0x41fb6c
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x447758
push ebp
call fcn.00421c53
add esp, 0xc
test eax, eax
je 0x41fa57
push esi
push esi
push esi
push esi
push esi
call fcn.0041b7cd
add esp, 0x14
push 0x104
mov esi, 0x447771
push esi
push 0
mov byte [0x447875], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x41fa9b
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.00421c53
add esp, 0xc
test eax, eax
je 0x41fa9b
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.0041b7cd
add esp, 0x14
push esi
call fcn.00421cc0
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x41fae0
push esi
call fcn.00421cc0
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x447a6c
push 0x43a134
sub ecx, eax
push ecx
push eax
call fcn.00429900
add esp, 0x14
test eax, eax
je 0x41fae0
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.0041b7cd
add esp, 0x14
jmp 0x41fae2
xor esi, esi
push 0x43a130
push ebx
push ebp
call fcn.0042988f
add esp, 0xc
test eax, eax
je 0x41fb02
push esi
push esi
push esi
push esi
push esi
call fcn.0041b7cd
add esp, 0x14
push dword [edi*8 + 0x4443e4]
push ebx
push ebp
call fcn.0042988f
add esp, 0xc
test eax, eax
je 0x41fb24
push esi
push esi
push esi
push esi
push esi
call fcn.0041b7cd
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.004296d2
add esp, 0xc
jmp 0x41fb6c
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x41fb6c
cmp ebp, 0xffffffff
je 0x41fb6c
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x4443e4]
push dword [esi]
call fcn.00421cc0
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x4296d2
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00420583
xor ebx, ebx
cmp dword [0x448250], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x4297a8
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x429888
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x43a428
push edi
call esi
cmp eax, ebx
je 0x429888
push eax
call fcn.00420515
mov dword [esp], 0x43a418
push edi
mov dword [0x448250], eax
call esi
push eax
call fcn.00420515
mov dword [esp], 0x43a404
push edi
mov dword [0x448254], eax
call esi
push eax
call fcn.00420515
mov dword [0x448258], eax
lea eax, [ebp - 0xc]
push eax
call fcn.0041d3e6
test eax, eax
pop ecx
pop ecx
je 0x429776
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0041b7cd
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x4297a8
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00420515
cmp eax, ebx
pop ecx
mov dword [0x448260], eax
je 0x4297a8
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00420515
pop ecx
mov dword [0x44825c], eax
mov eax, dword [0x44825c]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x42982d
cmp dword [0x448260], ecx
je 0x42982d
push eax
call fcn.0042058c
push dword [0x448260]
mov esi, eax
call fcn.0042058c
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x42982d
cmp edi, ebx
je 0x42982d
call esi
cmp eax, ebx
je 0x4297fa
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4297fa
test byte [ebp - 0x18], 1
jne 0x42982d
lea eax, [ebp - 0x10]
push eax
call fcn.0041d41d
test eax, eax
pop ecx
je 0x429815
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0041b7cd
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x429824
or dword [ebp + 0x10], 0x200000
jmp 0x429868
or dword [ebp + 0x10], 0x40000
jmp 0x429868
mov eax, dword [0x448254]
cmp eax, dword [ebp - 8]
je 0x429868
push eax
call fcn.0042058c
cmp eax, ebx
pop ecx
je 0x429868
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x429868
mov eax, dword [0x448258]
cmp eax, dword [ebp - 8]
je 0x429868
push eax
call fcn.0042058c
cmp eax, ebx
pop ecx
je 0x429868
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x448250]
call fcn.0042058c
cmp eax, ebx
pop ecx
je 0x429888
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x42988a
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41f0c0
Capabilities:
Get common file path
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x475038
push 0x412968
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x22c
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov eax, dword [0x486eb4]
xor ebx, ebx
cmp eax, ebx
jne 0x41f220
mov byte [ebp - 0x11c], bl
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x11b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x104
lea eax, [ebp - 0x11c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x41f21b
mov byte [ebp - 0x224], bl
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x223]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push str.user32.dll
lea ecx, [ebp - 0x11c]
push ecx
push 0x484438
lea edx, [ebp - 0x224]
push edx
call fcn.00410e3b
add esp, 0x10
mov dword [ebp - 0x22c], ebx
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x224]
push ecx
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0x120], eax
push eax
call fcn.00453587
add esp, 4
mov esi, eax
mov dword [ebp - 0x238], esi
cmp esi, ebx
je 0x41f21b
push esi
mov edx, dword [ebp - 0x120]
push edx
mov eax, dword [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x224]
push ecx
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x41f212
mov dword [ebp - 0x230], ebx
lea edx, [ebp - 0x120]
push edx
lea eax, [ebp - 0x230]
push eax
push str.VarFileInfoTranslation
push esi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x41f212
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x230]
mov dword [ebp - 0x234], eax
mov ecx, dword [eax]
mov dword [0x486eb4], ecx
mov dword [ebp - 4], 0xffffffff
jmp 0x41f212
push esi
call fcn.004535b0
add esp, 4
mov eax, dword [0x486eb4]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4229b0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
push 0xf00021
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.0040e320
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x422a7b
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x422a7b
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x422a2e
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x422a39
or bh, 8
and edi, 0x8000000
je 0x422a54
mov eax, dword [0x4889dc]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movzx eax, bx
push eax
push esi
push 0xffffffffffffffff
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
test edi, edi
je 0x422a7b
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x422e50
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
sub esp, 4
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push ebp
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x422e7b
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x422e9f
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
jne 0x422eba
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
mov edi, ebp
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov cl, ah
mov edx, eax
mov dword [esp + 0x10], 0
shl ecx, 8
shr edx, 0x10
mov byte [esp + 0x10], dl
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x28]
or ecx, edx
mov edx, eax
shr edx, 0x10
mov dword [ebp + 0x28], ecx
mov dword [esp + 0x10], 0
xor ecx, ecx
mov byte [esp + 0x10], dl
mov cl, ah
xor edx, edx
shl ecx, 8
mov dl, al
shl edx, 0x10
or ecx, dword [esp + 0x10]
or ecx, edx
mov eax, dword [esp + 0x24]
mov edx, eax
mov dword [ebp + 0x44], ecx
shr edx, 0x10
xor ecx, ecx
mov dword [esp + 0x10], 0
mov cl, ah
mov byte [esp + 0x10], dl
shl ecx, 8
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x2c]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x48], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x30]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x64], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x34]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x54], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
push 0
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
or ecx, edx
mov dword [ebp + 0x50], ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 0
push ebp
lea ecx, [ebp + 0x68]
push ecx
push 4
push ebp
push edi
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
mov esi, eax
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
Function at 0x4244b0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov eax, dword [ecx + 4]
push ebx
push ebp
push esi
push edi
mov edi, dword [ecx]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x10], 0
test ecx, ecx
je 0x4244f1
lea edx, [esp + 0x14]
or eax, 0x20019
push edx
push eax
push 0
push ecx
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
mov eax, dword [esp + 0x14]
neg esi
sbb esi, esi
not esi
and esi, eax
jmp 0x4244f3
mov esi, edi
test esi, esi
je 0x424568
mov ebx, dword [esp + 0x20]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x20]
push eax
push 0
push ecx
push 0
push ebx
push esi
call ebp
test eax, eax
jne 0x42455d
mov ecx, dword [esp + 0x20]
mov eax, 4
cmp ecx, eax
jne 0x42455d
cmp dword [esp + 0x1c], eax
jbe 0x42452e
mov dword [esp + 0x1c], eax
lea edx, [esp + 0x1c]
lea eax, [esp + 0x10]
push edx
push eax
push 0
push 0
push ebx
push esi
call ebp
test eax, eax
jne 0x42455d
cmp esi, edi
je 0x42454f
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc
cmp esi, edi
je 0x424568
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc
Function at 0x424880
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x46d0df
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov eax, dword [0x47f5b0]
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x1c], 0
mov dword [esp + 0x10], eax
mov eax, dword [ecx + 4]
mov edi, dword [ecx]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x28], 1
test ecx, ecx
mov dword [esp + 0x14], edi
je 0x4248eb
lea edx, [esp + 0x18]
or eax, 0x20019
push edx
push eax
push 0
push ecx
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
mov eax, dword [esp + 0x18]
neg esi
sbb esi, esi
not esi
and esi, eax
jmp 0x4248ed
mov esi, edi
test esi, esi
je 0x4249b7
mov ebx, dword [esp + 0x38]
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x3c]
push 0
push ecx
push 0
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4249ac
mov eax, dword [esp + 0x38]
cmp eax, 1
je 0x42492f
cmp eax, 2
je 0x42492f
cmp eax, 6
je 0x42492f
cmp eax, 7
jne 0x4249ac
mov edx, dword [esp + 0x34]
add edx, 2
push edx
call fcn.00453587
mov ebp, eax
mov eax, dword [esp + 0x38]
mov edi, ebp
add esp, 4
lea ecx, [eax + 2]
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea eax, [esp + 0x34]
push eax
push ebp
push 0
push 0
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
push ebp
jne 0x424992
lea ecx, [esp + 0x14]
call fcn.004588b6
cmp esi, dword [esp + 0x14]
je 0x424987
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebp
call fcn.004535b0
add esp, 4
jmp 0x4249c9
call fcn.004535b0
add esp, 4
lea ecx, [esp + 0x10]
push 0x471a18
call fcn.004588b6
mov edi, dword [esp + 0x14]
cmp esi, edi
je 0x4249b7
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x4249c9
push eax
lea ecx, [esp + 0x14]
call fcn.004588b6
mov esi, dword [esp + 0x30]
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call fcn.004584a2
mov dword [esp + 0x1c], 1
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 0
call fcn.0045872d
mov ecx, dword [esp + 0x20]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 0x10