joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44f530
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x244
mov eax, dword [0x4995b0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [ebp + 8], 0
push esi
mov esi, dword [ebp + 0xc]
je 0x44f5d4
xor eax, eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20c]
push eax
push 0
push 0xffffffffffffffff
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jns 0x44f584
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00458fb5
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x23c]
call fcn.0040c2f0
lea eax, [ebp - 0x23c]
push eax
lea ecx, [ebp - 0x224]
call fcn.004483f0
push eax
mov ecx, esi
call fcn.00408e90
lea ecx, [ebp - 0x224]
call fcn.00408f70
cmp dword [ebp - 0x228], 8
jb 0x44f5e3
push dword [ebp - 0x23c]
call fcn.00454c01
add esp, 4
jmp 0x44f5e3
push esi
push 0x6c
call fcn.0044b8c0
add esp, 8
test al, al
je 0x44f573
lea eax, [ebp - 0x244]
mov dword [ebp - 0x244], str.Microsoft
push eax
lea eax, [ebp - 0x224]
mov dword [ebp - 0x240], 9
push eax
mov ecx, esi
call fcn.004486f0
push eax
mov ecx, esi
call fcn.00408e90
lea ecx, [ebp - 0x224]
call fcn.00408f70
lea eax, [ebp - 0x244]
mov dword [ebp - 0x244], str.Internet_Explorer
push eax
lea eax, [ebp - 0x224]
mov dword [ebp - 0x240], 0x11
push eax
mov ecx, esi
call fcn.004486f0
push eax
mov ecx, esi
call fcn.00408e90
lea ecx, [ebp - 0x224]
call fcn.00408f70
lea eax, [ebp - 0x244]
mov dword [ebp - 0x244], str.Quick_Launch
push eax
lea eax, [ebp - 0x224]
mov dword [ebp - 0x240], 0xc
push eax
mov ecx, esi
call fcn.004486f0
push eax
mov ecx, esi
call fcn.00408e90
lea ecx, [ebp - 0x224]
call fcn.00408f70
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.00458fb5
mov esp, ebp
pop ebp
ret
Function at 0x450780
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1b8
mov eax, dword [0x4995b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x4990ec]
mov dword [ebp - 0x108], 0
cmp eax, 0xffffffff
je 0x4508a3
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
test ebx, ebx
je 0x4508a2
push esi
push edi
lea eax, [ebp - 0x104]
mov ecx, 0x40
push eax
push dword [0x4990ec]
mov esi, ebx
lea edi, [ebp - 0x104]
rep movsd dword es:[edi], dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push ebx
call fcn.00458f8a
add esp, 4
mov edi, 0x40
nop
mov esi, dword [0x49ce58]
xor dl, dl
test esi, esi
jle 0x45082e
lea esp, [esp]
mov ecx, dword [ebp + esi*4 - 0x104]
test ecx, ecx
je 0x450829
mov eax, dword [esi*4 + 0x49ce60]
test eax, eax
je 0x450829
push ecx
mov dword [ebp + esi*4 - 0x104], 0
call eax
add esp, 4
mov dl, 1
dec esi
test esi, esi
jg 0x450800
dec edi
test edi, edi
jle 0x450839
test dl, dl
jne 0x4507f0
jmp 0x450892
call fcn.004482e0
cmp eax, 1
jne 0x45087c
call fcn.00447dc0
cmp eax, 3
jg 0x45087c
push 3
push 0x8d
push str.threading_thread_local_storage_win.cc
lea ecx, [ebp - 0x1b8]
mov ebx, 1
call fcn.00447070
add eax, 8
push str.Check_failed:_false.
push eax
call fcn.0040ed00
add esp, 8
jmp 0x450882
mov ebx, dword [ebp - 0x108]
test bl, 1
je 0x450892
lea ecx, [ebp - 0x1b8]
call fcn.00447270
push 0
push dword [0x4990ec]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00458fb5
mov esp, ebp
pop ebp
ret
Function at 0x47289c
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4995b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.004608dd
mov dword [ebp - 0x14], eax
cmp dword [0x4a0314], esi
jne 0x47298f
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x47291c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x472a6f
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x472a6f
push 0x48a084
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x472a6f
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x4a0314], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x4a0318], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x4a031c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4a0324], eax
test eax, eax
je 0x47298c
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4a0320], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x4729b4
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4729a7
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x4729c9
push 4
pop eax
jmp 0x472a71
cmp dword [ebp - 0x14], esi
je 0x4729c9
push dword [0x4a0314]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x4729ae
mov eax, dword [0x4a0320]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x472a27
cmp dword [0x4a0324], edi
je 0x472a27
push eax
call ebx
push dword [0x4a0324]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x472a27
test eax, eax
je 0x472a27
call ecx
test eax, eax
je 0x472a1c
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x472a1c
test byte [ebp - 8], 1
jne 0x472a27
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x472a57
mov eax, dword [0x4a0318]
cmp eax, edi
je 0x472a54
push eax
call ebx
test eax, eax
je 0x472a54
call eax
mov esi, eax
test esi, esi
je 0x472a54
mov eax, dword [0x4a031c]
cmp eax, edi
je 0x472a54
push eax
call ebx
test eax, eax
je 0x472a54
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x4a0314]
call ebx
test eax, eax
je 0x472a6f
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x472a71
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00458fb5
mov esp, ebp
pop ebp
ret
Function at 0x479610
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47faf8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x4995b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0x10]
test edi, edi
je 0x4797a3
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x4797a3
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
cmp byte [ebx], 0
je 0x47966c
cmp dword [esi], 0
je 0x4797a3
cmp dword [esi + 4], 0
je 0x4797a3
push 0x48fb80
push eax
call fcn.0045d5d3
add esp, 8
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x479696
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x10]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00479510
lea eax, [ebp + 0x10]
mov dword [ebp - 4], 0
push eax
call fcn.0047a010
add esp, 0xc
mov ecx, dword [ebp + 0x10]
mov byte [ebp - 4], 1
test ecx, ecx
jne 0x4796cf
lea esi, [ecx - 5]
jmp 0x479764
mov eax, dword [ecx]
push dword [ebx + 4]
call dword [eax + 8]
mov ecx, dword [ebp + 0x10]
movzx eax, byte [ebx]
push eax
mov edx, dword [ecx]
call dword [edx + 0xc]
cmp byte [ebx], 0
jne 0x4796f5
mov ecx, dword [ebp + 0x10]
push dword [esi + 4]
push dword [esi]
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp + 0x10]
push 1
push edi
mov eax, dword [ecx]
call dword [eax + 0x14]
mov esi, eax
test esi, esi
jne 0x479761
push 0x2800
lea ecx, [ebp - 0x28]
call fcn.00443c30
mov ecx, dword [ebp + 0x10]
mov edi, dword [ebp - 0x28]
push 0x2800
push edi
mov eax, dword [ecx]
mov byte [ebp - 4], 2
call dword [eax + 0x28]
mov esi, eax
test esi, esi
jle 0x479757
mov edi, edi
push dword [ebp - 0x10]
push esi
push 1
push edi
call fcn.00458938
add esp, 0x10
cmp eax, esi
jne 0x47979e
mov ecx, dword [ebp + 0x10]
push 0x2800
push edi
mov eax, dword [ecx]
call dword [eax + 0x28]
mov esi, eax
test esi, esi
jg 0x479730
xor esi, esi
lea ecx, [ebp - 0x28]
call fcn.00442f70
mov ecx, dword [ebp + 0x10]
mov byte [ebp - 4], 0
test ecx, ecx
je 0x479772
mov eax, dword [ecx]
push 1
call dword [eax]
cmp byte [ebp - 0x18], 0
je 0x47978a
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ecx]
test eax, eax
je 0x47978a
push eax
call fcn.004582ba
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
or esi, 0xffffffff
jmp 0x479759
mov eax, 0xfffffffe
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x479880
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47fb38
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x4995b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
cmp dword [edi], 0
je 0x479a0f
cmp dword [edi + 4], 0
je 0x479a0f
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x479a0f
mov ebx, dword [ebp + 0x14]
test ebx, ebx
je 0x479a0f
push 0x483444
push eax
call fcn.0045d5d3
add esp, 8
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x4798fe
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x10]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00479510
lea eax, [ebp + 8]
mov dword [ebp - 4], 0
push eax
call fcn.0047a010
add esp, 0xc
mov ecx, dword [ebp + 8]
mov byte [ebp - 4], 1
test ecx, ecx
jne 0x479937
lea esi, [ecx - 5]
jmp 0x4799d0
mov esi, dword [ebp + 0xc]
mov edx, dword [ecx]
movzx eax, byte [esi]
push eax
call dword [edx + 0xc]
mov ecx, dword [ebp + 8]
push dword [esi + 4]
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [ebp + 8]
push dword [edi + 4]
push dword [edi]
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp + 8]
push 0
push ebx
mov eax, dword [ecx]
call dword [eax + 0x14]
mov esi, eax
test esi, esi
jne 0x4799cd
push 0x400
lea ecx, [ebp - 0x28]
call fcn.00443c30
push dword [ebp - 0x10]
mov ebx, dword [ebp - 0x24]
mov edi, dword [ebp - 0x28]
sub ebx, edi
push ebx
push 1
push edi
mov byte [ebp - 4], 2
call fcn.0045c3f7
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4799c3
lea ebx, [ebx]
mov ecx, dword [ebp + 8]
push esi
push edi
mov eax, dword [ecx]
call dword [eax + 0x18]
cmp eax, esi
jne 0x479a0a
push dword [ebp - 0x10]
push ebx
push 1
push edi
call fcn.0045c3f7
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x4799a0
xor esi, esi
lea ecx, [ebp - 0x28]
call fcn.00442f70
mov ecx, dword [ebp + 8]
mov byte [ebp - 4], 0
test ecx, ecx
je 0x4799de
mov eax, dword [ecx]
push 1
call dword [eax]
cmp byte [ebp - 0x18], 0
je 0x4799f6
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ecx]
test eax, eax
je 0x4799f6
push eax
call fcn.004582ba
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
or esi, 0xffffffff
jmp 0x4799c5
mov eax, 0xfffffffe
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x47a740
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x47a76b
mov edx, dword [ebp + 0xc]
test edx, edx
je 0x47a76b
xor al, al
xor ecx, ecx
test edx, edx
je 0x47a770
lea ebx, [ebx]
xor al, byte [ecx + esi]
inc ecx
cmp ecx, edx
jb 0x47a760
pop esi
pop ebp
ret
mov al, byte [0x49a758]
pop esi
pop ebp
ret
Function at 0x47a780
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
test edx, edx
je 0x47a803
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x47a802
mov ch, byte [ebp + 0x10]
movzx eax, ch
push edi
xor edi, edi
mov ah, byte [eax + 0x49a760]
test esi, esi
je 0x47a801
push ebx
mov al, byte [edi + edx]
mov cl, al
shr cl, 4
mov dl, cl
xor dl, al
xor dl, ch
shl dl, 4
or dl, cl
mov al, dl
shr al, 4
mov bl, al
xor bl, dl
mov edx, dword [ebp + 8]
xor bl, ah
shl bl, 4
or bl, al
mov cl, bl
shl bl, 4
xor bl, ah
shr cl, 4
and bl, 0xf0
mov al, cl
shl al, 4
xor bl, al
or bl, cl
mov cl, bl
shl bl, 4
shr cl, 4
xor bl, ch
and bl, 0xf0
mov al, cl
shl al, 4
xor bl, al
or bl, cl
mov byte [edi + edx], bl
inc edi
cmp edi, esi
jb 0x47a7a6
pop ebx
pop edi
pop esi
pop ebp
ret

Function at 0x47a810
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x47a88d
mov edx, dword [ebp + 0xc]
test edx, edx
je 0x47a88d
push ebx
mov bl, byte [ebp + 0x10]
movzx eax, bl
push esi
xor esi, esi
mov bh, byte [eax + 0x49a760]
test edx, edx
je 0x47a88b
mov ah, bh
mov ch, bl
and ah, 0xf
and ch, 0xf
mov cl, byte [esi + edi]
mov al, cl
xor cl, bl
shr cl, 4
and al, 0xf
xor cl, al
shl al, 4
or cl, al
mov al, cl
xor cl, bh
shr cl, 4
and al, 0xf
xor cl, al
shl al, 4
or cl, al
mov al, cl
shr cl, 4
xor cl, ah
and al, 0xf
xor cl, al
shl al, 4
or cl, al
mov al, cl
shr cl, 4
and al, 0xf
xor cl, ch
xor cl, al
shl al, 4
or cl, al
mov byte [esi + edi], cl
inc esi
cmp esi, edx
jb 0x47a840
pop esi
pop ebx
pop edi
pop ebp
ret

Function at 0x47aa00
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ecx + 0x1c]
test eax, eax
jne 0x47aa0e
pop ebp
ret 8
push eax
push dword [ebp + 0xc]
push 1
push dword [ebp + 8]
call fcn.0045c3f7
add esp, 0x10
pop ebp
ret 8

Function at 0x47aab0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ecx + 0x1c]
test eax, eax
jne 0x47aabe
pop ebp
ret 8
push eax
push dword [ebp + 0xc]
push 1
push dword [ebp + 8]
call fcn.00458938
add esp, 0x10
pop ebp
ret 8

Function at 0x47aae0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1004
call fcn.0045a220
mov eax, dword [0x4995b0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x1003]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0xc]
push 0xfff
push 0
push eax
mov byte [ebp - 0x1004], 0
call fcn.00456fa0
push esi
push edi
push dword [ebx*4 + 0x49a864]
lea eax, [ebp - 0x1004]
push 0x48c8a0
push 0x1000
push eax
call fcn.0047acf4
add esp, 0x24
lea eax, [ebp - 0x1004]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00458fb5
mov esp, ebp
pop ebp
ret
Function at 0x401b36
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
lea eax, [ebp - 8]
push eax
push 1
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x401b9d
mov dword [ebp - 0x110], 0x104
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0x10c]
push ecx
push 0
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
lea eax, [ebp - 0x10c]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x401ba4
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov dword [ebp - 0x210], 1
mov eax, dword [ebp - 0x210]
push eax
push 0
push 0
mov ecx, dword [ebp + 8]
push ecx
push 0x49e27c
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x20
ja 0x401ce6
lea edx, [ebp - 0x20c]
push edx
push 0x49e284
push SysReAllocString
call fcn.00401b36
add esp, 0xc
test eax, eax
jne 0x401ce6
push 0x49e28c
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea ecx, [ebp - 0x20c]
push ecx
lea edx, [ebp - 0x20c]
push edx
push SysReAllocString
call fcn.00401b36
add esp, 0xc
test eax, eax
jne 0x401ce6
push 0x49e2a0
lea eax, [ebp - 0x20c]
push eax
call fcn.004059e0
add esp, 8
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0
jne 0x401ca3
push 0x49e2a8
lea ecx, [ebp - 0x20c]
push ecx
call fcn.0046cd10
add esp, 8
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0
jne 0x401c98
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea eax, [ebp + eax - 0x20d]
mov dword [ebp - 0x214], eax
jmp 0x401ca1
mov ecx, dword [ebp - 0x214]
mov byte [ecx], 0
jmp 0x401cac
mov edx, dword [ebp - 0x214]
mov byte [edx], 0
push 0x49e2ac
mov eax, dword [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x214]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov eax, dword [ebp - 0x210]
push eax
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x401d33
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48b772
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x41c
push edi
mov byte [ebp - 0x110], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x10f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
cmp dword [ebp + 8], 0
ja 0x401d78
xor eax, eax
jmp 0x401e55
lea eax, [ebp - 0x110]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov ecx, dword [ebp + 0xc]
push ecx
push 0
push 0x49e2b0
lea edx, [ebp - 0x110]
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp dword [ebp + 0x10], 0
je 0x401e09
mov ecx, dword [ebp + 0x10]
movsx edx, byte [ecx]
test edx, edx
je 0x401e09
lea eax, [ebp - 0x310]
push eax
lea ecx, [ebp - 0x210]
push ecx
lea edx, [ebp - 0x410]
push edx
lea eax, [ebp - 0x414]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.0046cbc2
add esp, 0x14
mov edx, dword [ebp + 0x10]
push edx
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x410]
push ecx
lea edx, [ebp - 0x414]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.0046cb31
add esp, 0x14
lea ecx, [ebp - 0x428]
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea ecx, [ebp - 0x424]
call fcn.00406040
mov dword [ebp - 4], 0
lea eax, [ebp - 0x424]
push eax
mov ecx, 0x52ca40
call fcn.004061a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x424]
call fcn.004013a0
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.0046ce10
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x401e64
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
jmp 0x401e7c
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, 0x52ca40
call fcn.00406100
cmp dword [ebp - 4], eax
jae 0x401eaf
mov ecx, dword [ebp - 4]
push ecx
mov ecx, 0x52ca40
call fcn.00406180
mov ecx, eax
call fcn.00406090
mov dword [ebp - 8], eax
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x401e73
mov ecx, 0x52ca40
call fcn.004061d0
mov esp, ebp
pop ebp
ret

Function at 0x402f18
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
mov dword [eax], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 0xc]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 8]
cmp dword [ecx + 4], 0
jle 0x402f48
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 8]
mov ecx, dword [edx + 4]
cmp ecx, dword [eax]
jle 0x402f5c
push str.Wrong_round_for_MultiIndex._n
call fcn.0046d17a
add esp, 4
push 0xffffffffffffffff
call fcn.0046d087
mov edx, dword [ebp - 8]
mov eax, dword [edx + 4]
shl eax, 2
push eax
call fcn.00480aeb
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 8
Function at 0x403cdd
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp dword [eax + 0x758], 0
jne 0x403cf7
jmp 0x403d79
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x198], 1
mov dword [ebp - 4], 0
lea edx, [ebp - 4]
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x758]
push ecx
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
jne 0x403d25
jmp 0x403d79
cmp dword [ebp - 4], 0x103
jne 0x403d5c
push 0x7d0
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x758]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x403d5c
push 0
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x758]
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x758]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 8]
mov dword [edx + 0x758], 0
mov esp, ebp
pop ebp
ret