joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40aea0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x418
mov eax, dword [0x4a2a04]
xor eax, esp
mov dword [esp + 0x414], eax
push ebx
push edi
push esi
call fcn.0040a730
xor edi, edi
cmp dword [esi + 0x298], edi
jle 0x40afd9
mov edx, dword [esi + 0x294]
add edx, 0x202
mov eax, edx
lea ebx, [eax + 2]
jmp 0x40aee0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40aee0
sub eax, ebx
sar eax, 1
jne 0x40af05
inc edi
add edx, 0x1602
cmp edi, dword [esi + 0x298]
jl 0x40aed6
jmp 0x40afd9
push 0x104
lea eax, [esp + 0x218]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [esp + 0x214]
push 0x5c
push ecx
call fcn.00451ab5
xor edx, edx
mov word [eax + 2], dx
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x1e]
push ecx
mov word [esp + 0x20], ax
call fcn.00456530
lea edx, [esp + 0x228]
push edx
lea eax, [esp + 0x24]
push str._sSoftApp.ini
push eax
call fcn.004516d5
add esp, 0x20
lea ecx, [esp + 0xc]
push ecx
push 1
push str.bShowMoreBtn
push str.ControlConf
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
je 0x40af91
push str.show_more_btn_hide
lea ecx, [esi + 0x2c]
call dword [0x47fb78]
test eax, eax
je 0x40afcc
push 1
jmp 0x40afc0
mov ebx, dword [sym.SoftUpd.exe_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_wchar_t_const__const]
lea edi, [esi + 0x2c]
push str.Show_Hide_tab
mov ecx, edi
call ebx
test eax, eax
je 0x40afec
push 1
mov ecx, eax
call dword [0x47fb7c]
push str.show_more_btn
mov ecx, edi
call ebx
test eax, eax
je 0x40afcc
push 0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xcc]
call eax
mov edx, dword [esi + 0x294]
mov ecx, esi
call fcn.0040ac50
push 1
push 1
mov ecx, esi
mov byte [esi + 0x274], 1
call dword [0x47f92c]
mov ecx, dword [esp + 0x41c]
pop edi
pop ebx
xor ecx, esp
call fcn.004516c6
add esp, 0x418
ret
Function at 0x40b7d0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x838
mov eax, dword [0x4a2a04]
xor eax, esp
mov dword [esp + 0x830], eax
push esi
push 0x44
lea eax, [esp + 0x1c]
push 0
push eax
mov esi, ecx
call fcn.00456530
xor eax, eax
push esi
lea ecx, [esp + 0x70]
push 0x47e32c
push ecx
mov dword [esp + 0x30], 0x44
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
call fcn.004516d5
add esp, 0x18
lea edx, [esp + 4]
push edx
lea eax, [esp + 0x1c]
push eax
push 0
push 0
push 0
push 1
push 0
push 0
lea ecx, [esp + 0x80]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x40b87d
mov edx, dword [esp + 4]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [esp + 4]
lea eax, [esp + 0x14]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov edx, dword [esp + 4]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call esi
mov eax, dword [esp + 8]
push eax
call esi
mov ecx, dword [esp + 0x834]
pop esi
xor ecx, esp
call fcn.004516c6
add esp, 0x838
ret

Function at 0x40c760
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x46d013
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x4a2a04]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
xor ebx, ebx
or eax, 0xffffffff
mov dword [esi + 8], eax
mov dword [esi + 4], eax
mov dword [esi + 0xc], ebx
mov dword [esi + 0x20], 0x4a55e0
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
lea ecx, [esi + 0x34]
mov dword [esi], vtable.TiXmlDocument.0
mov dword [esp + 0x18], ebx
mov dword [ecx], 0x4a55e0
mov dword [esi + 0x40], eax
mov dword [esi + 0x3c], eax
push ebx
push 0x47f814
mov byte [esp + 0x20], 1
mov dword [esi + 0x38], 4
mov byte [esi + 0x44], bl
mov byte [esi + 0x2c], bl
mov dword [esi + 0x30], ebx
call fcn.0040bae0
mov dword [esi + 0x40], ebx
mov dword [esi + 0x3c], ebx
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret
Function at 0x40c810
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x46d038
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a2a04]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov ebx, ecx
mov ebp, dword [esp + 0x28]
xor edi, edi
cmp ebp, edi
jne 0x40c852
push edi
push edi
push edi
push 2
call fcn.0040dfc0
xor al, al
jmp 0x40c9ef
mov esi, dword [ebx + 0x18]
cmp esi, edi
je 0x40c871
lea esp, [esp]
mov ecx, esi
mov eax, dword [ecx]
mov edx, dword [eax]
mov esi, dword [esi + 0x28]
push 1
call edx
cmp esi, edi
jne 0x40c860
push 2
or eax, 0xffffffff
mov dword [ebx + 0x18], edi
mov dword [ebx + 0x1c], edi
push edi
push ebp
mov dword [ebx + 8], eax
mov dword [ebx + 4], eax
call fcn.00455d5a
push ebp
call fcn.00455c62
push 0
push 0
push ebp
mov edi, eax
call fcn.00455d5a
add esp, 0x1c
test edi, edi
jne 0x40c8b5
push edi
push edi
push edi
push 0xd
mov ecx, ebx
call fcn.0040dfc0
xor al, al
jmp 0x40c9ef
mov dword [esp + 0x14], 0x4a55e0
push edi
lea ecx, [esp + 0x18]
mov dword [esp + 0x24], 0
call fcn.0040ba40
lea eax, [edi + 1]
push eax
call fcn.00444c01
push ebp
mov esi, eax
push 1
push edi
push esi
mov dword [esp + 0x3c], esi
mov byte [esi], 0
call fcn.00455aa8
add esp, 0x14
cmp eax, 1
je 0x40c925
push 0
push 0
push 0
push 2
mov ecx, ebx
call fcn.0040dfc0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x20], 0xffffffff
cmp eax, 0x4a55e0
je 0x40c91e
push eax
call fcn.00444c3b
add esp, 4
xor al, al
jmp 0x40c9ef
mov ebp, dword [esp + 0x28]
mov byte [edi + ebp], 0
cmp byte [ebp], 0
mov eax, esi
je 0x40c997
mov cl, byte [esi]
cmp cl, 0xa
jne 0x40c955
mov ecx, esi
sub ecx, eax
add ecx, 1
push ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.0040bbd0
add esi, 1
mov eax, esi
jmp 0x40c992
cmp cl, 0xd
jne 0x40c98f
mov ecx, esi
sub ecx, eax
test ecx, ecx
jle 0x40c96d
push ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.0040bbd0
push 1
lea edx, [esp + 0x2c]
push edx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], 0xa
call fcn.0040bbd0
cmp byte [esi + 1], 0xa
jne 0x40c94e
add esi, 2
mov eax, esi
jmp 0x40c992
add esi, 1
cmp byte [esi], 0
jne 0x40c935
sub esi, eax
je 0x40c9a6
push esi
push eax
lea ecx, [esp + 0x1c]
call fcn.0040bbd0
push ebp
call fcn.00444c3b
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x18]
mov eax, dword [ebx]
mov eax, dword [eax + 8]
add esp, 4
push ecx
push 0
add edx, 8
push edx
mov ecx, ebx
call eax
cmp byte [ebx + 0x2c], 0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x20], 0xffffffff
jne 0x40c90e
cmp eax, 0x4a55e0
je 0x40c9ed
push eax
call fcn.00444c3b
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 8
Function at 0x41b441
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push edi
push 0x11
xor edi, edi
call esi
test ax, ax
jge 0x41b457
push 8
pop edi
push 2
call esi
test ax, ax
jge 0x41b463
or edi, 1
push 1
call esi
test ax, ax
jge 0x41b46f
or edi, 2
push 0x10
call esi
test ax, ax
jge 0x41b47b
or edi, 4
push 0x12
call esi
test ax, ax
jge 0x41b487
or edi, 0x20
mov eax, edi
pop edi
pop esi
ret

Function at 0x41b5f2
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x4a2a04]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x214], 0
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push 0x208
push eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push eax
call fcn.00456530
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0xffffffffffffffff
lea eax, [ebp - 0x210]
push eax
mov ecx, esi
call sym.SoftUpd.exe_public:_void___thiscall_DuiLib::CDuiString::constructor_wchar_t_const___int_
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004516c6
leave
ret

Function at 0x41dab2
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, ecx
call dword [sym.imp.USER32.dll_GetFocus]
mov ecx, dword [esi]
mov ebx, dword [ebp + 8]
cmp eax, ecx
je 0x41dad7
cmp ebx, dword [esi + 0x54]
je 0x41dad7
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [esi + 0x54]
cmp ebx, eax
je 0x41db99
push edi
test eax, eax
je 0x41db2a
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x1c]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x20], 0x14
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x54]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
mov eax, dword [ecx]
push edx
call dword [eax + pe_nt_image_headers32]
xor edi, edi
push edi
push edi
push edi
push str.killfocus
push dword [esi + 0x54]
mov ecx, esi
call sym.SoftUpd.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::SendNotify_class_DuiLib::CControlUI___wchar_t_const___unsigned_int__long_int__bool_
mov dword [esi + 0x54], edi
test ebx, ebx
je 0x41db98
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
cmp eax, esi
jne 0x41db98
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xc8]
test al, al
je 0x41db98
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xd4]
test al, al
je 0x41db98
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x1c]
rep stosd dword es:[edi], eax
mov dword [esi + 0x54], ebx
mov dword [ebp - 0x20], 0x15
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x54]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
mov eax, dword [ecx]
push edx
call dword [eax + pe_nt_image_headers32]
xor eax, eax
push eax
push eax
push eax
push str.setfocus
push dword [esi + 0x54]
mov ecx, esi
call sym.SoftUpd.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::SendNotify_class_DuiLib::CControlUI___wchar_t_const___unsigned_int__long_int__bool_
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x41dd96
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
mov esi, ecx
push edi
lea edi, [esi + 0xd0]
mov ecx, edi
xor ebx, ebx
call sym.SoftUpd.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
test eax, eax
jle 0x41dde5
push ebx
mov ecx, edi
mov byte [ebp - 1], 0
call sym.SoftUpd.exe_public:_void____thiscall_DuiLib::CStdPtrArray::operator___int_const
mov edx, dword [eax]
lea ecx, [ebp - 1]
push ecx
push dword [ebp + 0x10]
mov ecx, eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [edx]
cmp byte [ebp - 1], 0
jne 0x41de46
mov ecx, edi
inc ebx
call sym.SoftUpd.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
cmp ebx, eax
jl 0x41ddb4
mov eax, dword [ebp + 8]
sub eax, 0x100
je 0x41de9f
sub eax, 4
je 0x41de4a
dec eax
dec eax
jne 0x41de96
push dword [ebp + 0xc]
mov word [ebp + 8], ax
lea edi, [ebp + 0xa]
stosw word es:[edi], ax
call fcn.00456cd2
pop ecx
mov ecx, dword [esi + 0x50]
push VariantTimeToDosDateTime
lea edx, [ebp + 8]
push edx
mov word [ebp + 8], ax
mov eax, dword [ecx]
push sym.SoftUpd.exe_private:_static_class_DuiLib::CControlUI____stdcall_DuiLib::CPaintManagerUI::__FindControlFromShortcut_class_DuiLib::CControlUI___void__
call dword [eax + 0xfc]
mov esi, eax
test esi, esi
je 0x41de96
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xf0]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18]
mov al, 1
jmp 0x41de98
cmp dword [esi + 0x54], 0
je 0x41de96
xor eax, eax
push 7
pop ecx
lea edi, [ebp - 0x20]
rep stosd dword es:[edi], eax
mov ax, word [ebp + 0xc]
mov word [ebp - 0x10], ax
mov eax, dword [esi + 0x64]
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0x68]
mov dword [ebp - 0x24], 6
mov dword [ebp - 0x14], eax
call fcn.0041b441
mov word [ebp - 0xe], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x54]
lea edx, [ebp - 0x24]
mov dword [ebp - 0x1c], eax
mov eax, dword [ecx]
push edx
call dword [eax + pe_nt_image_headers32]
xor al, al
pop edi
pop esi
pop ebx
leave
ret 0x10
cmp dword [ebp + 0xc], 9
jne 0x41de96
cmp dword [esi + 0x54], 0
je 0x41deee
mov ecx, dword [esi + 0x54]
mov eax, dword [ecx]
call dword [eax + 0xc8]
test al, al
je 0x41deee
mov ecx, dword [esi + 0x54]
mov eax, dword [ecx]
call dword [eax + 0xd4]
test al, al
je 0x41deee
mov ecx, dword [esi + 0x54]
mov eax, dword [ecx]
push str.RichEditUI
call dword [eax + 0xc]
push eax
call fcn.00452288
pop ecx
pop ecx
test eax, eax
je 0x41deee
mov ecx, dword [esi + 0x54]
call sym.SoftUpd.exe_public:_bool___thiscall_DuiLib::CRichEditUI::IsWantTab_void_
test al, al
jne 0x41de96
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
setge al
movzx eax, al
push eax
mov ecx, esi
call sym.SoftUpd.exe_public:_bool___thiscall_DuiLib::CPaintManagerUI::SetNextTabControl_bool_
jmp 0x41de46
Function at 0x42f44a
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x4a2a04]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp byte [esi + 0x18], bl
je 0x42f4bb
cmp dword [esi + 0x10], ebx
je 0x42f4bb
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov edi, eax
inc edi
lea eax, [edi + edi]
call fcn.00456b90
mov dword [ebp - 8], esp
cmp esp, ebx
je 0x42f4bb
push edi
push dword [ebp - 8]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esi + 0x10]
push dword [ebp - 8]
add ecx, 0x1b8
call fcn.0041a9d7
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
push ebx
push ebx
push ebx
push str.textchanged
push ecx
call dword [eax + 0x1c]
mov ecx, eax
call sym.SoftUpd.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::SendNotify_class_DuiLib::CControlUI___wchar_t_const___unsigned_int__long_int__bool_
xor eax, eax
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004516c6
leave
ret 0x10

Function at 0x4323da
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x4d4], ebx
je 0x432442
cmp dword [ebp + 8], 0x100
jne 0x432431
cmp word [ebp + 0xc], 0xd
jne 0x432431
cmp byte [esi + 0x4da], bl
je 0x432418
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge 0x432431
cmp byte [esi + 0x4db], bl
jne 0x432431
mov ecx, dword [esi + 0x40]
cmp ecx, ebx
je 0x43242d
push ebx
push ebx
push ebx
push str.return
push esi
call sym.SoftUpd.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::SendNotify_class_DuiLib::CControlUI___wchar_t_const___unsigned_int__long_int__bool_
xor eax, eax
jmp 0x432445
mov eax, dword [esi + 0x4d4]
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx]
pop esi
pop ebx
pop ebp
jmp dword [eax + 0xc]
xor eax, eax
inc eax
pop esi
pop ebx
pop ebp
ret 0x10
Function at 0x439f6e
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov edx, dword [esp + 8]
test edx, edx
jne 0x439f79
xor eax, eax
ret
mov eax, dword [esp + 4]
push esi
push edi
mov edi, dword [esp + 0x14]
not eax
mov ecx, 0xff
cmp edi, 8
jb 0x43a034
mov esi, edi
shr esi, 3
push ebx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x479338]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x479338]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x479338]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x479338]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x479338]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x479338]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x479338]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x479338]
inc edx
sub edi, 8
dec esi
jne 0x439f99
pop ebx
test edi, edi
je 0x43a04d
movzx esi, byte [edx]
xor esi, eax
and esi, ecx
shr eax, 8
xor eax, dword [esi*4 + 0x479338]
inc edx
dec edi
jne 0x43a038
pop edi
not eax
pop esi
ret

Function at 0x43a4e4
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0xc]
imul edi, dword [ebp + 0x10]
cmp byte [esi], 0
je 0x43a518
push 0
lea eax, [ebp + 0x10]
push eax
push edi
push dword [ebp + 8]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x43a513
mov byte [esi + 8], 1
mov eax, dword [ebp + 0x10]
jmp 0x43a540
mov ecx, dword [esi + 0x18]
mov eax, dword [esi + 0x14]
lea edx, [ecx + edi]
cmp edx, eax
jbe 0x43a529
sub eax, ecx
mov edi, eax
mov eax, dword [esi + 0x10]
push edi
add eax, ecx
push eax
push dword [ebp + 8]
call fcn.00454be0
add esp, 0xc
add dword [esi + 0x18], edi
mov eax, edi
xor edx, edx
div dword [ebp + 0xc]
pop edi
pop esi
pop ebp
ret

Function at 0x43b2dd
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x4a2a04]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x43b387
movzx ecx, word [esi]
test cx, cx
je 0x43b387
mov eax, esi
mov edx, esi
movzx ecx, cx
cmp cx, 0x2f
je 0x43b31b
cmp cx, 0x5c
jne 0x43b31d
mov eax, edx
inc edx
inc edx
movzx ecx, word [edx]
test cx, cx
jne 0x43b30f
cmp eax, esi
je 0x43b35b
push edi
sub eax, esi
mov edi, eax
sar edi, 1
push edi
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.00456aab
xor eax, eax
mov word [ebp + edi*2 - 0x20c], ax
lea eax, [ebp - 0x20c]
push eax
push ebx
call fcn.0043b2dd
add esp, 0x14
pop edi
lea eax, [ebp - 0x414]
push ebx
push eax
call fcn.00456a8c
lea eax, [ebp - 0x414]
push esi
push eax
call fcn.00456a5e
add esp, 0x10
push 0
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.004516c6
leave
ret
Function at 0x43c8b8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x43c933
cmp dword [esi + 4], 0xffffffff
jne 0x43c933
push edi
lea edi, [esi + 0x138]
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0x479934
push edi
call fcn.00456a5e
cmp dword [ebp + 0x10], 1
pop ecx
pop ecx
pop edi
jne 0x43c905
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 1
je 0x43c905
mov eax, 0x2000000
jmp 0x43c938
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0043a2fa
add esp, 0x10
test eax, eax
jne 0x43c923
mov eax, dword [ebp + 0x10]
jmp 0x43c938
push eax
call fcn.0043c4b4
mov dword [esi], eax
mov eax, dword [0x4a5b78]
pop ecx
jmp 0x43c938
mov eax, 0x1000000
pop esi
pop ebp
ret 0xc
Function at 0x43f7ce
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, eax
mov eax, dword [esi + 8]
push edi
mov edi, eax
and edi, 7
je 0x43f7f3
cmp eax, edi
jge 0x43f7eb
mov eax, esi
call fcn.0043f182
mov ecx, edi
shr dword [esi + 0xc], cl
sub dword [esi + 8], edi
xor ecx, ecx
cmp dword [esi + 8], ecx
jle 0x43f815
mov al, byte [esi + 0xc]
shr dword [esi + 0xc], 8
add dword [esi + 8], 0xfffffff8
mov byte [ebp + ecx - 4], al
inc ecx
cmp dword [esi + 8], 0
jg 0x43f7fa
cmp ecx, 4
jge 0x43f834
mov edi, dword [esi + 4]
mov eax, dword [esi]
cmp eax, edi
jb 0x43f822
xor eax, eax
jmp 0x43f82a
mov dl, byte [eax]
inc eax
mov dword [esi], eax
movzx eax, dl
mov byte [ebp + ecx - 4], al
inc ecx
cmp ecx, 4
jl 0x43f818
movzx edi, byte [ebp - 3]
movzx eax, byte [ebp - 4]
movzx ecx, byte [ebp - 2]
shl edi, 8
add edi, eax
movzx eax, byte [ebp - 1]
shl eax, 8
add eax, ecx
mov ecx, edi
xor ecx, 0xffff
cmp eax, ecx
je 0x43f866
mov eax, str.zlib_corrupt
call fcn.0043cd9f
jmp 0x43f8a1
mov eax, dword [esi]
add eax, edi
cmp eax, dword [esi + 4]
jbe 0x43f876
mov eax, str.read_past_buffer
jmp 0x43f85f
mov eax, dword [esi + 0x10]
add eax, edi
cmp eax, dword [esi + 0x18]
jbe 0x43f88b
mov ecx, edi
call fcn.0043f1ad
test eax, eax
je 0x43f8a1
push edi
push dword [esi]
push dword [esi + 0x10]
call fcn.00454be0
add dword [esi], edi
add dword [esi + 0x10], edi
xor eax, eax
add esp, 0xc
inc eax
pop edi
pop esi
leave
ret

Function at 0x445b4b
Capabilities:
Create http request

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
mov dword [esi], vtable.CInternetSession.0
test eax, eax
jne 0x445b76
call fcn.004473d6
mov eax, dword [eax + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [esi + 8], eax
test eax, eax
jne 0x445b99
push eax
push dword [esi + 4]
call fcn.00445ad1
push esi
push eax
mov ecx, 0x4a5cec
call fcn.00445758
mov eax, esi
pop esi
pop ebp
ret 0x18

Function at 0x4464de
Capabilities:
Connect to http server

Disassembly:
push 4
mov eax, 0x46ed41
call fcn.004561c5
mov esi, ecx
mov dword [ebp - 0x10], esi
push dword [ebp + 0x1c]
mov edi, dword [ebp + 8]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call fcn.0044649e
and dword [ebp - 4], 0
lea ecx, [esi + 0x18]
mov dword [esi], vtable.CHttpConnection.0
call fcn.00406a40
push dword [esi + 8]
mov edi, dword [edi + 8]
push 0
push 3
push dword [ebp + 0x18]
mov byte [ebp - 4], 1
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call dword [sym.imp.WININET.dll_InternetConnectW]
mov dword [esi + 4], eax
test eax, eax
jne 0x446544
push eax
push dword [esi + 8]
call fcn.00445ad1
push dword [esi + 0xc]
mov ecx, 0x4a5cec
push eax
call fcn.00445758
mov eax, esi
call fcn.0045629d
ret 0x18

Function at 0x4516c6
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4a2a04]
jne 0x4516d0
repz ret
jmp fcn.0045a419