joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43abc0
Capabilities:
Receive data
Receive data on socket

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
mov esi, dword [esp + 0x28]
mov ebx, ecx
push edi
push esi
mov dword [esp + 0x14], 0x10
call fcn.004642a2
add esp, 4
mov ebp, eax
call fcn.00430380
mov dword [ebx + 0x10], eax
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x18]
mov dword [ebx + 0x14], edx
push eax
push 0
push esi
push ebp
push dword [ebx + 0x38]
call dword [sym.imp.WS2_32.dll_recvfrom]
mov edi, eax
test edi, edi
jne 0x43ac1f
mov eax, dword [ebx + 0x24]
test eax, eax
je 0x43ac53
mov ecx, dword [eax]
push str.Connection_has_been_gracefully_closed_n
push eax
call dword [ecx + 0x18]
add esp, 8
jmp 0x43ac53
push str.receiving_from_socket
push edi
mov ecx, ebx
call fcn.0043ac90
test al, al
jne 0x43ac48
mov ecx, dword [ebx + 0x24]
test ecx, ecx
je 0x43ac53
mov eax, dword [ecx]
push edi
push str.recvfrom___return__d_n
push ecx
call dword [eax + 8]
add esp, 0xc
jmp 0x43ac53
mov ecx, dword [esp + 0x28]
push edi
push ebp
call fcn.00436400
push ebp
call fcn.0046429d
mov esi, dword [esp + 0x34]
add esp, 4
test esi, esi
je 0x43ac7d
push dword [esp + 0x18]
call dword [sym.imp.WS2_32.dll_inet_ntoa]
sub esi, eax
mov cl, byte [eax]
lea eax, [eax + 1]
mov byte [esi + eax - 1], cl
test cl, cl
jne 0x43ac70
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 0xc

Function at 0x43d1c0
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebp
mov ebp, ecx
mov eax, dword [ebp + 4]
lea ecx, [ebp + 4]
push esi
push 0xffffffffffffffff
mov dword [esp + 0xc], ecx
call dword [eax]
mov eax, dword [ebp + 0x28]
mov esi, dword [eax]
cmp esi, eax
je 0x43d209
push ebx
mov ebx, dword [esp + 0x14]
push edi
push ebx
push 4
lea edi, [esi + 0x14]
push 1
push edi
call fcn.00490e71
push ebx
push dword [edi]
push 1
push dword [esi + 0x10]
call fcn.00490e71
mov esi, dword [esi]
add esp, 0x20
cmp esi, dword [ebp + 0x28]
jne 0x43d1e2
pop edi
pop ebx
mov ecx, dword [esp + 8]
call fcn.00438070
pop esi
pop ebp
pop ecx
ret 4
Function at 0x43d680
Capabilities:
Connect socket

Disassembly:
push ebx
push esi
mov esi, ecx
call fcn.0043d620
mov eax, dword [esi + 0x40]
mov ecx, 2
push dword [esp + 0x10]
mov word [eax], cx
call dword [sym.imp.WS2_32.dll_htons]
mov ecx, dword [esi + 0x40]
mov ebx, dword [esp + 0xc]
push ebx
mov word [ecx + 2], ax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov ecx, dword [esi + 0x40]
mov dword [ecx + 4], eax
mov ecx, dword [esi + 0x24]
test ecx, ecx
je 0x43d6d2
push dword [esp + 0x10]
mov eax, dword [ecx]
push ebx
push str._connecting_to__s:_d..._n
push 3
push ecx
call dword [eax + 0x14]
add esp, 0x14
push 0
push 0x10
push dword [esi + 0x40]
push dword [esi + 0x38]
call dword [sym.imp.WS2_32.dll_connect]
push eax
mov ecx, esi
call fcn.0043ac90
mov bl, al
test bl, bl
je 0x43d705
mov edx, dword [esi + 0x24]
test edx, edx
je 0x43d705
mov ecx, dword [edx]
push str._connected_n
push edx
call dword [ecx + 0x18]
add esp, 8
call fcn.00430380
mov dword [esi + 0x18], eax
mov dword [esi + 0x10], eax
mov al, bl
mov dword [esi + 0x1c], edx
mov dword [esi + 0x14], edx
pop esi
pop ebx
ret 8
Function at 0x43f040
Capabilities:
Get file size

Disassembly:
sub esp, 0xc
mov ecx, dword [ecx]
xor eax, eax
push esi
xor esi, esi
mov dword [esp + 4], eax
test ecx, ecx
je 0x43f064
lea eax, [esp + 4]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
mov eax, dword [esp + 4]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0
mov ecx, 0x20
mov eax, dword [esp + 8]
mov edx, dword [esp + 0xc]
shld edx, eax, cl
shl eax, cl
mov ecx, edx
xor edx, edx
add eax, esi
pop esi
adc edx, ecx
add esp, 0xc
ret

Function at 0x43f7a0
Capabilities:
Terminate thread

Disassembly:
push esi
push dword [esp + 8]
mov esi, ecx
call fcn.0043f750
test al, al
je 0x43f7b6
mov al, 1
pop esi
ret 8
push ebx
push dword [esp + 0x10]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
test eax, eax
mov ecx, esi
setne bl
call fcn.0043f710
mov al, bl
pop ebx
pop esi
ret 8

Function at 0x43f9f0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b93ef
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
lea eax, [ebp - 0x3c]
push esi
push eax
call fcn.00430780
add esp, 4
push 0x4bdaa8
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 0
call fcn.0042e720
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.00431a90
add esp, 0xc
push eax
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
call fcn.0042e460
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 0
cmp eax, 0x10
jb 0x43fa5f
inc eax
lea ecx, [ebp - 0x24]
push eax
push dword [ebp - 0x24]
call fcn.004046a0
push 0x4e5854
lea ecx, [ebp - 0x3c]
call fcn.0042e730
push eax
call fcn.0048db2f
mov esi, eax
add esp, 8
test esi, esi
je 0x43fa9b
push dword [ebp + 0xc]
call fcn.00430a80
push eax
push dword [ebp + 8]
push str.Thread__s_catch_unexpected_error__n_s_n
push esi
call fcn.004360b0
push esi
call fcn.0048dbbc
add esp, 0x18
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x440b70
Capabilities:
Read file on windows

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
test edi, edi
je 0x440b80
mov dword [edi], 0
mov esi, dword [esp + 0x10]
test esi, esi
je 0x440d3e
mov ecx, dword [esp + 0x14]
mov dword [esi + 0x13c4], 0
test ecx, ecx
je 0x440d3e
mov eax, dword [esp + 0x18]
test eax, eax
js 0x440d3e
cmp byte [esi + 0x1390], 0
je 0x440bd2
test edi, edi
je 0x440bc1
mov dword [edi], 0xffffffff
pop edi
mov dword [esi + 0x13c4], 0xffffffff
xor eax, eax
pop esi
ret 0x10
test eax, eax
jne 0x440bed
test edi, edi
je 0x440bdc
mov dword [edi], eax
pop edi
mov dword [esi + 0x13c4], 0
xor eax, eax
pop esi
ret 0x10
push ebx
push ebp
push dword [esi]
mov dword [esi + 0x13a8], eax
mov dword [esi + 0x13a4], ecx
call fcn.0049a424
add esp, 4
test eax, eax
jne 0x440caa
nop dword [eax]
cmp dword [esi + 0x1398], 0
jne 0x440c5b
push dword [esi]
call fcn.00441d20
add esp, 4
test al, al
jne 0x440c5b
push dword [esi]
lea ebp, [esi + 4]
push 0x1388
push 1
push ebp
call fcn.00491419
push dword [esi]
mov ebx, eax
call fcn.0049a424
add esp, 0x14
test eax, eax
jne 0x440caa
mov dword [esi + 0x138c], ebx
mov dword [esi + 0x1398], ebx
mov dword [esi + 0x1394], ebp
lea eax, [esi + 0x1394]
push eax
call fcn.004406e0
test eax, eax
jne 0x440d03
push dword [esi]
call fcn.00441d20
add esp, 4
test al, al
je 0x440c8f
cmp dword [esi + 0x1398], 0
jne 0x440c8f
cmp dword [esi + 0x13a8], 0
ja 0x440cc7
cmp dword [esi + 0x13a8], 0
je 0x440ce4
push dword [esi]
call fcn.0049a424
add esp, 4
test eax, eax
je 0x440c10
test edi, edi
je 0x440cb4
mov dword [edi], 0xfffffffa
pop ebp
pop ebx
pop edi
mov dword [esi + 0x13c4], 0xfffffffa
xor eax, eax
pop esi
ret 0x10
test edi, edi
je 0x440cd1
mov dword [edi], 0xfffffff9
pop ebp
pop ebx
pop edi
mov dword [esi + 0x13c4], 0xfffffff9
xor eax, eax
pop esi
ret 0x10
test edi, edi
je 0x440cee
mov dword [edi], 0
mov eax, dword [esp + 0x20]
pop ebp
pop ebx
pop edi
mov dword [esi + 0x13c4], 0
pop esi
ret 0x10
cmp eax, 4
jne 0x440d29
test edi, edi
je 0x440d0e
mov dword [edi], eax
mov eax, dword [esp + 0x20]
sub eax, dword [esi + 0x13a8]
pop ebp
pop ebx
pop edi
mov dword [esi + 0x13c4], 4
pop esi
ret 0x10
test edi, edi
je 0x440d2f
mov dword [edi], eax
pop ebp
pop ebx
mov dword [esi + 0x13c4], eax
xor eax, eax
pop edi
pop esi
ret 0x10
test edi, edi
je 0x440d48
mov dword [edi], 0xfffffffe
test esi, esi
je 0x440d56
mov dword [esi + 0x13c4], 0xfffffffe
pop edi
xor eax, eax
pop esi
ret 0x10
Function at 0x4415f0
Capabilities:
Terminate process

Disassembly:
call fcn.00441480
push eax
push dword [esp + 8]
push 0x4bdd40
push 2
call fcn.00492970
add esp, 4
push eax
call fcn.004360b0
add esp, 0x10
cmp dword [esp + 4], 0x3ef
jne 0x441634
push str._n_A_special_note_about_internal_error_number_1007__n_nExperience_suggests_that_a_common_cause_of_i.e._1007_nis_unreliable_memory_or_other_hardware.__The_1007_assertion_njust_happens_to_cross_check_the_results_of_huge_numbers_of_nmemory_reads_writes__and_so_acts__unintendedly__as_a_stress_ntest_of_your_memory_system._n_nI_suggest_the_following:_try_compressing_the_file_again__npossibly_monitoring_progress_in_detail_with_the__vv_flag._n_n_If_the_error_cannot_be_reproduced__and_or_happens_at_different_n__points_in_compression__you_may_have_a_flaky_memory_system._n__Try_a_memory_test_program.__I_have_used_Memtest86_n___www.memtest86.com_.__At_the_time_of_writing_it_is_free__GPLd_._n__Memtest86_tests_memory_much_more_thorougly_than_your_BIOSs_n__power_on_test__and_may_find_failures_that_the_BIOS_doesnt._n_n_If_the_error_can_be_repeatably_reproduced__this_is_a_bug_in_n__bzip2__and_I_would_very_much_like_to_hear_about_it.__Please_n__let_me_know__and__ideally__save_a_copy_of_the_file_causing_the_n__problem____without_which_I_will_be_unable_to_investigate_it._n_n
push 2
call fcn.00492970
add esp, 4
push eax
call fcn.004360b0
add esp, 8
push 3
call fcn.0049c1f2
int3

Function at 0x4416c0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
mov esi, dword [eax + 0x38]
mov bl, byte [eax + 0x34]
test esi, esi
jle 0x4416fd
mov edx, dword [eax + 0x260]
push edi
movzx edi, bl
nop word [eax + eax]
mov ecx, edx
shl edx, 8
shr ecx, 0x18
xor ecx, edi
xor edx, dword [ecx*4 + 0x4f9858]
mov dword [eax + 0x260], edx
sub esi, 1
jne 0x4416e0
pop edi
mov ecx, dword [eax + 0x34]
mov byte [eax + ecx + 0x58], 1
mov edx, dword [eax + 0x38]
mov ecx, edx
sub ecx, 1
je 0x441754
sub ecx, 1
je 0x44178a
sub ecx, 1
je 0x441763
mov byte [edx + eax + 0x54], 1
mov edx, dword [eax + 0x24]
mov ecx, dword [eax + 0x44]
mov byte [edx + ecx], bl
inc dword [eax + 0x44]
mov edx, dword [eax + 0x44]
mov ecx, dword [eax + 0x24]
mov byte [edx + ecx], bl
inc dword [eax + 0x44]
mov edx, dword [eax + 0x44]
mov ecx, dword [eax + 0x24]
mov byte [edx + ecx], bl
inc dword [eax + 0x44]
mov edx, dword [eax + 0x44]
mov ecx, dword [eax + 0x24]
mov byte [edx + ecx], bl
inc dword [eax + 0x44]
mov bl, byte [eax + 0x38]
sub bl, 4
mov ecx, dword [eax + 0x44]
mov edx, dword [eax + 0x24]
pop esi
mov byte [edx + ecx], bl
inc dword [eax + 0x44]
pop ebx
ret
mov ecx, dword [eax + 0x44]
mov edx, dword [eax + 0x24]
pop esi
mov byte [edx + ecx], bl
inc dword [eax + 0x44]
mov edx, dword [eax + 0x44]
mov ecx, dword [eax + 0x24]
mov byte [edx + ecx], bl
inc dword [eax + 0x44]
mov edx, dword [eax + 0x44]
mov ecx, dword [eax + 0x24]
mov byte [edx + ecx], bl
inc dword [eax + 0x44]
pop ebx
ret
mov ecx, dword [eax + 0x44]
mov edx, dword [eax + 0x24]
pop esi
mov byte [edx + ecx], bl
inc dword [eax + 0x44]
mov edx, dword [eax + 0x44]
mov ecx, dword [eax + 0x24]
mov byte [edx + ecx], bl
inc dword [eax + 0x44]
pop ebx
ret
Function at 0x447f20
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
mov edi, dword [esp + 0x10]
mov esi, dword [edi + 0x24]
nop word [eax + eax]
mov ebx, dword [edi + 0x34]
mov ecx, dword [edi + 0x64]
sub ebx, ecx
mov eax, dword [edi + 0x6c]
sub ebx, eax
jne 0x447f4e
test ecx, ecx
jne 0x447f5a
test eax, eax
jne 0x447f5a
mov ebx, esi
jmp 0x447fcc
cmp ebx, 0xffffffff
jne 0x447f5a
mov ebx, 0xfffffffe
jmp 0x447fcc
mov eax, dword [edi + 0x24]
add eax, 0xfffffefa
add eax, esi
cmp ecx, eax
jb 0x447fcc
mov ecx, dword [edi + 0x30]
push esi
lea eax, [ecx + esi]
push eax
push ecx
call fcn.00484180
mov edx, dword [edi + 0x44]
add esp, 0xc
mov eax, dword [edi + 0x3c]
sub dword [edi + 0x68], esi
sub dword [edi + 0x64], esi
sub dword [edi + 0x54], esi
lea ecx, [eax + edx*2]
nop dword [eax + eax]
movzx eax, word [ecx - 2]
lea ecx, [ecx - 2]
cmp eax, esi
jb 0x447f9f
sub eax, esi
jmp 0x447fa1
xor eax, eax
mov word [ecx], ax
sub edx, 1
jne 0x447f90
mov eax, dword [edi + 0x38]
mov edx, esi
lea ecx, [eax + esi*2]
movzx eax, word [ecx - 2]
lea ecx, [ecx - 2]
cmp eax, esi
jb 0x447fc0
sub eax, esi
jmp 0x447fc2
xor eax, eax
mov word [ecx], ax
sub edx, 1
jne 0x447fb1
add ebx, esi
mov ecx, dword [edi]
cmp dword [ecx + 4], 0
je 0x448024
mov eax, dword [edi + 0x6c]
add eax, dword [edi + 0x64]
add eax, dword [edi + 0x30]
push ebx
push eax
push ecx
call fcn.004482c0
add dword [edi + 0x6c], eax
add esp, 0xc
mov ebx, dword [edi + 0x6c]
cmp ebx, 3
jb 0x448010
mov eax, dword [edi + 0x30]
add eax, dword [edi + 0x64]
mov ecx, dword [edi + 0x50]
movzx edx, byte [eax]
mov dword [edi + 0x40], edx
movzx eax, byte [eax + 1]
shl edx, cl
xor edx, eax
and edx, dword [edi + 0x4c]
mov dword [edi + 0x40], edx
cmp ebx, 0x106
jae 0x448024
mov eax, dword [edi]
cmp dword [eax + 4], 0
jne 0x447f30
pop edi
pop esi
pop ebx
ret
Function at 0x448a00
Capabilities:
Terminate process

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1c]
push edi
mov edi, dword [esi + 0x44]
mov eax, dword [esi + 0x18]
mov ebx, dword [esi + 0x20]
mov ebp, dword [esi + 0x268]
mov ecx, dword [esi + 0x30]
mov dword [esp + 0x10], eax
cmp edi, 0x2710
jge 0x448a31
push ebp
push edi
push eax
jmp 0x448b0b
lea eax, [edi + 0x22]
test al, 1
lea edx, [eax + 1]
cmove edx, eax
add edx, dword [esi + 0x24]
mov dword [esp + 0x14], edx
cmp ecx, 1
jge 0x448a4f
mov ecx, 1
jmp 0x448a59
mov eax, 0x64
cmp ecx, eax
cmovg ecx, eax
dec ecx
mov eax, 0x55555556
imul ecx
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], eax
lea eax, [esp + 0x20]
push eax
push ebp
push edi
push dword [esp + 0x1c]
push dword [esp + 0x24]
push dword [esi + 0x24]
push ebx
call fcn.00449b30
mov eax, dword [esp + 0x3c]
add esp, 0x1c
cmp ebp, 3
jl 0x448ae4
mov ecx, dword [esp + 0x18]
mov edx, 1
sub ecx, eax
test edi, edi
mov eax, edi
cmove eax, edx
sub esp, 8
movd xmm1, ecx
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
cvtps2pd xmm0, xmm1
movsd qword [esp], xmm0
push edi
push ecx
push str._______d_work___d_block__ratio__5.2f_n
push 2
call fcn.00492970
add esp, 4
push eax
call fcn.004360b0
mov eax, dword [esp + 0x38]
add esp, 0x18
test eax, eax
jns 0x448b19
cmp ebp, 2
jl 0x448b05
push str.____too_repetitive__using_fallback_sorting_algorithm_n
push 2
call fcn.00492970
add esp, 4
push eax
call fcn.004360b0
add esp, 8
push ebp
push edi
push dword [esp + 0x18]
push dword [esi + 0x14]
push dword [esi + 0x10]
call fcn.00448e90
add esp, 0x14
mov ecx, dword [esi + 0x44]
xor eax, eax
mov dword [esi + 0x1c], 0xffffffff
test ecx, ecx
jle 0x448b40
nop dword [eax]
cmp dword [ebx + eax*4], 0
je 0x448b3d
inc eax
cmp eax, ecx
jl 0x448b30
jmp 0x448b40
mov dword [esi + 0x1c], eax
cmp dword [esi + 0x1c], 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
jne 0x448b5a
add esp, 0xc
mov dword [esp + 4], 0x3eb
jmp fcn.004415f0
add esp, 0xc
ret
Function at 0x44c370
Capabilities:
Compute adler32 checksum

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
movzx ecx, si
shr esi, 0x10
test edi, edi
jne 0x44c38a
lea eax, [edi + 1]
pop edi
pop esi
ret
push ebp
mov ebp, dword [esp + 0x18]
test ebp, ebp
je 0x44c48c
push ebx
nop dword [eax + eax]
mov edx, 0x15b0
cmp ebp, edx
cmovb edx, ebp
sub ebp, edx
cmp edx, 0x10
jl 0x44c44e
mov ebx, edx
shr ebx, 4
mov eax, ebx
neg eax
shl eax, 4
add edx, eax
movzx eax, byte [edi]
add ecx, eax
movzx eax, byte [edi + 1]
add esi, ecx
add ecx, eax
movzx eax, byte [edi + 2]
add esi, ecx
add ecx, eax
movzx eax, byte [edi + 3]
add esi, ecx
add ecx, eax
movzx eax, byte [edi + 4]
add esi, ecx
add ecx, eax
movzx eax, byte [edi + 5]
add esi, ecx
add ecx, eax
movzx eax, byte [edi + 6]
add esi, ecx
add ecx, eax
movzx eax, byte [edi + 7]
add esi, ecx
add ecx, eax
movzx eax, byte [edi + 8]
add esi, ecx
add ecx, eax
movzx eax, byte [edi + 9]
add esi, ecx
add ecx, eax
movzx eax, byte [edi + 0xa]
add esi, ecx
add ecx, eax
movzx eax, byte [edi + 0xb]
add esi, ecx
add ecx, eax
movzx eax, byte [edi + 0xc]
add esi, ecx
add ecx, eax
movzx eax, byte [edi + 0xd]
add esi, ecx
add ecx, eax
movzx eax, byte [edi + 0xe]
add esi, ecx
add ecx, eax
movzx eax, byte [edi + 0xf]
add esi, ecx
add edi, 0x10
add ecx, eax
add esi, ecx
sub ebx, 1
jne 0x44c3c3
test edx, edx
je 0x44c45f
movzx eax, byte [edi]
inc edi
add ecx, eax
add esi, ecx
sub edx, 1
jne 0x44c452
mov eax, 0x80078071
mul ecx
shr edx, 0xf
imul eax, edx, 0xffff000f
add ecx, eax
mov eax, 0x80078071
mul esi
shr edx, 0xf
imul edx, edx, 0xffff000f
add esi, edx
test ebp, ebp
jne 0x44c3a0
pop ebx
shl esi, 0x10
pop ebp
or esi, ecx
pop edi
mov eax, esi
pop esi
ret
Function at 0x4680d0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x14], 0
jne 0x4680f2
push 0
push 0x9f
push str.g:projectspoco_1.8.1_all_foundation_srcFile_WIN32U.cpp
push str.__path.empty__
call fcn.0046b790
add esp, 0x10
cmp dword [esi + 0x30], 8
lea eax, [esi + 0x1c]
jb 0x4680fd
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x468111
shr eax, 4
and eax, 1
pop esi
ret
lea eax, [esi + 4]
push eax
call fcn.00467a30
int3
Function at 0x46d3b3
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret

Function at 0x4a3aab
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004a392a

Function at 0x4a91fa
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004a8eba

Function at 0x4af6b0
Capabilities:
Encode data using base64

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
mov esi, dword [esp + 0x14]
xor ebx, ebx
test esi, esi
jle 0x4af79c
push edi
mov edi, dword [esp + 0x14]
inc edi
nop word [eax + eax]
movzx edx, byte [edi - 1]
cmp esi, 3
jl 0x4af72e
movzx ecx, byte [edi]
shl edx, 8
or edx, ecx
movzx ecx, byte [edi + 1]
shl edx, 8
or edx, ecx
mov ecx, edx
shr ecx, 0x12
and ecx, 0x3f
movzx ecx, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax], cl
mov ecx, edx
shr ecx, 0xc
and ecx, 0x3f
movzx ecx, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + 1], cl
mov ecx, edx
shr ecx, 6
and ecx, 0x3f
and edx, 0x3f
movzx ecx, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + 2], cl
movzx ecx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + 3], cl
jmp 0x4af77f
shl edx, 0x10
cmp esi, 2
jne 0x4af73e
movzx ecx, byte [edi]
shl ecx, 8
or edx, ecx
mov ecx, edx
shr ecx, 0x12
and ecx, 0x3f
movzx ecx, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax], cl
mov ecx, edx
shr ecx, 0xc
and ecx, 0x3f
movzx ecx, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + 1], cl
cmp esi, 1
jne 0x4af76b
lea ecx, [esi + 0x3c]
jmp 0x4af778
shr edx, 6
and edx, 0x3f
movzx ecx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + 2], cl
mov byte [eax + 3], 0x3d
sub esi, 3
add eax, 4
add ebx, 4
add edi, 3
test esi, esi
jg 0x4af6d0
pop edi
mov byte [eax], 0
mov eax, ebx
pop esi
pop ebx
ret
mov byte [eax], bl
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x4afcf0
Capabilities:
Access the windows event log
Write file on windows

Disassembly:
mov eax, 0x108
call fcn.00464bf0
mov eax, dword [0x4faee4]
xor eax, esp
mov dword [esp + 0x104], eax
push esi
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov esi, eax
test esi, esi
je 0x4afd8f
push esi
call dword [sym.imp.KERNEL32.dll_GetFileType]
test eax, eax
je 0x4afd8f
lea eax, [esp + 0x114]
push eax
push 0
push dword [esp + 0x118]
lea eax, [esp + 0x14]
push 0x100
push eax
call fcn.00407020
mov ecx, dword [eax]
push dword [eax + 4]
or ecx, 1
push ecx
call fcn.0048fed8
add esp, 0x1c
or ecx, 0xffffffff
test eax, eax
cmovs eax, ecx
lea ecx, [esp + 4]
push 0
push ecx
test eax, eax
mov ecx, 0x100
cmovs eax, ecx
push eax
lea eax, [esp + 0x14]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.00464228
add esp, 0x108
ret
lea eax, [esp + 0x114]
push eax
push 0
push dword [esp + 0x118]
lea eax, [esp + 0x14]
push 0xff
push eax
call fcn.00407020
mov ecx, dword [eax]
push dword [eax + 4]
or ecx, 1
push ecx
call fcn.0048fed8
add esp, 0x1c
mov byte [esp + 0x107], 0
call fcn.004afbb0
test eax, eax
jle 0x4afe23
push str.OpenSSL
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceA]
mov esi, eax
test esi, esi
je 0x4afe37
push 0
lea eax, [esp + 0xc]
mov dword [esp + 8], eax
lea eax, [esp + 8]
push eax
push 0
push 1
push 0
push 0
push 0
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ReportEventA]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
pop esi
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.00464228
add esp, 0x108
ret
push 0x10
push str.OpenSSL:_FATAL
lea eax, [esp + 0x10]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [esp + 0x108]
pop esi
xor ecx, esp
call fcn.00464228
add esp, 0x108
ret
Function at 0x432004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
je 0x432072
nop
nop
nop
nop
nop
mov ebx, 0x40c7d0
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x64494304
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x432060
mov eax, section..text_1
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4320d2
nop
nop
nop
nop
mov ebx, 0x42f314
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x3e5b0053
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4320c0
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..rsrc
nop
mov ebx, 0x40c7d0
nop
nop
mov ecx, 0x67555ae7
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43204e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x432024
nop
nop
mov eax, section..data
mov ebx, 0x42f314
nop
nop
mov ecx, 0x553925de
nop
test eax, eax
nop
nop
nop
je 0x432084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43206c
nop
nop
popal
nop
nop
nop
jmp 0x431219

Function at 0x43d0ab
Capabilities:
Encode data using xor

Disassembly:
push 0x43ce2e
mov eax, dword [esp]
add esp, 4
add ebx, ebx
call fcn.0043d0db
inc ecx
xor dword [edi], eax
and ecx, ecx
add ebx, 1
add edi, 1
cmp edi, edx
jne fcn.0043d0ab
ret