joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4281f0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x482e60
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x4ad014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0x4943c4
lea ecx, [esi + 4]
mov byte [esi], 0
call fcn.0042ab90
push 0x4943c4
lea ecx, [esi + 8]
call fcn.0042ab90
push 0x4943c4
lea ecx, [esi + 0xc]
call fcn.0042ab90
push 0x4943c4
lea ecx, [esi + 0x10]
call fcn.0042ab90
push 0x4943c4
lea ecx, [esi + 0x14]
call fcn.0042ab90
push 0x4943c4
lea ecx, [esi + 0x1c]
mov byte [esi + 0x18], 0
call fcn.0042ab90
push 0x4943c4
lea ecx, [esi + 0x20]
call fcn.0042ab90
push 0x4943c4
lea ecx, [esi + 0x24]
call fcn.0042ab90
push 0x4943c4
lea ecx, [esi + 0x28]
call fcn.0042ab90
push 0x496740
lea ecx, [esi + 0x38]
mov dword [esi + 0x2c], 1
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
call fcn.0042ab90
lea ecx, [esi + 0x3c]
call fcn.004285a0
push str.http:__192.168.203.144_qaclients_PTBGQA9_PT830012_New_Client_en_client_update_urls.html
lea ecx, [esi + 0x9c]
mov byte [esi + 0x98], 0
call fcn.0042ab90
push str.Playtech_QA_DEV
lea ecx, [esi + 0xa0]
call fcn.0042ab90
push 0x4943c4
lea ecx, [esi + 0xa4]
call fcn.0042ab90
push 0x4943c4
lea ecx, [esi + 0xa8]
call fcn.0042ab90
push 0x4943c4
lea ecx, [esi + 0xac]
call fcn.0042ab90
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 0x4285a0
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x482e60
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x4ad014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0x4943c4
call fcn.0042ab90
push 0x4943c4
lea ecx, [esi + 4]
call fcn.0042ab90
push 0x4943c4
lea ecx, [esi + 8]
call fcn.0042ab90
push 0x4943c4
lea ecx, [esi + 0xc]
call fcn.0042ab90
push 0x4943c4
lea ecx, [esi + 0x10]
call fcn.0042ab90
push 0x4943c4
lea ecx, [esi + 0x14]
call fcn.0042ab90
push 0x4943c4
lea ecx, [esi + 0x18]
call fcn.0042ab90
push 0x4943c4
lea ecx, [esi + 0x1c]
call fcn.0042ab90
push 0x4943c4
lea ecx, [esi + 0x20]
call fcn.0042ab90
push 0x4943c4
lea ecx, [esi + 0x24]
call fcn.0042ab90
push 0x4943c4
lea ecx, [esi + 0x28]
call fcn.0042ab90
push 0x4943c4
lea ecx, [esi + 0x2c]
call fcn.0042ab90
push 0x4943c4
lea ecx, [esi + 0x30]
call fcn.0042ab90
push 0x4943c4
lea ecx, [esi + 0x34]
call fcn.0042ab90
push 0x4943c4
lea ecx, [esi + 0x38]
call fcn.0042ab90
push 0x4943c4
lea ecx, [esi + 0x3c]
call fcn.0042ab90
push 0x4943c4
lea ecx, [esi + 0x40]
call fcn.0042ab90
push 0x4943c4
lea ecx, [esi + 0x44]
call fcn.0042ab90
push 0x4943c4
lea ecx, [esi + 0x48]
call fcn.0042ab90
push 0x4943c4
lea ecx, [esi + 0x4c]
call fcn.0042ab90
push 0x4943c4
lea ecx, [esi + 0x50]
call fcn.0042ab90
push 0x4943c4
lea ecx, [esi + 0x54]
call fcn.0042ab90
push 0x4943c4
lea ecx, [esi + 0x58]
call fcn.0042ab90
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 0x42f8a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x4ad014]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
add eax, eax
mov dword [edi], 0
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push esi
lea eax, [ebp - 8]
push eax
push 0
push edx
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x42f92b
mov eax, dword [ebp - 8]
cmp eax, 1
je 0x42f8ed
cmp eax, 2
jne 0x42f909
mov ecx, dword [ebp - 0xc]
test esi, esi
je 0x42f925
test ecx, ecx
je 0x42f920
test cl, 1
jne 0x42f909
mov eax, ecx
shr eax, 1
cmp word [esi + eax*2 - 2], 0
je 0x42f925
pop edi
mov eax, 0xd
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045b46f
mov esp, ebp
pop ebp
ret 0xc
xor eax, eax
mov word [esi], ax
shr ecx, 1
xor eax, eax
mov dword [edi], ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0045b46f
mov esp, ebp
pop ebp
ret 0xc
Function at 0x441660
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4854f7
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x4ad014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
call fcn.0040f6c0
mov ecx, eax
test ecx, ecx
jne 0x4416a3
push 0x80004005
call fcn.0041ff40
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
lea eax, [ebp - 0x14]
push dword [edi]
push dword [esi]
push 0x49a5d0
push eax
call fcn.0042d0a0
mov esi, dword [ebp - 0x14]
push esi
push str.CSendStats::SendToPixelServer
push str._s___s_
push 1
push 5
call fcn.004548f0
push 4
call fcn.0045b485
mov edi, eax
add esp, 0x28
mov dword [ebp - 0x1c], edi
add esi, 0xfffffff0
mov byte [ebp - 4], 1
mov ecx, esi
mov dword [edi], 0
call fcn.0042c130
add eax, 0x10
mov byte [ebp - 4], 0
mov dword [edi], eax
lea eax, [ebp - 0x18]
push eax
push 0
push edi
push 0x441540
push 0
push 0
mov dword [ebp - 0x18], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
test edi, edi
jne 0x441743
push str.CSendStats::SendToPixelServer
push str._s_Failed_to_create_thread
push 3
push 5
call fcn.004548f0
add esp, 0x10
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x441766
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045b46f
mov esp, ebp
pop ebp
ret
Function at 0x443100
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x4ad014]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, ecx
mov dword [ebp - 8], eax
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0xc], ebx
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x443138
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esi + 4], 0
mov eax, dword [esi + 0x18]
test eax, eax
je 0x443156
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [esi + 0x18]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [esi + 0x18], 0
push dword [ebp - 8]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x44324b
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
test ebx, ebx
je 0x44324b
push edi
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x44324b
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [esi + 0x18], eax
test eax, eax
je 0x44324b
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x44323b
push ebx
push edi
push eax
call fcn.0045ff10
add esp, 0xc
mov dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
push 0
push dword [esi + 0x18]
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x443232
mov ecx, dword [ebp - 8]
call fcn.00442e40
mov dword [esi + 4], eax
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x443232
mov eax, dword [ecx + 8]
mov dword [ecx + 8], 0
test eax, eax
jne 0x44321e
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045b46f
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x44322b
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esi + 4], 0
push dword [esi + 0x18]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [esi + 0x18]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [esi + 0x18], 0
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045b46f
mov esp, ebp
pop ebp
ret 0xc
Function at 0x443c30
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
mov eax, dword [0x4ad014]
xor eax, ebp
mov dword [ebp - 4], eax
movzx eax, word [ebp + 8]
push esi
mov esi, dword [0x4b0770]
push edi
push 0xf0
push eax
push esi
mov dword [ebp - 0x130], ecx
mov edi, 1
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x443dd4
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x443dd4
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x443dd4
mov edx, 0x1234
push ebx
movzx eax, word [esi]
xor ecx, ecx
cmp cx, ax
je 0x443dbf
mov ecx, dword [esi + 4]
mov ebx, eax
movzx eax, word [esi + 2]
add esi, 8
mov dword [ebp - 0x134], ecx
mov ecx, 0x403
cmp cx, ax
jne 0x443d34
push 0x104
lea eax, [ebp - 0x108]
push 0
push eax
call fcn.0045fd40
add esp, 0xc
lea eax, [ebp - 0x104]
lea ecx, [ebp - 0x108]
mov dword [ebp - 0x108], eax
push 3
push esi
call fcn.00443f20
push dword [ebp - 0x108]
mov eax, dword [ebp - 0x130]
push 0
push 0x143
push ebx
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
xor ecx, ecx
cmp eax, 0xffffffff
mov eax, dword [ebp - 0x108]
cmove edi, ecx
lea ecx, [ebp - 0x104]
cmp eax, ecx
je 0x443dac
push eax
call fcn.00462769
add esp, 4
jmp 0x443dac
cmp dx, ax
jne 0x443db1
push 3
lea eax, [ebp - 0x234]
mov dword [ebp - 0x12c], 1
push esi
lea ecx, [ebp - 0x238]
mov dword [ebp - 0x128], 0xffffffff
mov dword [ebp - 0x238], eax
call fcn.00443f20
mov eax, dword [ebp - 0x238]
lea ecx, [ebp - 0x234]
mov dword [ebp - 0x124], eax
cmp eax, ecx
je 0x443d86
push eax
call fcn.00462769
add esp, 4
lea eax, [ebp - 0x12c]
push eax
mov eax, dword [ebp - 0x130]
push 0
push 0x40b
push ebx
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
xor ecx, ecx
cmp eax, 0xffffffff
cmove edi, ecx
mov edx, 0x1234
add esi, dword [ebp - 0x134]
test edi, edi
jne 0x443c96
pop ebx
mov eax, edi
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045b46f
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.0045b46f
mov esp, ebp
pop ebp
ret 4
Function at 0x444bd0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x184
mov eax, dword [0x4ad014]
xor eax, esp
mov dword [esp + 0x180], eax
push ebx
mov ebx, dword [ebp + 8]
mov eax, 0x4000
push esi
mov esi, edx
push edi
mov edi, ecx
test word [esi], ax
je 0x444c11
push 0
push 0xffffffffffffffff
push ebx
call dword [sym.imp.USER32.dll_SetMenuDefaultItem]
mov eax, 0xbfff
and word [esi], ax
push 0x30
lea eax, [esp + 0x14]
push 0
push eax
call fcn.0045fd40
push pe_nt_image_headers32
lea eax, [esp + 0x84]
mov dword [esp + 0x20], 0x30
push 0
push eax
call fcn.0045fd40
add esp, 0x18
mov dword [esp + 0x70], 0x114
lea eax, [esp + 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x444c6a
mov eax, dword [esp + 0x74]
cmp eax, 5
jae 0x444c72
cmp eax, 4
jne 0x444c6a
cmp dword [esp + 0x78], 0x5a
jae 0x444c72
mov dword [esp + 0x10], 0x2c
movzx ecx, word [esi]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x14], 1
mov dword [esp + 0x20], edi
test ecx, 0x100
je 0x444c94
or eax, 3
mov dword [esp + 0x1c], eax
test ecx, 0x200
je 0x444ca3
or eax, 8
mov dword [esp + 0x1c], eax
test ecx, 0x1000
je 0x444cb4
or eax, 0x1000
mov dword [esp + 0x1c], eax
test ecx, 0x2000
je 0x444d59
push 0x30
lea eax, [esp + 0x44]
push 0
push eax
call fcn.0045fd40
push pe_nt_image_headers32
lea eax, [esp + 0x84]
mov dword [esp + 0x50], 0x30
push 0
push eax
call fcn.0045fd40
add esp, 0x18
mov dword [esp + 0x70], 0x114
lea eax, [esp + 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x444d19
mov eax, dword [esp + 0x74]
cmp eax, 5
jae 0x444d21
cmp eax, 4
jne 0x444d19
cmp dword [esp + 0x78], 0x5a
jae 0x444d21
mov dword [esp + 0x40], 0x2c
lea eax, [esp + 0x40]
mov dword [esp + 0x44], 0x10
push eax
push 0
push edi
push ebx
mov dword [esp + 0x60], edi
call dword [sym.imp.USER32.dll_GetMenuItemInfoW]
test eax, eax
je 0x444d59
mov eax, dword [esp + 0x48]
or dword [esp + 0x14], 0x10
and eax, 0xfffff7fb
or dword [esp + 0x18], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x10]
push eax
push 0
push edi
push ebx
call dword [sym.imp.USER32.dll_SetMenuItemInfoW]
mov ecx, dword [esp + 0x18c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0045b46f
mov esp, ebp
pop ebp
ret
Function at 0x445420
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x4ad014]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
mov eax, dword [esi + 4]
test eax, eax
jne 0x44545f
push str.CWebView::Show
push str._s_failed___no_window_handle_created_
push 2
push 2
call fcn.004548f0
add esp, 0x10
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045b46f
mov esp, ebp
pop ebp
ret
push ebx
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_UpdateWindow]
push 2
push 1
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
mov ebx, dword [sym.imp.USER32.dll_PeekMessageW]
lea eax, [ebp - 0x20]
push 1
push 0
push 0
push 0
push eax
call ebx
test eax, eax
je 0x4454c5
mov esi, dword [sym.imp.USER32.dll_TranslateMessage]
push edi
mov edi, dword [sym.imp.USER32.dll_DispatchMessageW]
lea eax, [ebp - 0x20]
push eax
call esi
lea eax, [ebp - 0x20]
push eax
call edi
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x20]
push eax
call ebx
test eax, eax
jne 0x4454a6
pop edi
mov ecx, dword [ebp - 4]
pop ebx
xor ecx, ebp
pop esi
call fcn.0045b46f
mov esp, ebp
pop ebp
ret

Function at 0x447090
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x485c8a
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4ad014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x28], esi
mov edi, dword [ebp + 8]
push 0
mov dword [ebp - 0x2c], esi
call fcn.0045c8e3
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov byte [ebp - 4], 6
test edi, edi
jne 0x447150
lea eax, [ebp - 0x20]
mov dword [ebp - 0x24], vtable.std::exception.0
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], str.bad_locale_name
xorps xmm0, xmm0
mov byte [ebp - 0x14], 1
push eax
movq qword [ebp - 0x20], xmm0
call fcn.0045f1f8
add esp, 8
mov dword [ebp - 0x24], vtable.std::runtime_error.0
lea eax, [ebp - 0x24]
push 0x4ab04c
push eax
call fcn.0045fe9a
push edi
push esi
call fcn.0045cc2b
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045b46f
mov esp, ebp
pop ebp
ret 4
Function at 0x450460
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4832f6
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x4ad014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.0045b485
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.0045cb28
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x450fc0
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, edx
mov ebx, ecx
mov eax, esi
shr eax, 0x1f
push edi
movd xmm0, esi
sub esp, 8
cvtdq2pd xmm0, xmm0
addsd xmm0, qword [eax*8 + 0x49d910]
divsd xmm0, qword [0x49d8d8]
movsd qword [ebp - 0xc], xmm0
fld qword [ebp - 0xc]
fstp qword [esp]
call fcn.0047f3a0
fstp qword [ebp - 0xc]
movsd xmm0, qword [ebp - 0xc]
add esp, 8
mulsd xmm0, qword [0x49d8e0]
call fcn.00480751
mov dword [ebp - 8], eax
test ebx, ebx
je 0x4510fc
mov edi, dword [ebp + 8]
test edi, edi
je 0x4510fc
cmp eax, dword [ebp + 0xc]
ja 0x4510fc
xor ecx, ecx
test esi, esi
je 0x4510c2
cmp ecx, esi
jae 0x45104a
movzx edx, byte [ecx + ebx]
inc ecx
jmp 0x45104c
xor edx, edx
cmp ecx, esi
jae 0x45105a
movzx eax, byte [ecx + ebx]
inc ecx
mov dword [ebp - 4], eax
jmp 0x451061
mov dword [ebp - 4], 0
cmp ecx, esi
jae 0x45106c
movzx eax, byte [ecx + ebx]
inc ecx
jmp 0x45106e
xor eax, eax
shl edx, 8
add edx, dword [ebp - 4]
shl edx, 8
add edx, eax
mov eax, edx
shr eax, 0x12
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_T]
mov byte [edi], al
mov eax, edx
shr eax, 0xc
and eax, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_T]
mov byte [edi + 1], al
mov eax, edx
shr eax, 6
and edx, 0x3f
and eax, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_T]
mov byte [edi + 2], al
movzx eax, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_T]
mov byte [edi + 3], al
add edi, 4
cmp ecx, esi
jb 0x451043
mov edi, dword [ebp + 8]
mov eax, 0xaaaaaaab
mul esi
shr edx, 1
lea eax, [edx + edx*2]
mov edx, dword [ebp - 8]
sub esi, eax
mov ecx, dword [esi*4 + 0x49b698]
test ecx, ecx
jle 0x4510ee
lea eax, [edx - 1]
add eax, edi
mov byte [eax], 0x3d
lea eax, [eax - 1]
sub ecx, 1
jne 0x4510e3
mov eax, dword [ebp + 0x10]
pop edi
pop esi
pop ebx
mov dword [eax], edx
mov al, 1
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4527a0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x486a58
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x4ad014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor bl, bl
call fcn.0040f6c0
mov ecx, eax
test ecx, ecx
jne 0x4527e3
push 0x80004005
call fcn.0041ff40
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
test esi, esi
jne 0x4527fd
xor ecx, ecx
jmp 0x452811
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x452802
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x14]
call fcn.0042c270
mov esi, dword [ebp - 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x452860
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x45283f
cmp eax, 3
je 0x45283f
cmp eax, 0x15
jne 0x452860
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x452881
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x452881
mov bl, 1
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x452881
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov al, bl
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.0045b46f
mov esp, ebp
pop ebp
ret
Function at 0x452dd0
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x486b18
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x4ad014]
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 dword [ebp - 0x38], edx
mov byte [ebp - 0x31], cl
mov dword [ebp - 4], 0
mov ebx, 1
mov esi, dword [ebp + 8]
mov ecx, ebx
sub ecx, dword [esi - 4]
mov eax, dword [esi - 8]
or eax, ecx
jge 0x452e29
push 0
lea ecx, [ebp + 8]
call fcn.0042c190
mov esi, dword [ebp + 8]
lea ecx, [esi + 2]
nop dword [eax]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x452e30
sub esi, ecx
mov edx, 2
sar esi, 1
xor ecx, ecx
lea eax, [esi + 2]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0045b4c6
mov ecx, dword [ebp + 8]
add esp, 4
mov edi, eax
sub ebx, dword [ecx - 4]
mov edx, dword [ecx - 8]
or edx, ebx
jge 0x452e77
push 0
lea ecx, [ebp + 8]
call fcn.0042c190
mov ecx, dword [ebp + 8]
push ecx
lea eax, [esi + 2]
push eax
push edi
call fcn.0046b4a9
xor eax, eax
add esp, 0xc
cmp byte [ebp - 0x31], 0
mov dword [edi + esi*2], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x24], eax
mov eax, 0x14
mov dword [ebp - 0x2c], 3
mov dword [ebp - 0x28], edi
mov word [ebp - 0x20], ax
jne 0x452eb2
mov eax, 0x54
mov word [ebp - 0x20], ax
lea eax, [ebp - 0x30]
mov dword [ebp - 0x1e], 0
push eax
mov dword [ebp - 0x16], 0
mov dword [ebp - 0x1a], 0
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
sete bl
test bl, bl
jne 0x452eed
push edi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
je 0x452eed
mov ecx, dword [ebp - 0x38]
call fcn.0042ac50
push edi
call fcn.0045b480
mov dword [ebp - 4], 0xffffffff
add esp, 4
mov eax, dword [ebp + 8]
or ecx, 0xffffffff
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x452f18
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov al, bl
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.0045b46f
mov esp, ebp
pop ebp
ret