joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41fcd0
Capabilities:
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x449a46
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x45c020]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
push 0x54
call fcn.0044665e
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
mov dword [esp + 0x28], 0
je 0x41fd19
push eax
call fcn.00425300
jmp 0x41fd1b
xor eax, eax
or esi, 0xffffffff
mov dword [esp + 0x28], esi
push 0xc0
mov dword [0x45fa9c], eax
call fcn.0044665e
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
mov ebx, dword [esp + 0x38]
mov dword [esp + 0x28], 1
je 0x41fd67
mov edx, dword [esp + 0x3c]
sub esp, 8
mov ecx, esp
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x38]
mov dword [esp + 0x20], esp
mov dword [ecx], ebx
call fcn.0041fb80
mov ebp, eax
jmp 0x41fd69
xor ebp, ebp
mov ecx, ebp
mov dword [esp + 0x28], esi
call fcn.00420020
test ebp, ebp
je 0x41fd7d
lea eax, [ebp + 0x48]
jmp 0x41fd7f
xor eax, eax
mov esi, dword [0x45fa9c]
mov dword [ebp + 0x38], eax
mov eax, dword [esp + 0x34]
push eax
call fcn.00425650
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
mov esi, dword [0x45fa9c]
lea eax, [esp + 0x18]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
call fcn.00425460
mov eax, dword [0x45fa9c]
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push 0x4508ec
push edx
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov edi, dword [0x45fa9c]
push ebp
call fcn.00425910
mov ecx, dword [0x45fa9c]
mov eax, dword [ecx]
mov byte [eax + 0x28], 0
cmp dword [0x460460], 0
mov eax, dword [0x45e408]
je 0x41fdfa
mov edx, dword [0x45e414]
mov eax, dword [0x45e410]
mov dword [esp + 0x1c], edx
mov edx, dword [ebp + 0x14]
push 0x18
push edx
mov edx, dword [ebp + 0x10]
push edx
mov edx, dword [esp + 0x48]
push edx
sub ebx, eax
mov eax, dword [ecx]
mov ecx, dword [eax + 4]
push ebx
push 0xffffffffffffffff
push ecx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [0x45fa9c]
cmp dword [eax], 0
mov esi, eax
jne 0x41fe3e
push 0xec
push 0x450b38
push str.host____NULL
call dword [sym.imp.MSVCR80.dll__wassert]
add esp, 0xc
mov edx, dword [esi]
mov eax, dword [edx + 4]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x50]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
add esi, 0x1c
push esi
call eax
mov eax, ebp
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
Function at 0x4214b0
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x45f89c]
sub esp, 0x14
test eax, eax
push ebx
mov ebx, dword [sym.imp.USER32.dll_PostMessageW]
push ebp
mov ebp, dword [sym.imp.USER32.dll_ShowWindow]
push esi
je 0x4214e8
mov esi, eax
mov eax, dword [eax]
mov ecx, dword [eax + 4]
push 0
push ecx
call ebp
mov edx, dword [esi]
mov eax, dword [edx + 4]
push 0
push 0
push 0x402
push eax
call ebx
cmp byte [esp + 0x24], 0
mov dword [0x45f89c], 0
je 0x421529
mov eax, dword [0x45f940]
test eax, eax
je 0x42151f
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push 0
push edx
mov esi, eax
call ebp
mov eax, dword [esi]
mov ecx, dword [eax + 4]
push 0
push 0
push 0x402
push ecx
call ebx
mov dword [0x45f940], 0
mov esi, dword [edi + 0x7c]
test esi, esi
je 0x42153c
push 0x753e
push 0
call fcn.0040f790
mov esi, dword [edi + 0x80]
test esi, esi
je 0x421552
push 0x7541
push 0
call fcn.0040f790
mov esi, dword [edi + 0x84]
test esi, esi
je 0x421568
push 0x7544
push 0
call fcn.0040f790
mov esi, dword [edi + 0x8c]
test esi, esi
je 0x42157e
push 0x7557
push 0
call fcn.0040f790
mov esi, dword [edi + 0x94]
test esi, esi
je 0x421594
push 0x755d
push 0
call fcn.0040f790
mov esi, dword [edi + 0x98]
test esi, esi
je 0x4215a7
push 0x79
push 0
call fcn.0040f790
mov edx, dword [edi + 0x10]
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov eax, dword [edi + 0x14]
mov dword [esp + 0x18], edx
mov edx, dword [edi]
mov edx, dword [edx + 4]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x10]
push eax
mov ecx, edi
call edx
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 4
Function at 0x422070
Capabilities:
Access peb ldr_data
Get ntdll base address
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x44941a
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x45c020]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
xor ebx, ebx
mov byte [esi + 6], bl
mov byte [esi + 7], bl
mov al, 1
mov byte [esi + 4], al
mov byte [esi + 5], al
mov dword [esi + 0x14], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 8], ebx
mov byte [esi + 0x18], 0xff
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esp + 0x1c], ebx
mov dword [esi + 0x40], vtable.dui::Animation::Delegate.0
mov dword [esi + 0x44], vtable.dui::Widget::TimerObserver.0
mov dword [esi + 0x48], vtable.dui::KeyListener.0
lea ecx, [esi + 0x50]
mov dword [esi], vtable.Tooltip.0
mov dword [esi + 0x40], vtable.Tooltip.1.0
mov dword [esi + 0x44], vtable.Tooltip.2.0
mov dword [esi + 0x48], vtable.Tooltip.3.0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
mov dword [esi + 0x6c], 0x64
mov dword [esi + 0x70], ebx
push 0x64
mov byte [esp + 0x20], 2
call fcn.0044665e
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, ebx
mov byte [esp + 0x1c], 3
je 0x42213b
push eax
call fcn.004125b0
jmp 0x42213d
xor eax, eax
mov byte [esp + 0x1c], 2
mov dword [esi + 0x4c], eax
mov ecx, dword [esi + 0x24]
cmp ecx, ebx
je 0x422154
mov ebx, dword [esi + 0x28]
sub ebx, ecx
sar ebx, 2
push ebx
push eax
mov ebx, esi
call fcn.00422df0
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x14]
mov eax, dword [esi + 0x4c]
mov edi, 4
mov ebx, 3
sub ecx, edi
sub edx, ebx
cmp dword [eax + 8], edi
jne 0x422188
cmp dword [eax + 0xc], ebx
jne 0x422188
cmp dword [eax + 0x10], ecx
jne 0x422188
cmp dword [eax + 0x14], edx
je 0x422194
mov dword [eax + 8], edi
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], edx
mov eax, esi
mov dword [esi + 0x74], 0
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4

Function at 0x422330
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, eax
test esi, esi
je 0x42233c
lea eax, [esi + 0x44]
jmp 0x42233e
xor eax, eax
push eax
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
push eax
call fcn.00425e10
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
mov esi, eax
cmp dword [esi], 0
jne 0x422376
push 0xec
push 0x450b38
push str.host____NULL
call dword [sym.imp.MSVCR80.dll__wassert]
add esp, 0xc
mov eax, dword [esi]
mov ecx, dword [eax + 4]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x50]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
add esi, 0x1c
push esi
call eax
pop esi
ret
Function at 0x423540
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x448e18
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x45c020]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov dword [esp + 0x10], ecx
mov eax, dword [ecx + 0xc]
mov ecx, dword [ecx + 8]
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
push eax
push ecx
lea ebx, [esp + 0x1c]
call fcn.00422bc0
mov edi, dword [esp + 0x10]
mov ecx, dword [ebp + 8]
xor esi, esi
mov dword [esp + 0x38], esi
mov eax, dword [edi]
mov edx, dword [eax + 0x14]
push ecx
mov ecx, edi
call edx
mov ecx, dword [edi + 0x24]
test ecx, ecx
mov dword [esp + 0x10], esi
jne 0x4235ad
xor eax, eax
jmp 0x4235b5
mov eax, dword [edi + 0x28]
sub eax, ecx
sar eax, 2
cmp esi, eax
jge 0x423633
test ecx, ecx
je 0x4235c9
mov eax, dword [edi + 0x28]
sub eax, ecx
sar eax, 2
cmp esi, eax
jb 0x4235cf
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [edi + 0x24]
mov ebx, dword [eax + esi*4]
cmp byte [ebx + 4], 0
je 0x42362b
mov ecx, dword [ebx + 8]
mov edx, dword [ebx + 0xc]
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x1c], ecx
mov ecx, dword [ebx + 0x14]
mov dword [esp + 0x20], edx
lea edx, [esp + 0x1c]
mov dword [esp + 0x28], ecx
mov ecx, dword [ebp + 0xc]
mov esi, edx
mov dword [esp + 0x24], eax
call fcn.004229c0
test eax, eax
je 0x423627
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 8]
sub dword [esp + 0x20], eax
sub dword [esp + 0x1c], edx
mov ecx, dword [ebp + 8]
mov edx, dword [ebx]
mov edx, dword [edx + 0x10]
mov eax, esi
push eax
push ecx
mov ecx, ebx
call edx
mov esi, dword [esp + 0x10]
add esi, 1
jmp 0x42359e
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
mov ecx, dword [esi]
push eax
push ecx
call sub.gdiplus.dll_GdipRestoreGraphics
test eax, eax
je 0x42364b
mov dword [esi + 4], eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

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

Disassembly:
push 0xffffffffffffffff
push 0x44858b
mov eax, dword fs:[0]
push eax
mov eax, dword [0x45c020]
xor eax, esp
push eax
lea eax, [esp + 4]
mov dword fs:[0], eax
mov eax, dword [esp + 0x14]
xor ecx, ecx
mov dword [eax], ecx
mov byte [eax + 4], 0xff
mov byte [eax + 5], 1
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 0x14], cl
mov dword [eax + 0x18], ecx
mov dword [eax + 0x20], ecx
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x30], ecx
mov dword [eax + 0x34], ecx
mov dword [eax + 0x38], ecx
mov dword [eax + 0x40], ecx
mov dword [eax + 0x44], ecx
mov dword [eax + 0x48], ecx
mov dword [eax + 0x50], ecx
mov dword [eax + 0x24], 0x320
mov dword [eax + 0x28], 0x258
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
pop ecx
add esp, 0xc
ret 4
Function at 0x425380
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x447d06
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x45c020]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x14], 1
mov ecx, dword [esi + 0x50]
xor edi, edi
cmp ecx, edi
je 0x4253c2
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov dword [esi + 0x50], edi
mov eax, dword [esi + 0xc]
cmp eax, edi
je 0x4253d3
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [esi + 0xc], edi
mov eax, dword [esi + 8]
cmp eax, edi
je 0x4253e4
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov dword [esi + 8], edi
mov eax, dword [esi + 0x40]
cmp eax, edi
je 0x4253f4
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov eax, dword [esi + 0x30]
cmp eax, edi
je 0x42540d
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4

Function at 0x4258e0
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esi]
mov ecx, dword [eax + 4]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esi]
mov eax, dword [edx + 4]
push 0
push 0
push 0x402
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
ret
Function at 0x429520
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
push ebx
push ebp
mov ebp, dword [esp + 0x18]
push esi
mov esi, eax
mov eax, dword [esp + 0x18]
mov eax, dword [eax]
xor ecx, ecx
cmp eax, ecx
push edi
mov dword [esp + 0x14], ecx
mov dword [esp + 0x20], ecx
je 0x4295f7
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea edx, [esp + 0x20]
push edx
push ecx
lea edx, [esp + 0x18]
push edx
push ecx
push ebp
push eax
call ebx
mov eax, dword [esp + 0x10]
cmp eax, 1
je 0x42956d
cmp eax, 2
jne 0x4295f7
call fcn.0040caa0
mov eax, dword [esi]
mov ecx, dword [esp + 0x20]
sub eax, 0x10
shr ecx, 1
mov edx, 1
sub edx, dword [eax + 0xc]
mov eax, dword [eax + 8]
add ecx, 1
sub eax, ecx
or edx, eax
jge 0x429598
mov eax, esi
call fcn.0040d760
mov edi, dword [esi]
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [eax]
push edi
lea edx, [esp + 0x18]
push edx
push 0
push ebp
push ecx
call ebx
test eax, eax
jne 0x4295c7
mov edx, dword [esp + 0x20]
shr edx, 1
mov word [edi + edx*2], ax
mov dword [esp + 0x14], 1
mov edx, dword [esi]
test edx, edx
jne 0x4295d1
xor eax, eax
jmp 0x4295e7
mov eax, edx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4295d6
sub eax, edi
sar eax, 1
js 0x429605
cmp eax, dword [edx - 8]
jg 0x429605
mov dword [edx - 0xc], eax
mov ecx, dword [esi]
mov word [ecx + eax*2], 0
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8
push 0x80070057
call fcn.00401050
int3
Function at 0x42a3c0
Capabilities:
Create directory
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x44a838
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x45c020]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, dword [esp + 0x28]
lea eax, [esp + 0x14]
push eax
mov ecx, esi
call fcn.0040c420
push esi
mov dword [esp + 0x24], 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
or ebp, 0xffffffff
cmp eax, ebp
jne 0x42a4b9
mov edi, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0
push esi
call edi
test eax, eax
jne 0x42a4b9
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebx
cmp eax, 0xb7
je 0x42a4b9
lea ecx, [esp + 0x14]
call fcn.0042a310
mov eax, dword [esp + 0x14]
cmp dword [eax - 0xc], 0
jne 0x42a47b
add eax, 0xfffffff0
mov dword [esp + 0x20], ebp
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebp
dec ebp
test ebp, ebp
jg 0x42a465
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
push eax
call fcn.0042a3c0
add esp, 4
test eax, eax
jne 0x42a4a7
lea eax, [esp + 0x14]
call fcn.0040c560
xor eax, eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
push 0
push esi
call edi
test eax, eax
jne 0x42a4b9
call ebx
cmp eax, 0xb7
jne 0x42a488
mov dword [esp + 0x20], ebp
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebp
dec ebp
test ebp, ebp
jg 0x42a4da
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 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
Function at 0x42b780
Capabilities:
Delete registry value
Query or enumerate registry key

Disassembly:
sub esp, 8
push ebx
mov ebx, dword [sym.imp.MSVCR80.dll__wassert]
push ebp
push esi
mov esi, dword [esp + 0x1c]
test esi, esi
mov dword [esp + 0x10], ecx
jne 0x42b7ac
push 0x83
push str.........includekgetuuid_regkeyex.cpp
push str.pszSubKey___0
call ebx
add esp, 0xc
mov ebp, dword [esp + 0x18]
test ebp, ebp
jne 0x42b7c8
push 0x84
push str.........includekgetuuid_regkeyex.cpp
push str.hKey___0
call ebx
add esp, 0xc
lea eax, [esp + 0xc]
push eax
push 0x2001f
push 0
push esi
push ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x42b80f
push 0x91
push str.........includekgetuuid_regkeyex.cpp
push 0x450f1c
call ebx
mov ecx, dword [esp + 0x18]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esp, 0xc
push ecx
call esi
push ebp
call esi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret 0xc
mov eax, dword [esp + 0x20]
test eax, eax
push edi
je 0x42b85e
mov edx, dword [esp + 0x10]
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, eax
mov eax, dword [esp + 0x10]
push eax
call edi
push ebp
call edi
test esi, esi
je 0x42b925
push 0xa0
push str.........includekgetuuid_regkeyex.cpp
push 0x450f1c
call ebx
add esp, 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret 0xc
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov dword [esp + 0x1c], 0
mov eax, dword [esp + 0x10]
push 0
push 0
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x38]
push edx
push 0
push 0
push 0
push eax
call ebx
test eax, eax
jne 0x42b934
cmp dword [esp + 0x1c], eax
jbe 0x42b903
mov eax, dword [esp + 0x24]
xor ecx, ecx
add eax, 1
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00446278
mov ecx, dword [esp + 0x14]
mov esi, eax
mov eax, dword [esp + 0x28]
add esp, 4
add eax, 1
push eax
push esi
push 0
push ecx
call edi
test eax, eax
jne 0x42b94b
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
push eax
push esi
push edx
call fcn.0042b780
test eax, eax
push esi
je 0x42b96b
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
cmp dword [esp + 0x1c], 0
ja 0x42b872
mov eax, dword [esp + 0x10]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call esi
mov ecx, dword [esp + 0x20]
push ecx
push ebp
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push ebp
mov edi, eax
call esi
test edi, edi
jne 0x42b97e
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 8
ret 0xc
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret 0xc
push esi
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
mov ecx, dword [esp + 0x14]
add esp, 4
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret 0xc
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
mov edx, dword [esp + 0x14]
add esp, 4
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret 0xc
Function at 0x42bac0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], 0
cmp dword [ebp + 0xc], 0
jne 0x42badc
mov eax, dword [ebp - 4]
jmp 0x42bbb7
mov esi, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
shr ecx, 3
xor eax, 0xffffffff
test ecx, ecx
je 0x42bb92
push ebp
mov ebp, ecx
xor edx, edx
xor ecx, ecx
mov edi, edi
mov ebx, dword [esi]
add esi, 4
mov dl, bl
mov cl, bh
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x44ea20]
shr ebx, 0x10
xor eax, edi
xor cl, al
shr eax, 8
mov edi, dword [ecx*4 + 0x44ea20]
mov dl, bl
xor eax, edi
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x44ea20]
mov cl, bh
xor eax, edi
mov ebx, dword [esi]
xor cl, al
shr eax, 8
mov edi, dword [ecx*4 + 0x44ea20]
add esi, 4
xor eax, edi
mov dl, bl
mov cl, bh
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x44ea20]
shr ebx, 0x10
xor eax, edi
xor cl, al
shr eax, 8
mov edi, dword [ecx*4 + 0x44ea20]
mov dl, bl
xor eax, edi
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x44ea20]
mov cl, bh
xor eax, edi
xor cl, al
shr eax, 8
xor eax, dword [ecx*4 + 0x44ea20]
dec ebp
jne 0x42bafc
pop ebp
mov ecx, dword [ebp + 0x10]
xor edx, edx
and ecx, 7
je 0x42bbae
mov dl, byte [esi]
inc esi
xor dl, al
shr eax, 8
xor eax, dword [edx*4 + 0x44ea20]
dec ecx
jne 0x42bb9c
xor eax, 0xffffffff
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x42c220
Capabilities:
Create thread

Disassembly:
push edi
push 0xc
mov dword [esi + 8], eax
call fcn.0044665e
add esp, 4
test eax, eax
jne 0x42c236
xor edi, edi
jmp 0x42c25f
push 0
push 0
push eax
push 0x42e190
push 0
push 0
mov dword [eax], esi
mov dword [eax + 8], 0
mov dword [eax + 4], 0x42c330
call dword [sym.imp.MSVCR80.dll__beginthreadex]
add esp, 0x18
mov edi, eax
mov eax, dword [esi + 4]
test eax, eax
je 0x42c26d
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 4], edi
xor eax, eax
pop edi
ret

Function at 0x430230
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ecx
test eax, eax
push ebp
mov ebp, dword [esp + 0xc]
jle 0x4302b7
lea edx, [eax + ebx - 1]
push esi
mov dword [esp + 8], edx
mov dword [esp + 0x10], eax
push edi
mov al, byte [ebp]
test al, al
je 0x4302a1
movzx eax, al
mov al, byte [eax + 0x45da78]
xor ecx, ecx
test ebx, ebx
jle 0x430291
movzx esi, al
mov edx, dword [ebx*4 + 0x45e050]
movzx eax, byte [edx + ecx]
add eax, esi
cdq
mov edi, 0xff
idiv edi
add ecx, 1
movzx eax, dl
mov dl, byte [eax + 0x45d978]
xor dl, byte [ecx + ebp]
cmp ecx, ebx
mov byte [ecx + ebp - 1], dl
jl 0x430261
mov edx, dword [esp + 0xc]
cmp ebx, edx
jge 0x4302ae
lea edi, [ebx + ebp]
mov ecx, edx
lea esi, [edi + 1]
sub ecx, ebx
jmp 0x4302ac
test edx, edx
jle 0x4302ae
lea esi, [ebp + 1]
mov ecx, edx
mov edi, ebp
rep movsb byte es:[edi], byte [esi]
sub dword [esp + 0x14], 1
jne 0x430248
pop edi
pop esi
pop ebp
pop ecx
ret 4
Function at 0x440f50
Capabilities:
Get common file path
Link many functions at runtime

Disassembly:
sub esp, 0x20c
mov eax, dword [0x45c020]
xor eax, esp
mov dword [esp + 0x208], eax
push 0x206
lea eax, [esp + 6]
push 0
push eax
mov word [esp + 0xc], 0
call fcn.00446cf4
add esp, 0xc
push 0x104
lea ecx, [esp + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x4516bc
lea edx, [esp + 4]
push 0x104
push edx
call dword [sym.imp.MSVCR80.dll_wcscat_s]
add esp, 0xc
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
mov dword [esi + 0x60], eax
je 0x4410ba
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.WinHttpOpen
push eax
call edi
mov ecx, dword [esi + 0x60]
push str.WinHttpConnect
push ecx
mov dword [esi + 4], eax
call edi
mov edx, dword [esi + 0x60]
push str.WinHttpOpenRequest
push edx
mov dword [esi + 8], eax
call edi
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x60]
push str.WinHttpAddRequestHeaders
push eax
call edi
mov ecx, dword [esi + 0x60]
push str.WinHttpSendRequest
push ecx
mov dword [esi + 0x10], eax
call edi
mov edx, dword [esi + 0x60]
push str.WinHttpReceiveResponse
push edx
mov dword [esi + 0x14], eax
call edi
mov dword [esi + 0x18], eax
mov eax, dword [esi + 0x60]
push str.WinHttpQueryHeaders
push eax
call edi
mov ecx, dword [esi + 0x60]
push str.WinHttpReadData
push ecx
mov dword [esi + 0x1c], eax
call edi
mov edx, dword [esi + 0x60]
push str.WinHttpCloseHandle
push edx
mov dword [esi + 0x20], eax
call edi
mov dword [esi + 0x24], eax
mov eax, dword [esi + 0x60]
push str.WinHttpCrackUrl
push eax
call edi
mov ecx, dword [esi + 0x60]
push str.WinHttpSetOption
push ecx
mov dword [esi + 0x28], eax
call edi
mov edx, dword [esi + 0x60]
push str.WinHttpSetTimeouts
push edx
mov dword [esi + 0x2c], eax
call edi
cmp dword [esi + 4], 0
mov dword [esi + 0x30], eax
pop edi
je 0x4410b6
cmp dword [esi + 0x10], 0
je 0x4410b6
cmp dword [esi + 0x24], 0
je 0x4410b6
cmp dword [esi + 8], 0
je 0x4410b6
cmp dword [esi + 0xc], 0
je 0x4410b6
cmp dword [esi + 0x1c], 0
je 0x4410b6
cmp dword [esi + 0x20], 0
je 0x4410b6
cmp dword [esi + 0x18], 0
je 0x4410b6
cmp dword [esi + 0x14], 0
je 0x4410b6
cmp dword [esi + 0x28], 0
je 0x4410b6
cmp dword [esi + 0x2c], 0
je 0x4410b6
test eax, eax
je 0x4410b6
mov eax, 1
jmp 0x4410b8
xor eax, eax
mov dword [esi], eax
mov ecx, dword [esp + 0x208]
mov eax, dword [esi]
xor ecx, esp
call fcn.0044664e
add esp, 0x20c
ret