joyce8/EMBER2024-capa huggingface dataset:
Function at 0x409a50
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fe827
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
xor eax, eax
push esi
mov ebx, ecx
push edi
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], eax
cmp dword [ebp + 8], eax
je 0x409a94
mov dword [ebx], 0x503f24
mov dword [ebx + 0x60], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], 1
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
mov dword [ebx + ecx], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov edx, dword [ebx]
mov edi, dword [edx + 4]
add edi, ebx
mov ecx, edi
call fcn.00401dc0
lea esi, [ebx + 4]
push 0x20
mov ecx, edi
mov dword [edi + 0x38], esi
mov dword [edi + 0x3c], 0
call fcn.00405300
cmp dword [edi + 0x38], 0
mov byte [edi + 0x40], al
jne 0x409ae0
mov eax, dword [edi + 0xc]
or eax, 4
or eax, 4
push 0
push eax
mov ecx, edi
call fcn.00401c90
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
mov dword [ebx + ecx], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov ecx, esi
mov dword [ebp - 4], 2
call fcn.00402bb0
lea edx, [esi + 8]
mov dword [esi + 0x10], edx
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
mov dword [esi], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov byte [esi + 0x50], 0
mov byte [esi + 0x49], 0
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
xor ecx, ecx
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], ecx
mov eax, dword [esi + 0x24]
mov dword [eax], ecx
mov edx, dword [esi + 0x34]
mov dword [edx], ecx
mov eax, dword [esi + 0x10]
mov dword [eax], ecx
mov edx, dword [esi + 0x20]
mov dword [edx], ecx
mov eax, dword [esi + 0x30]
mov dword [eax], ecx
mov dword [esi + 0x54], ecx
mov edx, dword [0x57d6a4]
mov dword [esi + 0x44], ecx
mov ecx, dword [ebp - 0xc]
pop edi
mov dword [esi + 0x4c], edx
pop esi
mov eax, ebx
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x40e1c0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
push esi
mov esi, ecx
mov eax, edx
push edi
mov dword [esi + 0x2bc], 3
lea edi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40e1e0
sub eax, edi
push eax
push edx
lea ecx, [esi + 0x2a0]
call fcn.00404e20
push esi
push 0
push 0x40d710
call fcn.004e2e92
add esp, 0xc
pop edi
pop esi
pop ebp
ret 4
Function at 0x40fdc0
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
push str.labelprocess
lea ecx, [esi + 0x2c]
call dword [sym.imp.DuiLib.dll_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_char_const__const]
push 0
push 0
push esi
push 0x40fca0
push 0
push 0
mov dword [esi + 0x250], eax
mov byte [esi + 0x254], 1
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop esi
test eax, eax
je 0x40fdfe
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
ret

Function at 0x4108b0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ff257
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x90
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x14], ebx
push edi
mov edi, dword [sym.imp.DuiLib.dll_public:_bool___thiscall_DuiLib::CDuiString::operator_char_const__const]
mov dword [ebp - 0x10], ecx
cmp dword [esi + 0x88], ebx
je 0x410916
mov ecx, dword [esi + 0x88]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
lea edx, [ebp - 0x58]
push edx
call eax
mov dword [ebp - 4], ebx
mov ebx, 1
push str.BtnDoLogin
mov ecx, eax
mov dword [ebp - 0x14], ebx
call edi
mov byte [ebp + 0xb], bl
test al, al
jne 0x41091a
mov byte [ebp + 0xb], 0
mov dword [ebp - 4], 0xffffffff
test bl, 1
je 0x410932
lea ecx, [ebp - 0x58]
and ebx, 0xfffffffe
call dword [sym.imp.DuiLib.dll_public:_void___thiscall_DuiLib::CDuiString::destructor_void_]
cmp byte [ebp + 0xb], 0
je 0x41099f
push 1
sub esp, 0x1c
mov ecx, esp
mov dword [ebp + 8], esp
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push 0x503a80
mov byte [ecx], 0
call fcn.00404e20
mov esi, dword [ebp - 0x10]
mov ecx, esi
call fcn.00410150
push 0
push 0
push esi
push 0x410850
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x410a21
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x88], 0
je 0x4109da
mov ecx, dword [esi + 0x88]
mov edx, dword [ecx]
mov edx, dword [edx + 4]
lea eax, [ebp - 0x9c]
push eax
call edx
or ebx, 2
push str.BtnCancel
mov ecx, eax
mov dword [ebp - 4], 1
mov dword [ebp - 0x14], ebx
call edi
mov byte [ebp + 0xb], 1
test al, al
jne 0x4109de
mov byte [ebp + 0xb], 0
mov dword [ebp - 4], 0xffffffff
test bl, 2
je 0x4109f6
lea ecx, [ebp - 0x9c]
call dword [sym.imp.DuiLib.dll_public:_void___thiscall_DuiLib::CDuiString::destructor_void_]
cmp byte [ebp + 0xb], 0
mov ecx, dword [ebp - 0x10]
je 0x410a1a
push 1
call dword [sym.imp.DuiLib.dll_public:_void___thiscall_DuiLib::CWindowWnd::Close_unsigned_int_]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push esi
call dword [sym.imp.DuiLib.dll_protected_virtual:_void___thiscall_DuiLib::WindowImplBase::OnClick_struct_DuiLib::tagTNotifyUI__]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x412bd0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ff457
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
xor eax, eax
push esi
mov ebx, ecx
push edi
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], eax
cmp dword [ebp + 8], eax
je 0x412c14
mov dword [ebx], 0x5051b0
mov dword [ebx + 0x68], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], 1
mov ecx, dword [ebx]
mov edx, dword [ecx + 4]
mov dword [ebx + edx], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], eax
mov eax, dword [ebx]
mov edi, dword [eax + 4]
add edi, ebx
mov ecx, edi
call fcn.00401dc0
lea esi, [ebx + 0x10]
push 0x20
mov ecx, edi
mov dword [edi + 0x38], esi
mov dword [edi + 0x3c], 0
call fcn.00405300
cmp dword [edi + 0x38], 0
mov byte [edi + 0x40], al
jne 0x412c66
mov eax, dword [edi + 0xc]
or eax, 4
or eax, 4
push 0
push eax
mov ecx, edi
call fcn.00401c90
mov ecx, dword [ebx]
mov edx, dword [ecx + 4]
mov ecx, esi
mov dword [ebp - 4], 2
mov dword [ebx + edx], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
call fcn.00402bb0
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
mov dword [esi], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov byte [esi + 0x50], 0
mov byte [esi + 0x49], 0
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
xor ecx, ecx
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], ecx
mov eax, dword [esi + 0x24]
mov dword [eax], ecx
mov edx, dword [esi + 0x34]
mov dword [edx], ecx
mov eax, dword [esi + 0x10]
mov dword [eax], ecx
mov edx, dword [esi + 0x20]
mov dword [edx], ecx
mov eax, dword [esi + 0x30]
mov dword [eax], ecx
mov dword [esi + 0x54], ecx
mov edx, dword [0x57d6a4]
mov dword [esi + 0x44], ecx
mov ecx, dword [ebp - 0xc]
pop edi
mov dword [esi + 0x4c], edx
pop esi
mov eax, ebx
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x413af0
Capabilities:
Enumerate gui resources
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
push ebx
push esi
push edi
push 0
push 2
mov dword [ebp - 0x130], 0x128
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x413b58
push str.CreateToolhelp32Snapshot_Failed
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 4], esp
push 0xa
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push str.GetWndHwnd
mov byte [ecx], 0
call fcn.00404e20
push 4
push 0x57d720
call fcn.0041cec0
add esp, 0x28
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x130]
push eax
push ebx
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x413bb9
mov edi, dword [sym.imp.USER32.dll_EnumWindows]
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x10c]
push edx
call fcn.004df498
add esp, 8
test eax, eax
jne 0x413ba8
mov eax, dword [ebp - 0x128]
lea ecx, [ebp - 8]
push ecx
push 0x413ac0
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0
call edi
mov esi, dword [ebp - 4]
test esi, esi
jne 0x413bc9
lea edx, [ebp - 0x130]
push edx
push ebx
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x413b6f
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x419990
Capabilities:
Hash data with md5
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x46c
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0x503a98
push ebx
call fcn.004e081e
mov esi, eax
xor edi, edi
add esp, 8
mov dword [ebp - 4], esi
cmp esi, edi
jne 0x4199d8
push ebx
push str.fopen__s_failed_n
call fcn.004e125a
add eax, 0x40
push eax
call fcn.004e5cc2
add esp, 0xc
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push 0x400
lea eax, [ebp - 0x46c]
push 1
push eax
mov dword [ebp - 0x68], edi
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x64], 0x67452301
mov dword [ebp - 0x60], 0xefcdab89
mov dword [ebp - 0x5c], 0x98badcfe
mov dword [ebp - 0x58], 0x10325476
call fcn.004e0745
add esp, 0x10
cmp eax, edi
je 0x419a41
push eax
lea ecx, [ebp - 0x46c]
push ecx
lea edx, [ebp - 0x6c]
push edx
call fcn.00419760
push esi
push 0x400
lea eax, [ebp - 0x46c]
push 1
push eax
call fcn.004e0745
add esp, 0x1c
cmp eax, edi
jne 0x419a15
lea ecx, [ebp - 0x6c]
push ecx
call fcn.00419870
mov esi, dword [ebp + 0xc]
lea edi, [esi + 1]
push edi
call fcn.004e0e64
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x419a7e
push str.malloc_failed._n
call fcn.004e125a
add eax, 0x40
push eax
call fcn.004e5cc2
add esp, 8
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push edi
push 0
push ebx
call fcn.004e00a0
add esp, 0xc
cmp esi, 0x10
jne 0x419ad2
mov esi, 4
mov edi, ebx
jmp 0x419aa0
movzx edx, byte [ebp + esi - 0x14]
push edx
push str._02x
push edi
call fcn.004e2afe
inc esi
add esp, 0xc
add edi, 2
cmp esi, 0xc
jl 0x419aa0
mov ecx, dword [ebp - 4]
push ecx
call fcn.004e0487
add esp, 4
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
cmp esi, 0x20
jne 0x419b12
xor esi, esi
mov edi, ebx
jmp 0x419ae0
movzx eax, byte [ebp + esi - 0x14]
push eax
push str._02x
push edi
call fcn.004e2afe
inc esi
add esp, 0xc
add edi, 2
cmp esi, 0x10
jl 0x419ae0
mov ecx, dword [ebp - 4]
push ecx
call fcn.004e0487
add esp, 4
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 4]
push edx
call fcn.004e0487
push ebx
call fcn.004e0c99
add esp, 8
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x419bd0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
push esi
push edi
push 0x38
xor ebx, ebx
lea eax, [ebp - 0x38]
push ebx
push eax
call fcn.004e00a0
add esp, 0xc
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x38], 0x40
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], str.runas
cmp byte [ebp + 0x2c], bl
jne 0x419c0e
mov dword [ebp - 0x30], str.open
mov esi, 0x10
cmp dword [ebp + 0x1c], esi
jb 0x419c20
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x2c], ecx
jmp 0x419c26
lea edx, [ebp + 8]
mov dword [ebp - 0x2c], edx
cmp dword [ebp + 0x44], esi
jb 0x419c33
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x28], eax
jmp 0x419c39
lea ecx, [ebp + 0x30]
mov dword [ebp - 0x28], ecx
cmp dword [ebp + 0x60], esi
jb 0x419c46
mov edx, dword [ebp + 0x4c]
mov dword [ebp - 0x24], edx
jmp 0x419c4c
lea eax, [ebp + 0x4c]
mov dword [ebp - 0x24], eax
xor eax, eax
cmp byte [ebp + 0x28], bl
je 0x419c58
mov eax, 1
lea ecx, [ebp - 0x3c]
push ecx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], ebx
xor edi, edi
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
jne 0x419c78
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x419c82
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcessId]
cmp dword [ebp + 0x1c], esi
jb 0x419c93
mov eax, dword [ebp + 8]
push eax
call fcn.004df8f9
add esp, 4
cmp dword [ebp + 0x44], 0x10
mov esi, 0xf
mov dword [ebp + 0x1c], esi
mov dword [ebp + 0x18], ebx
mov byte [ebp + 8], bl
jb 0x419cb3
mov ecx, dword [ebp + 0x30]
push ecx
call fcn.004df8f9
add esp, 4
cmp dword [ebp + 0x60], 0x10
mov dword [ebp + 0x44], esi
mov dword [ebp + 0x40], ebx
mov byte [ebp + 0x30], bl
jb 0x419cce
mov edx, dword [ebp + 0x4c]
push edx
call fcn.004df8f9
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41e170
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x7c
push ebx
push esi
push edi
push 0x503a98
push eax
call fcn.004e081e
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x41e1cb
mov edi, dword [ebp + 0x10]
test edi, edi
je 0x41e1c2
call fcn.004e648a
mov ecx, dword [eax]
push ecx
call fcn.004e638b
mov ecx, eax
add esp, 4
lea esi, [ecx + 1]
lea esp, [esp]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x41e1b0
sub ecx, esi
push ecx
push eax
mov ecx, edi
call fcn.00404e20
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp + 0x14]
test edi, edi
je 0x41e1d9
mov edx, dword [edi]
mov dword [ebp - 4], edx
jmp 0x41e1e0
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 0xc]
xor eax, eax
push 0xffffffffffffffff
push eax
mov byte [ebp - 0x18], 0
mov dword [ebp - 0x17], eax
mov dword [ebp - 0x13], eax
mov dword [ebp - 0xf], eax
mov dword [ebp - 0xb], eax
mov word [ebp - 7], ax
mov byte [ebp - 5], al
call fcn.004035e0
push 2
push 0
push ebx
call fcn.004e630f
push ebx
call fcn.004e6220
push 0
push 0
push ebx
mov esi, eax
call fcn.004e630f
add esp, 0x1c
test esi, esi
je 0x41e252
push esi
call fcn.004cc2d6
push ebx
push 1
mov edi, eax
push esi
push edi
call fcn.004e0745
mov ecx, dword [ebp + 0xc]
add esp, 0x14
push esi
push edi
call fcn.00404e20
push edi
call fcn.004e0d1f
mov edi, dword [ebp + 0x14]
add esp, 4
push esi
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x7c]
push str._s_d_bytes
push ecx
call fcn.004e2afe
mov ecx, dword [ebp + 0x10]
add esp, 0x10
test ecx, ecx
je 0x41e288
lea eax, [ebp - 0x7c]
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x41e275
sub eax, esi
push eax
lea edx, [ebp - 0x7c]
push edx
call fcn.00404e20
push ebx
call fcn.004e0487
add esp, 4
test edi, edi
je 0x41e29a
mov eax, dword [ebp - 4]
mov dword [edi], eax
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41e2b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 0x506184
push eax
mov byte [ebp - 1], 1
call fcn.004e081e
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x41e30e
mov edi, dword [ebp + 0x10]
test edi, edi
je 0x41e305
call fcn.004e648a
mov ecx, dword [eax]
push ecx
call fcn.004e638b
mov ecx, eax
add esp, 4
lea esi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x41e2f3
sub ecx, esi
push ecx
push eax
mov ecx, edi
call fcn.00404e20
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x41e31c
mov edx, dword [eax]
mov dword [ebp - 8], edx
jmp 0x41e323
mov dword [ebp - 8], 0
xor eax, eax
mov dword [ebp - 0x1b], eax
mov dword [ebp - 0x17], eax
mov dword [ebp - 0x13], eax
mov dword [ebp - 0xf], eax
mov word [ebp - 0xb], ax
mov byte [ebp - 9], al
mov eax, dword [ebp + 0xc]
mov esi, dword [eax + 0x10]
mov byte [ebp - 0x1c], 0
test esi, esi
je 0x41e362
cmp dword [eax + 0x14], 0x10
jb 0x41e34e
mov eax, dword [eax]
push ebx
push 1
push esi
push eax
call fcn.004e18b7
add esp, 0x10
cmp eax, 1
sete byte [ebp - 1]
push esi
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x80]
push str._s_d_bytes
push ecx
call fcn.004e2afe
mov edi, dword [ebp + 0x10]
add esp, 0x10
test edi, edi
je 0x41e39a
lea eax, [ebp - 0x80]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41e385
sub eax, edx
push eax
lea edx, [ebp - 0x80]
push edx
mov ecx, edi
call fcn.00404e20
cmp byte [ebp - 1], 0
jne 0x41e3d2
test edi, edi
je 0x41e3d2
call fcn.004e648a
mov eax, dword [eax]
push eax
call fcn.004e638b
mov ecx, eax
add esp, 4
lea esi, [ecx + 1]
lea esp, [esp]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x41e3c0
sub ecx, esi
push ecx
push eax
mov ecx, edi
call fcn.00404e20
push ebx
call fcn.004e0487
mov eax, dword [ebp + 0x14]
add esp, 4
test eax, eax
je 0x41e3e7
mov ecx, dword [ebp - 8]
mov dword [eax], ecx
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x421ca0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5001e0
push eax
mov eax, 0x1004
mov dword fs:[0], esp
call fcn.004e2da0
push ebx
xor ebx, ebx
push esi
mov esi, ecx
mov dword [ebp - 0x10], ebx
push 0xfff
lea eax, [ebp - 0x100f]
push ebx
push eax
mov dword [ebp - 4], 1
mov byte [ebp - 0x1010], bl
call fcn.004e00a0
mov eax, 0x10
add esp, 0xc
cmp dword [esi + 0x14], eax
jb 0x421cf9
mov esi, dword [esi]
mov ecx, dword [ebp + 0xc]
cmp dword [ebp + 0x20], eax
jae 0x421d04
lea ecx, [ebp + 0xc]
cmp dword [ebp + 0x3c], eax
mov eax, dword [ebp + 0x28]
jae 0x421d0f
lea eax, [ebp + 0x28]
push esi
push 0x1000
lea edx, [ebp - 0x1010]
push edx
push 0x503a80
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x1010]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov byte [esi], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x421d41
sub eax, edx
push eax
lea eax, [ebp - 0x1010]
push eax
mov ecx, esi
call fcn.00404e20
cmp dword [ebp + 0x20], 0x10
jb 0x421d6b
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.004df8f9
add esp, 4
cmp dword [ebp + 0x3c], 0x10
mov dword [ebp + 0x20], 0xf
mov dword [ebp + 0x1c], ebx
mov byte [ebp + 0xc], bl
jb 0x421d8a
mov edx, dword [ebp + 0x28]
push edx
call fcn.004df8f9
add esp, 4
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x3c

Function at 0x4224a0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
push ebx
xor eax, eax
push esi
xor ebx, ebx
push 0xff
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov word [ebp - 4], ax
lea ecx, [ebp - 0x123]
mov eax, 0x654
push ebx
push ecx
mov dword [ebp - 0x20], ebx
mov word [ebp - 0x10], ax
mov byte [ebp - 0x124], bl
call fcn.004e00a0
mov eax, dword [ebp + 8]
add esp, 0xc
push 0x100
lea edx, [ebp - 0x124]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameA]
lea edx, [ebp - 0x20]
lea ecx, [ebp - 0x124]
push edx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x1c], 3
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
mov esi, eax
cmp esi, ebx
je 0x422569
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push str.delete_directory_failed_d_errcode_d
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x24], esp
push 0xc
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], ebx
push str.MyDeleteFile
mov byte [ecx], bl
call fcn.00404e20
push 4
push 0x57d720
call fcn.0041cec0
add esp, 0x30
xor al, al
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4229f0
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x500b68
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x23c
push ebx
push esi
xor ebx, ebx
push 0x38
lea eax, [ebp - 0x44]
push ebx
push eax
mov dword [ebp - 4], ebx
call fcn.004e00a0
push 0x7f
lea ecx, [ebp - 0xc7]
push ebx
push ecx
mov dword [ebp - 0x48], 0x3c
mov byte [ebp - 0xc8], bl
call fcn.004e00a0
push 0xff
lea eax, [ebp - 0x247]
lea edx, [ebp - 0xc8]
push ebx
push eax
mov dword [ebp - 0x34], 0x80
mov dword [ebp - 0x38], edx
mov byte [ebp - 0x248], bl
call fcn.004e00a0
push 0x7f
lea edx, [ebp - 0x147]
lea ecx, [ebp - 0x248]
push ebx
mov esi, 0x100
push edx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ecx
mov byte [ebp - 0x148], bl
call fcn.004e00a0
mov dword [ebp - 0x40], esi
lea eax, [ebp - 0x148]
mov esi, 0x10
add esp, 0x30
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 8]
cmp dword [ebp + 0x1c], esi
jae 0x422aaa
lea eax, [ebp + 8]
mov edx, dword [ebp + 0x18]
lea ecx, [ebp - 0x48]
push ecx
push closesocket
push edx
push eax
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
test eax, eax
jne 0x422ae5
cmp dword [ebp + 0x1c], esi
jb 0x422ad3
mov eax, dword [ebp + 8]
push eax
call fcn.004df8f9
add esp, 4
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0xc8]
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x422af0
sub eax, edx
push eax
lea ecx, [ebp - 0xc8]
push ecx
mov ecx, dword [ebp + 0x24]
call fcn.00404e20
lea eax, [ebp - 0x248]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x422b12
mov ecx, dword [ebp + 0x28]
sub eax, edx
push eax
lea edx, [ebp - 0x248]
push edx
call fcn.00404e20
cmp dword [ebp + 0x1c], esi
jb 0x422b3c
mov eax, dword [ebp + 8]
push eax
call fcn.004df8f9
add esp, 4
mov ecx, dword [ebp - 0xc]
pop esi
mov al, 1
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret