joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4428d0
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48f568
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x4af280]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x5c], edi
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x60], edi
mov dword [edi + 0x24], 0
mov dword [edi], vtable.std::_Func_impl_no_alloc_class__lambda_920bda7b67c89becc371ea3bd95d759c___void__struct_HookParam_const___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__.0
mov dword [edi + 0x24], edi
mov eax, dword [ebp + 0xc]
mov dword [edi + 0x2c], eax
lea eax, [ebp - 0x40]
push ebx
push eax
mov dword [ebp - 4], 0
call fcn.0044a340
push eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push str.EMBED_SHARED_MEM
push eax
call fcn.004417e0
add esp, 0x14
cmp dword [eax + 0x14], 7
jbe 0x44294b
mov eax, dword [eax]
push eax
push 0
push 6
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov dword [edi + 0x30], eax
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 2
cmp ecx, 7
jbe 0x442997
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x44298d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x442a99
push ecx
push edx
call fcn.0046424b
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov ecx, dword [ebp - 0x2c]
mov byte [ebp - 4], 3
cmp ecx, 7
jbe 0x4429e9
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4429df
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x442a99
push ecx
push edx
call fcn.0046424b
add esp, 8
xor eax, eax
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
lea eax, [ebp - 0x58]
push ebx
push eax
mov dword [ebp - 0x2c], 7
call fcn.0044a340
add esp, 8
push 0
sub esp, 0x18
mov byte [ebp - 4], 4
mov edx, esp
push eax
push str.LUNA_VNR_HOOKMAN_
push edx
call fcn.004417e0
add esp, 0xc
lea ecx, [edi + 0x34]
call fcn.00442ab0
mov ecx, dword [ebp - 0x44]
cmp ecx, 7
jbe 0x442a62
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x442a58
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x442a9e
push ecx
push edx
call fcn.0046424b
add esp, 8
push 0xa00
push 0
push 0
push 6
push dword [edi + 0x30]
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [edi + 0x28], eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00464259
mov esp, ebp
pop ebp
ret 8
call fcn.00469cdf
call fcn.00469cdf
int3
Function at 0x4450c0
Capabilities:
Create thread
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48f8d1
mov eax, dword fs:[0]
push eax
sub esp, 0x524
mov eax, dword [0x4af280]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x4b4548
mov dword [ebp - 4], 0
mov dword [ebp - 0x2b0], 0x4b4548
mov byte [ebp - 0x2ac], 0
call fcn.0044c5dd
add esp, 4
test eax, eax
jne 0x4452be
cmp dword [0x4b4574], 0x7fffffff
je 0x4452c5
mov byte [ebp - 0x2ac], 1
mov dword [ebp - 0x2a8], 0x4b4528
movzx eax, byte [ebp + 8]
xor eax, 0x811c9dc5
mov byte [ebp - 4], 1
imul ecx, eax, 0x1000193
movzx eax, byte [ebp + 9]
xor ecx, eax
movzx eax, byte [ebp + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [ebp + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, 0x4b4528
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x2a0]
push eax
call fcn.00441e70
mov eax, dword [eax + 4]
test eax, eax
je 0x445278
cmp eax, dword [0x4b452c]
je 0x445278
cmp dword [ebp + 0x2a8], 0
je 0x4451c4
lea eax, [ebp + 0x284]
mov ecx, 0x4b4528
push eax
lea eax, [ebp + 8]
push eax
call fcn.00448cb0
mov ecx, eax
call fcn.004337c0
lea eax, [ebp + 8]
mov ecx, 0x4b4528
push eax
call fcn.00448cb0
mov dword [ebp - 0x530], 2
lea esi, [ebp + 0xc]
mov ecx, 0x9e
mov dword [ebp - 0x298], eax
lea edi, [ebp - 0x528]
rep movsd dword es:[edi], dword [esi]
mov ecx, 0xa0
lea esi, [ebp - 0x530]
lea edi, [ebp - 0x290]
rep movsd dword es:[edi], dword [esi]
push 0x288
call fcn.0046421b
add esp, 4
test eax, eax
je 0x445227
mov ecx, 0xa2
lea esi, [ebp - 0x298]
mov edi, eax
rep movsd dword es:[edi], dword [esi]
jmp 0x445229
xor eax, eax
mov dword [ebp - 0x2a4], eax
lea ecx, [ebp - 0x29c]
mov byte [ebp - 4], 2
push ecx
push 0
push eax
push 0x4420c0
push 0
push 0
call fcn.00474ef2
add esp, 0x18
mov dword [ebp - 0x2a0], eax
test eax, eax
je 0x4452dd
mov ecx, dword [ebp - 0x29c]
mov byte [ebp - 4], 3
test ecx, ecx
je 0x4452d6
push ecx
push eax
call fcn.0044ca2e
add esp, 8
test eax, eax
jne 0x4452d6
push 0x4b4548
call fcn.0044c5ee
mov ecx, dword [ebp + 0x2a8]
add esp, 4
test ecx, ecx
je 0x4452a3
mov edx, dword [ecx]
lea eax, [ebp + 0x284]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00464259
mov esp, ebp
pop ebp
ret
push 5
call fcn.0044c865
push 6
mov dword [0x4b4574], 0x7ffffffe
call fcn.0044c865
push 1
call fcn.0044c865
push 6
mov dword [ebp - 0x29c], 0
call fcn.0044c865
int3
Function at 0x446710
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48fb0c
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x4af280]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
push esi
mov dword [ebp - 4], 0
call fcn.00444750
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp esi, eax
je 0x4467e6
lea eax, [ebp - 0x28]
push esi
push eax
call fcn.0044a340
add esp, 8
push 0
sub esp, 0x18
mov byte [ebp - 4], 1
mov ecx, esp
push eax
push str.LUNA_VNR_HOOKMAN_
push ecx
call fcn.004417e0
add esp, 0xc
lea ecx, [ebp - 0x30]
call fcn.00442ab0
mov eax, dword [ebp - 0x30]
mov byte [ebp - 4], 2
test eax, eax
je 0x4467a0
cmp eax, 0xffffffff
je 0x4467a0
push eax
call dword [0x4942c8]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.0040a160
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x446823
sub esp, 0x18
xorps xmm0, xmm0
mov ecx, esp
push 0x10
movups xmmword [ecx], xmm0
push str.already_injected
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.00412360
call fcn.004445a0
add esp, 0x18
mov ecx, dword [ebp + 0x20]
cmp ecx, 7
jbe 0x4468c0
mov edx, dword [ebp + 0xc]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4468b6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4468da
jmp 0x4468b6
lea eax, [ebp + 0xc]
mov dword [ebp - 0x2c], esi
push eax
lea ecx, [ebp - 0x28]
call fcn.00408ab0
push 0x1c
mov byte [ebp - 4], 3
call fcn.0046421b
mov esi, eax
add esp, 4
mov dword [ebp - 0x38], esi
mov byte [ebp - 4], 4
test esi, esi
je 0x446860
mov ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0x28]
mov dword [esi], ecx
lea ecx, [esi + 4]
push eax
call fcn.00408ab0
jmp 0x446862
xor esi, esi
mov dword [ebp - 0x38], esi
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 5
push eax
push 0
push esi
push 0x442140
push 0
push 0
call fcn.00474ef2
add esp, 0x18
mov dword [ebp - 0x34], eax
test eax, eax
je 0x4468e6
mov ecx, dword [ebp - 0x30]
mov byte [ebp - 4], 6
test ecx, ecx
je 0x4468df
push ecx
push eax
call fcn.0044ca2e
add esp, 8
test eax, eax
jne 0x4468df
xorps xmm0, xmm0
lea ecx, [ebp - 0x2c]
movlpd qword [ebp - 0x34], xmm0
call fcn.0043b0a0
jmp 0x4467e6
push ecx
push edx
call fcn.0046424b
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00464259
mov esp, ebp
pop ebp
ret
call fcn.00469cdf
push 1
call fcn.0044c865
push 6
mov dword [ebp - 0x30], 0
call fcn.0044c865
int3
Function at 0x446900
Capabilities:
Create thread
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48fb66
mov eax, dword fs:[0]
push eax
mov eax, 0x1444
call fcn.00464680
mov eax, dword [0x4af280]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x4b4548
mov dword [ebp - 0xa40], 0x4b4548
mov byte [ebp - 0xa3c], 0
call fcn.0044c5dd
add esp, 4
test eax, eax
jne 0x446ab3
cmp dword [0x4b4574], 0x7fffffff
je 0x446aba
mov byte [ebp - 0xa3c], 1
mov dword [ebp - 0xa38], 0x4b4528
mov dword [ebp - 4], eax
movzx eax, byte [ebp + 8]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [ebp + 9]
xor ecx, eax
movzx eax, byte [ebp + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [ebp + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, 0x4b4528
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0xa30]
push eax
call fcn.00441e70
mov eax, dword [eax + 4]
test eax, eax
je 0x446a8b
cmp eax, dword [0x4b452c]
je 0x446a8b
lea eax, [ebp + 8]
mov ecx, 0x4b4528
push eax
call fcn.00448cb0
mov dword [ebp - 0x1450], 0
lea esi, [ebp + 0xc]
mov ecx, 0x282
mov dword [ebp - 0xa28], eax
lea edi, [ebp - 0x1448]
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x284
lea esi, [ebp - 0x1450]
lea edi, [ebp - 0xa20]
rep movsd dword es:[edi], dword [esi]
push 0xa18
call fcn.0046421b
add esp, 4
test eax, eax
je 0x446a3e
mov ecx, 0x286
lea esi, [ebp - 0xa28]
mov edi, eax
rep movsd dword es:[edi], dword [esi]
jmp 0x446a40
xor eax, eax
mov dword [ebp - 0xa34], eax
lea ecx, [ebp - 0xa2c]
mov byte [ebp - 4], 1
push ecx
push 0
push eax
push 0x442100
push 0
push 0
call fcn.00474ef2
add esp, 0x18
mov dword [ebp - 0xa30], eax
test eax, eax
je 0x446ad2
mov ecx, dword [ebp - 0xa2c]
mov byte [ebp - 4], 2
test ecx, ecx
je 0x446acb
push ecx
push eax
call fcn.0044ca2e
add esp, 8
test eax, eax
jne 0x446acb
push 0x4b4548
call fcn.0044c5ee
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00464259
mov esp, ebp
pop ebp
ret
push 5
call fcn.0044c865
push 6
mov dword [0x4b4574], 0x7ffffffe
call fcn.0044c865
push 1
call fcn.0044c865
push 6
mov dword [ebp - 0xa2c], 0
call fcn.0044c865
int3
Function at 0x401501
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
lea eax, [ebp - 4]
push eax
push 1
xor ebx, ebx
push ebx
push 0x4011b0
push 0x80000001
mov dword [ebp - 8], 4
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x401563
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
push 0x401228
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40155a
cmp dword [ebp - 0xc], 4
jne 0x40155a
cmp dword [ebp - 0x10], ebx
je 0x40155a
mov bl, 1
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
pop ebx
leave
ret

Function at 0x4015c4
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
lea eax, [ebp - 8]
push eax
xor ebx, ebx
push 1
push ebx
push 0x401248
push 0x80000001
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], 4
mov dword [ebp - 4], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x401635
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push ebx
push 0x4012a4
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40162c
cmp dword [ebp - 4], 4
je 0x401625
cmp dword [ebp - 4], 3
jne 0x40162a
cmp dword [ebp - 0xc], ebx
je 0x40162c
mov bl, 1
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
pop ebx
leave
ret

Function at 0x40163f
Capabilities:
Check internet connectivity via wininet

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push 0
lea eax, [ebp - 4]
push eax
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
mov eax, dword [ebp - 4]
shr eax, 1
and al, 1
leave
ret

Function at 0x4016e0
Capabilities:
Create process on windows
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x1058
call fcn.00401b80
mov eax, dword [0x403004]
push ebx
push esi
mov dword [ebp - 4], eax
xor ebx, ebx
xor esi, esi
call fcn.00401501
test al, al
je 0x401716
push 0xc2000000
call fcn.0040169a
inc esi
jmp 0x4017b3
lea eax, [ebp - 0x104d]
push eax
call fcn.00401663
cmp byte [ebp - 0x104d], bl
je 0x4017a2
push 0x401380
lea eax, [ebp - 0x104c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x1054]
push eax
push 0x20019
push ebx
push 0x401310
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x401794
lea eax, [ebp - 0x1058]
push eax
lea eax, [ebp - 0x104c]
push eax
push ebx
push ebx
push 0x401308
push dword [ebp - 0x1054]
mov dword [ebp - 0x1058], 0x1048
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x1054]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x104c]
push eax
call fcn.00401d35
jmp 0x4017b3
push 1
push ebx
push ebx
push 0x4012b8
push ebx
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
pop ebx
call fcn.00401839
leave
ret
Function at 0x401839
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x403004]
jne 0x40184a
test ecx, 0xffff0000
jne 0x40184a
ret
jmp fcn.00401854

Function at 0x401939
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x28
push 0x4013c0
call fcn.00401ac4
cmp word [0x400000], 0x5a4d
jne 0x401978
mov eax, dword [0x40003c]
cmp dword [eax + 0x400000], 0x4550
jne 0x401978
movzx ecx, word [eax + 0x400018]
cmp ecx, 0x10b
je 0x401991
cmp ecx, 0x20b
je 0x40197e
and dword [ebp - 0x1c], 0
jmp 0x4019a8
cmp dword [eax + 0x400084], 0xe
jbe 0x401978
xor ecx, ecx
cmp dword [eax + 0x4000f8], ecx
jmp 0x4019a2
cmp dword [eax + 0x400074], 0xe
jbe 0x401978
xor ecx, ecx
cmp dword [eax + 0x4000e8], ecx
setne cl
mov dword [ebp - 0x1c], ecx
and dword [ebp - 4], 0
push 1
call dword [sym.imp.msvcrt.dll___set_app_type]
pop ecx
or dword [0x403390], 0xffffffff
or dword [0x403394], 0xffffffff
call dword [sym.imp.msvcrt.dll___p__fmode]
mov ecx, dword [0x403348]
mov dword [eax], ecx
call dword [sym.imp.msvcrt.dll___p__commode]
mov ecx, dword [0x403344]
mov dword [eax], ecx
mov eax, dword [sym.imp.msvcrt.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x40338c], eax
call fcn.00401bfe
cmp dword [0x403010], 0
jne 0x401a05
push fcn.00401bfe
call dword [sym.imp.msvcrt.dll___setusermatherr]
pop ecx
call fcn.00401be7
push 0x4010fc
push 0x4010f8
call sub.msvcrt.dll__initterm
mov eax, dword [0x403340]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push dword [0x40333c]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.msvcrt.dll___getmainargs]
mov dword [ebp - 0x34], eax
push 0x4010f4
push 0x4010e8
call sub.msvcrt.dll__initterm
mov eax, dword [ebp - 0x20]
mov ecx, dword [sym.imp.msvcrt.dll___initenv]
mov dword [ecx], eax
push dword [ebp - 0x20]
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
call fcn.004016e0
add esp, 0x30
mov esi, eax
mov dword [ebp - 0x38], esi
cmp dword [ebp - 0x1c], 0
jne 0x401a7d
push esi
call dword [sym.imp.msvcrt.dll_exit]
call dword [sym.imp.msvcrt.dll__cexit]
jmp 0x401ab2
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.00401aff
ret

Function at 0x401c8c
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x403004]
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.00401c3f
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x401cdb
cmp dword [ebp - 0x1c], 5
jb 0x401cf3
jmp 0x401cef
cmp dword [ebp - 0x10], 1
jne 0x401cf3
cmp dword [ebp - 0x1c], 4
ja 0x401cef
jne 0x401cf3
cmp dword [ebp - 0x18], 0
jbe 0x401cf3
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x4013dc
call fcn.004014ac
test eax, eax
jge 0x401d14
mov byte [0x403018], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
pop esi
call fcn.00401839
add ebp, 0x78
leave
ret
Function at 0x401d35
Capabilities:
Initialize iwebbrowser2

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
cmp edi, ebx
je 0x401e41
cmp word [edi], bx
je 0x401e41
push esi
push 2
push ebx
call dword [sym.imp.ole32.dll_CoInitializeEx]
mov esi, eax
cmp esi, ebx
jl 0x401e3c
lea eax, [ebp + 8]
push eax
push 0x4013fc
push 4
push ebx
push 0x4013ec
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
cmp esi, ebx
jl 0x401e36
push edi
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov edi, eax
cmp edi, ebx
jne 0x401da1
mov esi, 0x8007000e
jmp 0x401e36
mov esi, dword [sym.imp.OLEAUT32.dll_VariantClear]
lea eax, [ebp - 0x24]
push eax
call esi
lea eax, [ebp - 0x14]
push eax
mov word [ebp - 0x24], 8
mov dword [ebp - 0x1c], edi
call esi
lea eax, [ebp - 0x34]
push eax
mov word [ebp - 0x14], 3
mov dword [ebp - 0xc], ebx
call esi
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
lea edx, [ebp - 0x34]
push edx
push edx
push edx
lea edx, [ebp - 0x14]
push edx
lea edx, [ebp - 0x24]
push edx
push eax
call dword [ecx + 0xd0]
mov esi, eax
cmp esi, ebx
jl 0x401e1b
mov eax, dword [ebp + 8]
lea edx, [ebp - 4]
push edx
mov dword [ebp - 4], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x94]
test eax, eax
jl 0x401e0b
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push 1
push eax
call dword [ecx + 0xa4]
mov esi, eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0x14]
push eax
call edi
lea eax, [ebp - 0x24]
push eax
call edi
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, esi
pop esi
jmp 0x401e46
mov eax, 0x80070057
pop edi
pop ebx
leave
ret 4
Function at 0xa6802a
Capabilities:
Encode data using xor

Disassembly:
mov dh, 0x25
mov edx, dword [esp]
setge dl
mov dx, bp
push esi
call fcn.00a68066
jb 0xa68019
outsb dx, byte [esi]
or eax, edi
cmp edx, dword [ebp - 0x3c]
ja 0xa68087
test eax, 0x24448f60
adc ecx, dword [ebp - 0x14e3db9c]
les edx, [ebp - 0x78]
push ebp
mov byte [esp + 3], cl
push ebp
mov byte [esp + 3], cl
mov dword [esp + 2], edx
not edx
mov dx, sp
jmp 0xa6800e
and al, 0x8d
push 0x5a
Function at 0x403140
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x4ae020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x4031d8
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4031b8
xor eax, eax
push ebp
push 0x4031b1
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x4031f4
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4031b8
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x4ae020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x4ae020], ax
mov esp, ebp
pop ebp
ret

Function at 0x403fc4
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4b004c], 0
je 0x404025
cmp word [0x4b0220], 0xd7b2
jne 0x403fed
cmp dword [0x4b0228], 0
jbe 0x403fed
mov eax, 0x4b021c
call dword [0x4b0238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x4ae06c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40404c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4ae030], 0
jne 0x404041
push 0
push 0x4ae064
push 0x4ae06c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x406404
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x40646a
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.004043b0
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402d04
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x406454
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406471
lea eax, [ebp - 0x10]
call fcn.00404140
ret

Function at 0x40bf40
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40bf79
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404230
jmp 0x40bf82
mov eax, ebx
mov edx, esi
call fcn.00404194
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40bf8c
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40bfad
mov al, byte [esp]
jmp 0x40bfaf
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40cfb8
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40d08e
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.004041d8
lea eax, [ebp - 8]
call fcn.00404650
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404600
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40d078
mov eax, ebx
call fcn.004027d0
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40d071
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404600
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40d05b
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40d0a0
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40d05b
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d078
mov eax, dword [ebp - 0x10]
call fcn.004027f0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d095
lea eax, [ebp - 8]
call fcn.00404140
ret