joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100085b0
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x10008774
pushal
mov esi, section.UPX1
lea edi, [esi - 0x7000]
push edi
or ebp, 0xffffffff
jmp 0x100085da
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x100085e1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x100085d0
mov eax, 1
add ebx, ebx
jne 0x100085f3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x100085e8
jne 0x10008604
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x100085e8
xor ecx, ecx
sub eax, 3
jb 0x10008618
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x1000868a
mov ebp, eax
add ebx, ebx
jne 0x10008623
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x10008630
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x10008654
inc ecx
add ebx, ebx
jne 0x10008640
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x10008635
jne 0x10008651
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x10008635
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x10008674
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x10008665
jmp 0x100085d6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x10008674
add edi, ecx
jmp 0x100085d6
pop esi
mov edi, esi
mov ecx, 3
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x10008692
cmp byte [edi], 0
jne 0x10008692
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 0x10008697
lea edi, [esi + 0x6000]
mov eax, dword [edi]
or eax, eax
je 0x10008706
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x80d8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8100]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x100086c4
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x8104]
or eax, eax
je 0x10008700
mov dword [ebx], eax
add ebx, 4
jmp 0x100086e1
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x10008737
cmp al, 0xef
ja 0x1000872a
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x1000870c
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x10008719
mov ebp, dword [esi + 0x8108]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ef]
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 0x1000876b
sub esp, 0xffffff80
jmp 0x10001170
Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
call 0x43300c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
jl 0x433030
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219

Function at 0x407f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
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 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
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 + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
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 0x40810b
sub esp, 0xffffff80
jmp 0x402130
Function at 0x414b70
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section..pdata
lea edi, [esi - 0x10000]
push edi
jmp 0x414b8a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x414b91
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x414b80
mov eax, 1
add ebx, ebx
jne 0x414ba3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x414b98
jne 0x414bb4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x414b98
xor ecx, ecx
sub eax, 3
jb 0x414bc8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x414c3a
mov ebp, eax
add ebx, ebx
jne 0x414bd3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x414be0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x414c04
inc ecx
add ebx, ebx
jne 0x414bf0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x414be5
jne 0x414c01
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x414be5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x414c24
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x414c15
jmp 0x414b86
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x414c24
add edi, ecx
jmp 0x414b86
pop esi
mov edi, esi
mov ecx, 4
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x414c42
cmp byte [edi], 5
jne 0x414c42
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 0x414c47
lea edi, [esi + 0x12000]
mov eax, dword [edi]
or eax, eax
je 0x414cbf
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x19be8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x19c24]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x414c74
mov ecx, edi
jns 0x414ca3
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 + 0x19c2c]
or eax, eax
je 0x414cb9
mov dword [ebx], eax
add ebx, 4
jmp 0x414c91
call dword [esi + 0x19c28]
mov ebp, dword [esi + 0x19c30]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1d7]
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 0x414cf3
sub esp, 0xffffff80
jmp 0x401150
Function at 0x401350
Capabilities:
Copy file
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
mov dword [0x458a6c], eax
push 0
mov ecx, dword [ebp + 8]
push ecx
push 0
push 0
push 0
push 0x80000000
push 0
push 0x80000000
push 0xcf0000
push 0x458a08
push 0x4589a4
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x401398
xor eax, eax
jmp 0x4013c1
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x40164d
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
cmp dword [ebp + 8], 0xb0
jae 0x4016eb
mov eax, dword [ebp + 8]
mov dword [ebp - 0x118], eax
mov ecx, dword [ebp - 0x118]
add ecx, 1
mov dword [ebp - 0x118], ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x118]
push eax
call fcn.0040164d
add esp, 8
mov eax, dword [ebp + 8]
xor edx, edx
mov ecx, 3
div ecx
test edx, edx
jne 0x4016a7
mov byte [ebp - 0x114], 0
jmp 0x4016e9
mov eax, dword [ebp + 8]
xor edx, edx
mov ecx, 4
div ecx
test edx, edx
jne 0x4016cb
lea edx, [ebp - 0x104]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
jmp 0x4016e9
mov eax, dword [ebp + 8]
xor edx, edx
mov ecx, 0xd
div ecx
test edx, edx
jne 0x4016e9
mov byte [ebp - 0x112], 0x4d
mov byte [ebp - 0x111], 0
jmp 0x4016f4
mov edx, dword [ebp + 0xc]
mov dword [edx], 1
mov eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret
Function at 0x4041dc
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 8], 0x64
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov edx, dword [0x453a20]
mov dword [ecx + 0x108], edx
mov eax, dword [ebp - 4]
mov ecx, dword [0x453a2c]
mov dword [eax + 0x100], ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov edx, dword [ebp - 4]
mov dword [edx + 0x120], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x120], 0
je 0x404254
mov ecx, dword [ebp - 8]
add ecx, 0x7c
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 4]
mov dword [edx + 0x224], 0x453a34
mov eax, dword [ebp - 4]
mov ecx, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [eax + 0x238], ecx
jmp 0x4042f5
mov edx, dword [str.dslini.xm]
mov dword [ebp - 0x1c], edx
mov eax, dword [0x4580c0]
mov dword [ebp - 0x18], eax
mov cx, word [0x4580c4]
mov word [ebp - 0x14], cx
push 0
push 0
push 4
push 0
push 0
push 1
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4042f5
push 4
push 0x1000
push 0x1f4
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4042e4
push 0
lea eax, [ebp - 8]
push eax
push 4
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [ebp - 8], 4
jne 0x4042e4
push 0
lea eax, [ebp - 8]
push eax
push 4
mov ecx, dword [ebp - 4]
add ecx, 0x910
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push 0x8000
push 0
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x120]
mov dword [ecx + 0x10c], eax
mov ecx, dword [ebp - 4]
mov edx, dword [0x453a24]
mov dword [ecx + 0x104], edx
mov eax, dword [ebp - 4]
mov ecx, dword [0x453a28]
mov dword [eax + 0xfc], ecx
mov edx, dword [ebp - 4]
mov dword [edx + 0x208], 0x42f030
mov eax, dword [ebp - 4]
push eax
call fcn.00405786
xor eax, eax
mov esp, ebp
pop ebp
ret 8
Function at 0x404764
Capabilities:
Copy file
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x874
mov dword [ebp - 4], 1
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
push 1
push 0xd
call fcn.004043ba
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 4], 0
jne 0x4047c7
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov dword [ebp - 0x10], eax
push 0xe6
push 0xb4
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x10]
push edx
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
cmp dword [ebp - 4], 0
je 0x4047da
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
mov dword [ebp - 0x18], eax
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp - 4], 0
je 0x4047fa
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.USER32.dll_IsWindowVisible]
mov eax, dword [ebp - 8]
jmp 0x404944
mov dword [ebp - 0x86c], 0
mov edx, dword [str.applset.txt]
mov dword [ebp - 0x864], edx
mov eax, dword [0x4580cc]
mov dword [ebp - 0x860], eax
mov ecx, dword [0x4580d0]
mov dword [ebp - 0x85c], ecx
mov edx, dword [str.vlgbl]
mov dword [ebp - 0x858], edx
mov ax, word [0x4580d8]
mov word [ebp - 0x854], ax
push 0
push 0x80
push 4
push 0
push 1
push 4
lea ecx, [ebp - 0x858]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x20], eax
push 0
lea edx, [ebp - 0x858]
push edx
lea eax, [ebp - 0x864]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
cmp dword [ebp - 0x20], 0xffffffff
jne 0x404882
xor eax, eax
jmp 0x404944
cmp dword [ebp - 0x86c], 0xffffffff
jne 0x4048be
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
push str.setini.xml
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x86c], eax
cmp dword [ebp - 0x86c], 0xffffffff
jne 0x4048be
xor eax, eax
jmp 0x404944
push 0
lea ecx, [ebp - 0x874]
push ecx
push 0x830
lea edx, [ebp - 0x850]
push edx
mov eax, dword [ebp - 0x86c]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x40491b
push 2
push 0
push 0
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 0x870], eax
push 0
lea edx, [ebp - 0x868]
push edx
mov eax, dword [ebp - 0x874]
push eax
lea ecx, [ebp - 0x850]
push ecx
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [ebp - 0x874], 0x830
je 0x404882
mov eax, dword [ebp - 0x86c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x42bbbd
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x458200
cmp edx, dword [eax]
je 0x42bbdf
add eax, 8
inc ecx
cmp eax, 0x458290
jl 0x42bbd0
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x458200]
jne 0x42bd0d
mov eax, dword [0x458a78]
cmp eax, 1
je 0x42bce7
test eax, eax
jne 0x42bc10
cmp dword [0x458154], 1
je 0x42bce7
cmp edx, 0xfc
je 0x42bd0d
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x42bc47
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0042c980
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0042aec0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x42bc8a
lea eax, [ebp - 0x1a4]
push eax
call fcn.0042aec0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x42e4a0
push edi
call fcn.0042cb70
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0042c980
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0042c990
lea eax, [ebp - 0xa0]
push 0x42e480
push eax
call fcn.0042c990
push dword [esi + 0x458204]
lea eax, [ebp - 0xa0]
push eax
call fcn.0042c990
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0042cae4
add esp, 0x2c
pop edi
jmp 0x42bd0d
lea eax, [ebp + 8]
lea esi, [esi + 0x458204]
push 0
push eax
push dword [esi]
call fcn.0042aec0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x401b18
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor eax, eax
lea edi, [ebp - 0x34]
mov dword [ebp - 0x74], 0xf3
mov dword [ebp - 0x70], 0x26
mov dword [ebp - 0x6c], 0x81
mov dword [ebp - 0x68], 0xc4
mov dword [ebp - 0x64], 0x39
mov dword [ebp - 0x60], 0x86
mov dword [ebp - 0x5c], 0xdb
mov dword [ebp - 0x58], 0x92
mov dword [ebp - 0x54], 0x71
mov dword [ebp - 0x50], 0xa3
mov dword [ebp - 0x4c], 0xb9
mov dword [ebp - 0x48], 0xe6
mov dword [ebp - 0x44], 0x53
mov dword [ebp - 0x40], 0x7a
mov dword [ebp - 0x3c], 0x95
mov dword [ebp - 0x38], 0x7c
stosd dword es:[edi], eax
mov edi, ebx
or ecx, 0xffffffff
xor esi, esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x401be4
mov cl, byte [ebx + esi]
sub cl, 0x30
cmp cl, 9
jle 0x401bb6
add cl, 0xf9
mov al, byte [ebx + esi + 1]
sub al, 0x30
cmp al, 9
jle 0x401bc2
add al, 0xf9
shl cl, 4
add cl, al
mov eax, esi
cdq
sub eax, edx
mov edi, ebx
sar eax, 1
inc esi
mov byte [ebp + eax - 0x30], cl
or ecx, 0xffffffff
xor eax, eax
inc esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp esi, ecx
jb 0x401ba8
mov eax, esi
xor ecx, ecx
cdq
sub eax, edx
sar eax, 1
and byte [ebp + eax - 0x30], 0
test eax, eax
jle 0x401c0b
lea esi, [ebp - 0x74]
mov dl, byte [ebp + ecx - 0x30]
xor dl, byte [esi]
inc ecx
add esi, 4
cmp ecx, eax
mov byte [ebp + ecx - 0x15], dl
jl 0x401bf9
and byte [ebp + eax - 0x14], 0
pop edi
pop esi
lea eax, [ebp - 0x14]
pop ebx
leave
ret
Function at 0x40196c
Capabilities:
Get common file path

Disassembly:
push ebx
xor eax, eax
push eax
push eax
push eax
push eax
push eax
push eax
call fcn.0040e600
mov eax, 0x4170fb
mov dword [0x41808c], eax
mov dword [esp], 0
jmp 0x40198d
mov eax, 3
cmp eax, dword [esp]
jl 0x4019fb
mov eax, dword [0x41808c]
movsx eax, byte [eax]
mov dword [esp + 4], eax
inc dword [0x41808c]
push edx
call fcn.0040e4c0
pop edx
push eax
push edx
call fcn.0040e4c0
pop edx
push eax
mov ebx, dword [esp + 0xc]
imul ebx, ebx, 0xffffffff
push ebx
call fcn.00405d60
lea eax, [esp + 0xc]
push eax
call fcn.0040e500
mov edx, dword [esp + 0xc]
push edx
call fcn.0040e4c0
pop edx
push eax
push edx
call fcn.0040e660
mov edx, dword [esp + 0xc]
push edx
call fcn.0040e660
lea eax, [esp + 0x10]
push eax
call fcn.0040e500
inc dword [esp]
jno 0x40198d
push 0x400
call fcn.0040a1c0
mov dword [esp + 0x10], eax
push edx
call fcn.0040e4c0
pop edx
push eax
push edx
call fcn.0040e4c0
pop edx
push eax
call fcn.0040ad76
lea eax, [esp + 0x18]
push eax
call fcn.0040e500
push dword [esp + 0x10]
push 0
mov eax, 0x417020
push eax
push dword [esp + 0x20]
call sub.KERNEL32.dll_GetTempFileNameW
push edx
call fcn.0040e4c0
pop edx
push eax
push edx
call fcn.0040e4c0
pop edx
push eax
push dword [esp + 0x18]
call fcn.0040a1e0
lea eax, [0x4180d0]
push eax
call fcn.0040e500
push dword [0x4180d0]
call fcn.0040ae07
push dword [0x4180d0]
call fcn.0040ace5
push dword [esp + 0x10]
push 0
mov eax, 0x417020
push eax
push dword [0x4180d0]
call sub.KERNEL32.dll_GetTempFileNameW
push edx
call fcn.0040e4c0
pop edx
push eax
push edx
call fcn.0040e4c0
pop edx
push eax
push dword [esp + 0x18]
call fcn.0040a1e0
lea eax, [0x418084]
push eax
call fcn.0040e500
push dword [0x418084]
call fcn.0040ae07
push dword [0x418084]
call fcn.0040ace5
push dword [esp + 0x10]
push 0
mov eax, 0x417020
push eax
push dword [0x418084]
call sub.KERNEL32.dll_GetTempFileNameW
push dword [0x418084]
call sub.SHLWAPI.DLL_PathAddBackslashW
push edx
call fcn.0040e4c0
pop edx
push eax
push edx
call fcn.0040e4c0
pop edx
push eax
push dword [esp + 0x18]
call fcn.0040a1e0
lea eax, [0x418098]
push eax
call fcn.0040e500
push dword [0x418098]
call fcn.0040ae07
push dword [esp + 0xc]
push dword [0x418098]
call sub.SHLWAPI.DLL_PathRenameExtensionW
push dword [esp + 0x10]
push 0
mov eax, 0x417020
push eax
push dword [0x418084]
call sub.KERNEL32.dll_GetTempFileNameW
push edx
call fcn.0040e4c0
pop edx
push eax
push edx
call fcn.0040e4c0
pop edx
push eax
push dword [esp + 0x18]
call fcn.0040a1e0
lea eax, [0x4180c8]
push eax
call fcn.0040e500
push dword [esp + 0x10]
call fcn.0040a1a0
jmp 0x401b80
push dword [esp + 0x14]
call fcn.0040e590
push dword [esp + 8]
call fcn.0040e590
push dword [esp + 0xc]
call fcn.0040e590
add esp, 0x18
pop ebx
ret
Function at 0x401fba
Capabilities:
Delete directory

Disassembly:
push ebx
xor eax, eax
push eax
call fcn.0040e600
mov ebx, dword [esp]
cmp ebx, 1
jne 0x401fe5
push dword [0x418070]
call fcn.004053c1
and eax, eax
je 0x401fe5
push dword [0x418070]
call fcn.00405430
push dword [0x4180c8]
call fcn.0040ae07
push dword [0x4180b8]
call fcn.0040ae07
call fcn.0040347d
push dword [0x418098]
call fcn.0040ae07
push dword [0x418084]
call sub.KERNEL32.dll_RemoveDirectoryW
push dword [0x4180d0]
call sub.KERNEL32.dll_RemoveDirectoryW
push dword [esp + 0xc]
jmp 0x4011b6

Function at 0x40249d
Capabilities:
Accept command line arguments

Disassembly:
push ebx
mov edx, 9
sub esp, 4
mov dword [esp], 0
dec edx
jne 0x4024a3
call fcn.0040e600
push dword [esp + 0x2c]
call fcn.004051a0
mov eax, 0x4170c4
mov dword [0x41808c], eax
mov dword [esp], 0
jmp 0x4024d1
mov eax, 6
cmp eax, dword [esp]
jl 0x40253f
mov eax, dword [0x41808c]
movsx eax, byte [eax]
mov dword [esp + 4], eax
inc dword [0x41808c]
push edx
call fcn.0040e4c0
pop edx
push eax
push edx
call fcn.0040e4c0
pop edx
push eax
mov ebx, dword [esp + 0xc]
imul ebx, ebx, 0xffffffff
push ebx
call fcn.00405d60
lea eax, [esp + 0xc]
push eax
call fcn.0040e500
mov edx, dword [esp + 0xc]
push edx
call fcn.0040e4c0
pop edx
push eax
push edx
call fcn.0040e660
mov edx, dword [esp + 0xc]
push edx
call fcn.0040e660
lea eax, [esp + 0x10]
push eax
call fcn.0040e500
inc dword [esp]
jno 0x4024d1
push edx
call fcn.0040e4c0
pop edx
push eax
push edx
call fcn.0040e4c0
pop edx
push eax
call sub.KERNEL32.dll_GetCommandLineW
push eax
call fcn.0040a1e0
lea eax, [esp + 0x14]
push eax
call fcn.0040e500
mov edx, dword [esp + 0x10]
push edx
call fcn.0040e4c0
pop edx
push eax
push edx
call fcn.0040e660
lea eax, [esp + 0x18]
push eax
call fcn.0040e500
mov eax, dword [esp + 0x14]
push eax
call sub.SHLWAPI.DLL_PathRemoveArgsW
mov dword [esp + 0x18], eax
push dword [esp + 0x14]
call fcn.00405d80
mov dword [esp + 0x1c], eax
mov ebx, dword [esp + 0x1c]
and ebx, ebx
jle 0x4025fd
push edx
call fcn.0040e4c0
pop edx
push eax
mov edx, 0x417026
push edx
call fcn.0040e660
push edx
call fcn.0040e4c0
pop edx
push eax
push edx
call fcn.0040e4c0
pop edx
push eax
push edx
call fcn.0040e4c0
pop edx
push eax
push edx
call fcn.0040e4c0
pop edx
push eax
mov ebx, dword [esp + 0x30]
inc ebx
push ebx
push dword [esp + 0x28]
call fcn.004060b0
call fcn.00405182
add dword [esp], edx
call fcn.00406000
pop eax
lea eax, [esp + 0x24]
push eax
call fcn.0040e500
push dword [esp + 0x20]
push dword [esp + 0x10]
call fcn.00409945
mov edx, dword [esp + 0x20]
push edx
call fcn.0040e4c0
pop edx
push eax
push edx
call fcn.0040e660
pop eax
push eax
call fcn.00405170
pop edx
add eax, edx
jmp 0x402632
push dword [esp + 0x14]
call fcn.0040e590
push dword [esp + 8]
call fcn.0040e590
push dword [esp + 0x10]
call fcn.0040e590
push dword [esp + 0xc]
call fcn.0040e590
push dword [esp + 0x20]
call fcn.0040e590
add esp, 0x24
pop ebx
ret