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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov ecx, ebx
push edi
mov dword [ebp - 4], ecx
mov edi, ebx
mov eax, dword [esi + 0x6af90]
mov dword [esi + 0x6af80], 2
jmp 0x439848
cmp eax, 3
jb 0x4396b5
mov edx, dword [esi + 0x6af84]
mov eax, dword [esi + 0x6af7c]
shl eax, 5
movzx ecx, byte [edx + esi + 0x1af72]
xor ecx, eax
and ecx, 0x7fff
and edx, 0x7fff
mov dword [esi + 0x6af7c], ecx
mov eax, dword [esi + ecx*4 + 0x4af70]
mov dword [esi + edx*4 + 0x2af70], eax
mov ecx, dword [esi + 0x6af7c]
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x6af84]
mov dword [esi + ecx*4 + 0x4af70], eax
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x4396f2
mov eax, dword [esi + 0x6af84]
sub eax, ecx
cmp eax, 0x7efa
ja 0x4396f2
mov eax, dword [esi + 0x6af90]
cmp dword [esi + 0x6afa0], eax
jbe 0x4396dc
mov dword [esi + 0x6afa0], eax
mov edx, ecx
mov ecx, esi
call fcn.00439333
mov ecx, dword [esi + 0x6af90]
mov edi, eax
cmp edi, ecx
cmova edi, ecx
mov ecx, dword [esi + 0x6af84]
cmp edi, 3
jb 0x4397d2
sub ecx, dword [esi + 0x6af88]
lea eax, [edi - 3]
mov edx, ecx
mov ecx, esi
push eax
call fcn.00438c53
pop ecx
mov ecx, dword [esi + 0x6af90]
sub ecx, edi
mov dword [ebp - 8], eax
mov dword [esi + 0x6af90], ecx
cmp edi, dword [esi + 0x6af98]
ja 0x43979c
cmp ecx, 3
jb 0x43979c
dec edi
inc dword [esi + 0x6af84]
mov edx, dword [esi + 0x6af84]
mov eax, dword [esi + 0x6af7c]
shl eax, 5
movzx ecx, byte [edx + esi + 0x1af72]
and edx, 0x7fff
xor ecx, eax
and ecx, 0x7fff
mov dword [esi + 0x6af7c], ecx
mov eax, dword [esi + ecx*4 + 0x4af70]
mov dword [esi + edx*4 + 0x2af70], eax
mov ecx, dword [esi + 0x6af7c]
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x6af84]
mov dword [esi + ecx*4 + 0x4af70], eax
sub edi, 1
jne 0x439734
inc dword [esi + 0x6af84]
mov edx, dword [esi + 0x6af84]
jmp 0x4397cd
mov edx, dword [esi + 0x6af84]
add edx, edi
mov edi, ebx
mov dword [esi + 0x6af84], edx
movzx ecx, byte [edx + esi + 0x1af70]
mov dword [esi + 0x6af7c], ecx
movzx eax, byte [edx + esi + 0x1af71]
shl ecx, 5
xor eax, ecx
mov dword [esi + 0x6af7c], eax
mov eax, dword [ebp - 8]
jmp 0x4397f7
movzx eax, byte [ecx + esi + 0x1af70]
xor edx, edx
push eax
mov ecx, esi
call fcn.00438c53
dec dword [esi + 0x6af90]
inc dword [esi + 0x6af84]
mov edx, dword [esi + 0x6af84]
pop ecx
test eax, eax
je 0x43982b
mov eax, dword [esi + 0x6af74]
sub edx, eax
test eax, eax
js 0x439810
add eax, 0x1af70
add eax, esi
jmp 0x439812
mov eax, ebx
push ebx
push edx
mov edx, eax
mov ecx, esi
call fcn.00438a5e
mov eax, dword [esi + 0x6af84]
pop ecx
pop ecx
mov dword [esi + 0x6af74], eax
mov eax, dword [esi + 0x6af90]
cmp eax, 0x106
jae 0x439845
mov ecx, esi
call fcn.004394ed
mov eax, dword [esi + 0x6af90]
mov ecx, dword [ebp - 4]
test eax, eax
jne 0x43965e
mov eax, dword [esi + 0x6af74]
mov ecx, dword [esi + 0x6af84]
sub ecx, eax
test eax, eax
js 0x43986a
lea ebx, [esi + 0x1af70]
add ebx, eax
push 1
push ecx
mov edx, ebx
mov ecx, esi
call fcn.00438a5e
pop ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x43a467
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
test edx, edx
jne 0x43a472
xor eax, eax
pop ebp
ret
push esi
mov esi, dword [ebp + 8]
not ecx
cmp esi, 8
jb 0x43a52e
push edi
mov edi, esi
shr edi, 3
movzx eax, byte [edx]
sub esi, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4797a8]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4797a8]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4797a8]
movzx eax, byte [edx + 3]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4797a8]
movzx eax, byte [edx + 4]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4797a8]
movzx eax, byte [edx + 5]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4797a8]
movzx eax, byte [edx + 6]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4797a8]
movzx eax, byte [edx + 7]
add edx, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4797a8]
sub edi, 1
jne 0x43a487
pop edi
test esi, esi
je 0x43a54a
movzx eax, byte [edx]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4797a8]
inc edx
sub esi, 1
jne 0x43a532
not ecx
mov eax, ecx
pop esi
pop ebp
ret

Function at 0x43a551
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
push esi
push edi
mov edi, ecx
movsx eax, dl
mov esi, dword [edi]
xor eax, esi
mov ecx, dword [edi + 8]
movzx eax, al
shr esi, 8
mov eax, dword [eax*4 + 0x4797a8]
xor eax, esi
mov dword [edi], eax
movzx eax, al
add eax, dword [edi + 4]
imul eax, eax, 0x8088405
inc eax
mov dword [edi + 4], eax
shr eax, 0x18
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4797a8]
mov dword [edi + 8], ecx
pop edi
pop esi
ret
Function at 0x43a6ce
Capabilities:
Get file size
Parse pe header
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
push edi
lea eax, [ebp - 0x48]
mov dword [ebp - 0x14], edx
push eax
push ecx
mov dword [ebp - 4], ecx
call dword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
test eax, eax
jne 0x43a6f6
mov eax, 0x200
jmp 0x43a8b2
mov ebx, dword [ebp - 0x48]
mov edi, 0x41000000
mov esi, ebx
mov eax, ebx
and esi, 1
mov ecx, esi
or ecx, 2
and al, 2
mov eax, ebx
cmove ecx, esi
mov edx, ecx
or edx, 4
and al, 4
cmove edx, ecx
mov ecx, ebx
and ecx, 0x10
mov eax, edx
or eax, 0x10
mov dword [ebp - 8], ecx
test ecx, ecx
cmove eax, edx
mov edx, 0x81000000
mov ecx, eax
or ecx, 0x20
and bl, 0x20
cmove ecx, eax
mov eax, dword [ebp - 8]
test eax, eax
cmove edi, edx
or edi, ecx
test esi, esi
jne 0x43a75c
test eax, eax
mov edi, 0x41800000
mov edx, 0x81800000
cmove edi, edx
or edi, ecx
mov ebx, dword [ebp - 4]
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0x28
jbe 0x43a80b
xor eax, eax
push eax
push eax
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [ebp - 0xc]
push eax
push 2
lea eax, [ebp - 4]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
push 0
push 0x24
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [ebp - 0xc]
push eax
push 4
lea eax, [ebp - 8]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, 0x54ad
cmp word [ebp - 4], ax
jne 0x43a80b
mov ecx, dword [ebp - 8]
lea eax, [ecx + 0x34]
cmp esi, eax
jbe 0x43a80b
push 0
push 0
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [ebp - 0xc]
push eax
push 4
lea eax, [ebp - 0x10]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [ebp - 0x10]
cmp eax, 0x5a4d
je 0x43a805
cmp eax, 0x454e
je 0x43a805
cmp eax, 0x454c
je 0x43a805
cmp eax, 0x4550
jne 0x43a80b
or edi, 0x400000
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x43a814
mov dword [eax], edi
mov eax, dword [ebp + 8]
test eax, eax
je 0x43a81d
mov dword [eax], esi
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x43a887
mov ecx, dword [ebp - 0x3c]
mov ebx, 0x19db1de
mov eax, dword [ebp - 0x38]
sub ecx, 0xd53e8000
push 0
mov edi, 0x989680
sbb eax, ebx
push edi
push eax
push ecx
call fcn.00464f00
mov ecx, dword [ebp - 0x34]
mov dword [esi], eax
sub ecx, 0xd53e8000
mov eax, dword [ebp - 0x30]
push 0
push edi
sbb eax, ebx
mov dword [esi + 4], edx
push eax
push ecx
call fcn.00464f00
mov ecx, dword [ebp - 0x44]
mov dword [esi + 8], eax
sub ecx, 0xd53e8000
mov eax, dword [ebp - 0x40]
push 0
push edi
sbb eax, ebx
mov dword [esi + 0xc], edx
push eax
push ecx
call fcn.00464f00
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], edx
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x43a8b0
push dword [ebp - 0x30]
lea edx, [ebp - 8]
push dword [ebp - 0x34]
lea ecx, [ebp - 4]
call fcn.0043a671
movzx eax, word [ebp - 8]
pop ecx
pop ecx
movzx ecx, word [ebp - 4]
shl ecx, 0x10
or ecx, eax
mov dword [esi], ecx
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x43a97f
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 0xc]
cmp byte [esi + 0x2d], 0
je 0x43a9f4
mov ecx, dword [esi + 0x3c]
mov eax, ecx
test ecx, ecx
je 0x43a9ae
cmp dword [esi + 0x40], edi
jae 0x43a9ae
push ecx
call fcn.0043d636
and dword [esi + 0x3c], 0
xor eax, eax
pop ecx
test eax, eax
jne 0x43a9c2
lea eax, [edi + edi]
push eax
call fcn.0043da0b
pop ecx
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], edi
push edi
push ebx
push eax
call fcn.0043efb0
add esp, 0xc
xor ebx, ebx
test edi, edi
je 0x43a9f1
lea ecx, [esi + 0x30]
mov eax, dword [esi + 0x3c]
mov dl, byte [ebx + eax]
call fcn.0043a598
mov cl, al
mov eax, dword [esi + 0x3c]
mov byte [ebx + eax], cl
inc ebx
lea ecx, [esi + 0x30]
cmp ebx, edi
jb 0x43a9d6
mov ebx, dword [esi + 0x3c]
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x43aa23
mov edx, dword [esi + 0x24]
lea eax, [edx + edi]
cmp eax, dword [esi + 0x28]
jb 0x43aa0f
mov dword [esi + 0x14], 0x30000
jmp 0x43aa45
push edi
add ecx, edx
push ebx
push ecx
call fcn.0043efb0
add esp, 0xc
mov eax, edi
add dword [esi + 0x24], edi
jmp 0x43aa47
mov eax, dword [esi + 4]
test eax, eax
je 0x43aa3e
push 0
lea ecx, [ebp + 8]
push ecx
push edi
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp + 8]
jmp 0x43aa47
mov dword [esi + 0x14], 0x1000000
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x43adcd
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 0x84]
test ecx, ecx
je 0x43ae23
mov eax, dword [edi + 0x8c]
mov esi, dword [edi + 0x88]
cmp eax, esi
jae 0x43ae5e
sub esi, eax
cmp esi, dword [ebp + 0xc]
cmova esi, dword [ebp + 0xc]
add eax, ecx
push esi
push eax
push dword [ebp + 8]
call fcn.0043efb0
mov edx, dword [ebp + 8]
mov ecx, dword [edi + 0x78]
add dword [edi + 0x8c], esi
add dword [edi + 0x74], esi
push esi
call fcn.0043a467
add esp, 0x10
mov dword [edi + 0x78], eax
mov eax, esi
jmp 0x43ae60
cmp dword [edi + 0x7c], 0
je 0x43ae57
push 0
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [edi + 0x7c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x43ae5e
mov esi, dword [ebp - 4]
mov edx, dword [ebp + 8]
mov ecx, dword [edi + 0x78]
add dword [edi + 0x74], esi
push esi
call fcn.0043a467
pop ecx
jmp 0x43ae1c
mov dword [edi + 0x14], 0x1000000
xor eax, eax
pop edi
pop esi
leave
ret 8
Function at 0x4561b2
Capabilities:
Read file on windows

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

Function at 0x458f76
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00458ac9

Function at 0x45a1a5
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0045a127
Function at 0x5196e0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xbc000]
mov dword [edi + 0xcf740], 0x6de0122b
push edi
jmp 0x51970a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x519711
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x519700
mov eax, 1
add ebx, ebx
jne 0x519723
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x519734
jne 0x519753
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x519753
dec eax
add ebx, ebx
jne 0x519740
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x519718
add ebx, ebx
jne 0x51974f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x5197a5
xor ecx, ecx
sub eax, 3
jb 0x51976b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x5197da
sar eax, 1
mov ebp, eax
jmp 0x519776
add ebx, ebx
jne 0x519776
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x519744
inc ecx
add ebx, ebx
jne 0x519784
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x519744
add ebx, ebx
jne 0x519791
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x519786
jne 0x5197a2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x519786
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x5197c4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x5197b6
jmp 0x519706
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x5197c4
add edi, ecx
jmp 0x519706
pop esi
mov edi, esi
mov ecx, 0x40f0
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x5197e2
cmp byte [edi], 0x11
jne 0x5197e2
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 0x5197e7
lea edi, [esi + 0x112000]
mov eax, dword [edi]
or eax, eax
je 0x51985f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x14da10]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x14db8c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x519814
mov ecx, edi
jns 0x519843
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x14db90]
or eax, eax
je 0x519859
mov dword [ebx], eax
add ebx, 4
jmp 0x519831
call dword [esi + 0x14dba0]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x519890
cmp al, 0xef
ja 0x519883
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x519865
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x519872
mov ebp, dword [esi + 0x14db94]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x23f]
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 0x5198c4
sub esp, 0xffffff80
jmp 0x420577
Function at 0x4015f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push edi
push esi
sub esp, 0x9c
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0xb4]
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0xb0]
mov dword [esp + 0x28], ecx
mov edx, dword [esp + 0xac]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
lea eax, [0x4852a0]
mov dword [esp + 0x38], eax
lea eax, [0x4852a4]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x30], eax
mov dword [esp + 0x7c], eax
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x80], ecx
mov eax, dword [eax]
cmp eax, dword [ecx]
je 0x401681
mov eax, dword [esp + 0x24]
mov ecx, 2
mul ecx
mov dword [esp + 0x18], eax
seto al
test al, 1
jne 0x401722
jmp 0x4016b8
mov edx, dword [esp + 0x30]
mov esi, dword [esp + 0x34]
mov byte [esp + 0x43], 1
mov dword [esp + 0x44], 0
movzx ecx, byte [esp + 0x43]
mov eax, esp
lea edi, [esp + 0x44]
mov dword [eax + 0xc], edi
mov dword [eax + 8], esi
mov dword [eax + 4], edx
mov dword [eax], ecx
mov dword [eax + 0x10], 0x485328
call fcn.00467140
mov eax, dword [esp + 0x18]
mov dword [esp + 0x84], eax
mov dword [esp + 0x8c], 0
xor eax, eax
mov dword [esp], 0
call fcn.00401020
mov edx, dword [esp + 0x2c]
mov ecx, eax
mov eax, dword [esp + 0x18]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0x1000
mov dword [esp + 0x10], 4
call sub.KERNEL32.dll_VirtualAllocEx
sub esp, 0x14
mov dword [esp + 0x14], eax
mov dword [esp + 0x88], eax
mov dword [esp], eax
call fcn.004030d0
test al, 1
jne 0x401790
jmp 0x40172f
mov eax, esp
mov dword [eax], str.src_injection.rs
call fcn.004696c0
mov ecx, dword [esp + 0x28]
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x2c]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], eax
mov dword [esp + 0x90], 0
xor eax, eax
mov dword [esp], 0
call fcn.00419ec0
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x18]
mov dword [esp], edi
mov dword [esp + 4], esi
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
call sub.KERNEL32.dll_WriteProcessMemory
sub esp, 0x14
cmp eax, 0
je 0x4017c8
jmp 0x401800
lea ecx, [esp + 0x5c]
lea eax, [0x4852f7]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x30
call fcn.00401400
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x5c]
mov dword [eax], ecx
mov ecx, dword [esp + 0x60]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x64]
mov dword [eax + 8], ecx
jmp 0x401811
lea ecx, [esp + 0x68]
lea eax, str.Failed_to_write_into_the_target_process_memory.Failed_to_allocate_memory_in_the_target_process.
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x2f
call fcn.00401400
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x68]
mov dword [eax], ecx
mov ecx, dword [esp + 0x6c]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x70]
mov dword [eax + 8], ecx
jmp 0x401811
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov dword [eax + 4], ecx
mov dword [eax], 0x80000000
mov eax, dword [esp + 0x20]
add esp, 0x9c
pop esi
pop edi
ret
Function at 0x409fc0
Capabilities:
Write file on windows

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x5c
mov eax, dword [esp + 0x90]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x3c], eax
mov esi, dword [esp + 0x84]
mov edi, dword [esp + 0x80]
mov ebx, dword [esp + 0x7c]
mov ebp, dword [esp + 0x78]
mov eax, dword [esp + 0x74]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x70]
lea eax, [esp + 0x70]
mov dword [esp], eax
call fcn.00424270
mov ecx, eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x58], esi
mov dword [esp], eax
call fcn.0041a350
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edx
mov dword [esp + 0x50], 0
xor eax, eax
mov dword [esp], 0
call fcn.00419cd0
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.0041c660
mov ecx, eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x40], ecx
mov dword [esp], eax
call fcn.0041aac0
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], edx
mov dword [esp + 0x54], 0
xor eax, eax
mov dword [esp], 0
call fcn.00419d60
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.0041c600
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x44]
mov dword [esp], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 8], ebp
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], eax
call dword [sym.imp.ntdll.dll_NtWriteFile]
add esp, 0x38
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x411950
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x40
mov esi, esp
mov dword [esi + 0xc], ebp
mov ecx, dword [ebp + 8]
mov eax, esp
mov dword [esi + 0x2c], eax
mov dword [esi + 0x38], 0xffffffff
lea eax, [esi + 0x30]
mov dword [esi + 0x34], 0x413360
mov edx, dword fs:[0]
mov dword [esi + 0x30], edx
mov dword fs:[0], eax
mov eax, esp
mov dword [eax], ecx
call fcn.00441ba0
mov dword [esi + 0x24], edx
mov dword [esi + 0x20], eax
movsd xmm0, qword [esi + 0x20]
movsd qword [esi + 0x18], xmm0
mov ecx, dword [esi + 0x18]
mov edx, dword [esi + 0x1c]
mov eax, esp
mov dword [eax + 4], edx
mov dword [eax], ecx
call fcn.0040c260
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], edx
mov dword [esi + 0x38], 0
call fcn.0041d0a0
jmp 0x4119c9
mov eax, dword [esi + 0x10]
mov edx, dword [esi + 0x14]
mov ecx, dword [esi + 0x30]
mov dword fs:[0], ecx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x418960
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x88
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x90]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], eax
lea eax, [esp + 0x28]
xor ecx, ecx
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 8
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0042dbf0
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.00473670
lea ecx, [esp + 0x50]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], 8
call fcn.00433970
lea ecx, [esp + 0x40]
lea eax, [esp + 0x50]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0041df00
lea ecx, [esp + 0x30]
lea eax, [esp + 0x40]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00434070
mov eax, dword [esp + 0x30]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x68], eax
lea eax, [esp + 0x5c]
mov dword [esp], eax
call fcn.00432e70
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], edx
mov edx, dword [esp + 0x70]
mov eax, 1
xor ecx, ecx
cmp edx, 0
cmove eax, ecx
cmp eax, 0
jne 0x418a7b
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x28]
mov dword [ecx], edx
mov edx, dword [esp + 0x2c]
mov dword [ecx + 4], edx
add esp, 0x88
ret
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x10], eax
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x70]
mov al, byte [eax]
mov byte [esp + 0x17], al
mov byte [esp + 0x87], al
cmp al, 0x2f
jne 0x418aa6
mov byte [esp + 0x77], 0x5c
jmp 0x418aae
mov al, byte [esp + 0x17]
mov byte [esp + 0x77], al
mov eax, dword [esp + 0x10]
cmp eax, 8
setb al
test al, 1
jne 0x418abe
jmp 0x418acf
mov eax, dword [esp + 0x10]
mov cl, byte [esp + 0x77]
mov byte [esp + eax + 0x28], cl
jmp 0x418a35
mov ecx, dword [esp + 0x10]
mov eax, esp
mov dword [eax], ecx
mov dword [eax + 8], 0x487448
mov dword [eax + 4], 8
call fcn.00467040
int3