joyce8/EMBER2024-capa huggingface dataset:
Function at 0x420f10
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x486eb3
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x4b3014]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x42c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x428], eax
mov dword [ebp - 0x20], 0
push 0x404
xorps xmm0, xmm0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x424]
movq qword [ebp - 0x1c], xmm0
push 0
push eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], 0
call fcn.00463a40
add esp, 0xc
mov dword [ebp - 0x424], 0
push 0x60
push 0
mov byte [ebp - 4], 1
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push esi
call ebx
mov edi, eax
mov dword [ebp - 0x430], edi
test edi, edi
jne 0x420fd1
push 2
push eax
push esi
call ebx
mov edi, eax
mov dword [ebp - 0x430], eax
test edi, edi
jne 0x420fd1
call fcn.00420210
mov esi, eax
jmp 0x4210be
push dword [ebp - 0x428]
push dword [ebp - 0x42c]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x420ff4
call fcn.00420210
jmp 0x4210b1
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x42c], ebx
test ebx, ebx
jne 0x421012
call fcn.00420210
jmp 0x4210b1
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov dword [ebp - 0x428], esi
lea eax, [esi + 1]
cmp eax, esi
jae 0x421033
mov esi, 0x8007000e
jmp 0x4210b3
push eax
lea ecx, [ebp - 0x424]
mov byte [ebp - 4], 2
call fcn.0042d880
jmp 0x42105d
mov dword [ebp - 4], 1
cmp dword [ebp - 0x424], 0
jne 0x421074
mov esi, 0x8007000e
jmp 0x4210b3
push esi
push dword [ebp - 0x424]
push esi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
jne 0x421094
call fcn.00420210
jmp 0x4210b1
mov eax, dword [ebp - 0x424]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x1c]
push dword [ebp - 0x424]
call fcn.00421d40
mov esi, eax
test edi, edi
je 0x4210be
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x420]
cmp dword [ebp - 0x424], eax
je 0x4210e0
lea ecx, [ebp - 0x424]
call fcn.0042e740
nop word [eax + eax]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0045f17f
mov esp, ebp
pop ebp
ret 0x10
Function at 0x428a60
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x486ba0
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x4b3014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0x4983e4
lea ecx, [esi + 4]
mov byte [esi], 0
call fcn.0042d680
push 0x4983e4
lea ecx, [esi + 8]
call fcn.0042d680
push 0x4983e4
lea ecx, [esi + 0xc]
call fcn.0042d680
push 0x4983e4
lea ecx, [esi + 0x10]
call fcn.0042d680
push 0x4983e4
lea ecx, [esi + 0x14]
call fcn.0042d680
push 0x4983e4
lea ecx, [esi + 0x1c]
mov byte [esi + 0x18], 0
call fcn.0042d680
push 0x4983e4
lea ecx, [esi + 0x20]
call fcn.0042d680
push 0x4983e4
lea ecx, [esi + 0x24]
call fcn.0042d680
push 0x4983e4
lea ecx, [esi + 0x28]
call fcn.0042d680
push 0x49a768
lea ecx, [esi + 0x38]
mov dword [esi + 0x2c], 1
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
call fcn.0042d680
lea ecx, [esi + 0x3c]
call fcn.00428e10
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.0042d680
push str.Playtech_QA_DEV
lea ecx, [esi + 0xa0]
call fcn.0042d680
push 0x4983e4
lea ecx, [esi + 0xa4]
call fcn.0042d680
push 0x4983e4
lea ecx, [esi + 0xa8]
call fcn.0042d680
push 0x4983e4
lea ecx, [esi + 0xac]
call fcn.0042d680
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 0x428e10
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x4b3014]
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 0x43267b
mov eax, dword [ebp - 8]
cmp eax, 1
je 0x43263d
cmp eax, 2
jne 0x432659
mov ecx, dword [ebp - 0xc]
test esi, esi
je 0x432675
test ecx, ecx
je 0x432670
test cl, 1
jne 0x432659
mov eax, ecx
shr eax, 1
cmp word [esi + eax*2 - 2], 0
je 0x432675
pop edi
mov eax, 0xd
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045f17f
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.0045f17f
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4445f0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x489587
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x4b3014]
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.0040f7b0
mov ecx, eax
test ecx, ecx
jne 0x444633
push 0x80004005
call fcn.0041ffd0
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 0x49f10c
push eax
call fcn.0042fcb0
mov esi, dword [ebp - 0x14]
push esi
push str.CSendStats::SendToPixelServer
push str._s___s_
push 1
push 5
call fcn.00458450
push 4
call fcn.0045f195
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.0042ed60
add eax, 0x10
mov byte [ebp - 4], 0
mov dword [edi], eax
lea eax, [ebp - 0x18]
push eax
push 0
push edi
push 0x4444d0
push 0
push 0
mov dword [ebp - 0x18], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
test edi, edi
jne 0x4446d3
push str.CSendStats::SendToPixelServer
push str._s_Failed_to_create_thread
push 3
push 5
call fcn.00458450
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 0x4446f6
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.0045f17f
mov esp, ebp
pop ebp
ret
Function at 0x4467d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x4b3014]
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 0x446808
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esi + 4], 0
mov eax, dword [esi + 0x18]
test eax, eax
je 0x446826
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 0x44691b
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
test ebx, ebx
je 0x44691b
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 0x44691b
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [esi + 0x18], eax
test eax, eax
je 0x44691b
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x44690b
push ebx
push edi
push eax
call fcn.00463c10
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 0x446902
mov ecx, dword [ebp - 8]
call fcn.00446510
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 0x446902
mov eax, dword [ecx + 8]
mov dword [ecx + 8], 0
test eax, eax
jne 0x4468ee
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045f17f
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x4468fb
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.0045f17f
mov esp, ebp
pop ebp
ret 0xc
Function at 0x447380
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
mov eax, dword [0x4b3014]
xor eax, ebp
mov dword [ebp - 4], eax
movzx eax, word [ebp + 8]
push esi
mov esi, dword [0x4b6790]
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 0x447524
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x447524
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x447524
mov edx, 0x1234
push ebx
movzx eax, word [esi]
xor ecx, ecx
cmp cx, ax
je 0x44750f
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 0x447484
push 0x104
lea eax, [ebp - 0x108]
push 0
push eax
call fcn.00463a40
add esp, 0xc
lea eax, [ebp - 0x104]
lea ecx, [ebp - 0x108]
mov dword [ebp - 0x108], eax
push 3
push esi
call fcn.00447670
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 0x4474fc
push eax
call fcn.00466469
add esp, 4
jmp 0x4474fc
cmp dx, ax
jne 0x447501
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.00447670
mov eax, dword [ebp - 0x238]
lea ecx, [ebp - 0x234]
mov dword [ebp - 0x124], eax
cmp eax, ecx
je 0x4474d6
push eax
call fcn.00466469
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 0x4473e6
pop ebx
mov eax, edi
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045f17f
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.0045f17f
mov esp, ebp
pop ebp
ret 4
Function at 0x448320
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x184
mov eax, dword [0x4b3014]
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 0x448361
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.00463a40
push pe_nt_image_headers32
lea eax, [esp + 0x84]
mov dword [esp + 0x20], 0x30
push 0
push eax
call fcn.00463a40
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 0x4483ba
mov eax, dword [esp + 0x74]
cmp eax, 5
jae 0x4483c2
cmp eax, 4
jne 0x4483ba
cmp dword [esp + 0x78], 0x5a
jae 0x4483c2
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 0x4483e4
or eax, 3
mov dword [esp + 0x1c], eax
test ecx, 0x200
je 0x4483f3
or eax, 8
mov dword [esp + 0x1c], eax
test ecx, 0x1000
je 0x448404
or eax, 0x1000
mov dword [esp + 0x1c], eax
test ecx, 0x2000
je 0x4484a9
push 0x30
lea eax, [esp + 0x44]
push 0
push eax
call fcn.00463a40
push pe_nt_image_headers32
lea eax, [esp + 0x84]
mov dword [esp + 0x50], 0x30
push 0
push eax
call fcn.00463a40
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 0x448469
mov eax, dword [esp + 0x74]
cmp eax, 5
jae 0x448471
cmp eax, 4
jne 0x448469
cmp dword [esp + 0x78], 0x5a
jae 0x448471
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 0x4484a9
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.0045f17f
mov esp, ebp
pop ebp
ret
Function at 0x448b70
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x4b3014]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
mov eax, dword [esi + 4]
test eax, eax
jne 0x448baf
push str.CWebView::Show
push str._s_failed___no_window_handle_created_
push 2
push 2
call fcn.00458450
add esp, 0x10
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045f17f
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 0x448c15
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 0x448bf6
pop edi
mov ecx, dword [ebp - 4]
pop ebx
xor ecx, ebp
pop esi
call fcn.0045f17f
mov esp, ebp
pop ebp
ret

Function at 0x44a7e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x489e9a
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4b3014]
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.00460612
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 0x44a8a0
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.00462f18
add esp, 8
mov dword [ebp - 0x24], vtable.std::runtime_error.0
lea eax, [ebp - 0x24]
push 0x4b030c
push eax
call fcn.00463b9a
push edi
push esi
call fcn.0046095a
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.0045f17f
mov esp, ebp
pop ebp
ret 4
Function at 0x453bb0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x487036
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x4b3014]
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.0045f195
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.00460857
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 0x4546e0
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 + 0x4a2550]
divsd xmm0, qword [0x4a2510]
movsd qword [ebp - 0xc], xmm0
fld qword [ebp - 0xc]
fstp qword [esp]
call fcn.004830b0
fstp qword [ebp - 0xc]
movsd xmm0, qword [ebp - 0xc]
add esp, 8
mulsd xmm0, qword [0x4a2518]
call fcn.00484461
mov dword [ebp - 8], eax
test ebx, ebx
je 0x45481c
mov edi, dword [ebp + 8]
test edi, edi
je 0x45481c
cmp eax, dword [ebp + 0xc]
ja 0x45481c
xor ecx, ecx
test esi, esi
je 0x4547e2
cmp ecx, esi
jae 0x45476a
movzx edx, byte [ecx + ebx]
inc ecx
jmp 0x45476c
xor edx, edx
cmp ecx, esi
jae 0x45477a
movzx eax, byte [ecx + ebx]
inc ecx
mov dword [ebp - 4], eax
jmp 0x454781
mov dword [ebp - 4], 0
cmp ecx, esi
jae 0x45478c
movzx eax, byte [ecx + ebx]
inc ecx
jmp 0x45478e
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_]
mov byte [edi], al
mov eax, edx
shr eax, 0xc
and eax, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [edi + 1], al
mov eax, edx
shr eax, 6
and edx, 0x3f
and eax, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [edi + 2], al
movzx eax, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [edi + 3], al
add edi, 4
cmp ecx, esi
jb 0x454763
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 + 0x4a0210]
test ecx, ecx
jle 0x45480e
lea eax, [edx - 1]
add eax, edi
mov byte [eax], 0x3d
lea eax, [eax - 1]
sub ecx, 1
jne 0x454803
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 0x455ec0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48ac68
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x4b3014]
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.0040f7b0
mov ecx, eax
test ecx, ecx
jne 0x455f03
push 0x80004005
call fcn.0041ffd0
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 0x455f1d
xor ecx, ecx
jmp 0x455f31
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x455f22
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x14]
call fcn.0042eea0
mov esi, dword [ebp - 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x455f80
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x455f5f
cmp eax, 3
je 0x455f5f
cmp eax, 0x15
jne 0x455f80
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x455fa1
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x455fa1
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 0x455fa1
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.0045f17f
mov esp, ebp
pop ebp
ret

Function at 0x456140
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ecx]
push ebx
xor bl, bl
cmp ecx, 0xffffffff
jne 0x456163
mov ecx, dword [ebp + 0x14]
push 0x19
push str.ReadBinaricFile_map_error
call fcn.0042eea0
mov al, bl
pop ebx
pop ebp
ret 0x10
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x456197
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.ReadBinaricFile_ReadFile_error__d
push dword [ebp + 0x14]
call fcn.0042fcb0
add esp, 0xc
mov al, bl
pop ebx
pop ebp
ret 0x10
mov al, 1
pop ebx
pop ebp
ret 0x10