joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5a3784
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x5a38c0
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
jl 0x5a37c2
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x348]
mov eax, dword [eax + 0x34]
call fcn.0041c4a4
cmp eax, dword [ebp - 8]
jg 0x5a37cf
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5a38d4
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [0x5ab43c]
sub eax, dword [edx]
cmp eax, 0x2710
jbe 0x5a37f7
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [0x5ab43c]
mov dword [edx], eax
push ebp
call fcn.005a23e8
pop ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x348]
mov eax, dword [eax + 0x34]
mov edx, dword [ebp - 8]
call fcn.0048c5a0
mov eax, dword [eax + 0x20]
cmp dword [eax + 0xc], 0
jne 0x5a3878
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x348]
mov eax, dword [eax + 0x34]
call fcn.0041c4a4
cmp eax, dword [ebp - 8]
jle 0x5a38b6
push ebp
mov eax, dword [ebp - 8]
call fcn.005a24ec
pop ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x348]
mov eax, dword [eax + 0x34]
mov edx, dword [ebp - 8]
call fcn.0048c5a0
add eax, 0x48
push eax
call sub.kernel32.dll_GetTickCount_1
pop edx
mov dword [edx], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x348]
mov eax, dword [eax + 0x34]
mov edx, dword [ebp - 8]
call fcn.0048c5a0
xor edx, edx
call fcn.0048be48
mov dword [ebp - 0xc], eax
jmp 0x5a38b6
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x348]
mov eax, dword [eax + 0x34]
mov edx, dword [ebp - 8]
call fcn.0048c5a0
add eax, 0x48
push eax
call sub.kernel32.dll_GetTickCount_1
pop edx
mov dword [edx], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x348]
mov eax, dword [eax + 0x34]
mov edx, dword [ebp - 8]
call fcn.0048c5a0
xor edx, edx
call fcn.0048be48
mov dword [ebp - 0xc], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5a38d4
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41647e
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x423458]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
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.00408cc5
mov dword [ebp - 0x14], eax
cmp dword [0x43fc94], esi
jne 0x416571
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x4164fe
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x416651
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x416651
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x416651
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x43fc94], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x43fc98], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x43fc9c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x43fca4], eax
test eax, eax
je 0x41656e
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x43fca0], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x416596
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x416589
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x4165ab
push 4
pop eax
jmp 0x416653
cmp dword [ebp - 0x14], esi
je 0x4165ab
push dword [0x43fc94]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x416590
mov eax, dword [0x43fca0]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x416609
cmp dword [0x43fca4], edi
je 0x416609
push eax
call ebx
push dword [0x43fca4]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x416609
test eax, eax
je 0x416609
call ecx
test eax, eax
je 0x4165fe
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 0x4165fe
test byte [ebp - 8], 1
jne 0x416609
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x416639
mov eax, dword [0x43fc98]
cmp eax, edi
je 0x416636
push eax
call ebx
test eax, eax
je 0x416636
call eax
mov esi, eax
test esi, esi
je 0x416636
mov eax, dword [0x43fc9c]
cmp eax, edi
je 0x416636
push eax
call ebx
test eax, eax
je 0x416636
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x43fc94]
call ebx
test eax, eax
je 0x416651
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x416653
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00406e92
mov esp, ebp
pop ebp
ret
Function at 0x1000e9b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
pushal
call 0x1000e9bf
pop dword [ebp - 0x34]
mov eax, 0x5634a2a5
add eax, 0xb9cc471a
sub dword [ebp - 0x34], eax
mov dword [ebp - 0x44], 0x82098e22
sub dword [ebp - 0x44], 0x33b748d7
mov dword [ebp - 0x40], 0xa888f63c
add dword [ebp - 0x40], 0x89aa5609
mov dword [ebp - 0x3c], 0xdfa59334
sub dword [ebp - 0x3c], 0x93594f06
mov dword [ebp - 0x38], 0x589ec65e
sub dword [ebp - 0x38], 0x589ec65e
lea eax, [ebp - 0x44]
push eax
mov eax, 0x4a608aed
add eax, 0xc5a1054f
add eax, dword [ebp - 0x34]
call dword [eax]
mov dword [ebp - 0x44], 0xb21e13dd
add dword [ebp - 0x44], 0xc2545579
mov dword [ebp - 0x40], 0xa279ad19
sub dword [ebp - 0x40], 0x610d4ba4
mov dword [ebp - 0x3c], 0xc4589b4
sub dword [ebp - 0x3c], 0xa8d61d48
mov dword [ebp - 0x38], 0xccdde34e
add dword [ebp - 0x38], 0x33221cb2
lea ebx, [ebp - 0x44]
push ebx
push eax
mov eax, 0x3b541f30
add eax, 0xd4ad7108
add eax, dword [ebp - 0x34]
call dword [eax]
push 0x40
push 0x1000
push 0x35b8d
push 0
call eax
mov ecx, 0x5c8e7c52
add ecx, 0xa371c854
xor ebx, ebx
add ebx, eax
mov esi, 0x69129433
add esi, 0xa6ef93cd
add esi, dword [ebp - 0x34]
mov edi, 0x522075d5
sub edi, 0xd3f53d00
add dword [ebp - 4], 0x6a7eec6
mov edx, dword [esi]
xor dword [ebp - 0x14], esi
xor edx, edi
add dword [ebp - 0xc], 0xbecd5a9a
mov dword [ebx], edx
xor dword [ebp - 0x1c], ecx
add ebx, 4
add esi, 0x6d483b2
sub esi, 0x6d483ae
loop 0x1000eae3
add eax, 0xd1226395
sub eax, 0xd1215e2a
mov ebx, eax
add eax, 0xa2e88b9d
add eax, 0x5d177468
mov ecx, 0x4c80084e
add ecx, 0xc37ff7b2
add ecx, dword [ebp - 0x34]
call ebx
leave
ret

Function at 0x10014d90
Capabilities:
Terminate process

Disassembly:
mov eax, dword [0x1001f83c]
push dword [esp + 4]
mov eax, dword [eax]
push eax
mov ecx, dword [eax]
mov eax, dword [ecx + 0x234]
call eax
test eax, eax
je 0x10014dd2
push 0x51b
push str.hprof_util.c
push str.Unable_to_get_necessary_JVMTI_capabilities.
push 0
push 0
call fcn.10005090
add esp, 0x14
mov dword [esp + 4], 1
jmp fcn.10005080
ret

Function at 0x10016400
Capabilities:
Terminate process

Disassembly:
mov edx, dword [esp + 4]
xorps xmm0, xmm0
push edx
movups xmmword [edx], xmm0
mov eax, dword [0x1001f83c]
mov eax, dword [eax]
push eax
mov ecx, dword [eax]
mov eax, dword [ecx + 0x22c]
call eax
test eax, eax
je 0x10016449
push 0x50e
push str.hprof_util.c
push str.Unable_to_get_potential_JVMTI_capabilities.
push 0
push 0
call fcn.10005090
add esp, 0x14
mov dword [esp + 4], 1
jmp fcn.10005080
ret
Function at 0x100346a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x100512d4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x100346d0
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003af70
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
mov eax, dword [eax]
test eax, eax
je 0x10034700
mov edx, dword [esi + 0x30]
mov edx, dword [edx]
add edx, eax
cmp eax, edx
jae 0x10034700
call dword [sym.imp.MSVCP140.dll_protected:_char____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::_Pninc_void_]
pop esi
mov byte [eax], bl
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003af70
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
push edi
je 0x100347fa
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x10034729
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
sub edx, ecx
mov dword [edi], ecx
mov eax, dword [esi + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], edx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x1003475d
push dword [esi + 0x4c]
movsx eax, bl
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003af70
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x28], bl
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x27]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet___char_const___char_const___char_const____char___char___char___const]
test eax, eax
js 0x100347fa
cmp eax, 1
jle 0x100347bb
cmp eax, 3
jne 0x100347fa
push dword [esi + 0x4c]
push dword [ebp - 0x28]
call fcn.1000b9a0
add esp, 8
or ecx, 0xffffffff
test al, al
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003af70
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x100347d9
push dword [esi + 0x4c]
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x100347fa
lea eax, [ebp - 0x28]
mov byte [esi + 0x3d], 1
cmp dword [ebp - 0x30], eax
je 0x100347fa
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003af70
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1003af70
mov esp, ebp
pop ebp
ret 4
Function at 0x100396b0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100412f8
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x100512d4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x1005128c]
cmp eax, 0xffffffff
jne 0x100396e6
xor ebx, ebx
jmp 0x100396ef
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov ebx, eax
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], 0
test ebx, ebx
je 0x1003972f
mov eax, dword [ebx + 0x18]
mov esi, dword [ebx + 0xc]
test eax, eax
jne 0x1003976e
test esi, esi
jne 0x10039772
push 0x10038230
push 0x10052ad8
call fcn.1000b9a0
mov eax, dword [0x1005128c]
add esp, 8
cmp eax, 0xffffffff
je 0x1003972f
push esi
push eax
call dword [sym.imp.kernel32.dll_TlsSetValue]
mov dword [ebp - 4], 1
test ebx, ebx
je 0x1003975c
or eax, 0xffffffff
lock xadd dword [ebx + 4], eax
jne 0x1003975c
mov eax, dword [ebx]
mov ecx, ebx
push 0
call dword [eax]
push ebx
push 0
call dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test esi, esi
je 0x100397b4
mov eax, dword [esi + 4]
mov dword [ebx + 0xc], eax
mov ecx, dword [esi]
test ecx, ecx
je 0x1003979d
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [esi]
mov ecx, edi
push 0
mov eax, dword [edi]
call dword [eax]
push edi
push 0
call dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
call dword [sym.imp.kernel32.dll_HeapFree]
push esi
push 0
call dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov esi, dword [ebx + 0xc]
test esi, esi
jne 0x10039772
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x10039700
nop
mov esi, dword [ebx + 0x14]
mov esi, dword [esi]
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x100397d9
mov edx, dword [esi + 0x1c]
test edx, edx
je 0x100397d9
mov eax, dword [ecx]
push edx
call dword [eax + 4]
push esi
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebx + 0x14]
call fcn.1000b9a0
mov eax, dword [ebx + 0x18]
test eax, eax
jne 0x100397c0
jmp 0x10039700
Function at 0x10005963
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
pushal
call 0x10005972
pop dword [ebp - 4]
mov eax, 0x52162702
add eax, 0xbdea3270
sub dword [ebp - 4], eax
mov dword [ebp - 0x14], 0x3774dd25
add dword [ebp - 0x14], 0x16dd6826
mov dword [ebp - 0x10], 0xf43f3f0f
sub dword [ebp - 0x10], 0xc20bf2ca
mov dword [ebp - 0xc], 0x29fe3623
add dword [ebp - 0xc], 0x224e0e0b
mov dword [ebp - 8], 0x2efbb82d
sub dword [ebp - 8], 0x2efbb82d
lea eax, [ebp - 0x14]
push eax
mov eax, 0xc7590aa7
add eax, 0x48af658d
add eax, dword [ebp - 4]
call dword [eax]
mov dword [ebp - 0x14], 0x9f74e2c6
sub dword [ebp - 0x14], 0x2b027970
mov dword [ebp - 0x10], 0x88516b39
add dword [ebp - 0x10], 0xb91af63c
mov dword [ebp - 0xc], 0x1c1c0814
sub dword [ebp - 0xc], 0xb8ac9ba8
mov dword [ebp - 8], 0x5698fcba
sub dword [ebp - 8], 0x5698fcba
lea ebx, [ebp - 0x14]
push ebx
push eax
mov eax, 0xe7431f14
sub eax, 0xd73aaef0
add eax, dword [ebp - 4]
call dword [eax]
push 0x40
push 0x1000
push 0x3bf4b
push 0
call eax
mov ecx, 0x407c
xor ebx, ebx
add ebx, eax
mov esi, 0x2c94b00b
sub esi, 0x1c89200b
add esi, dword [ebp - 4]
mov edx, 0xd90fd67a
add edx, 0x3fe9b4fe
mov edi, dword [esi]
xor edi, edx
mov dword [ebx], edi
add ebx, 4
add esi, 0xaf7433f4
add esi, 0x508bcc10
loop 0x10005a90
add eax, 0x36d3e906
sub eax, 0x36d2f443
mov ebx, eax
add eax, 0x8d0a65c8
add eax, 0x72f59a3d
mov ecx, 0xf4a0efa3
add ecx, 0x1b5f105d
add ecx, dword [ebp - 4]
call ebx
leave
ret
Function at 0x43d28f
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00437962
xor ebx, ebx
cmp dword [0x45d920], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x43d365
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x43d445
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x43d445
push eax
call fcn.004378f4
mov dword [esp], 0x449308
push edi
mov dword [0x45d920], eax
call esi
push eax
call fcn.004378f4
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x45d924], eax
call esi
push eax
call fcn.004378f4
mov dword [0x45d928], eax
lea eax, [ebp - 0xc]
push eax
call fcn.00438100
test eax, eax
pop ecx
pop ecx
je 0x43d333
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004357c5
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x43d365
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.004378f4
cmp eax, ebx
pop ecx
mov dword [0x45d930], eax
je 0x43d365
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004378f4
pop ecx
mov dword [0x45d92c], eax
mov eax, dword [0x45d92c]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x43d3ea
cmp dword [0x45d930], ecx
je 0x43d3ea
push eax
call fcn.0043796b
push dword [0x45d930]
mov esi, eax
call fcn.0043796b
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x43d3ea
cmp edi, ebx
je 0x43d3ea
call esi
cmp eax, ebx
je 0x43d3b7
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x43d3b7
test byte [ebp - 0x18], 1
jne 0x43d3ea
lea eax, [ebp - 0x10]
push eax
call fcn.00438137
test eax, eax
pop ecx
je 0x43d3d2
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004357c5
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x43d3e1
or dword [ebp + 0x10], 0x200000
jmp 0x43d425
or dword [ebp + 0x10], 0x40000
jmp 0x43d425
mov eax, dword [0x45d924]
cmp eax, dword [ebp - 8]
je 0x43d425
push eax
call fcn.0043796b
cmp eax, ebx
pop ecx
je 0x43d425
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x43d425
mov eax, dword [0x45d928]
cmp eax, dword [ebp - 8]
je 0x43d425
push eax
call fcn.0043796b
cmp eax, ebx
pop ecx
je 0x43d425
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x45d920]
call fcn.0043796b
cmp eax, ebx
pop ecx
je 0x43d445
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x43d447
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x401c30
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x401c45
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x401c84
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x401c80
lea ebx, [ebx]
cmp esi, edx
jae 0x401c84
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
dec ecx
jne 0x401c70
cmp esi, edx
jb 0x401c89
xor eax, eax
pop esi
pop ebp
ret
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop ebp
ret
Function at 0x4042a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
movzx eax, word [ebp + 8]
mov dword [ebp + 8], eax
pop ebp
jmp fcn.004a887e

Function at 0x404d60
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push 0x63cf04
push ecx
mov ebx, edx
call fcn.005be049
mov edi, eax
add esp, 8
test edi, edi
jne 0x404d81
pop edi
xor al, al
pop ebx
pop ebp
ret
push esi
push edi
or esi, 0xffffffff
call fcn.005be319
add esp, 4
cmp eax, 0xffffffff
je 0x404db4
xor eax, esi
and eax, 0xff
shr esi, 8
xor esi, dword [eax*4 + 0x6b9df0]
push edi
not esi
call fcn.005be319
add esp, 4
cmp eax, 0xffffffff
jne 0x404d93
push edi
call fcn.005be2a2
push esi
push str._08lX
push ebx
call fcn.005be431
mov eax, dword [ebp + 8]
add esp, 0x10
mov dword [eax], esi
pop esi
pop edi
mov al, 1
pop ebx
pop ebp
ret

Function at 0x404fe0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ef936
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x6b7e40]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x1c], edi
mov eax, dword [ebp + 8]
push 0x63bfdc
lea ecx, [edi + 0x14]
mov dword [edi], vtable.CErrorLogger.0
mov dword [edi + 4], eax
mov dword [edi + 8], 0
mov dword [edi + 0xc], 3
mov dword [edi + 0x10], 0
call fcn.004021e0
push 0x63bfdc
lea ecx, [edi + 0x18]
mov dword [ebp - 4], 0
call fcn.004021e0
lea eax, [ebp + 8]
push eax
push 0x20019
push 0
push str.SoftwareSolidWorksIM
push SysReAllocStringLen
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x18], 4
mov dword [ebp - 0x14], 0x400
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4050b8
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
push 0
push str.ReportLevel
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp + 8]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x4050b8
mov eax, dword [ebp - 0x10]
cmp eax, dword [edi + 0xc]
jle 0x4050b8
mov dword [edi + 0xc], eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x407710
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5efe31
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
mov eax, dword [0x6b7e40]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
movsd qword [ebp - 0x18], xmm3
mov esi, ecx
mov dword [ebp - 0x10], esi
push 0x63bfdc
lea ecx, [esi + 0x1c]
mov dword [esi], vtable.CFileDownloader.0
mov word [esi + 8], 0x101
mov byte [esi + 0xa], 1
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
call fcn.004021e0
push 0x63bfdc
lea ecx, [esi + 0x20]
mov dword [ebp - 4], 0
call fcn.004021e0
movsd xmm0, qword [ebp - 0x18]
mov byte [ebp - 4], 1
push 0x63bfdc
lea ecx, [esi + 0x60]
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
movsd qword [esi + 0x40], xmm0
mov byte [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
mov dword [esi + 0x54], 0
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0
call fcn.004021e0
mov byte [ebp - 4], 2
call fcn.0040b090
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x4079a0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f0060
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x6b7e40]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
mov esi, dword [ebp + 0xc]
mov byte [eax], 0
mov dword [edi], 0
mov dword [edi + 4], 0
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
jne 0x4079ff
mov eax, 0xc8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push 0x63eebc
push dword [ebp + 8]
lea eax, [ebp + 0xc]
push eax
call fcn.004067b0
push esi
push eax
lea eax, [ebp + 0x14]
push eax
mov dword [ebp - 4], 0
call fcn.004066f0
add esp, 0x18
mov byte [ebp - 4], 2
mov edx, dword [ebp + 0xc]
add edx, 0xfffffff0
or ebx, 0xffffffff
lea ecx, [edx + 0xc]
mov eax, ebx
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x407a48
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x407a8c
test al, 0x10
jne 0x407a8c
mov eax, dword [ebp + 0x10]
push ecx
mov byte [eax], 1
mov eax, dword [ebp + 0x14]
add eax, 0xfffffff0
mov esi, esp
push eax
call fcn.004046f0
add eax, 0x10
add esp, 4
mov ecx, edi
mov dword [esi], eax
call fcn.00413e60
add esp, 4
test al, al
jne 0x407a8c
mov esi, 0x64
jmp 0x407a8e
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov edi, dword [ebp + 0x14]
add edi, 0xfffffff0
lea eax, [edi + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x407aaf
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10