joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41070a
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x35c
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
lea eax, [ebp - 4]
push edi
push eax
lea eax, [ebp - 0x258]
push eax
mov edi, SysReAllocStringLen
push str..htm
mov dword [ebp - 8], ecx
push edi
mov dword [ebp - 4], 0x104
call esi
test eax, eax
jne 0x41080a
lea eax, [ebp - 0x258]
push str._shellopencommand
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 4]
mov dword [ebp - 4], 0x104
push eax
lea eax, [ebp - 0x154]
push eax
lea eax, [ebp - 0x258]
push eax
push edi
call esi
test eax, eax
jne 0x41080a
lea eax, [ebp - 0x154]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea eax, [ebp - 0x154]
push eax
call dword [sym.imp.USER32.dll_CharLowerBuffA]
lea eax, [ebp - 0x154]
push str.netscape.exe
push eax
call fcn.00415130
pop ecx
test eax, eax
pop ecx
je 0x41080a
lea ecx, [ebp - 0x154]
sub eax, ecx
add eax, 0xd
push eax
lea eax, [ebp - 0x154]
push eax
lea eax, [ebp - 0x35c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
lea ecx, [ebp - 0x50]
call fcn.00410811
lea eax, [ebp - 0x35c]
lea ecx, [ebp - 0x50]
push eax
call fcn.00411e48
mov ecx, dword [ebp - 0x44]
mov eax, dword [ebp - 8]
mov edx, ecx
mov dword [ebp - 0x50], 0x41fa4c
shr edx, 0x10
mov word [eax + 0x16], cx
lea ecx, [ebp - 0x50]
mov word [eax + 0x14], dx
call fcn.0041086e
xor eax, eax
jmp 0x41080d
push 1
pop eax
pop edi
pop esi
leave
ret
Function at 0x4108c9
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1190
call fcn.00414820
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 0x410a97
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 0x410a97
cmp dword [ebp - 0x14], 1
jne 0x410a97
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 0x410a5a
cmp byte [ebp - 0x148], al
je 0x410a5a
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 0x410a4c
lea eax, [ebp - 0x96c]
push 0x4243a8
push eax
call esi
push dword [ebp - 0x18]
lea eax, [ebp - 0x96c]
push 0x423b20
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 0x423f5c
push eax
call esi
add edi, 0xc
dec dword [ebp - 0xc]
jne 0x4109b0
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.00410450
add esp, 0x10
xor esi, esi
cmp dword [ebp - 4], esi
je 0x410aa5
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x411662
Capabilities:
Check for time delay via gettickcount

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, ecx
call edi
sub eax, dword [esi + 0x74]
cmp eax, 0x7530
jbe 0x41169a
mov eax, dword [esi + 0x68]
mov ecx, dword [esi + 0x70]
mov dword [esi + 0x5c], eax
mov dword [esi + 0x64], ecx
mov ecx, dword [esi + 0x6c]
xor eax, eax
mov dword [esi + 0x68], eax
mov dword [esi + 0x70], eax
mov dword [esi + 0x60], ecx
mov dword [esi + 0x6c], eax
call edi
mov dword [esi + 0x74], eax
mov edi, dword [esi + 0x64]
test edi, edi
jne 0x4116a6
mov eax, dword [esi + 0x5c]
jmp 0x4116ef
push ebx
push ebp
push 0xa
xor eax, eax
pop ecx
xor ebp, ebp
test eax, eax
jne 0x4116ed
or eax, 0xffffffff
xor edx, edx
div ecx
mov ebx, dword [esi + 0x5c]
cmp ebx, eax
jbe 0x4116cb
shr ebx, 1
shr edi, 1
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x64], edi
mov eax, dword [esi + 0x5c]
mov edi, dword [esi + 0x64]
imul eax, ecx
xor edx, edx
div edi
xor edx, edx
imul eax, eax, 0x3e8
div ecx
lea ecx, [ecx + ecx*4]
inc ebp
shl ecx, 1
cmp ebp, 3
jb 0x4116af
pop ebp
pop ebx
pop edi
pop esi
ret

Function at 0x411e48
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 8]
push ebx
push eax
mov ebx, ecx
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoSizeA
test eax, eax
mov dword [ebp - 4], eax
je 0x411e9a
push eax
call fcn.004141c7
pop ecx
mov dword [ebx + 0x40], eax
push eax
push dword [ebp - 4]
push dword [ebp - 8]
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x411e9a
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x423c94
push dword [ebx + 0x40]
call sub.VERSION.dll_VerQueryValueA
test eax, eax
jne 0x411e9e
xor al, al
jmp 0x411eff
push esi
push edi
mov edi, ebx
lea eax, [ebx + 4]
neg edi
sbb edi, edi
mov esi, dword [ebp - 0xc]
push 0xd
and edi, eax
pop ecx
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
push str.VarFileInfoTranslation
rep movsd dword es:[edi], dword [esi]
push dword [ebx + 0x40]
call sub.VERSION.dll_VerQueryValueA
pop edi
pop esi
test eax, eax
je 0x411efd
mov eax, dword [ebp - 4]
shr eax, 2
mov dword [ebx + 0x3c], eax
shl eax, 2
push eax
call fcn.004141c7
mov dword [ebx + 0x38], eax
xor eax, eax
cmp dword [ebx + 0x3c], eax
pop ecx
jbe 0x411efd
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebx + 0x38]
mov edx, dword [edx + eax*4]
mov dword [ecx + eax*4], edx
inc eax
cmp eax, dword [ebx + 0x3c]
jb 0x411eeb
mov al, 1
pop ebx
leave
ret 4
Function at 0x41b706
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x426fd0
cmp edx, dword [eax]
je 0x41b728
add eax, 8
inc ecx
cmp eax, 0x427060
jl 0x41b719
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x426fd0]
jne 0x41b856
mov eax, dword [0x429448]
cmp eax, 1
je 0x41b830
test eax, eax
jne 0x41b759
cmp dword [0x424724], 1
je 0x41b830
cmp edx, 0xfc
je 0x41b856
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x41b790
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004140b0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00414ad0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x41b7d3
lea eax, [ebp - 0x1a4]
push eax
call fcn.00414ad0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x420004
push edi
call fcn.00414990
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004140b0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004140c0
lea eax, [ebp - 0xa0]
push 0x41ffe4
push eax
call fcn.004140c0
push dword [esi + 0x426fd4]
lea eax, [ebp - 0xa0]
push eax
call fcn.004140c0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0041d03b
add esp, 0x2c
pop edi
jmp 0x41b856
lea eax, [ebp + 8]
lea esi, [esi + 0x426fd4]
push 0
push eax
push dword [esi]
call fcn.00414ad0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

Function at 0x450012
Capabilities:
Encode data using xor

Disassembly:
push dword fs:[0]
mov dword fs:[0], esp
xor ebx, ebx
push ebx
push ebx
push 0x80000000
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [0x44ff28]
sub edi, edi
sub ecx, ecx
mov cl, 0xe5
inc edi
loop 0x45003a
call 0x450042
pop esi
sub esi, 0xffffffc2
push esi
sub ebx, ebx
or ebx, 0x2394
mov al, byte [esi]
xor ax, di
xchg byte [esi], al
inc esi
sub ebx, 1
cmp ebx, 0
ja 0x450052
pop esi
mov esp, dword fs:[0]
pop dword fs:[0]
pop edi
pop ebp
jmp esi
Function at 0x401940
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov dword [esp], 2
lea ebx, [esp + 0x24]
call fcn.0040f240
mov dword [esp + 8], 0x1b
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], str.Mingw_w64_runtime_failure:_n
call fcn.0040f8d8
mov dword [esp], 2
call fcn.0040f240
mov edx, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], edx
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
lea esi, [esi]

Function at 0x4019a0
Capabilities:
Allocate or change rwx memory

Disassembly:
push edi
push esi
push ebx
mov ebx, eax
sub esp, 0x30
mov esi, dword [0x86c078]
test esi, esi
jle 0x401ac0
mov eax, dword [0x86c07c]
xor ecx, ecx
add eax, 0xc
mov edx, dword [eax]
cmp ebx, edx
jb 0x4019d4
mov edi, dword [eax + 4]
add edx, dword [edi + 8]
cmp ebx, edx
jb 0x401a57
add ecx, 1
add eax, 0x14
cmp ecx, esi
jne 0x4019c0
mov dword [esp], ebx
call fcn.00402390
mov edi, eax
test eax, eax
je 0x401ae7
mov eax, dword [0x86c07c]
lea ebx, [esi + esi*4]
shl ebx, 2
add eax, ebx
mov dword [eax + 0x10], edi
mov dword [eax], 0
call fcn.004024d0
mov edx, dword [0x86c07c]
add eax, dword [edi + 0xc]
mov dword [edx + ebx + 0xc], eax
lea edx, [esp + 0x14]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
sub esp, 0xc
test eax, eax
je 0x401ac7
mov eax, dword [esp + 0x28]
lea edx, [eax - 0x40]
and edx, 0xffffffbf
je 0x401a50
lea edx, [eax - 4]
and edx, 0xfffffffb
jne 0x401a60
add dword [0x86c078], 1
add esp, 0x30
pop ebx
pop esi
pop edi
ret
cmp eax, 2
mov edx, 4
mov eax, 0x40
mov ecx, dword [esp + 0x20]
cmove eax, edx
mov edx, dword [esp + 0x14]
add ebx, dword [0x86c07c]
mov dword [ebx + 8], ecx
mov dword [ebx + 4], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
mov dword [esp], edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
test eax, eax
jne 0x401a50
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], str.__VirtualProtect_failed_with_code_0x_x
mov dword [esp + 4], eax
call fcn.00401940
lea esi, [esi]
lea esi, [esi]
xor esi, esi
jmp 0x4019de
mov eax, dword [0x86c07c]
mov eax, dword [eax + ebx + 0xc]
mov dword [esp + 8], eax
mov eax, dword [edi + 8]
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov dword [esp + 4], eax
call fcn.00401940
mov dword [esp + 4], ebx
mov dword [esp], str.Address__p_has_no_image_section
call fcn.00401940
lea esi, [esi]
nop
Function at 0x402000
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [esp], 0x86c094
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0x86c08c]
sub esp, 4
test ebx, ebx
je 0x402055
mov ebp, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
lea esi, [esi]
mov eax, dword [ebx]
mov dword [esp], eax
call ebp
sub esp, 4
mov esi, eax
call edi
test eax, eax
jne 0x40204e
test esi, esi
je 0x40204e
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x402030
mov dword [esp], 0x86c094
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub esp, 4
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x402390
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [0x400000], 0x5a4d
jne 0x4023b5
mov ecx, dword [0x40003c]
cmp dword [ecx + 0x400000], 0x4550
lea edx, [ecx + 0x400000]
je 0x4023c0
ret
cmp word [ecx + 0x400018], 0x10b
jne 0x4023b5
push esi
movzx eax, word [ecx + 0x400014]
push ebx
movzx esi, word [ecx + 0x400006]
mov ebx, dword [esp + 0xc]
lea eax, [edx + eax + 0x18]
sub ebx, 0x400000
test si, si
je 0x402408
xor ecx, ecx
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x4023fe
add edx, dword [eax + 8]
cmp ebx, edx
jb 0x40240a
add ecx, 1
add eax, 0x28
cmp ecx, esi
jne 0x4023f0
xor eax, eax
pop ebx
pop esi
ret
Function at 0x528d20
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x2c
mov eax, dword [esp + 0x30]
mov edx, dword [0x86c044]
mov dword [esp + 0x1c], edx
mov edx, dword [eax + 0x320]
mov dword [esp + 8], 1
mov dword [esp + 4], 1
mov dword [esp + 0xc], edx
mov eax, dword [eax + 0x318]
mov dword [esp], eax
call fcn.0040f8d8
mov eax, dword [esp + 0x1c]
sub eax, dword [0x86c044]
jne 0x528d69
add esp, 0x2c
ret
call fcn.00401690
nop
nop
sub esp, 0x1c
mov edx, dword [0x86c044]
mov dword [esp + 0xc], edx
xor edx, edx
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0xc]
sub edx, dword [0x86c044]
jne 0x528d9b
mov dword [esp + 0x20], eax
add esp, 0x1c
jmp fcn.005e16a0
call fcn.00401690
sub esp, 0x1c
mov edx, dword [0x86c044]
mov dword [esp + 0xc], edx
xor edx, edx
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0xc]
sub edx, dword [0x86c044]
jne 0x528dcb
mov dword [esp + 0x20], eax
add esp, 0x1c
jmp fcn.0046e8a0
call fcn.00401690
sub esp, 0x1c
mov edx, dword [0x86c044]
mov dword [esp + 0xc], edx
xor edx, edx
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0xc]
sub edx, dword [0x86c044]
jne 0x528dfb
mov dword [esp + 0x20], eax
add esp, 0x1c
jmp fcn.00674220
call fcn.00401690
sub esp, 0x1c
mov edx, dword [0x86c044]
mov dword [esp + 0xc], edx
xor edx, edx
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0xc]
sub edx, dword [0x86c044]
jne 0x528e2b
mov dword [esp + 0x20], eax
add esp, 0x1c
jmp fcn.0048d170
call fcn.00401690
sub esp, 0x1c
mov edx, dword [0x86c044]
mov dword [esp + 0xc], edx
xor edx, edx
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0xc]
sub edx, dword [0x86c044]
jne 0x528e5b
mov dword [esp + 0x20], eax
add esp, 0x1c
jmp fcn.00674220
call fcn.00401690
sub esp, 0x1c
mov edx, dword [0x86c044]
mov dword [esp + 0xc], edx
xor edx, edx
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0xc]
sub edx, dword [0x86c044]
jne 0x528e8b
mov dword [esp + 0x20], eax
add esp, 0x1c
jmp fcn.00528fc0
call fcn.00401690
sub esp, 0x1c
mov edx, dword [0x86c044]
mov dword [esp + 0xc], edx
xor edx, edx
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0xc]
sub edx, dword [0x86c044]
jne 0x528ebb
mov dword [esp + 0x20], eax
add esp, 0x1c
jmp fcn.0067d950
call fcn.00401690
sub esp, 0x1c
mov eax, dword [0x86c044]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x28]
mov edx, dword [eax]
mov eax, dword [esp + 0x24]
mov eax, dword [eax]
mov eax, dword [eax]
add eax, dword [esp + 0x20]
mov dword [edx + 0x10], eax
mov eax, dword [esp + 0xc]
sub eax, dword [0x86c044]
jne 0x528ef1
add esp, 0x1c
ret
call fcn.00401690
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
sub esp, 0x1c
mov edx, dword [0x86c044]
mov dword [esp + 0xc], edx
xor edx, edx
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0xc]
sub edx, dword [0x86c044]
jne 0x528f2b
Function at 0x539870
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x28
mov ebx, dword [esp + 0x30]
mov eax, dword [0x86c044]
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 0x2e0]
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 0x2d8]
mov dword [esp + 4], 1
mov dword [esp + 8], eax
mov eax, dword [ebx + 0x2d0]
mov dword [esp], eax
call fcn.0040f8d8
mov dword [ebx + 0x2ec], eax
mov eax, dword [esp + 0x1c]
sub eax, dword [0x86c044]
jne 0x5398c2
add esp, 0x28
pop ebx
ret
call fcn.00401690
nop
nop
nop
nop
nop
nop
nop
nop
nop
sub esp, 0x1c
mov edx, dword [0x86c044]
mov dword [esp + 0xc], edx
xor edx, edx
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0xc]
sub edx, dword [0x86c044]
jne 0x5398fb
mov dword [esp + 0x20], eax
add esp, 0x1c
jmp fcn.00537400
call fcn.00401690
sub esp, 0x1c
mov edx, dword [0x86c044]
mov dword [esp + 0xc], edx
xor edx, edx
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0xc]
sub edx, dword [0x86c044]
jne 0x53992b
mov dword [esp + 0x20], eax
add esp, 0x1c
jmp fcn.0048ca20
call fcn.00401690
sub esp, 0x1c
mov edx, dword [0x86c044]
mov dword [esp + 0xc], edx
xor edx, edx
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0xc]
sub edx, dword [0x86c044]
jne 0x53995b
mov dword [esp + 0x20], eax
add esp, 0x1c
jmp fcn.0067b410
call fcn.00401690
sub esp, 0x1c
mov edx, dword [0x86c044]
mov dword [esp + 0xc], edx
xor edx, edx
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0xc]
sub edx, dword [0x86c044]
jne 0x53998b
mov dword [esp + 0x20], eax
add esp, 0x1c
jmp fcn.00533190
call fcn.00401690
sub esp, 0x1c
mov edx, dword [0x86c044]
mov dword [esp + 0xc], edx
xor edx, edx
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0xc]
sub edx, dword [0x86c044]
jne 0x5399bb
mov dword [esp + 0x20], eax
add esp, 0x1c
jmp fcn.00612320
call fcn.00401690
sub esp, 0x1c
mov edx, dword [0x86c044]
mov dword [esp + 0xc], edx
xor edx, edx
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0xc]
sub edx, dword [0x86c044]
jne 0x5399eb
mov dword [esp + 0x20], eax
add esp, 0x1c
jmp fcn.0053a640
call fcn.00401690
sub esp, 0x1c
mov edx, dword [0x86c044]
mov dword [esp + 0xc], edx
xor edx, edx
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0xc]
sub edx, dword [0x86c044]
jne 0x539a1b
mov dword [esp + 0x20], eax
add esp, 0x1c
jmp fcn.00528fc0
call fcn.00401690
sub esp, 0x1c
mov edx, dword [0x86c044]
mov dword [esp + 0xc], edx
xor edx, edx
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0xc]
sub edx, dword [0x86c044]
jne 0x539a4b
mov dword [esp + 0x20], eax
add esp, 0x1c
jmp fcn.0046eea0
call fcn.00401690
Function at 0x6ad330
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x1c
mov edx, dword [0x86c044]
mov dword [esp + 0xc], edx
xor edx, edx
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0xc]
sub edx, dword [0x86c044]
jne 0x67b87b
mov dword [esp + 0x20], eax
add esp, 0x1c
jmp 0x672140
call fcn.00401690
sub esp, 0x1c
mov edx, dword [0x86c044]
mov dword [esp + 0xc], edx
xor edx, edx
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0xc]
sub edx, dword [0x86c044]
jne 0x67b8ab
mov dword [esp + 0x20], eax
add esp, 0x1c
jmp fcn.006792b0
call fcn.00401690
sub esp, 0x1c
mov edx, dword [0x86c044]
mov dword [esp + 0xc], edx
xor edx, edx
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0xc]
sub edx, dword [0x86c044]
jne 0x67b8db
mov dword [esp + 0x20], eax
add esp, 0x1c
jmp fcn.00528fc0
call fcn.00401690
sub esp, 0x1c
mov edx, dword [0x86c044]
mov dword [esp + 0xc], edx
xor edx, edx
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0xc]
sub edx, dword [0x86c044]
jne 0x67b90b
mov dword [esp + 0x20], eax
add esp, 0x1c
jmp fcn.00673fb0
call fcn.00401690
sub esp, 0x1c
mov edx, dword [0x86c044]
mov dword [esp + 0xc], edx
xor edx, edx
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0xc]
sub edx, dword [0x86c044]
jne 0x67b93b
mov dword [esp + 0x20], eax
add esp, 0x1c
jmp fcn.00528fc0
call fcn.00401690
sub esp, 0x1c
mov edx, dword [0x86c044]
mov dword [esp + 0xc], edx
xor edx, edx
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0xc]
sub edx, dword [0x86c044]
jne 0x67b96b
mov dword [esp + 0x20], eax
add esp, 0x1c
jmp fcn.00536b70
call fcn.00401690
sub esp, 0x1c
mov edx, dword [0x86c044]
mov dword [esp + 0xc], edx
xor edx, edx
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0xc]
sub edx, dword [0x86c044]
jne 0x6ad35b
mov dword [esp + 0x20], eax
add esp, 0x1c
jmp 0x67b850
call fcn.00401690
Function at 0x6b2160
Capabilities:
Encode data using xor

Disassembly:
push esi
push ebx
sub esp, 0x14
mov eax, dword [0x86c044]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
not eax
cmp esi, 3
jbe 0x6b2240
lea edx, [esi - 4]
shr edx, 2
lea ebx, [ecx + edx*4 + 4]
nop
mov edx, eax
xor al, byte [ecx]
add ecx, 4
movzx eax, al
shr edx, 8
xor edx, dword [eax*4 + 0x7ef920]
mov eax, edx
xor dl, byte [ecx - 3]
movzx edx, dl
shr eax, 8
xor eax, dword [edx*4 + 0x7ef920]
mov edx, eax
xor al, byte [ecx - 2]
movzx eax, al
shr edx, 8
xor edx, dword [eax*4 + 0x7ef920]
mov eax, edx
xor dl, byte [ecx - 1]
movzx edx, dl
shr eax, 8
xor eax, dword [edx*4 + 0x7ef920]
cmp ecx, ebx
jne 0x6b2190
and esi, 3
test esi, esi
je 0x6b2226
mov edx, eax
xor al, byte [ebx]
movzx eax, al
shr edx, 8
xor edx, dword [eax*4 + 0x7ef920]
mov eax, edx
cmp esi, 1
je 0x6b2226
xor al, byte [ebx + 1]
shr edx, 8
movzx eax, al
xor edx, dword [eax*4 + 0x7ef920]
mov eax, edx
cmp esi, 2
je 0x6b2226
xor al, byte [ebx + 2]
shr edx, 8
movzx eax, al
xor edx, dword [eax*4 + 0x7ef920]
mov eax, edx
not eax
mov edx, dword [esp + 0xc]
sub edx, dword [0x86c044]
jne 0x6b2244
add esp, 0x14
pop ebx
pop esi
ret
mov ebx, ecx
jmp 0x6b21e1
call fcn.00401690
nop
nop
nop
nop
nop
nop
nop
Function at 0x6b62d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x2c
mov ebp, dword [0x86c044]
mov dword [esp + 0x1c], ebp
xor ebp, ebp
mov ebx, dword [esp + 0x4c]
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
mov esi, dword [esp + 0x54]
mov edi, dword [esp + 0x58]
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x50]
mov ebp, dword [esp + 0x1c]
sub ebp, dword [0x86c044]
jne 0x6b6337
mov dword [esp + 0x48], esi
mov esi, dword [esp + 0xc]
mov dword [esp + 0x4c], edi
mov dword [esp + 0x44], ebx
mov dword [esp + 0x40], esi
mov dword [esp + 0x50], 0
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
jmp fcn.006b6340
call fcn.00401690
nop
nop
nop
nop
Function at 0x6c00f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x30
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 0x14]
mov edx, dword [0x86c044]
mov dword [esp + 0x2c], edx
xor edx, edx
mov ecx, dword [ebp + 0x18]
mov ebx, dword [ebp + 8]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0x10]
vmovd xmm3, dword [esp + 0x1c]
mov esi, dword [ebp + 0x1c]
vmovd xmm2, eax
vpinsrd xmm1, xmm2, ecx, 1
vpinsrd xmm0, xmm3, edi, 1
vpunpcklqdq xmm0, xmm0, xmm1
test ebx, ebx
je 0x6c035d
vmovdqu xmmword [ebx + 0x70], xmm0
xor edx, edx
vmovd dword [ebx + 0x84], xmm3
test eax, eax
je 0x6c0155
mov edx, dword [eax]
mov dword [ebx + 0x88], edx
mov edx, dword [ebx]
mov dword [ebx + 0x8c], 0
mov dword [ebx + 0x80], esi
test edi, edi
je 0x6c0248
test edx, edx
jne 0x6c0338
mov edx, dword [ebx + 0x6c]
test edx, edx
jne 0x6c0338
mov edx, dword [esp + 0x2c]
sub edx, dword [0x86c044]
jne 0x6c0373
test ecx, ecx
je 0x6c02b0
test edx, edx
jne 0x6c025b
test edx, edx
je 0x6c02bf
test eax, eax
je 0x6c0342
mov eax, 0xfffffffe
jmp 0x6c022a
test eax, eax
je 0x6c0367
mov dword [eax], 0
test ecx, ecx
je 0x6c0353
mov dword [ecx], 0
jmp 0x6c0353
Function at 0x584370
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push edi
push 0x1a
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x58438e
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [esp + 0x14]
push 0x5ad074
push ecx
mov edi, eax
call fcn.00598198
mov esi, eax
add esp, 8
test esi, esi
jne 0x5843cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.0059802e
push esi
call fcn.00597fb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret