joyce8/EMBER2024-capa huggingface dataset:
Function at 0x455470
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x471bb0]
cmp dword [eax + 0x30], 0
je 0x45551a
cmp dword [ebx + 0x94], 0
jne 0x455514
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x455400
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x455514
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x4554da
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x455514
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00413814
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4554e9
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45607c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x4560b1
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00403f3c
jmp 0x4560be
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00403ea0
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x457110
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x457151
mov eax, esi
call fcn.0043d3c0
test al, al
je 0x457151
mov eax, dword [ebx + 0x84]
call fcn.0043d0bc
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x457151
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043d0bc
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x45d30c
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x45d33a
mov eax, ebx
call fcn.0045ddc0
cmp dword [ebx + 0x40], 0
je 0x45d333
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x45d3ab
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x45d39d
cmp dword [ebx + 8], 0
je 0x45d35c
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x45d36e
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x45d39d
cmp dword [ebx + 8], 0
je 0x45d34f
cmp eax, 3
je 0x45d381
dec eax
jne 0x45d34f
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x45d34f
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x45d34f
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x45d3c9
cmp dword [ebx + 0x14], 0xcc
je 0x45d3c9
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.0045d3d4
pop ebx
ret
Function at 0x4a3f30
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x99000]
push edi
jmp 0x4a3f4a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4a3f51
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4a3f40
mov eax, 1
add ebx, ebx
jne 0x4a3f63
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4a3f74
jne 0x4a3f93
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4a3f93
dec eax
add ebx, ebx
jne 0x4a3f80
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4a3f58
add ebx, ebx
jne 0x4a3f8f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4a3fe5
xor ecx, ecx
sub eax, 3
jb 0x4a3fab
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4a401a
sar eax, 1
mov ebp, eax
jmp 0x4a3fb6
add ebx, ebx
jne 0x4a3fb6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4a3f84
inc ecx
add ebx, ebx
jne 0x4a3fc4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4a3f84
add ebx, ebx
jne 0x4a3fd1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4a3fc6
jne 0x4a3fe2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4a3fc6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4a4004
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4a3ff6
jmp 0x4a3f46
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4a4004
add edi, ecx
jmp 0x4a3f46
pop esi
mov edi, esi
mov ecx, 0x467
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4a4022
cmp byte [edi], 7
jne 0x4a4022
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 al, bl
loop 0x4a4027
lea edi, [esi + 0xa1000]
mov eax, dword [edi]
or eax, eax
je 0x4a4096
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x12e28c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x12e2c8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4a4054
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x12e2d0]
or eax, eax
je 0x4a4090
mov dword [ebx], eax
add ebx, 4
jmp 0x4a4071
call dword [esi + 0x12e2cc]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x4a40c7
cmp al, 0xef
ja 0x4a40ba
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x4a409c
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x4a40a9
mov ebp, dword [esi + 0x12e2d4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x227]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4a40fb
sub esp, 0xffffff80
jmp 0x40125d
Function at 0x11a00
Capabilities:
Find process by pid
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jl 0x11a82
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x2c]
add edx, 0x50
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
cmp edx, dword [ebp - 0x20]
je 0x11a82
mov eax, dword [ebp - 0x10]
sub eax, 0x1b0
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
movsx edx, byte [ecx + 0x164]
test edx, edx
je 0x11a72
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
jmp 0x11a82
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
mov dword [ebp - 0x10], eax
jmp 0x11a47
cmp dword [ebp - 8], 0
jne 0x11a8a
jmp 0x11abc
cmp dword [ebp - 0x1c], 0
jne 0x11a96
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x1c], ecx
cmp dword [ebp - 0x1c], 0
je 0x11aaf
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00011e80
jmp 0x11abc
push 0x13298
call sub.NTOSKRNL.EXE_DbgPrint
add esp, 4
mov esp, ebp
pop ebp
ret 8
Function at 0x11c30
Capabilities:
Allocate or change rwx memory
Map section object

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa4
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x88], 0x18
mov dword [ebp - 0x84], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], 0x40
xor ecx, ecx
mov dword [ebp - 0x78], ecx
mov dword [ebp - 0x74], ecx
push 0x20
push 1
lea edx, [ebp - 0x54]
push edx
lea eax, [ebp - 0x88]
push eax
push 0x100020
lea ecx, [ebp - 0x5c]
push ecx
call dword [sym.imp.ntoskrnl.exe_ZwOpenFile]
mov dword [ebp - 0x80], 0
mov edx, dword [ebp - 0x5c]
push edx
push 0x1000000
push 0x10
push 0
lea eax, [ebp - 0x88]
push eax
push 0xf001f
lea ecx, [ebp - 0x60]
push ecx
call dword [sym.imp.ntoskrnl.exe_ZwCreateSection]
push 4
push 0x100000
push 1
lea edx, [ebp - 0x58]
push edx
push 0
push 0x3e8
push 0
lea eax, [ebp - 0x48]
push eax
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x60]
push ecx
call dword [sym.imp.NTOSKRNL.EXE_ZwMapViewOfSection]
mov edx, dword [ebp - 0x5c]
push edx
call dword [sym.imp.NTOSKRNL.EXE_ZwClose]
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x3c]
mov ecx, dword [ebp - 0x44]
lea edx, [ecx + eax + 0x18]
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x44]
add ecx, dword [eax + 0x60]
mov dword [ebp - 0xa4], ecx
mov edx, dword [ebp - 0xa4]
mov eax, dword [ebp - 0x44]
add eax, dword [edx + 0x1c]
mov dword [ebp - 0xa0], eax
mov ecx, dword [ebp - 0xa4]
mov edx, dword [ebp - 0x44]
add edx, dword [ecx + 0x20]
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp - 0xa4]
mov ecx, dword [ebp - 0x44]
add ecx, dword [eax + 0x24]
mov dword [ebp - 0x6c], ecx
mov edx, dword [ebp - 0xa4]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x90]
push edx
call dword [sym.imp.NTOSKRNL.EXE_RtlInitString]
mov dword [ebp - 0x40], 0
jmp 0x11d72
mov eax, dword [ebp - 0x40]
add eax, 1
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0xa4]
mov edx, dword [ebp - 0x40]
cmp edx, dword [ecx + 0x14]
jae 0x11df6
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x44]
add edx, dword [ecx + eax*4]
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x38]
push eax
lea ecx, [ebp - 0x9c]
push ecx
call dword [sym.imp.NTOSKRNL.EXE_RtlInitString]
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x6c]
movzx ecx, word [eax + edx*2]
mov edx, dword [ebp - 0x68]
lea eax, [ecx + edx - 1]
mov word [ebp - 0x70], ax
movzx ecx, word [ebp - 0x70]
mov edx, dword [ebp - 0xa0]
mov eax, dword [ebp - 0x44]
add eax, dword [edx + ecx*4]
mov dword [ebp - 0x64], eax
push 1
lea ecx, [ebp - 0x90]
push ecx
lea edx, [ebp - 0x9c]
push edx
call dword [sym.imp.ntoskrnl.exe_RtlCompareString]
test eax, eax
jne 0x11df1
mov eax, dword [ebp - 0x60]
push eax
call dword [sym.imp.NTOSKRNL.EXE_ZwClose]
mov eax, dword [ebp - 0x64]
jmp 0x11e02
jmp 0x11d69
mov ecx, dword [ebp - 0x60]
push ecx
call dword [sym.imp.NTOSKRNL.EXE_ZwClose]
xor eax, eax
mov esp, ebp
pop ebp
ret 8
Function at 0x12310
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
call dword [sym.imp.HAL.DLL_KeGetCurrentIrql]
mov byte [ebp - 9], al
movzx eax, byte [ebp - 9]
cmp eax, 2
jge 0x1233a
mov cl, 2
call dword [sym.imp.HAL.DLL_KfRaiseIrql]
mov byte [ebp - 9], al
call fcn.00012960
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 1
je 0x1235c
cmp dword [ebp - 0x10], 2
je 0x12370
cmp dword [ebp - 0x10], 3
je 0x12384
jmp 0x12399
push str.Hiding_the_process__n
call sub.NTOSKRNL.EXE_DbgPrint
add esp, 4
call fcn.000123c0
jmp 0x12399
push str.Hiding_the_process_module__n
call sub.NTOSKRNL.EXE_DbgPrint
add esp, 4
call fcn.00012480
jmp 0x12399
push str.Hide_module_n
call sub.NTOSKRNL.EXE_DbgPrint
add esp, 4
call fcn.00012720
mov dword [ebp - 4], eax
mov edx, dword [ebp - 8]
push edx
call fcn.00012ac0
mov cl, byte [ebp - 9]
call dword [sym.imp.HAL.DLL_KfLowerIrql]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 4

Function at 0x123c0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
call dword [sym.imp.NTOSKRNL.EXE_IoGetCurrentProcess]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x123df
mov eax, 0xc0000001
jmp 0x12471
mov eax, dword [ebp - 0x10]
add eax, 0x88
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0xc]
je 0x1246f
mov ecx, dword [ebp - 4]
sub ecx, 0x88
mov dword [ebp - 8], ecx
push 0xb
push str.notepad.exe
mov edx, dword [ebp - 8]
add edx, 0x174
push edx
call sub.NTOSKRNL.EXE__strnicmp
add esp, 0xc
test eax, eax
jne 0x12465
push 0x1338c
call sub.NTOSKRNL.EXE_DbgPrint
add esp, 4
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov dword [ecx], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
mov dword [eax + 4], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov dword [edx], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov dword [ecx + 4], edx
jmp 0x1246f
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov dword [ebp - 4], ecx
jmp 0x123f2
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x12720
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
call dword [sym.imp.NTOSKRNL.EXE_IoGetCurrentProcess]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x1273c
xor eax, eax
jmp 0x12854
mov eax, dword [ebp - 0x20]
add eax, 0x88
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x10]
je 0x127a0
mov ecx, dword [ebp - 8]
sub ecx, 0x88
mov dword [ebp - 0xc], ecx
push 0xc
push str.dnfchina.exe
mov edx, dword [ebp - 0xc]
add edx, 0x174
push edx
call sub.NTOSKRNL.EXE__strnicmp
add esp, 0xc
test eax, eax
jne 0x1278f
push str.Found_n
call sub.NTOSKRNL.EXE_DbgPrint
add esp, 4
jmp 0x127a0
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], 0
jmp 0x1274f
cmp dword [ebp - 0xc], 0
jne 0x127ba
push str.Not_process_n
call sub.NTOSKRNL.EXE_DbgPrint
add esp, 4
xor eax, eax
jmp 0x12854
mov edx, dword [str.kernel.dat]
mov dword [ebp - 0x1c], edx
mov eax, dword [0x134ac]
mov dword [ebp - 0x18], eax
mov cx, word [0x134b0]
mov word [ebp - 0x14], cx
mov dl, byte [0x134b2]
mov byte [ebp - 0x12], dl
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x11c]
push ecx
lea edx, [ebp - 0x1c]
push edx
call fcn.00012860
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x1280c
push str.Not_module__n
call sub.NTOSKRNL.EXE_DbgPrint
add esp, 4
xor eax, eax
jmp 0x12854
cli
mov eax, cr0
and eax, 0xfffeffff
mov cr0, eax
mov eax, dword [ebp - 4]
movzx ecx, word [eax + 0x30]
push ecx
push 0
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x34]
push eax
call sub.NTOSKRNL.EXE_memset
add esp, 0xc
xor ecx, ecx
mov edx, dword [ebp - 4]
mov word [edx + 0x30], cx
xor eax, eax
mov ecx, dword [ebp - 4]
mov word [ecx + 0x32], ax
mov eax, cr0
or eax, 0x10000
mov cr0, eax
sti
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x15000
Capabilities:
Create device object

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov dword [eax + 0x34], 0x15120
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x38], 0x11480
mov edx, dword [ebp + 8]
mov dword [edx + 0x40], 0x114c0
mov eax, dword [ebp + 8]
mov dword [eax + 0x70], 0x11500
push str.DeviceMyfirstdevice
push 0x14034
call dword [sym.imp.NTOSKRNL.EXE_RtlInitUnicodeString]
push str.DosDevicesmyddk
push 0x1402c
call dword [sym.imp.NTOSKRNL.EXE_RtlInitUnicodeString]
mov ecx, dword [0x14034]
mov dword [ebp - 0x14], ecx
mov edx, dword [0x14038]
mov dword [ebp - 0x10], edx
lea eax, [ebp - 0xc]
push eax
push 1
push 0
push 0x22
lea ecx, [ebp - 0x14]
push ecx
push 0x78
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.NTOSKRNL.EXE_IoCreateDevice]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jge 0x1508b
mov eax, dword [ebp - 8]
jmp 0x1510f
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x1c]
or ecx, 4
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x1c], ecx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x1c]
and ecx, 0xffffff7f
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x1c], ecx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x28]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
mov dword [edx + 0x64], eax
mov ecx, dword [ebp - 4]
mov edx, dword [0x14034]
mov dword [ecx + 0x68], edx
mov eax, dword [0x14038]
mov dword [ecx + 0x6c], eax
push 0x64
push 0xcc
mov ecx, dword [ebp - 4]
push ecx
call sub.NTOSKRNL.EXE_memset
add esp, 0xc
push 0x14034
push 0x1402c
call dword [sym.imp.NTOSKRNL.EXE_IoCreateSymbolicLink]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jge 0x1510d
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.NTOSKRNL.EXE_IoDeleteDevice]
mov eax, dword [ebp - 8]
jmp 0x1510f
xor eax, eax
mov esp, ebp
pop ebp
ret 8

Function at 0x401219
Capabilities:
Terminate process

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40601c
push 0x40109a
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
push eax
fnstcw word [esp]
or word [esp], 0x300
fldcw word [esp]
add esp, 4
push 0
push 0
push 0x406028
push 0x406024
push 0x406020
call sub.CRTDLL.DLL___GetMainArgs
push dword [0x406028]
push dword [0x406024]
push dword [0x406020]
mov dword [0x406014], esp
call fcn.0040129c
add esp, 0x18
xor ecx, ecx
mov dword [ebp - 4], ecx
push eax
call sub.CRTDLL.DLL_exit
leave
ret
Function at 0x401c90
Capabilities:
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x447807
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push ebp
mov ebp, ecx
push esi
push edi
mov dword [esp + 0x18], 0
mov eax, dword [ebp + 0xd0]
lea edi, [ebp + 0xd0]
mov dword [esp + 0x20], edi
mov esi, 0x461468
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x401cf3
test cl, cl
je 0x401cef
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x401cf3
add eax, 2
add esi, 2
test cl, cl
jne 0x401ccb
xor eax, eax
jmp 0x401cf8
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x401d0d
mov esi, dword [esp + 0x48]
push edi
mov ecx, esi
call fcn.0042d0ca
jmp 0x401e15
mov eax, dword [0x45c58c]
mov dword [esp + 0x14], eax
mov edi, 1
mov dword [esp + 0x10], eax
mov dword [esp + 0x40], edi
lea ecx, [esp + 0x24]
mov byte [esp + 0x40], 2
call fcn.0042f349
lea eax, [esp + 0x1c]
mov ecx, ebp
push eax
mov byte [esp + 0x44], 3
call fcn.00401e30
mov eax, dword [eax]
push 0
push 0
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x4c], 4
call fcn.0042f480
test eax, eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x40], 3
sete bl
call fcn.0042d355
test bl, bl
je 0x401d80
push str.CrashReport::Cannot_Open_crash.log.temp_
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea ecx, [esp + 0x10]
push ecx
jmp 0x401ddc
lea edx, [esp + 0x14]
lea ecx, [esp + 0x24]
push edx
call fcn.0042f663
test eax, eax
je 0x401dc0
push 0x45c19c
lea ecx, [esp + 0x18]
call fcn.0042d731
lea eax, [esp + 0x14]
lea ecx, [esp + 0x10]
push eax
call fcn.0042d76d
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x28]
call fcn.0042f663
test eax, eax
jne 0x401d92
lea ecx, [esp + 0x24]
call fcn.0042f7b0
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x10]
push edx
call fcn.0042d48e
lea eax, [esp + 0x10]
push eax
mov esi, dword [esp + 0x4c]
mov ecx, esi
call fcn.0042d0ca
lea ecx, [esp + 0x24]
mov dword [esp + 0x18], edi
mov byte [esp + 0x40], 2
call fcn.0042f43d
lea ecx, [esp + 0x10]
mov byte [esp + 0x40], 1
call fcn.0042d355
lea ecx, [esp + 0x14]
mov byte [esp + 0x40], 0
call fcn.0042d355
mov ecx, dword [esp + 0x38]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x34
ret 4
Function at 0x401f40
Capabilities:
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x447890
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
mov esi, ecx
lea ecx, [esp + 0xc]
call fcn.0042f349
lea eax, [esp + 8]
mov ecx, esi
push eax
mov dword [esp + 0x2c], 0
call fcn.00401eb0
mov eax, dword [eax]
push 0
push 0x3002
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x34], 1
call fcn.0042f480
test eax, eax
lea ecx, [esp + 8]
mov byte [esp + 0x28], 0
sete bl
call fcn.0042d355
pop esi
test bl, bl
pop ebx
je 0x401fd9
push str.CrashReport::Cannot_Open_crash.log_
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea ecx, [esp + 4]
mov dword [esp + 0x20], 0xffffffff
call fcn.0042f43d
xor al, al
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret 4
mov edx, dword [esp + 4]
push 2
push 0
lea ecx, [esp + 0xc]
call dword [edx + 0x28]
mov eax, dword [esp + 0x28]
mov eax, dword [eax]
mov ecx, dword [eax - 8]
push ecx
push eax
lea ecx, [esp + 0xc]
call fcn.0042f5c0
lea ecx, [esp + 4]
call fcn.0042f7b0
lea ecx, [esp + 4]
mov dword [esp + 0x20], 0xffffffff
call fcn.0042f43d
mov ecx, dword [esp + 0x18]
mov al, 1
mov dword fs:[0], ecx
add esp, 0x24
ret 4

Function at 0x404e40
Capabilities:
Send data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x447d88
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push ebp
push esi
push edi
mov eax, dword [esp + 0x54]
push 0x45c388
push eax
call fcn.004118e8
mov esi, eax
xor ebx, ebx
add esp, 8
cmp esi, ebx
je 0x404f38
push 2
push ebx
push esi
call fcn.004117fe
push esi
call fcn.0041167b
push esi
mov ebp, eax
call fcn.00411617
push ebp
call fcn.004114dd
add esp, 0x18
mov edi, eax
cmp edi, ebx
push esi
jne 0x404eae
call fcn.00411460
add esp, 4
jmp 0x404f38
push ebp
push 1
push edi
call fcn.00411349
mov edx, dword [esp + 0x5c]
add esp, 0x10
lea ecx, [esp + 0x14]
mov ebp, eax
push ebx
push ebx
push ebx
push ecx
push edx
mov dword [esp + 0x28], 0x28
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
call dword [sym.imp.WININET.dll_HttpSendRequestExA]
test eax, eax
jne 0x404f02
push esi
jmp 0x404f2a
lea eax, [esp + 0x10]
push eax
push ebp
mov ebp, dword [esp + 0x54]
push edi
push ebp
call dword [sym.imp.WININET.dll_InternetWriteFile]
cmp eax, ebx
jne 0x404f1b
push esi
jmp 0x404f2a
push ebx
push ebx
push ebx
push ebp
call dword [sym.imp.WININET.dll_HttpEndRequestA]
test eax, eax
push esi
jne 0x404f5e
call fcn.00411460
push edi
call fcn.00411260
add esp, 8
lea ecx, [esp + 0x54]
mov dword [esp + 0x44], 0xffffffff
call fcn.0042d355
pop edi
pop esi
pop ebp
xor al, al
pop ebx
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
add esp, 0x38
ret
call fcn.00411460
push edi
call fcn.00411260
add esp, 8
lea ecx, [esp + 0x54]
mov dword [esp + 0x44], 0xffffffff
call fcn.0042d355
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret