joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40c110
Capabilities:
Delete file

Disassembly:
push esi
mov esi, dword [esp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
pop esi
jg 0x40c139
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
ret
Function at 0x40d050
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x46e780]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
call dword [0x46fb34]
mov edi, dword [ebp + 8]
push edi
mov ebx, eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40d0e2
lea eax, [ebp - 0xc]
push str._RegDLL__Source_file_not_found:
push eax
lea ecx, [ebp + 8]
call fcn.00402290
mov edi, dword [eax]
xor esi, esi
add esp, 8
cmp edi, esi
jne 0x40d09a
mov dword [ebp - 8], esi
jmp 0x40d0c8
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
cmp eax, 0x3fffffff
jle 0x40d0b0
mov dword [ebp - 8], esi
jmp 0x40d0c8
lea esi, [eax + eax]
mov eax, esi
call fcn.00441030
mov eax, esp
push ebx
push esi
push edi
push eax
call fcn.00408280
mov dword [ebp - 8], eax
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 0x18]
call fcn.0043b4a4
push 0x4686c8
lea edx, [ebp - 0x18]
push edx
call fcn.0043e342
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x40d108
push str.DllRegisterServer
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40d101
call eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [edi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d124
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esp, [ebp - 0x24]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00439c98
mov esp, ebp
pop ebp
ret
Function at 0x40deb0
Capabilities:
Check if file exists
Create process on windows
Print debug messages

Disassembly:
push ecx
push esi
call dword [0x46fb34]
mov esi, dword [esp + 0xc]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40df08
lea eax, [esp + 4]
push str._PinTaskBar__Source_link_not_exists:
push eax
lea ecx, [esp + 0x14]
call fcn.00402290
mov ecx, dword [eax]
add esp, 8
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [esp + 4]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40df25
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x40df25
cmp dword [0x472cc4], 6
jb 0x40df25
push 0
push 0
push 0
push esi
push str.taskbarpin
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
pop esi
jg 0x40df42
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop ecx
ret
Function at 0x410890
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
sub esp, 0x218
mov eax, dword [0x46e780]
xor eax, esp
mov dword [esp + 0x214], eax
push ebx
mov ebx, dword [esp + 0x224]
test ebx, ebx
push esi
mov esi, dword [esp + 0x224]
mov dword [esp + 0x10], esi
je 0x410993
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x410993
lea eax, [esp + 8]
push eax
push 0x10008
push 0
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x410998
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov eax, dword [esp + 0xc]
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x2c]
push edx
push 0
push eax
mov dword [esp + 0x30], 0x104
call edi
mov esi, eax
cmp esi, 0x103
je 0x410960
test esi, esi
jne 0x41096e
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x18]
push ecx
push edx
call fcn.00410890
mov esi, eax
add esp, 8
test esi, esi
je 0x4108f2
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.00439c98
add esp, 0x218
ret
mov eax, dword [esp + 0x14]
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov esi, eax
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.00439c98
add esp, 0x218
ret
mov eax, 0x3f2
mov ecx, dword [esp + 0x21c]
pop esi
pop ebx
xor ecx, esp
call fcn.00439c98
add esp, 0x218
ret
Function at 0x411400
Capabilities:
Set registry value

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebx
call fcn.0043b5b2
add esp, 4
cmp eax, 0xa
mov dword [esp + 4], eax
jb 0x4114ff
call fcn.0042190e
test eax, eax
jne 0x41142f
push 0x80004005
call fcn.00401350
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
push edi
call eax
lea ecx, [esp + 0x10]
push ecx
mov edi, eax
add edi, 0x10
cmp dword [0x472cc4], 6
push 0xf003f
push 0
jae 0x4114a9
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4114e2
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 4
lea edx, [esp + 0x10]
push edx
push 4
push eax
mov eax, dword [esp + 0x24]
push str.MaxConnectionsPerServer
push eax
call esi
mov edx, dword [esp + 0x14]
push 4
lea ecx, [esp + 0x10]
push ecx
push 4
push 0
push str.MaxConnectionsPer1_0Server
push edx
call esi
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
jmp 0x4114e2
push str.SOFTWAREMicrosoftInternet_ExplorerMAINFeatureControlFEATURE_MAXCONNECTIONSPER1_0SERVER
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4114e2
push 4
lea edx, [esp + 0xc]
push edx
push 4
push eax
mov eax, dword [esp + 0x20]
push str.explorer.exe
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [edi - 0x10]
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
pop edi
jg 0x4114ff
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41151b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop ebx
pop ecx
ret
Function at 0x412240
Capabilities:
Check if file exists
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x46e780]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
call dword [0x46fb34]
cmp dword [0x472cc4], 6
mov ebx, eax
jae 0x41227c
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x412322
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41229f
lea eax, [edi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x412322
lea ecx, [ebp - 8]
push ecx
push 0xf003f
push 0
push str.SoftwareMicrosoftWindows_NTCurrentVersionAppCompatFlagsCompatibility_AssistantPersisted
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x412312
test edi, edi
mov dword [ebp - 0xc], 1
je 0x4122f3
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
cmp eax, 0x3fffffff
jle 0x4122de
xor eax, eax
jmp 0x4122f3
lea esi, [eax + eax]
mov eax, esi
call fcn.00441030
mov eax, esp
push ebx
push esi
push edi
push eax
call fcn.00408280
push 4
lea edx, [ebp - 0xc]
push edx
push 4
push 0
push eax
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [edi - 0x10]
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41232e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esp, [ebp - 0x18]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00439c98
mov esp, ebp
pop ebp
ret
Function at 0x412af0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x456de2
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x46e780]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
call fcn.0042190e
xor ecx, ecx
xor edi, edi
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x412b32
push 0x80004005
call fcn.00401350
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 4], eax
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], edi
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4

Function at 0x414ea0
Capabilities:
Read file on windows

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x14]
mov esi, dword [edi]
test esi, esi
je 0x414f02
push ebx
mov ebx, dword [esp + 0x14]
push ebp
mov ebp, dword [esp + 0x14]
mov dword [edi], 0
lea esp, [esp]
cmp esi, 0x400000
mov eax, 0x400000
ja 0x414ecf
mov eax, esi
mov edx, dword [ebp]
push 0
lea ecx, [esp + 0x20]
push ecx
push eax
push ebx
push edx
mov dword [esp + 0x30], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [esp + 0x1c]
add dword [edi], ecx
add ebx, ecx
sub esi, ecx
test eax, eax
je 0x414f07
test ecx, ecx
je 0x414f00
test esi, esi
ja 0x414ec0
pop ebp
pop ebx
pop edi
xor eax, eax
pop esi
ret
pop ebp
pop ebx
pop edi
pop esi
jmp dword [sym.imp.KERNEL32.dll_GetLastError]

Function at 0x414f20
Capabilities:
Write file on windows

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x14]
mov esi, dword [edi]
test esi, esi
je 0x414f82
push ebx
mov ebx, dword [esp + 0x14]
push ebp
mov ebp, dword [esp + 0x14]
mov dword [edi], 0
lea esp, [esp]
cmp esi, 0x400000
mov eax, 0x400000
ja 0x414f4f
mov eax, esi
mov edx, dword [ebp]
push 0
lea ecx, [esp + 0x20]
push ecx
push eax
push ebx
push edx
mov dword [esp + 0x30], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [esp + 0x1c]
add dword [edi], ecx
add ebx, ecx
sub esi, ecx
test eax, eax
je 0x414f87
test ecx, ecx
je 0x414f80
test esi, esi
ja 0x414f40
pop ebp
pop ebx
pop edi
xor eax, eax
pop esi
ret
pop ebp
pop ebx
pop edi
pop esi
jmp dword [sym.imp.KERNEL32.dll_GetLastError]
Function at 0x4152f0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor edx, edx
mov eax, edx
and eax, 1
sub eax, 1
not eax
and eax, 0xedb88320
mov ecx, edx
shr ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
sub eax, 1
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
sub eax, 1
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
sub eax, 1
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov dword [edx*4 + 0x472e00], ecx
add edx, 1
cmp edx, 0x100
jl 0x4152f2
cmp edx, 0x800
jae 0x4153db
mov edi, edi
mov eax, dword [edx*4 + 0x472a00]
mov ecx, eax
and ecx, 0xff
shr eax, 8
xor eax, dword [ecx*4 + 0x472e00]
add edx, 1
cmp edx, 0x800
mov dword [edx*4 + 0x472dfc], eax
jb 0x4153b0
mov dword [0x46fea0], 0x417920
call fcn.00417af0
test eax, eax
jne 0x4153f8
mov dword [0x46fea0], 0x4179d0
ret
Function at 0x41b970
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ecx
mov ecx, dword [esp + 0x14]
push ebp
mov ebp, dword [ecx]
mov ecx, dword [esp + 0x10]
xor eax, eax
and ebp, 7
cmp ecx, 5
jae 0x41b989
pop ebp
pop ecx
ret
mov edx, dword [esp + 0xc]
push ebx
push esi
mov esi, dword [esp + 0x1c]
add esi, 5
lea edx, [edx + ecx - 4]
push edi
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], 0xffffffff
mov dword [esp + 0x10], edx
jmp 0x41b9b0
mov ecx, dword [esp + 0x18]
lea edi, [eax + ecx]
cmp edi, edx
jae 0x41b9cf
jmp 0x41b9c0
mov al, byte [edi]
and al, 0xfe
cmp al, 0xe8
je 0x41b9cf
add edi, 1
cmp edi, edx
jb 0x41b9c0
mov eax, edi
sub eax, ecx
mov ecx, eax
sub ecx, dword [esp + 0x1c]
cmp edi, edx
jae 0x41bae5
cmp ecx, 3
jbe 0x41ba05
xor ebp, ebp
mov cl, byte [edi + 4]
test cl, cl
mov dword [esp + 0x1c], eax
je 0x41ba43
cmp cl, 0xff
je 0x41ba43
and ebp, 3
add ebp, ebp
or ebp, 1
add eax, 1
jmp 0x41b9b0
add ecx, 0xffffffff
shl ebp, cl
and ebp, 7
je 0x41b9e8
movzx ecx, byte [ebp + 0x458844]
mov ebx, edi
sub ebx, ecx
cmp byte [ebp + 0x45883c], 0
mov cl, byte [ebx + 4]
je 0x41ba2f
test cl, cl
je 0x41ba2f
cmp cl, 0xff
jne 0x41b9e8
and ebp, 3
add ebp, ebp
mov dword [esp + 0x1c], eax
or ebp, 1
add eax, 1
jmp 0x41b9b0
xor edx, edx
mov dh, cl
movzx ecx, byte [edi + 2]
mov dl, byte [edi + 3]
shl edx, 8
or edx, ecx
movzx ecx, byte [edi + 1]
shl edx, 8
or edx, ecx
lea esp, [esp]
cmp dword [esp + 0x28], 0
je 0x41ba6e
lea ebx, [edx + eax]
add ebx, esi
jmp 0x41ba74
sub edx, eax
sub edx, esi
mov ebx, edx
test ebp, ebp
je 0x41bab6
movzx esi, byte [ebp + 0x458844]
add esi, esi
add esi, esi
add esi, esi
mov ecx, 0x18
sub ecx, esi
mov edx, ebx
shr edx, cl
test dl, dl
je 0x41ba99
cmp dl, 0xff
jne 0x41bab2
mov ecx, 0x20
sub ecx, esi
mov esi, dword [esp + 0x20]
mov edx, 1
shl edx, cl
sub edx, 1
xor edx, ebx
jmp 0x41ba60
mov esi, dword [esp + 0x20]
mov edx, ebx
shr edx, 0x18
and dl, 1
sub dl, 1
not dl
mov byte [edi + 4], dl
mov edx, ebx
shr edx, 8
mov ecx, ebx
shr ecx, 0x10
mov byte [edi + 2], dl
mov edx, dword [esp + 0x10]
mov byte [edi + 3], cl
mov byte [edi + 1], bl
add eax, 5
jmp 0x41b9b0
cmp ecx, 3
pop edi
pop esi
pop ebx
jbe 0x41baf8
mov ecx, dword [esp + 0x18]
xor ebp, ebp
mov dword [ecx], ebp
pop ebp
pop ecx
ret
add ecx, 0xffffffff
shl ebp, cl
mov ecx, dword [esp + 0x18]
and ebp, 7
mov dword [ecx], ebp
pop ebp
pop ecx
ret

Function at 0x4218a9
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 0x4218ec
call fcn.00424fa2
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4218ec
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x421907
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.00421463
test ebx, ebx
mov esi, eax
je 0x421905
test edi, edi
je 0x421905
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4
Function at 0x42431d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x24
mov eax, 0x455251
call fcn.0043e01a
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.00424fa2
mov edi, dword [eax + 0xc]
xor ebx, ebx
cmp dword [esi + 0x58], ebx
je 0x424368
call fcn.00424fa2
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 0x424379
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], ebx
jne 0x424386
or eax, 0xffffffff
jmp 0x4244e2
mov ecx, esi
call fcn.00423e64
mov dword [ebp - 0x14], eax
call fcn.0041ed74
and dword [ebp - 0x28], ebx
cmp dword [ebp - 0x14], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x24], ebx
je 0x424404
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp dword [ebp - 0x14], eax
je 0x424404
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x424404
push 0
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x2c], 1
call fcn.0041d901
mov ebx, eax
test ebx, ebx
mov dword [ebp - 0x24], ebx
je 0x424404
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x120]
test eax, eax
je 0x424404
mov ecx, ebx
call fcn.00423005
test eax, eax
je 0x424404
push 0
mov ecx, ebx
call fcn.00423020
mov dword [ebp - 0x28], 1
and dword [ebp - 4], 0
push esi
call fcn.0042078f
push dword [ebp - 0x14]
call fcn.0041eccc
push edi
push eax
push dword [ebp - 0x1c]
mov ecx, esi
call fcn.00424125
xor edi, edi
cmp eax, edi
je 0x424461
test byte [esi + 0x3c], 0x10
je 0x42444b
push 4
pop edi
mov ecx, esi
call fcn.00422ec2
test ax, 0x100
je 0x424441
push 5
pop edi
push edi
mov ecx, esi
call fcn.0041e862
xor edi, edi
cmp dword [esi + 0x20], edi
je 0x424461
push 0x97
push edi
push edi
push edi
push edi
push edi
mov ecx, esi
call fcn.004231ef
or dword [ebp - 4], 0xffffffff
jmp 0x42448c
cmp dword [ebp - 0x28], edi
je 0x42449a
push 1
mov ecx, ebx
call fcn.00423020
cmp dword [ebp - 0x2c], edi
je 0x4244aa
push 1
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp - 0x14], edi
je 0x4244c3
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x20]
jne 0x4244c3
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.00423e9e
cmp dword [esi + 0x58], edi
je 0x4244df
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [esi + 0x44]
call fcn.0043e0bf
ret
Function at 0x4254ce
Capabilities:
Get geographical location

Disassembly:
push ebp
lea ebp, [esp - 0x1f4]
sub esp, 0x274
mov eax, dword [0x46e780]
xor eax, ebp
mov dword [ebp + 0x1f0], eax
cmp dword [ebp + 0x200], 0x800
mov eax, dword [ebp + 0x1fc]
push esi
mov dword [ebp - 0x40], eax
mov esi, ecx
lea eax, [ebp + 0x1e8]
jne 0x42556c
push 0x45a214
push 4
push eax
call fcn.0043e7ae
push eax
call fcn.00402790
add esp, 0x10
push ebx
push edi
call fcn.0043e402
mov edi, dword [eax]
call fcn.0043e402
xor ebx, ebx
mov dword [eax], ebx
lea eax, [ebp + 0x1e8]
push eax
push dword [ebp - 0x40]
lea eax, [ebp - 0x3c]
push esi
push 0x111
mov esi, 0x112
push esi
push eax
call fcn.0043e3a8
add esp, 0x18
mov dword [ebp - 0x40], eax
call fcn.0043e402
cmp dword [eax], ebx
je 0x425583
call fcn.0043e402
push dword [eax]
call fcn.0041c5cb
pop ecx
jmp 0x42558a
push 4
push eax
push 3
push dword [ebp + 0x200]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x42551d
jmp 0x4255fc
call fcn.0043e402
mov dword [eax], edi
cmp dword [ebp - 0x40], 0xffffffff
je 0x4255f8
cmp dword [ebp - 0x40], esi
jae 0x4255f8
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push 0x3c
mov esi, eax
lea eax, [ebp - 0x7c]
push ebx
push eax
mov dword [ebp - 0x80], 0x40
call fcn.0043c510
add esp, 0xc
push 0x459e48
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp eax, ebx
je 0x4255ea
push str.FindActCtxSectionStringW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x4255ea
lea ecx, [ebp - 0x80]
push ecx
push esi
push 2
push ebx
push ebx
call eax
test eax, eax
je 0x4255ea
push ebx
push ebx
push esi
jmp 0x4255f0
push ebx
push ebx
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
jmp 0x4255fa
xor eax, eax
pop edi
pop ebx
mov ecx, dword [ebp + 0x1f0]
xor ecx, ebp
pop esi
call fcn.00439c98
add ebp, 0x1f4
leave
ret
Function at 0x426227
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
je 0x42626d
call fcn.00424fa2
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x42626d
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 4], eax
je 0x4262b0
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
je 0x426299
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x426299
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x4262ad
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x4282a9
Capabilities:
Read file on windows

Disassembly:
cmp dword [esp + 8], 0
push esi
mov esi, ecx
jne 0x4282b2
xor eax, eax
jmp 0x42831b
cmp dword [esp + 8], 0
jne 0x4282be
call fcn.00423abe
push edi
push dword [esi + 0x10]
push dword [esp + 0x14]
push 1
push dword [esp + 0x18]
call fcn.0043f50a
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x4282f9
push dword [esi + 0x10]
call fcn.0043f210
test eax, eax
pop ecx
jne 0x4282f9
mov esi, dword [esi + 0xc]
call fcn.0043e415
push esi
push dword [eax]
push 1
call fcn.00436362
push dword [esi + 0x10]
call fcn.0043f23f
test eax, eax
pop ecx
je 0x428318
push dword [esi + 0x10]
call fcn.0043f164
push eax
call fcn.00402790
pop ecx
pop ecx
jmp 0x4282e7
mov eax, edi
pop edi
pop esi
ret 8

Function at 0x428324
Capabilities:
Write file on windows

Disassembly:
cmp dword [esp + 4], 0
push esi
mov esi, ecx
jne 0x42832e
call fcn.00423abe
push dword [esi + 0x10]
push dword [esp + 0x10]
push 1
push dword [esp + 0x14]
call fcn.0043f684
add esp, 0x10
cmp eax, dword [esp + 0xc]
je 0x42835b
mov esi, dword [esi + 0xc]
call fcn.0043e415
push esi
push dword [eax]
push 1
call fcn.00436362
pop esi
ret 8

Function at 0x429bd7
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
test eax, eax
mov dword [esi], vtable.CInternetSession.0
jne 0x429c00
call fcn.00424fa2
mov eax, dword [eax + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
test eax, eax
mov dword [esi + 8], eax
jne 0x429c23
push eax
push dword [esi + 4]
call fcn.00429b62
push esi
push eax
mov ecx, 0x471adc
call fcn.00429835
mov eax, esi
pop esi
pop ebp
ret 0x18
Function at 0x42b1e2
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x42b210
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x42b22e
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0042b14c
jmp 0x42b22e
mov eax, dword [esi + 0x14]
test eax, eax
je 0x42b22e
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.0042b14c
test edi, edi
mov eax, edi
jne 0x42b218
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x471d70]
test ecx, ecx
je 0x42b2f1
jmp 0x42b1e1
ret 8

Function at 0x439c98
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x46e780]
jne 0x439ca2
repz ret
jmp fcn.004422cb