joyce8/EMBER2024-capa huggingface dataset:
Function at 0x57f1c5
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x67f343
call fcn.0062921c
sub esp, 0x50
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
xor ebx, ebx
cmp dword [edi + 0x14], 0x10
mov dword [edi + 0x10], ebx
jb 0x57f1e7
mov eax, dword [edi]
jmp 0x57f1e9
mov eax, edi
mov byte [eax], bl
mov dword [ebp - 0x10], 0xf
mov dword [ebp - 0x14], ebx
mov byte [ebp - 0x24], bl
mov eax, dword [ebp + 0x10]
mov esi, 0x76d0cc
mov dword [ebp - 4], ebx
mov byte [ebp + 0xf], bl
mov byte [eax], bl
cmp dword [0x76d0e0], 0x10
mov eax, dword [0x76d0cc]
jae 0x57f218
mov eax, esi
push str.http
push eax
call fcn.0047811d
test al, al
je 0x57f22b
mov byte [ebp + 0xf], 1
push esi
lea eax, [ebp - 0x3c]
push eax
call fcn.0043beee
cmp dword [eax + 0x14], 8
jb 0x57f23d
mov eax, dword [eax]
push dword [0x6dcc08]
push eax
call fcn.005b873d
push ebx
push 1
lea ecx, [ebp - 0x3c]
mov esi, eax
call fcn.0042386b
test esi, esi
je 0x57f26c
push 0xffffffffffffffff
push ebx
push 0x76d0cc
lea ecx, [ebp - 0x24]
call fcn.0040aaae
jmp 0x57f2d3
mov ecx, dword [ebp + 8]
lea eax, [ecx + 0x4c]
cmp dword [eax + 0x10], ebx
jne 0x57f27a
lea eax, [ecx + 0x34]
cmp dword [eax + 0x14], 8
jb 0x57f282
mov eax, dword [eax]
push eax
call fcn.0045b7e6
mov esi, eax
test esi, esi
je 0x57f336
push ebx
lea eax, [ebp + 8]
push eax
push ebx
lea ecx, [esi - 2]
push ecx
call fcn.00428b7a
test al, al
je 0x57f32f
push dword [ebp + 8]
lea eax, [ebp - 0x3c]
push eax
call fcn.004784a4
push eax
lea ecx, [ebp - 0x24]
call fcn.0040a1e2
push ebx
push 1
lea ecx, [ebp - 0x3c]
call fcn.0040abbf
push 1
push dword [ebp + 8]
call fcn.0045b404
cmp dword [ebp - 0x10], 0x10
mov eax, dword [ebp - 0x24]
jae 0x57f2df
lea eax, [ebp - 0x24]
mov esi, dword [sym.imp.KERNEL32.DLL_ExpandEnvironmentStringsA]
push ebx
push ebx
push eax
call esi
push 0
mov ecx, edi
lea ebx, [eax + 1]
push ebx
call fcn.0043b184
cmp dword [edi + 0x14], 0x10
jb 0x57f2ff
mov edi, dword [edi]
cmp dword [ebp - 0x10], 0x10
mov eax, dword [ebp - 0x24]
jae 0x57f30b
lea eax, [ebp - 0x24]
push ebx
push edi
push eax
call esi
cmp dword [0x76d0dc], 0
je 0x57f323
cmp byte [ebp + 0xf], 0
je 0x57f323
xor eax, eax
jmp 0x57f326
xor eax, eax
inc eax
mov ecx, dword [ebp + 0x10]
mov bl, 1
mov byte [ecx], al
jmp 0x57f392
mov eax, 0x68e738
jmp 0x57f33b
mov eax, 0x68eb70
test esi, esi
jne 0x57f344
mov esi, 0x68eb70
push eax
push esi
push 0x38b
call fcn.0057b788
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.004607f4
add esp, 0x10
cmp dword [ebp - 0x28], 8
mov eax, dword [ebp - 0x3c]
mov byte [ebp - 4], 1
mov dword [ebp - 0x5c], 1
mov dword [ebp - 0x58], 0x30
jae 0x57f37b
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.0057c60a
pop ecx
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x3c]
call fcn.0042386b
push 0
push 1
lea ecx, [ebp - 0x24]
call fcn.0040abbf
mov ecx, dword [ebp - 0xc]
mov al, bl
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x57f3cb
Capabilities:
Get common file path

Disassembly:
mov eax, 0x67f376
call fcn.0062921c
sub esp, 0x4a4
push ebx
xor ecx, ecx
lea eax, [ebp - 0x260]
push esi
push ecx
push 0x25
push eax
push ecx
mov dword [ebp - 4], ecx
mov bl, cl
mov dword [ebp - 0x10], ecx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
xor esi, esi
inc esi
test eax, eax
je 0x57f49a
push str.macromed_flash
lea ecx, [ebp - 0x58]
call fcn.00424ff1
lea eax, [ebp - 0x58]
mov dword [ebp - 4], esi
push eax
lea eax, [ebp - 0x260]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0042415c
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 2
push eax
call fcn.0045c39f
mov bl, al
test bl, bl
je 0x57f484
push str._flash.ocx
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0042315f
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x57f458
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x4b0]
push ecx
push eax
call dword [sym.imp.KERNEL32.DLL_FindFirstFileW]
cmp eax, 0xffffffff
setne bh
test bh, bh
je 0x57f477
push eax
call dword [sym.imp.KERNEL32.DLL_FindClose]
push 0
push esi
lea ecx, [ebp - 0x28]
and bl, bh
call fcn.0042386b
push 0
push esi
lea ecx, [ebp - 0x40]
call fcn.0042386b
push 0
push esi
lea ecx, [ebp - 0x58]
call fcn.0042386b
mov esi, dword [ebp + 8]
and dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
and dword [esi + 0x10], 0
cmp dword [esi + 0x14], 8
jb 0x57f4b6
mov eax, dword [esi]
jmp 0x57f4b8
mov eax, esi
xor ecx, ecx
mov word [eax], cx
and dword [ebp - 4], ecx
mov dword [ebp - 0x10], 1
test bl, bl
je 0x57f4e0
push esi
push str.CurrentVersion
push str.SOFTWAREMacromediaFlashPlayer
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00480187
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x57feab
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2000
call section..text
push esi
mov esi, dword [ebp + 0xc]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x57febf
sub esi, ecx
mov eax, 0x7d0
sar esi, 1
cmp esi, eax
jl 0x57fed9
mov esi, eax
lea eax, [esi + 1]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x2000]
push eax
call fcn.00424a07
lea edx, [ebp - 0x2000]
mov ecx, 0x6dcd90
lea edx, [edx + esi*2]
sub edx, ecx
movzx eax, word [ecx]
mov word [edx + ecx], ax
lea ecx, [ecx + 2]
test ax, ax
jne 0x57fefc
push 0x82d
lea eax, [ebp - 0x1ffa]
lea eax, [eax + esi*2]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x2000]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetWindowTextW]
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x580048
Capabilities:
Create process on windows

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x14], 0x10
jb 0x580057
mov eax, dword [esi]
jmp 0x580059
mov eax, esi
push 0x69964c
push eax
call fcn.0047811d
test al, al
jne 0x580083
cmp dword [esi + 0x14], 0x10
jb 0x580072
mov eax, dword [esi]
jmp 0x580074
mov eax, esi
push 0x69b78c
push eax
call fcn.0047811d
test al, al
je 0x58009d
cmp dword [esi + 0x14], 0x10
jb 0x58008b
mov esi, dword [esi]
push 1
xor eax, eax
push eax
push eax
push esi
push eax
push dword [esp + 0x20]
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
pop esi
ret 8
Function at 0x581366
Capabilities:
Create process on windows

Disassembly:
push ebp
sub esp, 0x64
mov eax, 0x67f482
call fcn.0062921c
sub esp, 0x30
inc dword [0x76d240]
lea eax, [ebp + 0x50]
push ebx
push esi
push eax
call fcn.00581cab
xor ebx, ebx
xor esi, esi
inc ebx
mov dword [ebp - 4], esi
cmp dword [ebp + 0x60], esi
je 0x5814fe
cmp dword [ebp + 0x64], 8
mov eax, dword [ebp + 0x50]
jae 0x5813a5
lea eax, [ebp + 0x50]
push str.http:__
push eax
call fcn.00478686
test al, al
jne 0x5813d3
cmp dword [ebp + 0x64], 8
mov eax, dword [ebp + 0x50]
jae 0x5813c0
lea eax, [ebp + 0x50]
push str.https:__
push eax
call fcn.00478686
test al, al
je 0x5814fe
lea eax, [ebp - 0x24]
push eax
call fcn.00477694
push eax
push dword [ebp + 0x70]
lea eax, [ebp]
mov byte [ebp - 4], bl
push eax
call fcn.00424279
push esi
push ebx
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 3
call fcn.0042386b
mov eax, dword [ebp + 0x10]
dec eax
cmp eax, 0x3ff
jae 0x5814f4
push 0x68ea78
call fcn.00423ad9
pop ecx
push eax
push esi
push 0x68ea78
lea ecx, [ebp + 0x50]
call fcn.00434ede
cmp eax, 0xffffffff
jne 0x581441
push 0x68ea78
call fcn.00423ad9
pop ecx
push eax
push 0x68ea78
lea ecx, [ebp + 0x50]
call fcn.00423947
lea eax, [ebp]
push eax
lea eax, [ebp + 0x18]
push eax
call fcn.0046d9e0
cmp dword [ebp + 0x2c], 0x10
mov eax, dword [ebp + 0x18]
mov byte [ebp - 4], 4
jae 0x58145e
lea eax, [ebp + 0x18]
push eax
lea eax, [ebp + 0x30]
push 0x6dcda8
push eax
call fcn.004607f4
add esp, 0xc
cmp dword [ebp + 0x44], 8
push 0x73
pop eax
mov word [ebp + 0x48], ax
mov eax, dword [ebp + 0x30]
mov byte [ebp - 4], 5
jae 0x581487
lea eax, [ebp + 0x30]
cmp dword [ebp + 0x64], 8
mov dword [ebp + 0x4c], eax
mov eax, dword [ebp + 0x50]
jae 0x581496
lea eax, [ebp + 0x50]
push ebx
lea ecx, [ebp + 0x48]
push ecx
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.0047dbdb
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.0043bead
cmp dword [eax + 0x14], 0x10
jb 0x5814be
mov eax, dword [eax]
push ebx
push esi
push esi
push eax
push esi
push dword [ebp + 0x74]
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
push esi
push ebx
lea ecx, [ebp - 0x24]
call fcn.0040abbf
push esi
push ebx
lea ecx, [ebp - 0x3c]
call fcn.0042386b
push esi
push ebx
lea ecx, [ebp + 0x30]
call fcn.0042386b
push esi
push ebx
lea ecx, [ebp + 0x18]
call fcn.0040abbf
push esi
push ebx
lea ecx, [ebp]
call fcn.0042386b
push esi
push ebx
lea ecx, [ebp + 0x50]
call fcn.0042386b
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
lea esp, [ebp + 0x68]
pop ebp
ret 0xc
Function at 0x58151b
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, 0x67f3c4
call fcn.0062921c
sub esp, 0x24
push ebx
push esi
push edi
call dword [sym.imp.USER32.dll_CreatePopupMenu]
mov ebx, eax
lea ecx, [ebp - 0x30]
push 0x7a03d0
mov dword [ebp - 0x18], ebx
call fcn.00423207
mov esi, dword [ebp - 0x30]
xor eax, eax
cmp dword [ebp - 0x1c], 8
mov dword [ebp - 4], eax
jae 0x581554
lea esi, [ebp - 0x30]
mov byte [ebp - 0xd], 1
mov edi, eax
push esi
mov dword [ebp - 0x14], esi
call fcn.004780ee
push 0x7c
push dword [ebp - 0x14]
mov esi, eax
call fcn.00476c1f
mov edx, eax
xor ecx, ecx
mov eax, dword [ebp - 0x14]
cmp word [eax], cx
je 0x58159e
inc edi
test edx, edx
je 0x58158b
push edx
call fcn.0057f590
mov ecx, eax
mov eax, dword [ebp - 0x14]
push ecx
push eax
push edi
push 0
push ebx
call fcn.0057ea0a
mov byte [ebp - 0xd], 1
xor ecx, ecx
jmp 0x5815b7
cmp byte [ebp - 0xd], cl
je 0x5815b4
push ecx
push ecx
push edi
push 0x800
push ebx
call fcn.0057ea0a
inc edi
xor ecx, ecx
mov byte [ebp - 0xd], cl
test esi, esi
jne 0x58155a
push ecx
push 0x35b
inc edi
call fcn.0057b788
push eax
push edi
push esi
push ebx
call fcn.0057ea0a
push 0
push 0
push 0x800
push ebx
mov esi, edi
call dword [sym.imp.USER32.dll_AppendMenuW]
push 0x8000
push 0x10
push 0x10
push 1
push 0x15a
push dword [0x79fb18]
call dword [sym.imp.USER32.dll_LoadImageW]
push eax
push 0x357
add edi, 2
call fcn.0057b788
push eax
push edi
push 0
push ebx
call fcn.0057ea0a
mov eax, dword [0x7a041c]
push 0x80
inc eax
push eax
push ebx
push dword [0x79fb28]
call dword [sym.imp.USER32.dll_HiliteMenuItem]
mov eax, dword [ebp + 8]
push 0
push dword [0x79fb28]
push 0
push dword [eax + 4]
push dword [eax]
xor eax, eax
cmp byte [ebp + 0xc], al
sete al
lea eax, [eax*8 + 0x182]
push eax
push ebx
call dword [sym.imp.USER32.dll_TrackPopupMenu]
push dword [ebp - 0x18]
mov ebx, eax
call dword [sym.imp.USER32.dll_DestroyMenu]
cmp ebx, esi
jne 0x58167d
push 0x10
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x581697
push 0x11
call fcn.005c0fd6
jmp 0x581697
test ebx, ebx
je 0x581697
cmp ebx, edi
push 0x10
sete byte [0x7a0420]
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x581699
xor ebx, ebx
push 0
push 1
lea ecx, [ebp - 0x30]
call fcn.0042386b
mov ecx, dword [ebp - 0xc]
mov eax, ebx
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x583399
Capabilities:
Get common file path
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4bc
push ebx
push edi
mov edi, ecx
cmp byte [edi + 0x74], 0
je 0x5833bf
push 0x58398b
push 0x10
push 0x10
push 3
call fcn.00583b0a
mov dword [edi + 0x68], eax
push 0x583ff5
push 9
push 9
push 2
mov ecx, edi
call fcn.00583b0a
mov dword [edi + 0x6c], eax
lea eax, [ebp - 0x208]
push eax
push 0x104
call dword [sym.imp.KERNEL32.DLL_GetTempPathW]
test eax, eax
jne 0x5833f1
mov word [ebp - 0x208], ax
push 0x4011
mov ebx, 0x2b4
lea eax, [ebp - 0x4bc]
push ebx
push eax
push 0x10
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov dword [edi + 0x64], eax
mov eax, dword [ebp - 0x4b8]
push 0x4013
mov dword [edi + 0x78], eax
lea eax, [ebp - 0x4bc]
push ebx
push eax
push 0x10
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov eax, dword [ebp - 0x4b8]
mov dword [edi + 0x7c], eax
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x585e12
Capabilities:
Hide graphical window

Disassembly:
mov eax, 0x67f70a
call fcn.0062921c
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp dword [esi + 0x4c], ebx
je 0x585ef8
push edi
mov edi, dword [esi + 4]
mov dword [ebp + 8], edi
test edi, edi
je 0x585e41
push 0
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 0x48]
mov dword [esi + 0x4c], ebx
mov eax, dword [eax + ebx*4]
mov dword [esi + 4], eax
test eax, eax
jne 0x585eb7
push 0x14
call fcn.006291e1
mov edi, eax
pop ecx
mov dword [ebp - 0x10], edi
and dword [ebp - 4], 0
test edi, edi
je 0x585e7e
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x10]
mov dword [edi + 8], esi
mov dword [edi], 0x6dcb5c
mov dword [edi + 0xc], esi
mov dword [edi + 0x10], eax
jmp 0x585e80
xor edi, edi
mov eax, dword [esi + 0x40]
mov ecx, ebx
or dword [ebp - 4], 0xffffffff
add ecx, ecx
push edi
push fcn.0057d503
push dword [eax + 4]
mov eax, dword [esi + 0x44]
push dword [eax + ecx*8]
push dword [0x79fb18]
call fcn.0057c6b7
cmp byte [esi + 0x50], 0
mov dword [esi + 4], eax
je 0x585eb4
push eax
call fcn.0057d76e
mov edi, dword [ebp + 8]
mov ecx, dword [esi + 0x40]
or edx, 0xffffffff
push ebx
push esi
mov eax, dword [ecx]
call dword [eax + 0x30]
mov eax, dword [esi + 0x3c]
sub eax, dword [esi + 0x34]
push 0x250
push eax
mov eax, dword [esi + 0x38]
sub eax, dword [esi + 0x30]
push eax
push dword [esi + 0x34]
push dword [esi + 0x30]
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp dword [ebp + 0xc], 0
je 0x585ef7
push edi
push dword [ebp + 0xc]
call fcn.0058395c
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x58ab20
Capabilities:
Check mutex on windows

Disassembly:
mov eax, 0x683a41
call fcn.0062921c
sub esp, 0x244
push ebx
xor ebx, ebx
inc ebx
cmp byte [ebp + 0xc], 0
push esi
mov dword [ebp - 0x10], ebx
je 0x58ab73
call fcn.0048e13d
push eax
lea eax, [ebp - 0x28]
push str._s_Updater
push eax
call fcn.004607cf
add esp, 0xc
cmp dword [eax + 0x14], 0x10
jb 0x58ab5d
mov eax, dword [eax]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_CreateMutexA]
push 0
push ebx
lea ecx, [ebp - 0x28]
call fcn.0040abbf
push 0x104
lea eax, [ebp - 0x250]
xor ebx, ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
push ebx
push 0x7545ec
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
je 0x58abd5
lea ecx, [ebp + 0xc]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp dword [ebp + 0xc], ebx
je 0x58abd5
push dword [ebp + 0xc]
push ebx
push 0x100000
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
mov esi, eax
test esi, esi
je 0x58abd5
push 0x1d4c0
push esi
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
cmp eax, 0xffffffff
je 0x58abd5
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
call fcn.0048e0fb
push eax
lea eax, [ebp - 0x28]
push str._s__BRINGTOFRONT
push eax
call fcn.004607f4
add esp, 0xc
cmp dword [eax + 0x14], 8
mov dword [ebp - 4], ebx
jb 0x58abf7
mov eax, dword [eax]
push ebx
push eax
lea eax, [ebp - 0x250]
push eax
call fcn.0058df07
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
xor esi, esi
mov bl, al
push 0
inc esi
push esi
call fcn.0042386b
test bl, bl
jne 0x58ac50
call fcn.0056f585
test al, al
jne 0x58ac4c
push 0x6adbf0
push 0x7f1
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x44], 0x10
call fcn.0057b788
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.0057c60a
add esp, 0xc
mov byte [ebp - 0x10], 0
call fcn.0058ba94
mov ecx, dword [ebp - 0xc]
mov al, byte [ebp - 0x10]
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x58b892
Capabilities:
Create process on windows
Get common file path
Get comspec environment variable
Get startup folder
Query environment variable

Disassembly:
push ebp
sub esp, 0x64
mov eax, 0x67fbea
call fcn.0062921c
sub esp, 0x458
lea eax, [ebp - 0x464]
push ebx
push esi
push edi
push 0x104
push eax
push str.COMSPEC
call dword [sym.imp.KERNEL32.DLL_GetEnvironmentVariableW]
test eax, eax
je 0x58ba7e
xor ebx, ebx
lea eax, [ebp - 0x25c]
push ebx
push 0x25
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str.ping.exe
lea ecx, [ebp]
call fcn.00424ff1
push 1
lea eax, [ebp]
mov dword [ebp - 4], ebx
push eax
sub esp, 0x18
lea eax, [ebp - 0x25c]
mov ecx, esp
push eax
call fcn.00424ff1
lea eax, [ebp - 0x3c]
push eax
call fcn.0045b712
push ebx
push 1
lea ecx, [ebp]
mov byte [ebp - 4], 2
call fcn.0042386b
sub esp, 0x18
lea eax, [ebp - 0x24]
lea esi, [ebp - 0x3c]
push 6
pop ecx
mov edi, esp
push str._s__n_2_127.0.0.1_r_n
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.004607f4
add esp, 0x20
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp + 0x18]
call fcn.00423207
push dword [ebp + 0x70]
mov byte [ebp - 4], 4
call fcn.00423ad9
pop ecx
push eax
push dword [ebp + 0x70]
lea ecx, [ebp + 0x18]
call fcn.00423947
push ebx
push ebx
lea eax, [ebp + 0x4c]
push eax
call fcn.0045b92c
mov esi, str..bat
mov byte [ebp - 4], 5
push esi
call fcn.00423ad9
pop ecx
push eax
push esi
lea ecx, [ebp + 0x4c]
call fcn.00423947
cmp dword [ebp + 0x60], 8
mov eax, dword [ebp + 0x4c]
jae 0x58b992
lea eax, [ebp + 0x4c]
push 0x80
push 7
push eax
call fcn.0045c90d
mov dword [ebp + 0x64], eax
lea eax, [ebp + 0x18]
push eax
lea eax, [ebp]
push eax
call fcn.0043bead
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 6
jb 0x58b9bb
mov eax, dword [eax]
push dword [ebp + 0x28]
push eax
push dword [ebp + 0x64]
call fcn.0045cd94
xor edi, edi
mov byte [ebp - 4], 5
push ebx
inc edi
lea ecx, [ebp]
push edi
call fcn.0040abbf
lea eax, [ebp + 0x64]
push eax
call fcn.0045c89d
lea eax, [ebp - 0x464]
push eax
lea ecx, [ebp + 0x30]
call fcn.00424ff1
mov esi, str.__C
mov byte [ebp - 4], 7
push esi
call fcn.00423ad9
pop ecx
push eax
push esi
lea ecx, [ebp + 0x30]
call fcn.00423947
push 0xffffffffffffffff
push ebx
lea eax, [ebp + 0x4c]
push eax
lea ecx, [ebp + 0x30]
call fcn.004238b7
lea eax, [ebp + 0x30]
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.0043bead
cmp dword [eax + 0x14], 0x10
jb 0x58ba2e
mov eax, dword [eax]
push ebx
push eax
call dword [sym.imp.KERNEL32.DLL_WinExec]
cmp eax, 0x1f
lea ecx, [ebp - 0x54]
seta bl
xor esi, esi
push esi
push edi
call fcn.0040abbf
push esi
push edi
lea ecx, [ebp + 0x30]
call fcn.0042386b
push esi
push edi
lea ecx, [ebp + 0x4c]
call fcn.0042386b
push esi
push edi
lea ecx, [ebp + 0x18]
call fcn.0042386b
push esi
push edi
lea ecx, [ebp - 0x24]
call fcn.0042386b
push esi
push edi
lea ecx, [ebp - 0x3c]
call fcn.0042386b
mov al, bl
jmp 0x58ba80
xor al, al
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
lea esp, [ebp + 0x68]
pop ebp
ret 4
Function at 0x58df1f
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
push esi
push edi
push 0x44
pop esi
push esi
xor ebx, ebx
lea eax, [ebp - 0x54]
push ebx
push eax
call fcn.0062e010
mov edi, dword [ebp + 0x14]
add esp, 0xc
mov dword [ebp - 0x54], esi
test edi, edi
je 0x58df83
mov esi, dword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
lea eax, [ebp + 0x14]
push 2
push 1
push ebx
push eax
call esi
push eax
push edi
call esi
push eax
call dword [sym.imp.KERNEL32.DLL_DuplicateHandle]
mov ecx, dword [ebp - 0x28]
neg eax
mov dword [ebp - 0x18], edi
sbb eax, eax
or ecx, 0x100
and eax, dword [ebp + 0x14]
or ecx, 1
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0x28], ecx
mov word [ebp - 0x24], ax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x54]
push eax
push dword [ebp + 0x10]
xor eax, eax
test edi, edi
push ebx
push ebx
setne al
push eax
push ebx
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_CreateProcessW]
mov esi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov ebx, eax
test ebx, ebx
je 0x58dfca
mov edx, dword [ebp + 0x18]
test edx, edx
je 0x58dfc0
mov ecx, dword [ebp - 0x10]
mov dword [edx], ecx
jmp 0x58dfc5
push dword [ebp - 0x10]
call esi
push dword [ebp - 0xc]
call esi
test edi, edi
je 0x58dfd3
push dword [ebp - 0x14]
call esi
xor eax, eax
test ebx, ebx
pop edi
pop esi
setne al
pop ebx
mov esp, ebp
pop ebp
ret 0x14

Function at 0x58e175
Capabilities:
Get process heap force flags

Disassembly:
mov eax, 0x678f88
call fcn.0062921c
push ecx
push esi
push dword [ebp + 0xc]
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.00423207
push dword [ebp + 8]
and dword [ebp - 4], 0
lea ecx, [esi + 0x18]
call fcn.00423207
mov al, byte [ebp + 0x10]
mov ecx, dword [ebp - 0xc]
mov byte [esi + 0x30], al
mov al, byte [ebp + 0x14]
mov byte [esi + 0x32], al
mov eax, esi
mov byte [esi + 0x31], 0
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x591ceb
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x680572
call fcn.0062921c
push ecx
xor eax, eax
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], 0x6dfc28
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov byte [esi + 0x10], al
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
mov dword [ebp - 4], eax
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], eax
mov byte [ebp - 4], 1
call fcn.005923fa
mov ecx, esi
call fcn.00593719
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x591f61
Capabilities:
Delete file

Disassembly:
mov eax, 0x689336
call fcn.0062921c
sub esp, 0x18
push ebx
push esi
push edi
push 0x6e01a4
lea eax, [ebp - 0x24]
mov esi, ecx
push eax
call fcn.0046e056
mov edi, str.sua_pmr
xor ebx, ebx
push edi
mov dword [ebp - 4], ebx
call fcn.00423ad9
pop ecx
push eax
push edi
lea ecx, [ebp - 0x24]
call fcn.00423947
cmp dword [ebp - 0x10], 8
mov eax, dword [ebp - 0x24]
jae 0x591fa8
lea eax, [ebp - 0x24]
push ebx
push ebx
push 3
push ebx
push ebx
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
cmp byte [esi + 0x25], bl
jne 0x591fc4
cmp eax, 0xffffffff
je 0x591fe5
mov bl, 1
cmp eax, 0xffffffff
je 0x591fe5
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
cmp dword [ebp - 0x10], 8
mov eax, dword [ebp - 0x24]
jae 0x591fde
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
push 0
push 1
lea ecx, [ebp - 0x24]
mov byte [esi + 0x25], 0
call fcn.0042386b
mov ecx, dword [ebp - 0xc]
mov al, bl
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x5923fa
Capabilities:
Create directory

Disassembly:
mov eax, 0x689336
call fcn.0062921c
sub esp, 0x18
push 0x6e01a4
lea eax, [ebp - 0x24]
push eax
call fcn.0046e056
and dword [ebp - 4], 0
cmp dword [ebp - 0x10], 8
mov eax, dword [ebp - 0x24]
jae 0x592425
lea eax, [ebp - 0x24]
push ebx
push 0
push eax
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
test eax, eax
jne 0x59245d
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0xb7
je 0x59245d
cmp dword [ebp - 0x10], 8
mov eax, dword [ebp - 0x24]
jae 0x59244c
lea eax, [ebp - 0x24]
push eax
push str.Failed_to_create_directory:__S_n
call fcn.00409651
pop ecx
pop ecx
xor bl, bl
jmp 0x59245f
mov bl, 1
push 0
push 1
lea ecx, [ebp - 0x24]
call fcn.0042386b
mov ecx, dword [ebp - 0xc]
mov al, bl
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret