joyce8/EMBER2024-capa huggingface dataset:
Function at 0x51801b
Capabilities:
Execute anti-debugging instructions

Disassembly:
lea edi, [edx*4]
xchg ch, cl
bsr bp, bp
jmp 0x518061
btc edi, esp
xchg cl, ch
cmc
lea edi, [edx*4]
mov edi, dword [esp + 0x52]
mov ch, 0xde
jmp 0x5180b7
mov ebp, dword [esp + 0x42]
neg cl
inc ch
lea edi, [ebx*4]
mov cx, 0x5dfb
bswap ecx
jmp 0x518043
mov word [esp + 0xd], dx
lea esp, [esp + 3]
mov ecx, dword [esp + 0x78]
jmp 0x518199
mov ch, 0x1e
rol cl, 3
sub esp, 0x16
bswap ecx
push word [esp + 7]
add esp, 1
jmp 0x518078
bsf cx, si
lea ecx, [edx + edi]
bswap ecx
xor cx, 0x733c
sub esp, 0
inc cl
jmp 0x51808e
pop word [esp + 0x1b]
mov ebx, 0x4fad3400
push dword [esp + 0x12]
lea edx, [esi + 0x3d]
mov bl, 0x90
cpuid
jmp 0x518176
mov ecx, eax
cpuid
mov eax, esi
mov al, ah
pushal
push dword [esp + 0x14]
jmp 0x518137
push esp
rdtsc
setg ah
cpuid
mov ecx, 0xb7d487e4
pop esi
jmp 0x5181d3
lea esp, [esp + 0x80]
popfd
push 0x568693d5
add dword [esp], reloc.MSVCRT.dll_strncpy
pushal
jmp 0x518157
mov si, word [esp + 8]
setne ch
mov ebx, 0x5ccc9dca
mov dx, 0x6f07
setns bh
mov word [esp + 0x20], sp
jmp 0x518245
mov ebx, ecx
pop word [esp + 0xd]
xchg byte [esp + 9], al
setp bh
mov dh, byte [esp + 0x13]
mov bh, byte [esp + 0x1f]
jmp 0x5181b0
xchg byte [esp + 2], cl
xchg ecx, eax
push word [esp + 3]
pop eax
xchg dword [esp], edi
mov dword [esp + 5], ecx
jmp 0x518547
push dword [esp + 2]
mov bl, bh
xchg di, bp
xchg edx, eax
xchg dword [esp + 8], edx
rdtsc
jmp 0x51820e
cpuid
popal
push word [esp + 3]
xchg di, cx
push dword [esp]
mov word [esp + 6], sp
jmp 0x518226
mov ebx, ebp
setnp bh
lea esp, [esp + 5]
mov dh, byte [esp + 2]
setl ah
xchg byte [esp], cl
call fcn.0051829c
push edx
xchg byte [esp + 1], al
bswap edx
pop word [esp + 1]
not dh
mov ecx, dword [esp + 5]
jmp 0x51831a
mov di, word [esp]
lea esp, [esp + 2]
lea esp, [esp + 4]
popal
call 0x518346
wait
push cs
pushfd
sti
push ss
mov edi, 0x1091661f
pop esi
mov si, 0x5f3
not bh
mov dx, word [esp]
call fcn.00518314
call fcn.005183da
mov edx, dword [edi]
xchg edx, esp
adc dword [ecx + reloc.MSVCRT.dll_strncpy], esp
mov byte [ecx], ah
movsd dword es:[edi], dword [esi]
aam 0x47
out dx, al
stc
mov cx, 0x3ee9
lea ebp, reloc.MSVCRT.dll_strncpy
mov ah, byte [esp + 1]
setno ch
xchg byte [esp], al
mov dx, di
jmp 0x518336
mov dh, byte [esp + 0xb]
xchg edx, edi
bswap ebp
pop dword [esp]
xchg dword [esp], esi
mov dx, di
jmp 0x5182e3
Function at 0x518b37
Capabilities:
Execute anti-debugging instructions

Disassembly:
sub esp, 0xe
stc
pop word [esp + 3]
mov word [esp + 4], di
lea esp, [esp + 7]
jmp 0x518af5
lea esp, [esp + 2]
lea esp, [esp + 3]
pushal
lea ebx, [eax + 0x69]
sete ch
bsr ax, cx
jmp 0x518b63
call 0x518b37
push ebx
popal
outsb dx, byte gs:[esi]
imul ebp, dword [bp + 0x65], 0x69685320
insb byte es:[edi], dx
outsb dx, byte gs:[esi]
and byte [esi + 0x32], dh
xor dword cs:[esi], ebp
cmp dword [esi], ebp
xor byte [eax], al
pushfd
jmp 0x518ad2
cpuid
mov esi, 0xc1155d4e
shr dh, 7
add esp, 0x33
mov bx, sp
mov edi, eax
jmp 0x518c59
neg dh
sub esp, 0x16
sub esp, 0x1e
mov ebx, 0x7ffc1a8
lea esi, [ebp*4]
mov byte [esp + 7], dh
jmp 0x518b3a
lea ebx, [ebx + ebp]
cmc
cld
mov ebp, dword [esp]
rdtsc
mov edx, dword [esp]
jmp 0x518c31
inc cx
lea esp, [esp]
neg dh
mov byte [esp], ah
rdtsc
neg eax
jmp 0x518b8b
mov ebx, ebp
xchg byte [esp], al
lea edi, [ecx + 0x83]
call fcn.00518bb6
xchg ebx, eax
pop ss
xchg edx, esp
adc ebx, ecx
or ecx, dword [eax + reloc.MSVCRT.dll_strncpy]
movsd dword es:[edi], dword [esi]
clc
add esp, 0
neg eax
lea edi, [esi + 0x75]
not bx
cld
jmp 0x518bce
mov ax, word [esp]
neg dh
bswap ebp
and esi, ecx
ror ah, 1
mov ax, word [esp]
jmp 0x518beb
mov ax, 0xadfb
setbe dh
lea esp, [esp]
cpuid
mov bl, 0x28
xchg byte [esp], cl
jmp 0x518c03
btc eax, edi
bsr dx, cx
mov cl, 0x92
lea esp, [esp]
mov bp, 0x8de1
mov cl, 0x9a
jmp 0x518ba6

Function at 0x519390
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov byte [esp + 1], bh
mov dl, 0x9c
lea esi, [esi*4]
sub esp, 0x1a

Function at 0x519741
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov ebx, 0xb7f450c4
popal
mov bp, 0x8713
xchg edi, ebx
mov word [esp], bx
xchg ebp, esi
jmp 0x519785
pop dword [esp + 8]
mov bh, byte [esp + 0x1b]
jmp 0x51971a
add esp, 3
mov di, 0x6581
pop word [esp + 1]
xchg word [esp + 4], bp
jmp 0x519792
pop esi
xchg esi, ebx
mov cl, 0xa2
neg dh
inc eax
rcr edx, 7
jmp 0x51976d
add al, dh
sub esp, 0xe
rdtsc
mov dword [esp + 6], eax
neg ch
inc al
jmp 0x5197e5
shl cx, cl
mov byte [esp + 0xf], ah
add esp, 0x15
lea esi, [ecx*4]
rdtsc
call fcn.00519849
sbb eax, 0x9d6e0b9b
popfd
dec edi
jne 0x5197da
xchg edx, eax
cmc
add al, 0xeb
dec ecx
call 0x3e6e24f3
lea ebx, [esi + edi]
mov cl, ch
bswap ecx
inc al
mov si, di
mov word [esp + 0x18], sp
jmp 0x5197be

Function at 0x519adc
Capabilities:
Execute anti-debugging instructions

Disassembly:
jmp 0x519b18
mov dl, dh
push word [esp + 0x14]
mov si, 0x31cd
push dword [esp + 2]
push dword [esp + 0x1a]
ror ch, 5
jmp 0x519b6f
mov ebx, dword [esp + 0x21]
sub bp, 0xa570
bsr di, cx
jmp 0x519b56

Function at 0x519ec0
Capabilities:
Access peb ldr_data
Execute anti-debugging instructions
Parse pe header

Disassembly:
pop word [esp + 5]
pushal
pop dword [esp + 0x1c]
pop word [esp + 0xf]
mov dword [esp + 3], eax
mov dword [esp + 0x17], esi
jmp 0x519ec3
push esp
jmp 0x519ea3
pop word [esp + 9]
lea esp, [esp + 2]
mov dword [esp + 0x9c], esi
push edx
mov dword [esp], ebp
push edx
jmp 0x519ef0
Function at 0x405b10
Capabilities:
Move file
Set current directory

Disassembly:
push 0xffffffffffffffff
push 0x419aeb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x430
mov eax, dword [0x42119c]
push ebp
push esi
mov esi, dword [esp + 0x450]
mov dword [esp + 0x434], eax
push edi
lea eax, [esi + 4]
push eax
xor ebp, ebp
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
lea eax, [esi + 0x210]
lea edx, [esp + 0x230]
sub edx, eax
lea esp, [esp]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x405b60
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
push ebx
mov ebx, dword [esp + 0x450]
lea ecx, [esi + 0x418]
push ecx
push ebx
lea edx, [esp + 0x138]
push 0x41a368
push edx
call edi
lea eax, [esp + 0x140]
push 0x5f
push eax
call fcn.0040a250
lea ecx, [esp + 0x148]
push ecx
lea edx, [esp + 0x250]
push edx
lea eax, [esp + 0x358]
push str._s_s
push eax
call edi
push ebx
lea ecx, [esp + 0x260]
push ecx
lea edx, [esp + 0x5c]
push str._s_s
push edx
call edi
lea eax, [esp + 0x64]
push eax
call fcn.00409f50
add esp, 0x3c
test eax, eax
pop ebx
jne 0x405c10
cmp byte [esi + 0xa73], 1
jne 0x405c0b
mov edx, dword [esi + 0xa90]
lea ecx, [esp + 0x28]
push ecx
push 0x1b
push 0x7e8
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x405cbf
mov ebp, 0x10005
mov ecx, dword [esi + 0xa90]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [esp + 0x28]
push eax
push 0xf
push 0x7e8
push ecx
call edi
test ebp, ebp
je 0x405c36
mov eax, ebp
jmp 0x405cc1
mov edx, dword [esi + 0xa90]
push 0
push 0xc
push 0x7e8
push edx
call edi
lea eax, [esp + 0x334]
push eax
lea ecx, [esp + 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
jne 0x405c66
mov eax, 0x1000b
jmp 0x405cc1
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x10]
call fcn.004015c0
mov ecx, dword [esp + 0x450]
lea eax, [esp + 0xc]
push eax
add ecx, 0x218
mov dword [esp + 0x448], 0
call fcn.00404550
cmp dword [esp + 0x24], 0x10
jb 0x405caa
mov ecx, dword [esp + 0x10]
push ecx
call fcn.0041166d
add esp, 4
mov edx, dword [esi + 0xa90]
push 0x3e8
push 0xc
push 0x7e8
push edx
call edi
xor eax, eax
mov ecx, dword [esp + 0x43c]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x430]
pop ebp
call fcn.004120e8
add esp, 0x43c
ret
Function at 0x408600
Capabilities:
Delete file

Disassembly:
sub esp, 0x514
mov eax, dword [0x42119c]
mov dword [esp + 0x510], eax
mov eax, dword [0x422a98]
push esi
mov esi, dword [0x422a94]
cmp esi, eax
je 0x40870d
push ebx
mov ebx, dword [sym.imp.USER32.dll_wsprintfA]
push ebp
push edi
mov ebp, 0x10
mov edi, dword [esi + 0x21c]
cmp edi, dword [esi + 0x220]
je 0x4086f7
cmp dword [edi + 0x18], ebp
jb 0x408650
mov eax, dword [edi + 4]
jmp 0x408653
lea eax, [edi + 4]
lea ecx, [esp + 0x31c]
push ecx
lea edx, [esp + 0x220]
push edx
lea ecx, [esp + 0x424]
push ecx
lea edx, [esp + 0x1c]
push edx
push eax
call fcn.00411f6f
push esi
lea eax, [esp + 0x334]
push eax
lea ecx, [esp + 0x238]
push ecx
lea edx, [esp + 0x138]
push str._s_s._s.old
push edx
call ebx
lea eax, [esp + 0x140]
push 0x5f
push eax
call fcn.0040a250
lea ecx, [esp + 0x148]
push ecx
lea edx, [esp + 0x450]
push edx
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x50]
push str._s_s_s
push ecx
call ebx
lea edx, [esp + 0x58]
add esp, 0x44
push edx
call fcn.00409f50
add esp, 4
cmp eax, 1
jne 0x4086e6
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [esi + 0x220]
add edi, 0x1c
cmp edi, eax
jne 0x408646
mov eax, dword [0x422a98]
add esi, 0x230
cmp esi, eax
jne 0x408634
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x514]
pop esi
call fcn.004120e8
add esp, 0x514
ret
Function at 0x408730
Capabilities:
Delete file
Move file

Disassembly:
sub esp, 0x51c
mov eax, dword [0x42119c]
push ebx
push esi
mov esi, dword [0x422a94]
test esi, esi
mov dword [esp + 0x520], eax
jne 0x408752
xor eax, eax
jmp 0x40876d
mov ecx, dword [0x422a98]
sub ecx, esi
mov eax, 0xea0ea0eb
imul ecx
add edx, ecx
sar edx, 9
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ebx, [eax - 1]
test ebx, ebx
mov dword [esp + 0xc], ebx
jl 0x4088f9
push ebp
mov ebp, dword [sym.imp.USER32.dll_wsprintfA]
push edi
mov edi, ebx
imul edi, edi, 0x230
mov dword [esp + 0x10], edi
test esi, esi
je 0x4088ed
mov ecx, dword [0x422a98]
sub ecx, esi
mov eax, 0xea0ea0eb
imul ecx
add edx, ecx
sar edx, 9
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, ebx
jbe 0x4088ed
mov ebx, dword [edi + esi + 0x21c]
mov eax, dword [edi + esi + 0x220]
add edi, esi
cmp ebx, eax
je 0x4088c9
lea esi, [ebx + 4]
cmp dword [esi + 0x14], 0x10
jb 0x4087e0
mov eax, dword [esi]
jmp 0x4087e2
mov eax, esi
push eax
call fcn.00409f50
add esp, 4
cmp eax, 1
jne 0x408803
cmp dword [esi + 0x14], 0x10
jb 0x4087fa
mov eax, dword [esi]
jmp 0x4087fc
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp dword [esi + 0x14], 0x10
jb 0x40880d
mov eax, dword [esi]
jmp 0x40880f
mov eax, esi
lea ecx, [esp + 0x224]
push ecx
lea edx, [esp + 0x328]
push edx
lea ecx, [esp + 0x42c]
push ecx
lea edx, [esp + 0x24]
push edx
push eax
call fcn.00411f6f
push edi
lea eax, [esp + 0x23c]
push eax
lea ecx, [esp + 0x340]
push ecx
lea edx, [esp + 0x140]
push str._s_s._s.old
push edx
call ebp
lea eax, [esp + 0x148]
push 0x5f
push eax
call fcn.0040a250
lea ecx, [esp + 0x150]
push ecx
lea edx, [esp + 0x458]
push edx
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x58]
push str._s_s_s
push ecx
call ebp
lea edx, [esp + 0x60]
add esp, 0x44
push edx
call fcn.00409f50
add esp, 4
cmp eax, 1
jne 0x4088af
cmp dword [esi + 0x14], 0x10
jb 0x4088a1
mov eax, dword [esi]
jmp 0x4088a3
mov eax, esi
push eax
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
mov eax, dword [edi + 0x220]
add ebx, 0x1c
add esi, 0x1c
cmp ebx, eax
jne 0x4087d6
mov esi, dword [0x422a94]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
dec eax
sub edx, 0x230
test eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], edx
jl 0x4088f7
mov ebx, eax
mov edi, edx
jmp 0x408790
mov ecx, 0x422a90
jmp fcn.004033d0
pop edi
pop ebp
mov ecx, dword [esp + 0x520]
pop esi
pop ebx
call fcn.004120e8
add esp, 0x51c
ret

Function at 0x409a40
Capabilities:
Get file size

Disassembly:
mov eax, dword [ecx + 4]
sub esp, 8
cmp eax, 0xffffffff
jne 0x409a56
mov eax, 6
xor edx, edx
add esp, 8
ret
lea ecx, [esp + 4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edx, dword [esp + 4]
add esp, 8
ret
Function at 0x409ed0
Capabilities:
Get file version info

Disassembly:
sub esp, 0xc
push ebp
mov ebp, dword [esp + 0x18]
push esi
push edi
xor eax, eax
mov ecx, 0xd
mov edi, ebp
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x1c]
lea eax, [esp + 0x14]
push eax
push edi
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
test esi, esi
je 0x409f45
push ebx
push esi
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
push ebx
push esi
push 0
push edi
call sub.VERSION.dll_GetFileVersionInfoA
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x18]
push edx
push 0x41a25c
push ebx
call sub.VERSION.dll_VerQueryValueA
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
mov eax, ecx
shr ecx, 2
mov edi, ebp
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
push ebx
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop ebx
pop edi
pop esi
pop ebp
add esp, 0xc
ret
Function at 0x409fc0
Capabilities:
Create directory

Disassembly:
sub esp, 0x34c
mov eax, dword [0x42119c]
mov dword [esp + 0x348], eax
mov eax, dword [esp + 0x350]
lea edx, [esp + 0x104]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x409fe2
push edi
lea eax, [esp + 0x108]
push 0x41a25c
push eax
call fcn.0041236e
mov cl, byte [eax + 1]
lea edx, [esp + 0xc]
add esp, 8
sub edx, eax
cmp cl, 0x3a
jne 0x40a030
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x40a010
lea edi, [esp + 4]
dec edi
nop
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x40a020
jmp 0x40a07c
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x40a030
lea edx, [esp + 4]
push edx
call fcn.00409f50
add esp, 4
test eax, eax
jne 0x40a06f
push eax
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x40a06f
pop edi
mov ecx, dword [esp + 0x348]
call fcn.004120e8
add esp, 0x34c
ret
lea edi, [esp + 4]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x40a074
mov cx, word [0x41a25c]
push ebx
push ebp
push esi
push 0x41a25c
push 0
mov word [edi], cx
call fcn.0041236e
add esp, 8
test eax, eax
je 0x40a12c
mov ebx, dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebp, dword [sym.imp.KERNEL32.dll_FindClose]
lea esp, [esp]
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40a0b2
lea edi, [esp + 0x10]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x40a0c0
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea edx, [esp + 0x218]
push edx
lea eax, [esp + 0x14]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call ebx
cmp eax, 0xffffffff
je 0x40a0f1
push eax
call ebp
jmp 0x40a102
push 0
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x40a148
lea edi, [esp + 0x10]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x40a107
mov dx, word [0x41a25c]
push 0x41a25c
push 0
mov word [edi], dx
call fcn.0041236e
add esp, 8
test eax, eax
jne 0x40a0b0
pop esi
pop ebp
pop ebx
mov eax, 1
pop edi
mov ecx, dword [esp + 0x348]
call fcn.004120e8
add esp, 0x34c
ret
mov ecx, dword [esp + 0x358]
pop esi
pop ebp
pop ebx
xor eax, eax
pop edi
call fcn.004120e8
add esp, 0x34c
ret
Function at 0x40a170
Capabilities:
Check os version

Disassembly:
sub esp, 0x98
mov eax, dword [0x42119c]
mov dword [esp + 0x94], eax
lea eax, [esp]
push eax
mov dword [esp + 4], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [esp + 0x10], 2
jne 0x40a1ff
mov eax, dword [esp + 4]
cmp eax, 4
jb 0x40a1c1
cmp eax, 5
jae 0x40a1c6
mov eax, 3
mov ecx, dword [esp + 0x94]
call fcn.004120e8
add esp, 0x98
ret
cmp eax, 5
jb 0x40a1e9
mov ecx, dword [esp + 8]
xor eax, eax
cmp ecx, 1
sete al
lea eax, [eax + eax + 4]
mov ecx, dword [esp + 0x94]
call fcn.004120e8
add esp, 0x98
ret
or eax, 0xffffffff
mov ecx, dword [esp + 0x94]
call fcn.004120e8
add esp, 0x98
ret
mov eax, dword [esp + 8]
cmp eax, 0xa
jne 0x40a220
mov eax, 2
mov ecx, dword [esp + 0x94]
call fcn.004120e8
add esp, 0x98
ret
xor ecx, ecx
cmp eax, 0x5a
sete cl
lea ecx, [ecx*4 + 1]
mov eax, ecx
mov ecx, dword [esp + 0x94]
call fcn.004120e8
add esp, 0x98
ret

Function at 0x40a320
Capabilities:
Get common file path

Disassembly:
sub esp, 0x134
mov eax, dword [0x42119c]
push ebx
mov dword [esp + 0x134], eax
push esi
lea eax, [esp + 8]
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
mov edx, dword [esp + 0x148]
mov esi, dword [esp + 0x140]
lea ecx, [esp + 0xc]
push ecx
push edx
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x144]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x150]
xor ebx, ebx
cmp eax, ebx
lea ecx, [esp + 0x30]
mov dword [esp + 0x10], esi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], 1
je 0x40a39c
mov dword [esp + 0x24], 0x409ea0
mov dword [esp + 0x28], eax
jmp 0x40a3a4
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderA]
mov esi, eax
cmp esi, ebx
je 0x40a3d1
mov ecx, dword [esp + 0x14c]
push ecx
push esi
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
mov eax, dword [esp + 8]
mov edx, dword [eax]
push esi
push eax
call dword [edx + 0x14]
mov bl, 1
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 8]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x14]
mov eax, dword [esp + 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [esp + 0x138]
pop esi
movzx eax, bl
pop ebx
call fcn.004120e8
add esp, 0x134
ret

Function at 0x40ab20
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret
Function at 0x411e6c
Capabilities:
Terminate process

Disassembly:
push 8
push 0x41dca8
call fcn.00413adc
push 8
call fcn.00413aab
pop ecx
xor edi, edi
mov dword [ebp - 4], edi
xor esi, esi
inc esi
cmp dword [0x423434], esi
jne 0x411ea0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [0x423430], esi
mov al, byte [ebp + 0x10]
mov byte [0x42342c], al
cmp dword [ebp + 0xc], edi
jne 0x411eea
cmp dword [0x424c4c], edi
je 0x411eda
mov eax, dword [0x424c48]
sub eax, 4
mov dword [0x424c48], eax
cmp eax, dword [0x424c4c]
jb 0x411eda
mov eax, dword [eax]
cmp eax, edi
je 0x411ebb
call eax
jmp 0x411ebb
push 0x421030
mov eax, 0x421028
call fcn.00411dea
pop ecx
push 0x42103c
mov eax, 0x421034
call fcn.00411dea
pop ecx
or dword [ebp - 4], 0xffffffff
call fcn.00411f1b
cmp dword [ebp + 0x10], edi
jne 0x411f29
mov dword [0x423434], esi
push dword [ebp + 8]
call fcn.00411da8
xor edi, edi
xor esi, esi
inc esi
call fcn.00413b17
ret

Function at 0x4122cf
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, dword [ebp + 0x10]
xor ebx, ebx
test edi, edi
jne 0x4122ec
call fcn.00414ce3
mov dword [eax], 0x16
xor eax, eax
jmp 0x412356
push esi
push 0x8c
push 1
call fcn.00414d68
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x412341
push esi
call fcn.0041344f
mov eax, dword [ebp + 0x14]
or dword [esi + 4], 0xffffffff
mov dword [esi + 0x50], eax
mov eax, dword [ebp + 0x1c]
test eax, eax
pop ecx
mov dword [esi + 0x4c], edi
jne 0x41231f
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0x18]
push esi
push 0x41223a
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
jne 0x412355
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
push esi
call fcn.004126fa
test ebx, ebx
pop ecx
je 0x412353
push ebx
call fcn.00414cf5
pop ecx
xor eax, eax
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x41246c
Capabilities:
Accept command line arguments
Parse pe header
Terminate process

Disassembly:
push 0x60
push 0x41dcd8
call fcn.00413adc
mov edi, 0x94
mov eax, edi
call fcn.00412100
mov dword [ebp - 0x18], esp
mov esi, esp
mov dword [esi], edi
push esi
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov ecx, dword [esi + 0x10]
mov dword [0x4233f4], ecx
mov eax, dword [esi + 4]
mov dword [0x423400], eax
mov edx, dword [esi + 8]
mov dword [0x423404], edx
mov esi, dword [esi + 0xc]
and esi, 0x7fff
mov dword [0x4233f8], esi
cmp ecx, 2
je 0x4124cc
or esi, 0x8000
mov dword [0x4233f8], esi
shl eax, 8
add eax, edx
mov dword [0x4233fc], eax
xor esi, esi
push esi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x412507
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x412507
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x41251f
cmp eax, 0x20b
je 0x41250c
mov dword [ebp - 0x1c], esi
jmp 0x412533
cmp dword [ecx + 0x84], 0xe
jbe 0x412507
xor eax, eax
cmp dword [ecx + 0xf8], esi
jmp 0x41252d
cmp dword [ecx + 0x74], 0xe
jbe 0x412507
xor eax, eax
cmp dword [ecx + 0xe8], esi
setne al
mov dword [ebp - 0x1c], eax
push 1
call fcn.0041563f
pop ecx
test eax, eax
jne 0x412547
push 0x1c
call fcn.00412448
pop ecx
call fcn.00413649
test eax, eax
jne 0x412558
push 0x10
call fcn.00412448
pop ecx
call fcn.00413eeb
mov dword [ebp - 4], esi
call fcn.00415427
test eax, eax
jge 0x412571
push 0x1b
call fcn.00412423
pop ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x424c40], eax
call fcn.00415305
mov dword [0x423444], eax
call fcn.00415263
test eax, eax
jge 0x412597
push 8
call fcn.00412423
pop ecx
call fcn.00415030
test eax, eax
jge 0x4125a8
push 9
call fcn.00412423
pop ecx
push 1
call fcn.00411e02
pop ecx
mov dword [ebp - 0x28], eax
cmp eax, esi
je 0x4125be
push eax
call fcn.00412423
pop ecx
mov dword [ebp - 0x44], esi
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
call fcn.00414fd3
mov dword [ebp - 0x20], eax
test byte [ebp - 0x44], 1
je 0x4125df
movzx eax, word [ebp - 0x40]
jmp 0x4125e2
push 0xa
pop eax
push eax
push dword [ebp - 0x20]
push esi
push esi
call edi
push eax
call fcn.004018a0
mov edi, eax
mov dword [ebp - 0x2c], edi
cmp dword [ebp - 0x1c], esi
jne 0x412600
push edi
call fcn.00411f2f
call fcn.00411f51
jmp 0x412632
or dword [ebp - 4], 0xffffffff
mov eax, edi
lea esp, [ebp - 0x7c]
call fcn.00413b17
ret
Function at 0x414e23
Capabilities:
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x8c]
sub esp, 0x10c
mov eax, dword [0x42119c]
mov ecx, dword [ebp + 0x94]
push ebx
push esi
mov dword [ebp + 0x88], eax
xor edx, edx
push edi
xor eax, eax
cmp ecx, dword [eax*8 + 0x4215f8]
je 0x414e58
inc eax
cmp eax, 0x13
jb 0x414e49
mov esi, eax
shl esi, 3
cmp ecx, dword [esi + 0x4215f8]
jne 0x414f7e
mov eax, dword [0x42344c]
cmp eax, 1
je 0x414f56
cmp eax, edx
jne 0x414e88
cmp dword [0x4211b8], 1
je 0x414f56
cmp ecx, 0xfc
je 0x414f7e
push 0x104
lea eax, [ebp - 0x80]
push eax
push edx
mov byte [ebp + 0x84], dl
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x414ebe
lea eax, [ebp - 0x80]
push str._program_name_unknown_
push eax
call fcn.00413860
pop ecx
pop ecx
lea edi, [ebp - 0x80]
mov eax, edi
push eax
call fcn.00412790
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x414ef2
mov eax, edi
push eax
call fcn.00412790
mov edi, eax
lea eax, [ebp - 0x80]
sub eax, 0x3b
push 3
add edi, eax
push 0x41de64
push edi
call fcn.00416c30
add esp, 0x10
push edi
call fcn.00412790
push dword [esi + 0x4215fc]
mov ebx, eax
call fcn.00412790
lea eax, [ebx + eax + 0x1c]
pop ecx
add eax, 3
pop ecx
and eax, 0xfffffffc
call fcn.00412100
mov ebx, esp
push str.Runtime_Error__n_nProgram:
push ebx
call fcn.00413860
push edi
push ebx
call fcn.00413870
push 0x41de60
push ebx
call fcn.00413870
push dword [esi + 0x4215fc]
push ebx
call fcn.00413870
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebx
call fcn.00416d54
add esp, 0x2c
jmp 0x414f7e
push edx
lea eax, [ebp + 0x94]
push eax
lea esi, [esi + 0x4215fc]
push dword [esi]
call fcn.00412790
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]
lea esp, [ebp - 0x8c]
mov ecx, dword [ebp + 0x88]
call fcn.004120e8
pop edi
pop esi
pop ebx
add ebp, 0x8c
leave
ret