joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5181ec
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov ebx, eax
mov byte [ebx], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, 0x518298
call fcn.00509658
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x51827d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.0050b2cc
test al, al
je 0x518242
mov eax, dword [ebp - 8]
call fcn.00405fbc
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, 0x518308
call fcn.00509658
mov dword [ebp - 8], eax
jmp 0x518245
mov byte [ebx], 1
mov eax, dword [ebp - 8]
call fcn.0050b2cc
test al, al
je 0x51825a
mov dword [ebp - 4], 1
jmp 0x518267
xor edx, edx
mov eax, dword [ebp - 8]
call fcn.0050b790
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x518284
mov eax, dword [ebp - 8]
call fcn.00405fbc
ret

Function at 0x518348
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
xor eax, eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x518401
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
push 0x51841c
lea edx, [ebp - 0x10]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
call fcn.0041eef8
push dword [ebp - 0x10]
push 0x51846c
push 0x51849c
push 0x5184b4
lea eax, [ebp - 0xc]
mov edx, 5
call fcn.00408b94
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.00509658
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x5183df
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.0050b2cc
test al, al
jne 0x5183c9
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5183e6
mov eax, dword [ebp - 8]
call fcn.00405fbc
ret
Function at 0x51ba00
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
test dl, dl
je 0x51ba15
add esp, 0xfffffff0
call fcn.004065b4
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x51bbc4
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0x28], cl
mov dl, 1
mov eax, dword [0x4d1ca4]
call fcn.004d27bc
mov edx, dword [ebp - 4]
mov dword [edx + 4], eax
push 0
mov ecx, 0x51bbfc
mov dl, 1
mov eax, dword [0x4db704]
call fcn.004db9f8
mov edx, dword [ebp - 4]
mov dword [edx + 0x14], eax
push 0x51bc18
call sub.user32.dll_RegisterWindowMessageW
mov edx, dword [ebp - 4]
mov dword [edx + 0x18], eax
mov eax, 0x51bc44
call fcn.004b3660
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 8], ebx
mov eax, ebx
xor edx, edx
call fcn.004b61c4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov edx, 0x51bc6c
call fcn.004b72a8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
call fcn.004b4d98
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 8]
mov eax, dword [ebp - 4]
mov dword [ebx + 0x46c], eax
mov dword [ebx + 0x468], 0x51ca18
push 0xffffffffffffffff
mov eax, dword [ebp - 4]
push eax
push 0x51c808
push 0
push 1
push 0
lea ecx, [ebp - 8]
mov eax, ebx
mov edx, 1
call fcn.004b0e78
mov esi, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x10], esi
push 0
push 0
push 0
push 0
mov edx, 0x51bc9c
mov eax, esi
movzx ecx, word [0x51bc9c]
call fcn.004b1868
push 0
push 0
push 0
push 0
mov edx, 0x51bc9c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
movzx ecx, word [0x51bc9c]
call fcn.004b1868
push 0
push 0
push 0
push 0
mov edx, 0x51bc9c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
movzx ecx, word [0x51bca0]
call fcn.004b1868
push 0
push 0
push 0
push 0
mov edx, 0x51bc9c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
movzx ecx, word [0x51bc9c]
call fcn.004b1868
mov eax, dword [ebp - 4]
mov byte [eax + 0x29], 0
push 0x51bca4
mov eax, dword [0x530c50]
push eax
call sub.user32.dll_LoadIconW
push eax
push 0x414
push 0x51bc44
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x29]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
call fcn.004b4d98
mov ecx, eax
mov dl, 1
mov eax, dword [0x4d0d68]
call fcn.004d1040
mov edx, dword [ebp - 4]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x1c], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x2c], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x30], edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x51bbce
mov eax, dword [ebp - 4]
cmp byte [ebp - 5], 0
je 0x51bbe6
call fcn.0040660c
pop dword fs:[0]
add esp, 0xc
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x458c50
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x3f000]
push edi
or ebp, 0xffffffff
jmp 0x458c72
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x458c79
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x458c68
mov eax, 1
add ebx, ebx
jne 0x458c8b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x458c9c
jne 0x458cac
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x458cac
dec eax
add ebx, ebx
jne 0x458ca8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x458c80
xor ecx, ecx
sub eax, 3
jb 0x458cc4
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x458d36
sar eax, 1
mov ebp, eax
jmp 0x458ccf
add ebx, ebx
jne 0x458ccf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x458cdc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x458d00
inc ecx
add ebx, ebx
jne 0x458cec
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x458ce1
jne 0x458cfd
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x458ce1
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x458d20
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x458d11
jmp 0x458c6e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x458d20
add edi, ecx
jmp 0x458c6e
pop esi
mov edi, esi
mov ecx, 0x134a
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x458d3e
cmp byte [edi], 6
jne 0x458d3e
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x458d43
lea edi, [esi + 0x50000]
mov eax, dword [edi]
or eax, eax
je 0x458db2
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x5959c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x59664]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x458d70
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x59668]
or eax, eax
je 0x458dac
mov dword [ebx], eax
add ebx, 4
jmp 0x458d8d
call dword [esi + 0x5966c]
popal
jmp 0x430070
Function at 0x4184e9
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x438689
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x44c054]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push esi
push edi
mov eax, dword [0x44c054]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov edi, ecx
cmp byte [edi + 0x25], 0
mov esi, dword [ebp + 8]
je 0x418530
mov eax, dword [edi]
call dword [eax + 0x14]
mov edx, esi
lea ecx, [esp + 0x28]
mov byte [edi + 0x25], 1
call fcn.004069bf
and dword [esp + 0x50], 0
mov esi, dword [sym.imp.MSVCR110.dll_wcslen]
and dword [esp + 0x20], 0
xor eax, eax
mov ebx, str.User_Agent:_Adobe_Log_Transport_r_n
push ebx
mov dword [esp + 0x28], 7
mov word [esp + 0x14], ax
call esi
pop ecx
push eax
push ebx
lea ecx, [esp + 0x18]
call fcn.00406ab4
mov ebx, str.Content_Type:_multipart_form_data__boundaryxxxxx_r_n
push ebx
mov byte [esp + 0x54], 1
call esi
pop ecx
push eax
push ebx
lea ecx, [esp + 0x18]
call fcn.00409b3c
mov ebx, str.Content_Length:_0
push ebx
call esi
pop ecx
push eax
push ebx
lea ecx, [esp + 0x18]
call fcn.00409b3c
lea eax, [edi + 0xc]
push eax
lea eax, [edi + 4]
push eax
push 0
push 0
push edi
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x40]
push eax
mov ecx, edi
call fcn.00418158
push 0
push 1
lea ecx, [esp + 0x18]
mov bl, al
mov word [edi + 0x24], 1
call fcn.00406ccf
push 0
push 1
lea ecx, [esp + 0x30]
call fcn.00406ccf
mov al, bl
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.0041d508
mov esp, ebp
pop ebp
ret 4

Function at 0x418601
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4386c1
rol dword [esi - 0x5e9bffbd], 0
add byte [eax], al
add byte [eax - 0x7d], dl
in al, dx
inc eax

Function at 0x419260
Capabilities:
Read file on windows

Disassembly:
cmp dword [esi + 0x3c], 0
jne 0x4192b6
cmp dword [esi + 4], 0
jne 0x4192bf
call dword [sym.imp.MSVCR110.dll__errno]
mov dword [eax], 0
mov eax, dword [esi + 0x40]
mov ecx, dword [esi + 0x44]
push eax
push 0x4000
push 1
push ecx
call dword [sym.imp.MSVCR110.dll_fread]
add esp, 0x10
test eax, eax
mov dword [esi + 4], eax
jne 0x4192ba
mov edx, dword [esi + 0x40]
push edx
mov dword [esi + 0x3c], 1
call dword [sym.imp.MSVCR110.dll_ferror]
add esp, 4
test eax, eax
je 0x4192b6
mov dword [esi + 0x38], 0xffffffff
or eax, 0xffffffff
ret
mov eax, dword [esi + 0x44]
mov dword [esi], eax
mov eax, dword [esi]
add dword [esi + 4], 0xffffffff
mov cl, byte [eax]
add eax, 1
mov dword [esi], eax
movzx eax, cl
ret
Function at 0x4192d0
Capabilities:
Read file on windows

Disassembly:
push esi
mov esi, eax
push edi
mov edi, dword [esi + 4]
cmp edi, 2
jae 0x419348
test edi, edi
je 0x4192e9
mov eax, dword [esi]
mov ecx, dword [esi + 0x44]
mov dl, byte [eax]
mov byte [ecx], dl
call dword [sym.imp.MSVCR110.dll__errno]
mov dword [eax], 0
mov eax, dword [esi + 0x40]
mov ecx, edi
push eax
mov eax, dword [esi + 0x44]
mov edx, 0x4000
sar edx, cl
add eax, edi
push edx
push 1
push eax
call dword [sym.imp.MSVCR110.dll_fread]
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x419332
mov ecx, dword [esi + 0x40]
push ecx
call dword [sym.imp.MSVCR110.dll_ferror]
add esp, 4
test eax, eax
je 0x419332
mov dword [esi + 0x38], 0xffffffff
add dword [esi + 4], edi
mov eax, dword [esi + 4]
cmp eax, 2
mov edx, dword [esi + 0x44]
mov dword [esi], edx
jae 0x419348
pop edi
mov dword [esi + 0x58], eax
pop esi
ret
mov eax, dword [esi]
cmp byte [eax], 0x1f
jne 0x41941e
cmp byte [eax + 1], 0x8b
jne 0x41941e
add dword [esi + 4], 0xfffffffe
add eax, 2
push ebx
mov dword [esi], eax
call fcn.00419260
mov edi, eax
call fcn.00419260
cmp edi, 8
mov ebx, eax
jne 0x419413
test bl, 0xe0
jne 0x419413
mov edi, 6
lea esp, [esp]
call fcn.00419260
sub edi, 1
jne 0x419390
test bl, 4
je 0x4193c3
call fcn.00419260
mov edi, eax
call fcn.00419260
shl eax, 8
add edi, eax
mov eax, edi
sub edi, 1
test eax, eax
je 0x4193c3
call fcn.00419260
cmp eax, 0xffffffff
jne 0x4193b0
test bl, 8
je 0x4193d6
call fcn.00419260
test eax, eax
je 0x4193d6
cmp eax, 0xffffffff
jne 0x4193c8
test bl, 0x10
je 0x4193ee
jmp 0x4193e0
call fcn.00419260
test eax, eax
je 0x4193ee
cmp eax, 0xffffffff
jne 0x4193e0
test bl, 2
je 0x419402
mov edi, 2
call fcn.00419260
sub edi, 1
jne 0x4193f8
mov ecx, dword [esi + 0x3c]
neg ecx
sbb ecx, ecx
pop ebx
and ecx, 0xfffffffd
pop edi
mov dword [esi + 0x38], ecx
pop esi
ret
pop ebx
pop edi
mov dword [esi + 0x38], 0xfffffffd
pop esi
ret
pop edi
mov dword [esi + 0x58], 1
pop esi
ret

Function at 0x4194e0
Capabilities:
Write file on windows

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
je 0x41958c
cmp byte [esi + 0x5c], 0x77
jne 0x41958c
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
test ebx, ebx
mov dword [esi], eax
mov dword [esi + 4], ebx
je 0x41956f
push edi
mov edi, dword [sym.imp.MSVCR110.dll_fwrite]
cmp dword [esi + 0x10], 0
jne 0x419537
mov ecx, dword [esi + 0x40]
mov eax, dword [esi + 0x48]
push ecx
push 0x4000
push 1
push eax
mov dword [esi + 0xc], eax
call edi
add esp, 0x10
cmp eax, 0x4000
jne 0x419567
mov dword [esi + 0x10], eax
mov edx, dword [esi + 4]
mov eax, dword [esi + 0x10]
add dword [esi + 0x64], edx
add dword [esi + 0x68], eax
push 0
push esi
call fcn.00419a70
mov ecx, dword [esi + 4]
mov edx, dword [esi + 0x10]
sub dword [esi + 0x64], ecx
sub dword [esi + 0x68], edx
add esp, 8
test eax, eax
mov dword [esi + 0x38], eax
jne 0x41956e
test ecx, ecx
jne 0x419510
jmp 0x41956e
mov dword [esi + 0x38], 0xffffffff
pop edi
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x4c]
push ebx
push eax
push ecx
call fcn.0041b680
add esp, 0xc
mov dword [esi + 0x4c], eax
mov eax, ebx
sub eax, dword [esi + 4]
pop ebx
pop esi
ret
mov eax, 0xfffffffe
pop esi
ret
Function at 0x4195a0
Capabilities:
Write file on windows

Disassembly:
push ebx
push esi
mov esi, eax
xor ebx, ebx
test esi, esi
je 0x419657
cmp byte [esi + 0x5c], 0x77
jne 0x419657
mov dword [esi + 4], ebx
push edi
lea esp, [esp]
mov edi, 0x4000
sub edi, dword [esi + 0x10]
je 0x4195ef
mov eax, dword [esi + 0x40]
mov ecx, dword [esi + 0x48]
push eax
push edi
push 1
push ecx
call dword [sym.imp.MSVCR110.dll_fwrite]
add esp, 0x10
cmp eax, edi
jne 0x41964d
mov edx, dword [esi + 0x48]
mov dword [esi + 0xc], edx
mov dword [esi + 0x10], 0x4000
test ebx, ebx
jne 0x41963b
mov ecx, dword [esp + 0x10]
mov eax, dword [esi + 0x10]
add dword [esi + 0x68], eax
push ecx
push esi
call fcn.00419a70
mov ecx, dword [esi + 0x10]
sub dword [esi + 0x68], ecx
add esp, 8
test edi, edi
mov dword [esi + 0x38], eax
jne 0x41961c
cmp eax, 0xfffffffb
jne 0x41961c
mov dword [esi + 0x38], edi
test ecx, ecx
jne 0x41962a
cmp dword [esi + 0x38], 1
je 0x41962a
xor ebx, ebx
jmp 0x41962f
mov ebx, 1
mov eax, dword [esi + 0x38]
test eax, eax
je 0x4195c0
cmp eax, 1
je 0x4195c0
mov esi, dword [esi + 0x38]
mov eax, esi
sub eax, 1
neg eax
sbb eax, eax
pop edi
and eax, esi
pop esi
pop ebx
ret
or eax, 0xffffffff
pop edi
mov dword [esi + 0x38], eax
pop esi
pop ebx
ret
pop esi
mov eax, 0xfffffffe
pop ebx
ret
Function at 0x401360
Capabilities:
Create pipe
Query environment variable
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x200c
call fcn.0040b530
mov eax, dword [0x248e2dc]
mov ecx, dword [0x248dd68]
push ebx
shr eax, 3
push esi
push edi
test eax, eax
je 0x401487
mov edi, dword [sym.imp.KERNEL32.dll_GetNumberFormatW]
mov ebx, dword [sym.imp.KERNEL32.dll_CreateJobObjectW]
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov dword [ebp - 4], ecx
mov dword [ebp - 8], eax
cmp dword [0x248e2dc], 0x959
jne 0x401471
push 0
lea eax, [ebp - 0xc08]
push eax
push 0
push 0
push 0
push 0
call edi
push str.zamuloguwatisofobus
push 0
call ebx
push 0
lea ecx, [ebp - 0x1808]
push ecx
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumDateFormatsW]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetFileShortNameW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetProcessShutdownParameters]
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetTimeFormatA]
push 0
push 0
push 0
call esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
lea edx, [ebp - 0x1408]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_SetVolumeMountPointW]
push 0
lea eax, [ebp - 0x408]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
push str.gotarurivocabowixetalakagaxahufijefisosefimazuwuhituwigoveyehucorocoyepep
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetCalendarInfoW]
push 0
lea ecx, [ebp - 0x2008]
push ecx
push 0
call esi
mov edx, dword [ebp - 4]
push edx
call fcn.004010e0
add dword [ebp - 4], 8
dec dword [ebp - 8]
jne 0x40139e
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40415b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x475520]
jne 0x404165
repz ret
jmp fcn.004081bc

Function at 0x40af83
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x475520]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0040645d
and dword [ebp - 0x14], 0
cmp dword [0x47bbcc], 0
mov dword [ebp - 0x18], eax
jne 0x40b036
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40b0de
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x40b0de
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x47bbcc], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x47bbd0], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x47bbd4], eax
call edi
push eax
call esi
mov dword [0x47bbdc], eax
test eax, eax
je 0x40b036
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x47bbd8], eax
mov eax, dword [0x47bbd8]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40b08f
cmp dword [0x47bbdc], ecx
je 0x40b08f
push eax
call esi
push dword [0x47bbdc]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40b08f
test ebx, ebx
je 0x40b08f
call edi
test eax, eax
je 0x40b086
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40b086
test byte [ebp - 8], 1
jne 0x40b08f
or dword [ebp + 0x10], 0x200000
jmp 0x40b0c2
mov eax, dword [0x47bbd0]
cmp eax, dword [ebp - 0x18]
je 0x40b0c2
push eax
call esi
test eax, eax
je 0x40b0c2
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40b0c2
mov eax, dword [0x47bbd4]
cmp eax, dword [ebp - 0x18]
je 0x40b0c2
push eax
call esi
test eax, eax
je 0x40b0c2
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x47bbcc]
call esi
test eax, eax
je 0x40b0de
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x40b0e0
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040415b
leave
ret
Function at 0x401360
Capabilities:
Create pipe
Get thread local storage value
Query environment variable

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x200c
call fcn.0040b520
mov eax, dword [0x245a2dc]
mov ecx, dword [0x2459d68]
push ebx
shr eax, 3
push esi
push edi
test eax, eax
je 0x401485
mov edi, dword [sym.imp.KERNEL32.dll_GetNumberFormatW]
mov ebx, dword [sym.imp.KERNEL32.dll_CreateJobObjectW]
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov dword [ebp - 4], ecx
mov dword [ebp - 8], eax
cmp dword [0x245a2dc], 0x959
jne 0x40146f
push 0
lea eax, [ebp - 0xc08]
push eax
push 0
push 0
push 0
push 0
call edi
push str.zamuloguwatisofobus
push 0
call ebx
push 0
lea ecx, [ebp - 0x1808]
push ecx
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumDateFormatsW]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetFileShortNameW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetProcessShutdownParameters]
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetTimeFormatA]
push 0
push 0
push 0
call esi
push 0
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
lea edx, [ebp - 0x1408]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_SetVolumeMountPointW]
push 0
lea eax, [ebp - 0x408]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
push str.gotarurivocabowixetalakagaxahufijefisosefimazuwuhituwigoveyehucorocoyepep
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetCalendarInfoW]
push 0
lea ecx, [ebp - 0x2008]
push ecx
push 0
call esi
mov edx, dword [ebp - 4]
push edx
call fcn.004010e0
add dword [ebp - 4], 8
dec dword [ebp - 8]
jne 0x40139e
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40414b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x441520]
jne 0x404155
repz ret
jmp fcn.004081ac

Function at 0x40af73
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x441520]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0040644d
and dword [ebp - 0x14], 0
cmp dword [0x447bcc], 0
mov dword [ebp - 0x18], eax
jne 0x40b026
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40b0ce
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x40b0ce
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x447bcc], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x447bd0], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x447bd4], eax
call edi
push eax
call esi
mov dword [0x447bdc], eax
test eax, eax
je 0x40b026
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x447bd8], eax
mov eax, dword [0x447bd8]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40b07f
cmp dword [0x447bdc], ecx
je 0x40b07f
push eax
call esi
push dword [0x447bdc]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40b07f
test ebx, ebx
je 0x40b07f
call edi
test eax, eax
je 0x40b076
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40b076
test byte [ebp - 8], 1
jne 0x40b07f
or dword [ebp + 0x10], 0x200000
jmp 0x40b0b2
mov eax, dword [0x447bd0]
cmp eax, dword [ebp - 0x18]
je 0x40b0b2
push eax
call esi
test eax, eax
je 0x40b0b2
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40b0b2
mov eax, dword [0x447bd4]
cmp eax, dword [ebp - 0x18]
je 0x40b0b2
push eax
call esi
test eax, eax
je 0x40b0b2
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x447bcc]
call esi
test eax, eax
je 0x40b0ce
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x40b0d0
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040414b
leave
ret
Function at 0x430006
Capabilities:
Encode data using xor

Disassembly:
mov eax, section..text
nop
mov ebx, 0x408ecc
nop
mov ecx, 0x4fb71b98
nop
nop
nop
nop
nop
test eax, eax
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
nop
nop
nop
mov eax, section..rdata
mov ebx, 0x42e1d0
nop
mov ecx, 0x470b4fc4
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
popal
jmp 0x401219