joyce8/EMBER2024-capa huggingface dataset:
Function at 0x433830
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50ecc0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x56a8e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 0x18], ebx
mov edi, dword [ebp + 0xc]
mov dword [ebp - 4], 0
cmp dword [edi + 0x14], 8
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x14], eax
jb 0x43387a
mov esi, dword [edi]
jmp 0x43387c
mov esi, edi
xor ecx, ecx
mov edx, 0x811c9dc5
add eax, eax
je 0x4338a1
movzx eax, byte [ecx + esi]
mov edi, dword [ebp - 0x14]
xor edx, eax
lea eax, [edi + edi]
imul edx, edx, 0x1000193
mov edi, dword [ebp + 0xc]
inc ecx
cmp ecx, eax
jb 0x433887
mov esi, dword [ebx + 0x14]
mov ecx, esi
and ecx, edx
cmp dword [ebx + 0x18], ecx
ja 0x4338b6
shr esi, 1
or eax, 0xffffffff
sub eax, esi
add ecx, eax
mov eax, dword [ebx + 8]
mov esi, dword [ebx]
shl ecx, 3
mov dword [ebp + 0xc], ecx
cmp dword [eax + ecx], esi
je 0x4338d0
mov esi, dword [eax + ecx + 4]
mov esi, dword [esi]
lea esp, [esp]
mov eax, dword [ebx + 8]
cmp esi, dword [ecx + eax]
je 0x43391e
mov esi, dword [esi + 4]
cmp dword [esi + 0x1c], 8
mov ecx, dword [esi + 0x18]
lea eax, [esi + 8]
jb 0x4338e9
mov eax, dword [eax]
push ecx
push eax
push dword [edi + 0x10]
mov ecx, edi
push 0
call fcn.004158e0
mov ecx, dword [ebp + 0xc]
test eax, eax
jne 0x4338d0
cmp dword [edi + 0x14], 8
mov eax, dword [edi + 0x10]
lea ecx, [esi + 8]
jb 0x43390c
mov edi, dword [edi]
push eax
push edi
push dword [ecx + 0x10]
push 0
call fcn.004158e0
test eax, eax
je 0x433968
mov esi, dword [esi]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [edi]
cmp esi, eax
je 0x43394f
mov ecx, dword [edi + 4]
mov dword [ecx], eax
mov ecx, dword [eax + 4]
mov dword [ecx], esi
mov ecx, dword [esi + 4]
mov dword [ecx], edi
mov ecx, dword [eax + 4]
mov edx, dword [esi + 4]
mov dword [esi + 4], ecx
mov ecx, dword [edi + 4]
mov dword [eax + 4], ecx
mov dword [edi + 4], edx
mov ecx, dword [ebx + 8]
mov edx, dword [ebp + 0xc]
add ecx, edx
mov eax, dword [ecx]
cmp eax, dword [ebx]
jne 0x4339ab
mov dword [ecx], edi
mov eax, dword [ebx + 8]
mov dword [edx + eax + 4], edi
jmp 0x4339cd
push dword [ebp + 0x10]
lea eax, [ebp + 0xc]
push eax
mov ecx, ebx
call fcn.0043d500
mov eax, dword [ebp + 8]
mov dword [eax], esi
mov byte [eax + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp eax, esi
jne 0x4339b3
mov dword [ecx], edi
jmp 0x4339cd
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ecx + 4], eax
cmp eax, edi
je 0x4339cd
mov ecx, dword [ebx + 8]
mov eax, dword [ecx + edx + 4]
mov eax, dword [eax + 4]
mov dword [ecx + edx + 4], eax
mov ecx, ebx
call fcn.00439530
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov byte [eax + 4], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x43a840
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push dword [0x571554]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, dword [ebp + 8]
test eax, eax
je 0x43a882
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x43a882
mov eax, dword [ecx]
test eax, eax
je 0x43a882
mov dword [ecx], 0
mov dl, byte [eax]
movzx ecx, dl
cmp ecx, ebx
jb 0x43a879
mov byte [eax + ebx], dl
pop ebx
pop ebp
ret
push eax
call fcn.00493278
add esp, 4
lea eax, [ebx + 1]
push eax
call fcn.00493374
add esp, 4
mov ecx, eax
cmp ebx, 0xff
ja 0x43a8a3
movzx eax, bl
mov byte [ecx + ebx], al
mov eax, ecx
pop ebx
pop ebp
ret
xor eax, eax
mov byte [ecx + ebx], al
mov eax, ecx
pop ebx
pop ebp
ret

Function at 0x43a8b0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push dword [0x571554]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x43a8c8
mov edx, dword [eax + 4]
jmp 0x43a8ca
xor edx, edx
mov eax, dword [ebp + 0xc]
cmp eax, 0xff
ja 0x43a8e9
test edx, edx
je 0x43a8e9
cmp dword [edx], 0
jne 0x43a8e9
mov ecx, dword [ebp + 8]
mov al, byte [ecx + eax]
mov byte [ecx], al
mov dword [edx], ecx
pop ebp
ret
push dword [ebp + 8]
call fcn.00493278
add esp, 4
pop ebp
ret
Function at 0x4402b0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
push 0
push 0
push 1
mov esi, ecx
push 0
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ebx, dword [ebp + 8]
mov edi, eax
mov dword [ebx + 4], edi
test edi, edi
jne 0x4402fe
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebx]
push 1
mov ecx, ebx
mov esi, eax
call dword [edx]
mov dword [ebp - 0x10], esi
call fcn.004ca800
mov dword [ebp - 0xc], eax
test esi, esi
jne 0x4403bb
mov esi, dword [ebp - 4]
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 8], eax
mov dword [ebx + 8], eax
cmp dword [esi + 8], 0
jne 0x44033e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebx]
push 1
mov ecx, ebx
mov esi, eax
call dword [edx]
mov dword [ebp - 0x10], esi
call fcn.004ca800
mov dword [ebp - 0xc], eax
test esi, esi
jne 0x4403c9
mov esi, dword [ebp - 4]
lea eax, [ebp - 8]
push eax
push 0
push ebx
push 0x441050
push dword [ebp + 0xc]
mov dword [ebp - 8], 0
push 0
call fcn.00496b36
add esp, 0x18
mov dword [esi + 4], eax
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x4403a2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebx]
push 1
mov ecx, ebx
mov dword [ebp + 8], eax
call dword [edx]
test edi, edi
je 0x440383
push edi
call esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
test eax, eax
je 0x440390
push eax
call esi
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x10], ebx
call fcn.004ca800
mov dword [ebp - 0xc], eax
test ebx, ebx
jne 0x4403d7
test edi, edi
je 0x4403b2
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push edi
call esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push str.thread.entry_event
lea eax, [ebp - 0x10]
push eax
call fcn.0041eed0
push str.thread.exit_event
lea eax, [ebp - 0x10]
push eax
call fcn.0041eed0
push str.thread
lea eax, [ebp - 0x10]
push eax
call fcn.0041eed0
int3
Function at 0x444400
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x1c], 0
push esi
jne 0x4444ef
mov eax, dword [ebp + 0xc]
cmp eax, 0x110
jne 0x44443b
lea eax, [ebp + 0x1c]
push eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 0x110
call fcn.00444380
mov ecx, dword [ebp + 0x18]
pop esi
mov dword [ecx], eax
mov eax, 1
pop ebp
ret 0x18
cmp eax, 0x113
jne 0x444455
mov eax, dword [ebp + 0x18]
pop esi
mov dword [eax], 1
mov eax, 1
pop ebp
ret 0x18
cmp eax, 0x18
jne 0x444480
cmp dword [ebp + 0x10], 0
mov ecx, dword [ecx + 0x44]
setne al
movzx eax, al
push eax
call fcn.00409120
mov eax, dword [ebp + 0x18]
pop esi
mov dword [eax], 0
mov eax, 1
pop ebp
ret 0x18
cmp eax, 0x136
jne 0x4444a3
mov eax, dword [ebp + 0x14]
xor edx, edx
cmp eax, dword [ecx + 4]
jne 0x444494
mov edx, dword [ecx + 0x50]
mov eax, dword [ebp + 0x18]
pop esi
mov dword [eax], edx
mov eax, 1
pop ebp
ret 0x18
cmp eax, 0x111
jne 0x4444ef
mov edx, dword [ebp + 0x10]
mov esi, 1
cmp si, dx
jne 0x4444ce
push 0
push dword [ecx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp + 0x18]
mov eax, esi
mov dword [ecx], esi
pop esi
pop ebp
ret 0x18
mov eax, 2
cmp ax, dx
jne 0x4444ef
push 0
push dword [ecx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp + 0x18]
mov dword [eax], esi
mov eax, esi
pop esi
pop ebp
ret 0x18
xor eax, eax
pop esi
pop ebp
ret 0x18

Function at 0x444d20
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x1c], 0
push esi
jne 0x444dca
mov eax, dword [ebp + 0xc]
cmp eax, 0x110
jne 0x444d5b
lea eax, [ebp + 0x1c]
push eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 0x110
call fcn.00444b90
mov ecx, dword [ebp + 0x18]
pop esi
mov dword [ecx], eax
mov eax, 1
pop ebp
ret 0x18
cmp eax, 0x136
jne 0x444d7e
mov eax, dword [ebp + 0x14]
xor edx, edx
cmp eax, dword [ecx + 4]
jne 0x444d6f
mov edx, dword [ecx + 0x50]
mov eax, dword [ebp + 0x18]
pop esi
mov dword [eax], edx
mov eax, 1
pop ebp
ret 0x18
cmp eax, 0x111
jne 0x444dca
mov edx, dword [ebp + 0x10]
mov esi, 1
cmp si, dx
jne 0x444da9
push 0
push dword [ecx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp + 0x18]
mov eax, esi
mov dword [ecx], esi
pop esi
pop ebp
ret 0x18
mov eax, 2
cmp ax, dx
jne 0x444dca
push 0
push dword [ecx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp + 0x18]
mov dword [eax], esi
mov eax, esi
pop esi
pop ebp
ret 0x18
xor eax, eax
pop esi
pop ebp
ret 0x18
Function at 0x444eb0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x510d30
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x56a8e0]
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 esi, ecx
push 3
xor eax, eax
push 0x5206a4
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.0040ca40
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 4], 0
call fcn.0048e100
add esp, 4
cmp dword [ebp - 0x14], 8
mov dword [ebp - 0x44], eax
mov dword [ebp - 4], 0xffffffff
jb 0x444f2e
push dword [ebp - 0x28]
call fcn.00493278
add esp, 4
xor eax, eax
lea edi, [esi - 0x20]
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
test edi, edi
je 0x444f4e
lea ecx, [esi - 0x1c]
jmp 0x444f50
xor ecx, ecx
mov eax, dword [esi]
push 0x64
push 0xa
push ecx
mov ecx, esi
call dword [eax + 0xc]
push 0xc
xor eax, eax
push str.welcome_text
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
call fcn.0040ca40
mov ecx, dword [ebp - 0x44]
push 1
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 4], 1
call fcn.0048e220
push eax
lea ecx, [esi + 0x34]
call fcn.0048ffc0
cmp dword [ebp - 0x2c], 8
mov dword [ebp - 4], 0xffffffff
jb 0x444fb5
push dword [ebp - 0x40]
call fcn.00493278
add esp, 4
push 1
push dword [esi + 0x2c]
xor eax, eax
lea ecx, [esi + 0x34]
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
call fcn.0048fe90
test edi, edi
je 0x444fdf
lea ecx, [esi - 0x1c]
jmp 0x444fe1
xor ecx, ecx
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 8]
push 5
push dword [esi - 0x1c]
call dword [sym.imp.USER32.dll_ShowWindow]
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.00493d56
mov esp, ebp
pop ebp
ret
Function at 0x44cef0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x511bc8
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x56a8e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov esi, dword [ebp + 8]
push esi
call fcn.00493bfb
mov dword [edi], vtable.boost::spirit::classic::parser_error_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char____class_std::_Vector_iterator_class_std::_Vector_val_struct_std::_Simple_types_char____.0
mov eax, dword [esi + 0xc]
mov dword [edi + 0xc], eax
lea ecx, [edi + 0x10]
push 0xffffffffffffffff
push 0
lea eax, [esi + 0x10]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov dword [ebp - 4], 0
mov byte [ecx], 0
call fcn.0040c6f0
mov dword [edi + 0x28], vtable.boost::exception.0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0xffffffff
mov dword [edi], 0x52486c
mov dword [edi + 0x28], 0x524878
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 0x45f2f0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [eax + 0x10]
push esi
push edi
mov edi, ecx
mov ecx, dword [eax + 0x14]
mov dword [ebp - 8], ecx
cmp ecx, 0x10
jb 0x45f310
mov esi, dword [eax]
jmp 0x45f312
mov esi, eax
xor ecx, ecx
mov edx, 0x811c9dc5
test ebx, ebx
je 0x45f331
lea ecx, [ecx]
movzx eax, byte [esi + ecx]
xor edx, eax
inc ecx
imul edx, edx, 0x1000193
cmp ecx, ebx
jb 0x45f320
mov esi, dword [edi + 0x14]
mov ecx, esi
and ecx, edx
cmp dword [edi + 0x18], ecx
ja 0x45f346
shr esi, 1
or eax, 0xffffffff
sub eax, esi
add ecx, eax
mov eax, dword [edi + 8]
lea edx, [eax + ecx*8]
mov ecx, dword [edi]
mov eax, dword [edx]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], eax
mov esi, eax
mov dword [ebp - 0xc], ecx
jmp 0x45f360
cmp eax, ecx
jne 0x45f368
mov eax, ecx
jmp 0x45f36d
mov eax, dword [edx + 4]
mov eax, dword [eax]
cmp esi, eax
je 0x45f47b
cmp dword [ebp - 8], 0x10
lea ecx, [esi + 8]
jb 0x45f385
mov eax, dword [ebp + 0xc]
mov edi, dword [eax]
jmp 0x45f388
mov edi, dword [ebp + 0xc]
cmp dword [ecx + 0x14], 0x10
mov eax, dword [ecx + 0x10]
mov dword [ebp - 4], eax
jb 0x45f396
mov ecx, dword [ecx]
cmp eax, ebx
mov edx, ebx
cmovb edx, eax
test edx, edx
je 0x45f3f9
sub edx, 4
jb 0x45f3b7
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x45f3bc
add ecx, 4
add edi, 4
sub edx, 4
jae 0x45f3a6
cmp edx, 0xfffffffc
je 0x45f3f0
mov al, byte [ecx]
cmp al, byte [edi]
jne 0x45f3e9
cmp edx, 0xfffffffd
je 0x45f3f0
mov al, byte [ecx + 1]
cmp al, byte [edi + 1]
jne 0x45f3e9
cmp edx, 0xfffffffe
je 0x45f3f0
mov al, byte [ecx + 2]
cmp al, byte [edi + 2]
jne 0x45f3e9
cmp edx, 0xffffffff
je 0x45f3f0
mov al, byte [ecx + 3]
cmp al, byte [edi + 3]
je 0x45f3f0
sbb eax, eax
or eax, 1
jmp 0x45f3f2
xor eax, eax
test eax, eax
jne 0x45f409
mov eax, dword [ebp - 4]
cmp eax, ebx
jb 0x45f409
xor eax, eax
cmp dword [ebp - 4], ebx
setne al
test eax, eax
je 0x45f419
mov esi, dword [esi]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
jmp 0x45f360
cmp dword [esi + 0x1c], 0x10
mov edi, dword [esi + 0x18]
lea ecx, [esi + 8]
jb 0x45f427
mov ecx, dword [ecx]
cmp dword [ebp - 8], 0x10
jb 0x45f435
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp + 0xc], eax
mov eax, edi
cmp ebx, edi
cmovb eax, ebx
push eax
push ecx
push dword [ebp + 0xc]
call fcn.0041ede0
add esp, 0xc
test eax, eax
jne 0x45f470
cmp ebx, edi
jb 0x45f470
cmp ebx, edi
setne al
test eax, eax
jne 0x45f470
mov eax, dword [ebp + 8]
lea ecx, [ebp + 0xc]
pop edi
mov dword [ebp + 0xc], esi
mov ecx, dword [ecx]
pop esi
mov dword [eax], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp - 0xc]
lea ecx, [ebp + 0xc]
mov dword [ebp + 0xc], eax
mov ecx, dword [ecx]
mov eax, dword [ebp + 8]
pop edi
pop esi
mov dword [eax], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x472db0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x515388
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push esi
mov eax, dword [0x56a8e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 8]
mov dword [esi + 4], eax
push 0x525cc4
lea ecx, [ebp - 0x70]
mov dword [ebp - 4], 0
mov dword [esi], vtable.std::codecvt_wchar_t__char__int_.0
call fcn.00407760
lea eax, [ebp - 0x3c]
push eax
call fcn.004b3ae8
movq xmm0, qword [eax]
movq qword [esi + 8], xmm0
movq xmm0, qword [eax + 8]
movq qword [esi + 0x10], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esi + 0x18], xmm0
movq xmm0, qword [eax + 0x18]
movq qword [esi + 0x20], xmm0
movq xmm0, qword [eax + 0x20]
movq qword [esi + 0x28], xmm0
mov eax, dword [eax + 0x28]
add esp, 4
lea ecx, [ebp - 0x70]
mov dword [esi + 0x30], eax
call fcn.004089d0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x473070
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x515451
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x56a8e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov edi, dword [ebp + 8]
xor eax, eax
push 0xffffffffffffffff
push eax
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], 0
push edi
mov word [ebx], ax
call fcn.0040c920
lea ecx, [ebx + 0x18]
xor eax, eax
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [edi + 0x18]
push eax
mov dword [ebp - 4], 0
call fcn.0040c920
lea ecx, [ebx + 0x30]
xor eax, eax
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [edi + 0x30]
push eax
mov byte [ebp - 4], 1
call fcn.0040c920
lea esi, [ebx + 0x48]
push 0
push 0
mov ecx, esi
mov byte [ebp - 4], 2
mov dword [ebp + 8], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00473910
mov dword [esi], eax
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
lea eax, [edi + 0x48]
push eax
mov ecx, esi
mov byte [ebp - 4], 4
mov dword [esi + 0x1c], 0x3f800000
call fcn.00473c10
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x473170
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51548e
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x56a8e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
xor eax, eax
push 0xffffffffffffffff
push eax
push dword [ebp + 8]
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
call fcn.0040c920
xor eax, eax
push 0xffffffffffffffff
lea ecx, [esi + 0x18]
push eax
push dword [ebp + 0xc]
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
mov dword [ebp - 4], 0
mov word [ecx], ax
call fcn.0040c920
xor eax, eax
push 0xffffffffffffffff
lea ecx, [esi + 0x30]
push eax
push dword [ebp + 0x10]
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
mov byte [ebp - 4], 1
mov word [ecx], ax
call fcn.0040c920
lea eax, [ebp + 0xb]
push eax
lea eax, [ebp + 0xb]
push eax
lea ecx, [esi + 0x48]
mov byte [ebp - 4], 2
call fcn.00472850
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x473dd0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x515528
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x56a8e0]
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 ebx, ecx
cmp dword [ebx + 0x40], 0
je 0x473f01
cmp byte [ebx + 0x46], 0
je 0x473f01
mov eax, dword [ebx]
push 0xffff
call dword [eax + 0xc]
movzx eax, ax
mov ecx, 0xffff
cmp cx, ax
jne 0x473e2f
xor al, al
jmp 0x473f03
mov ecx, 0xf
mov byte [ebp - 0x28], 0
xorps xmm0, xmm0
movq qword [ebp - 0x28], xmm0
lea eax, [ebp - 0x28]
cmp ecx, 0x10
cmovae eax, dword [ebp - 0x28]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], 8
mov byte [eax + 8], 0
mov dword [ebp - 4], 0
nop
cmp dword [ebp - 0x14], 0x10
mov ecx, dword [ebx + 0x40]
lea eax, [ebp - 0x2c]
mov edx, dword [ecx]
push eax
mov eax, dword [ebp - 0x18]
lea edi, [ebp - 0x28]
cmovae edi, dword [ebp - 0x28]
lea esi, [ebp - 0x28]
cmovae esi, dword [ebp - 0x28]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x48]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x473e9a
dec eax
je 0x473e9e
sub eax, 2
je 0x473eea
xor bl, bl
jmp 0x473eec
mov byte [ebx + 0x46], 0
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x28]
mov esi, dword [ebp - 0x2c]
cmp ecx, 0x10
lea eax, [ebp - 0x28]
cmovae eax, edx
sub esi, eax
je 0x473ed0
push dword [ebx + 0x50]
cmp ecx, 0x10
push esi
lea eax, [ebp - 0x28]
cmovae eax, edx
push 1
push eax
call fcn.0049814f
add esp, 0x10
cmp esi, eax
jne 0x473e96
cmp byte [ebx + 0x46], 0
je 0x473eea
test esi, esi
jne 0x473e60
push esi
push 8
lea ecx, [ebp - 0x28]
call fcn.00451b00
jmp 0x473e60
mov bl, 1
cmp dword [ebp - 0x14], 0x10
jb 0x473efd
push dword [ebp - 0x28]
call fcn.00493278
add esp, 4
mov al, bl
jmp 0x473f03
mov al, 1
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.00493d56
mov esp, ebp
pop ebp
ret
Function at 0x477d50
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5159b3
mov eax, dword fs:[0]
push eax
sub esp, 0xcc
mov eax, dword [0x56a8e0]
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 str.url.dll_FileProtocolHandler__1_
lea ecx, [ebp - 0xd8]
call fcn.00405f80
push esi
push eax
mov dword [ebp - 4], 0
call fcn.004039e0
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.004054b0
add esp, 0x10
lea ecx, [ebp - 0x28]
push eax
call fcn.004062c0
cmp dword [ebp - 0x2c], 8
jb 0x477dc4
push dword [ebp - 0x40]
call fcn.00493278
add esp, 4
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 2
call fcn.00408130
cmp dword [ebp - 0x14], 8
push 1
push 0
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push str.rundll32.exe
push 0x527f6c
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp dword [ebp - 0x14], 8
jb 0x477e1a
push dword [ebp - 0x28]
call fcn.00493278
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00493d56
mov esp, ebp
pop ebp
ret