joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401ed0
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90
mov eax, dword [0x461194]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
xor edx, edx
push esi
mov dword [0x463c88], eax
mov eax, 7
mov word [ebp - 0x8c], dx
mov word [ebp - 0x70], dx
mov word [ebp - 0x54], dx
mov word [ebp - 0x38], dx
push edi
xor esi, esi
lea edx, [ebp - 0x90]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 8], eax
push edx
xor eax, eax
push ecx
mov dword [ebp - 0x7c], esi
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0xc], esi
mov word [ebp - 0x1c], ax
call fcn.004012e0
add esp, 8
cmp dword [ebp - 0x28], esi
je 0x401f94
cmp dword [ebp - 0xc], esi
je 0x401f94
mov ecx, dword [ebp - 0x1c]
mov eax, 8
cmp dword [ebp - 8], eax
jae 0x401f5a
lea ecx, [ebp - 0x1c]
cmp dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x38]
jae 0x401f65
lea eax, [ebp - 0x38]
push esi
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov edi, eax
neg edi
sbb edi, edi
lea esi, [ebp - 0x90]
inc edi
call fcn.00401160
mov eax, edi
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00430e4c
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [ebp - 0x60]
push 0x45b0d0
xor edi, edi
lea ecx, [ebp - 0x74]
call fcn.00402de0
test eax, eax
je 0x402068
mov eax, dword [ebp - 0x44]
push 0x45b0d0
lea ecx, [ebp - 0x58]
call fcn.00402de0
test eax, eax
je 0x402068
push ebx
call fcn.00401960
mov eax, dword [0x463c8c]
mov ecx, dword [eax + 0x14]
push str.Waiting_for_Notepad_to_close
push ecx
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea ebx, [ebp - 0x90]
call fcn.00401870
pop ebx
test eax, eax
jne 0x402010
lea esi, [ebp - 0x90]
call fcn.00401160
lea eax, [edi + 2]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00430e4c
mov esp, ebp
pop ebp
ret 0x10
lea ecx, [ebp - 0x90]
call fcn.00402d80
test al, al
je 0x402041
lea ecx, [ebp - 0x90]
call fcn.004019c0
test eax, eax
jne 0x402041
push 0x10
push 0x45b260
push str.Error_finishing_installation_steps.__Plugin_installation_has_not_completed_successfully.
push esi
call dword [sym.imp.USER32.dll_MessageBoxW]
lea eax, [ebp - 0x58]
call fcn.00401910
lea esi, [ebp - 0x90]
call fcn.00401160
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00430e4c
mov esp, ebp
pop ebp
ret 0x10
push 0x10
push 0x45b10c
push str.Invalid_parameters_passed_to_the_plugin_updater__GPUP_._r_nUsage:_gpup.exe__w__window_name___e__exe_name____a__actions_file__
push esi
call dword [sym.imp.USER32.dll_MessageBoxW]
lea esi, [ebp - 0x90]
call fcn.00401160
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov eax, 1
pop esi
call fcn.00430e4c
mov esp, ebp
pop ebp
ret 0x10
Function at 0x405120
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44fbf8
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x461194]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov edi, dword [ebp + 8]
push edi
call fcn.004055e0
mov dword [esi], vtable.boost::bad_function_call.0
mov dword [ebp - 4], 0
test edi, edi
je 0x405169
add edi, 0x28
jmp 0x40516b
xor edi, edi
mov dword [esi + 0x28], vtable.boost::exception.0
mov ecx, dword [edi + 4]
mov dword [esi + 0x2c], ecx
test ecx, ecx
je 0x405183
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
mov eax, dword [edi + 8]
mov dword [esi + 0x30], eax
mov ecx, dword [edi + 0xc]
mov dword [esi + 0x34], ecx
mov edx, dword [edi + 0x10]
mov dword [esi + 0x38], edx
mov dword [esi], vtable.boost::exception_detail::error_info_injector_class_boost::bad_function_call_.0
mov dword [esi + 0x28], vtable.boost::exception_detail::error_info_injector_class_boost::bad_function_call_.1.0
mov eax, esi
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 0x406930
Capabilities:
Check os version
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x154
mov eax, dword [0x461194]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x114
lea eax, [ebp - 0x118]
push 0
push eax
call fcn.00433f80
add esp, 0xc
lea ecx, [ebp - 0x118]
push ecx
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
push 0x3c
lea edx, [ebp - 0x154]
push 0
push edx
call fcn.00433f80
add esp, 0xc
cmp dword [ebp - 0x114], 6
mov dword [ebp - 0x154], 0x3c
mov dword [ebp - 0x144], esi
mov dword [ebp - 0x140], edi
mov dword [ebp - 0x148], 0x45b93c
jae 0x4069b6
mov dword [ebp - 0x148], str.open
lea eax, [ebp - 0x154]
push eax
mov dword [ebp - 0x138], 5
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x4069e0
mov ecx, dword [ebp - 0x11c]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00430e4c
mov esp, ebp
pop ebp
ret
Function at 0x406c80
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x450433
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x461194]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov ebx, ecx
mov dword [ebp - 0x34], eax
mov dword [ebp - 4], 1
xor ecx, ecx
push 9
mov eax, str.Deleting
lea esi, [ebp - 0x2c]
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], cx
call fcn.00402fb0
push 0
lea edi, [ebx + 4]
push edi
or eax, 0xffffffff
mov byte [ebp - 4], 2
call fcn.00404eb0
mov eax, dword [ebp - 0x28]
mov esi, 8
cmp dword [ebp - 0x14], esi
jae 0x406cff
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp + 0x10]
call fcn.00408490
cmp dword [ebx + 0x20], 0
je 0x406d2d
cmp dword [edi + 0x18], esi
jb 0x406d20
mov eax, dword [edi + 4]
push eax
mov ecx, ebx
call fcn.00406eb0
jmp 0x406d41
lea eax, [edi + 4]
push eax
mov ecx, ebx
call fcn.00406eb0
jmp 0x406d41
cmp dword [edi + 0x18], esi
jb 0x406d37
mov eax, dword [edi + 4]
jmp 0x406d3a
lea eax, [edi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x406def
push 0x94
mov dword [ebp - 0x30], 1
call fcn.004312a8
add esp, 4
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 3
test eax, eax
je 0x406d77
push str.delete
push eax
call fcn.00410a80
mov esi, eax
jmp 0x406d79
xor esi, esi
mov byte [ebp - 4], 2
cmp dword [edi + 0x18], 8
jb 0x406d88
mov edi, dword [edi + 4]
jmp 0x406d8b
add edi, 4
push edi
mov ecx, str.file
mov edx, esi
call fcn.00410c30
cmp dword [ebx + 0x20], 0
mov eax, str.true
jne 0x406da8
mov eax, str.false
push eax
mov ecx, str.isDirectory
mov edx, esi
call fcn.00410c30
mov eax, dword [ebp - 0x34]
mov dword [esi + 0xc], eax
mov edx, dword [eax + 0x18]
mov dword [esi + 0x38], edx
mov dword [esi + 0x3c], 0
mov ecx, dword [eax + 0x18]
test ecx, ecx
je 0x406ddf
mov edi, dword [ebp - 0x30]
mov dword [ecx + 0x3c], esi
mov dword [eax + 0x18], esi
mov esi, 8
jmp 0x406df1
mov edi, dword [ebp - 0x30]
mov dword [eax + 0x14], esi
mov dword [eax + 0x18], esi
mov esi, 8
jmp 0x406df1
xor edi, edi
cmp dword [ebp - 0x14], esi
jb 0x406e02
mov eax, dword [ebp - 0x28]
push eax
call fcn.00431205
add esp, 4
xor ecx, ecx
mov byte [ebp - 4], cl
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], cx
test eax, eax
je 0x406e42
test al, 1
jne 0x406e3b
and eax, 0xfffffffe
mov eax, dword [eax]
test eax, eax
je 0x406e3b
lea edx, [ebp + 0x18]
push 2
push edx
mov ecx, edx
push ecx
call eax
add esp, 0xc
mov dword [ebp + 0x10], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0x30]
test eax, eax
je 0x406e6b
test al, 1
jne 0x406e6b
and eax, 0xfffffffe
mov eax, dword [eax]
test eax, eax
je 0x406e6b
lea edx, [ebp + 0x38]
push 2
push edx
mov ecx, edx
push ecx
call eax
add esp, 0xc
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00430e4c
mov esp, ebp
pop ebp
ret 0x4c
Function at 0x407770
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push 0x3c
lea eax, [ebp - 0x3c]
push 0
push eax
call fcn.00433f80
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
add esp, 0xc
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x30], str.open
mov dword [ebp - 0x20], 5
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x4077cc
mov ecx, dword [ebp - 4]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, 1
mov esp, ebp
pop ebp
ret 8
xor eax, eax
mov esp, ebp
pop ebp
ret 8

Function at 0x407f70
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x44fb68
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x461194]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, edx
mov eax, dword [ecx]
mov dword [esp + 0xc], 0
test eax, eax
je 0x407ff4
mov dword [esp + 0xc], eax
test al, 1
je 0x407fdf
mov eax, dword [ecx + 8]
mov edx, dword [ecx + 0xc]
mov dword [esp + 0x14], eax
mov eax, dword [ecx + 0x10]
mov dword [esp + 0x18], edx
mov edx, dword [ecx + 0x14]
mov dword [esp + 0x1c], eax
mov eax, dword [ecx + 0x18]
mov ecx, dword [ecx + 0x1c]
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ecx
jmp 0x407ff4
push 0
lea edx, [esp + 0x18]
and eax, 0xfffffffe
mov eax, dword [eax]
push edx
add ecx, 8
push ecx
call eax
add esp, 0xc
lea edi, [esp + 0xc]
mov dword [esp + 0x38], 0
call fcn.00408160
mov dword [esp + 0x38], 0xffffffff
mov eax, dword [esp + 0xc]
test eax, eax
je 0x408031
test al, 1
jne 0x408031
and eax, 0xfffffffe
mov eax, dword [eax]
test eax, eax
je 0x408031
lea ecx, [esp + 0x14]
push 2
push ecx
mov edx, ecx
push edx
call eax
add esp, 0xc
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40af70
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x461194]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [esi + 4]
push ebx
push edi
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x104
lea eax, [ebp - 0x108]
push eax
push 0xc738
push ecx
call edi
mov ebx, dword [sym.imp.USER32.dll_GetWindowTextA]
push eax
call ebx
lea eax, [ebp - 0x108]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x40afb4
sub eax, ecx
mov ecx, dword [esi]
push eax
lea edx, [ebp - 0x108]
push edx
add ecx, 0x24
call fcn.00402530
mov ecx, dword [esi + 4]
push 0x104
lea eax, [ebp - 0x108]
push eax
push 0xc739
push ecx
call edi
push eax
call ebx
lea eax, [ebp - 0x108]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x40aff2
sub eax, ecx
mov ecx, dword [esi]
push eax
lea edx, [ebp - 0x108]
push edx
add ecx, 0x40
call fcn.00402530
mov eax, dword [esi + 4]
push 0
push 0
push pe_nt_image_headers32
push 0x3e9
push eax
call edi
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop ebx
cmp eax, 1
jne 0x40b042
mov ecx, dword [esi]
mov dword [ecx + 0x20], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00430e4c
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov edx, dword [esi]
xor ecx, ebp
mov dword [edx + 0x20], 2
call fcn.00430e4c
mov esp, ebp
pop ebp
ret

Function at 0x40b310
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4508a7
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x461194]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [edi], 0x45bf08
mov dword [edi + 0x58], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
lea esi, [edi + 8]
push esi
mov dword [ebp - 4], ebx
push edi
mov dword [ebp - 0x10], 1
call fcn.0040c0c0
mov dword [ebp - 4], 1
mov eax, dword [edi]
mov ecx, dword [eax + 4]
push esi
mov dword [edi + ecx], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
call fcn.0040c820
lea edx, [esi + 8]
mov dword [esi + 0x10], edx
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov byte [esi + 0x48], bl
mov byte [esi + 0x41], bl
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], ebx
mov eax, dword [esi + 0x24]
mov dword [eax], ebx
mov ecx, dword [esi + 0x34]
mov dword [ecx], ebx
mov edx, dword [esi + 0x10]
mov dword [edx], ebx
mov eax, dword [esi + 0x20]
mov edx, dword [0x463cb0]
mov dword [eax], ebx
mov ecx, dword [esi + 0x30]
mov dword [ecx], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x44], edx
mov dword [esi + 0x3c], ebx
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x40c820
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44f7fb
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x461194]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.0043068a
push 4
mov dword [ebp - 4], 0
call fcn.004312a8
mov edi, eax
add esp, 4
test edi, edi
je 0x40c89c
call fcn.0043093c
mov dword [edi], eax
call fcn.0043076a
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.0043064b
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x40c892
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.00430673
jmp 0x40c89e
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
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 4
Function at 0x40db90
Capabilities:
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x102c
call fcn.00436a10
mov eax, dword [0x461194]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
xor esi, esi
push esi
push 0x8000000
push 3
push esi
push 1
push closesocket
push eax
mov dword [ebp - 0x1028], ecx
mov dword [ebp - 0x1018], esi
mov dword [ebp - 0x101c], esi
mov dword [ebp - 0x1024], esi
mov dword [ebp - 0x1020], esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
mov dword [ebp - 0x102c], ebx
cmp ebx, 0xffffffff
je 0x40dc3e
push 0xf0000000
push 1
push esi
push esi
lea edx, [ebp - 0x1018]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x40dc37
mov ecx, dword [ebp - 0x1018]
lea eax, [ebp - 0x101c]
push eax
push esi
push esi
push 0x8003
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x40dc50
mov edx, dword [ebp - 0x1018]
push esi
push edx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00430e4c
mov esp, ebp
pop ebp
ret
push edi
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
lea eax, [ebp - 0x1024]
push eax
push 0x1000
lea ecx, [ebp - 0x1014]
push ecx
push ebx
call edi
push esi
cmp eax, esi
je 0x40dca7
mov eax, dword [ebp - 0x1024]
cmp eax, esi
je 0x40dcdb
push eax
mov eax, dword [ebp - 0x101c]
lea edx, [ebp - 0x1014]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x40dc57
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00430e4c
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x1018]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov edx, dword [ebp - 0x101c]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00430e4c
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0x101c]
lea eax, [ebp - 0x1020]
push eax
lea ecx, [ebp - 0x14]
push ecx
push 2
push edx
mov dword [ebp - 0x1020], 0x10
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x40dd4b
mov edi, dword [ebp - 0x1028]
cmp dword [ebp - 0x1020], esi
jbe 0x40dd44
xor ebx, ebx
movzx eax, byte [ebp + esi - 0x14]
mov ecx, dword [ebp + 0xc]
push eax
push 0x45c018
sub ecx, ebx
push ecx
push edi
call fcn.0043262b
inc esi
add esp, 0x10
add edi, 4
add ebx, 2
cmp esi, dword [ebp - 0x1020]
jb 0x40dd13
mov ebx, dword [ebp - 0x102c]
xor esi, esi
mov edi, 1
jmp 0x40dd4d
xor edi, edi
mov edx, dword [ebp - 0x101c]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov eax, dword [ebp - 0x1018]
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00430e4c
mov esp, ebp
pop ebp
ret
Function at 0x40df40
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x450108
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x461194]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xor ecx, ecx
or eax, 0xffffffff
mov dword [edi + 8], eax
mov dword [edi + 4], eax
mov dword [edi + 0x34], 7
mov dword [edi + 0x30], ecx
lea esi, [edi + 0x1c]
xor eax, eax
mov word [esi + 4], ax
mov dword [edi + 0xc], ecx
mov dword [edi + 0x10], 4
mov dword [edi + 0x14], ecx
mov dword [edi + 0x18], ecx
mov dword [edi + 0x38], ecx
mov dword [edi + 0x3c], ecx
mov dword [edi + 0x40], ecx
mov eax, 0x45b0d0
mov dword [ebp - 4], ecx
mov dword [edi], vtable.TiXmlText.0
lea ebx, [eax + 2]
mov dx, word [eax]
add eax, 2
cmp dx, cx
jne 0x40dfb0
sub eax, ebx
sar eax, 1
push eax
mov eax, 0x45b0d0
call fcn.00402fb0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x410a80
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44ff03
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x461194]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xor edx, edx
or ebx, 0xffffffff
mov dword [edi + 8], ebx
mov dword [edi + 4], ebx
mov dword [edi + 0x30], edx
lea esi, [edi + 0x1c]
mov eax, 7
mov dword [esi + 0x18], eax
xor ecx, ecx
mov word [esi + 4], cx
mov dword [edi + 0xc], edx
mov dword [edi + 0x10], 1
mov dword [edi + 0x38], edx
mov dword [edi + 0x3c], edx
mov dword [edi + 0x40], edx
mov dword [ebp - 4], edx
lea ecx, [edi + 0x44]
mov dword [edi], vtable.TiXmlElement.0
mov dword [ecx + 8], ebx
mov dword [ecx + 4], ebx
mov dword [ecx], vtable.TiXmlAttribute.0
mov dword [ecx + 0x28], eax
mov dword [ecx + 0x24], edx
xor ebx, ebx
mov word [ecx + 0x14], bx
mov dword [ecx + 0x44], eax
mov dword [ecx + 0x40], edx
xor eax, eax
mov word [ecx + 0x30], ax
mov dword [ecx + 0xc], edx
mov dword [ecx + 0x4c], ecx
mov dword [ecx + 0x48], ecx
mov eax, dword [ebp + 0xc]
mov ecx, eax
mov byte [ebp - 4], 1
lea ebx, [ecx + 2]
mov dword [edi + 0x18], edx
mov dword [edi + 0x14], edx
mov dword [ebp + 0xc], ebx
jmp 0x410b30
mov bx, word [ecx]
add ecx, 2
cmp bx, dx
jne 0x410b30
sub ecx, dword [ebp + 0xc]
sar ecx, 1
push ecx
call fcn.00402fb0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x411130
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4500b3
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x461194]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xor ebx, ebx
or eax, 0xffffffff
mov dword [edi + 8], eax
mov dword [edi + 4], eax
mov dword [edi + 0x30], ebx
mov ecx, 7
mov dword [edi + 0x34], ecx
xor edx, edx
mov word [edi + 0x20], dx
mov dword [edi + 0xc], ebx
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], ebx
mov dword [edi + 0x18], ebx
mov dword [edi + 0x38], ebx
mov dword [edi + 0x3c], ebx
mov dword [edi + 0x40], ebx
mov dword [ebp - 4], ebx
lea esi, [edi + 0x4c]
mov dword [edi], vtable.TiXmlDocument.0
mov dword [esi + 0x18], ecx
xor ecx, ecx
mov dword [esi + 0x14], ebx
mov word [esi + 4], cx
mov byte [ebp - 4], 1
mov dword [edi + 0x70], eax
mov dword [edi + 0x6c], eax
push ebx
mov eax, 0x45b0d0
mov dword [edi + 0x68], 4
mov byte [edi + 0x44], bl
mov dword [edi + 0x48], ebx
call fcn.00402fb0
mov dword [edi + 0x70], ebx
mov dword [edi + 0x6c], ebx
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4111e0
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4500b3
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x461194]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
xor ebx, ebx
or ecx, 0xffffffff
mov dword [edi + 8], ecx
mov dword [edi + 4], ecx
mov dword [edi + 0x34], 7
mov dword [edi + 0x30], ebx
lea esi, [edi + 0x1c]
xor edx, edx
mov word [esi + 4], dx
mov dword [edi + 0xc], ebx
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], ebx
mov dword [edi + 0x18], ebx
mov dword [edi + 0x38], ebx
mov dword [edi + 0x3c], ebx
mov dword [edi + 0x40], ebx
mov dword [ebp - 4], ebx
mov dword [edi], vtable.TiXmlDocument.0
mov dword [edi + 0x64], 7
mov dword [edi + 0x60], ebx
mov word [edi + 0x50], dx
mov byte [ebp - 4], 1
mov dword [edi + 0x70], ecx
mov dword [edi + 0x6c], ecx
mov ecx, eax
lea edx, [ecx + 2]
mov dword [edi + 0x68], 4
mov dword [ebp + 0xc], edx
mov edi, edi
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x411270
sub ecx, dword [ebp + 0xc]
sar ecx, 1
push ecx
call fcn.00402fb0
push ebx
mov eax, 0x45b0d0
lea esi, [edi + 0x4c]
mov byte [edi + 0x44], bl
mov dword [edi + 0x48], ebx
call fcn.00402fb0
mov dword [edi + 0x70], ebx
mov dword [edi + 0x6c], ebx
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x413940
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x194
mov eax, dword [0x461194]
xor eax, esp
mov dword [esp + 0x190], eax
lea eax, [esp]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x413990
mov ax, word [esp]
cmp al, 2
jne 0x41398a
cmp ah, al
jne 0x41398a
xor eax, eax
mov ecx, dword [esp + 0x190]
xor ecx, esp
call fcn.00430e4c
add esp, 0x194
ret
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, dword [esp + 0x190]
xor ecx, esp
mov eax, 2
call fcn.00430e4c
add esp, 0x194
ret