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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x487183
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.00463d60
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 0x420fb1
push 2
push eax
push esi
call ebx
mov edi, eax
mov dword [ebp - 0x430], eax
test edi, edi
jne 0x420fb1
call fcn.004201f0
mov esi, eax
jmp 0x42109e
push dword [ebp - 0x428]
push dword [ebp - 0x42c]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x420fd4
call fcn.004201f0
jmp 0x421091
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x42c], ebx
test ebx, ebx
jne 0x420ff2
call fcn.004201f0
jmp 0x421091
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 0x421013
mov esi, 0x8007000e
jmp 0x421093
push eax
lea ecx, [ebp - 0x424]
mov byte [ebp - 4], 2
call fcn.0042d860
jmp 0x42103d
mov dword [ebp - 4], 1
cmp dword [ebp - 0x424], 0
jne 0x421054
mov esi, 0x8007000e
jmp 0x421093
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 0x421074
call fcn.004201f0
jmp 0x421091
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.00421d20
mov esi, eax
test edi, edi
je 0x42109e
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x420]
cmp dword [ebp - 0x424], eax
je 0x4210c0
lea ecx, [ebp - 0x424]
call fcn.0042e720
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.0045f48f
mov esp, ebp
pop ebp
ret 0x10
Function at 0x428a40
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x486e70
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 0x4983ec
lea ecx, [esi + 4]
mov byte [esi], 0
call fcn.0042d660
push 0x4983ec
lea ecx, [esi + 8]
call fcn.0042d660
push 0x4983ec
lea ecx, [esi + 0xc]
call fcn.0042d660
push 0x4983ec
lea ecx, [esi + 0x10]
call fcn.0042d660
push 0x4983ec
lea ecx, [esi + 0x14]
call fcn.0042d660
push 0x4983ec
lea ecx, [esi + 0x1c]
mov byte [esi + 0x18], 0
call fcn.0042d660
push 0x4983ec
lea ecx, [esi + 0x20]
call fcn.0042d660
push 0x4983ec
lea ecx, [esi + 0x24]
call fcn.0042d660
push 0x4983ec
lea ecx, [esi + 0x28]
call fcn.0042d660
push 0x49a770
lea ecx, [esi + 0x38]
mov dword [esi + 0x2c], 1
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
call fcn.0042d660
lea ecx, [esi + 0x3c]
call fcn.00428df0
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.0042d660
push str.Playtech_QA_DEV
lea ecx, [esi + 0xa0]
call fcn.0042d660
push 0x4983ec
lea ecx, [esi + 0xa4]
call fcn.0042d660
push 0x4983ec
lea ecx, [esi + 0xa8]
call fcn.0042d660
push 0x4983ec
lea ecx, [esi + 0xac]
call fcn.0042d660
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 0x428df0
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x486e70
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 0x4983ec
call fcn.0042d660
push 0x4983ec
lea ecx, [esi + 4]
call fcn.0042d660
push 0x4983ec
lea ecx, [esi + 8]
call fcn.0042d660
push 0x4983ec
lea ecx, [esi + 0xc]
call fcn.0042d660
push 0x4983ec
lea ecx, [esi + 0x10]
call fcn.0042d660
push 0x4983ec
lea ecx, [esi + 0x14]
call fcn.0042d660
push 0x4983ec
lea ecx, [esi + 0x18]
call fcn.0042d660
push 0x4983ec
lea ecx, [esi + 0x1c]
call fcn.0042d660
push 0x4983ec
lea ecx, [esi + 0x20]
call fcn.0042d660
push 0x4983ec
lea ecx, [esi + 0x24]
call fcn.0042d660
push 0x4983ec
lea ecx, [esi + 0x28]
call fcn.0042d660
push 0x4983ec
lea ecx, [esi + 0x2c]
call fcn.0042d660
push 0x4983ec
lea ecx, [esi + 0x30]
call fcn.0042d660
push 0x4983ec
lea ecx, [esi + 0x34]
call fcn.0042d660
push 0x4983ec
lea ecx, [esi + 0x38]
call fcn.0042d660
push 0x4983ec
lea ecx, [esi + 0x3c]
call fcn.0042d660
push 0x4983ec
lea ecx, [esi + 0x40]
call fcn.0042d660
push 0x4983ec
lea ecx, [esi + 0x44]
call fcn.0042d660
push 0x4983ec
lea ecx, [esi + 0x48]
call fcn.0042d660
push 0x4983ec
lea ecx, [esi + 0x4c]
call fcn.0042d660
push 0x4983ec
lea ecx, [esi + 0x50]
call fcn.0042d660
push 0x4983ec
lea ecx, [esi + 0x54]
call fcn.0042d660
push 0x4983ec
lea ecx, [esi + 0x58]
call fcn.0042d660
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 0x4325d0
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 0x43265b
mov eax, dword [ebp - 8]
cmp eax, 1
je 0x43261d
cmp eax, 2
jne 0x432639
mov ecx, dword [ebp - 0xc]
test esi, esi
je 0x432655
test ecx, ecx
je 0x432650
test cl, 1
jne 0x432639
mov eax, ecx
shr eax, 1
cmp word [esi + eax*2 - 2], 0
je 0x432655
pop edi
mov eax, 0xd
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045f48f
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.0045f48f
mov esp, ebp
pop ebp
ret 0xc
Function at 0x444590
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x489857
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.0040f790
mov ecx, eax
test ecx, ecx
jne 0x4445d3
push 0x80004005
call fcn.0041ffc0
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 0x49efe8
push eax
call fcn.0042fc90
mov esi, dword [ebp - 0x14]
push esi
push str.CSendStats::SendToPixelServer
push str._s___s_
push 1
push 5
call fcn.00458400
push 4
call fcn.0045f4a5
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.0042ed40
add eax, 0x10
mov byte [ebp - 4], 0
mov dword [edi], eax
lea eax, [ebp - 0x18]
push eax
push 0
push edi
push 0x444470
push 0
push 0
mov dword [ebp - 0x18], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
test edi, edi
jne 0x444673
push str.CSendStats::SendToPixelServer
push str._s_Failed_to_create_thread
push 3
push 5
call fcn.00458400
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 0x444696
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.0045f48f
mov esp, ebp
pop ebp
ret
Function at 0x446770
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 0x4467a8
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esi + 4], 0
mov eax, dword [esi + 0x18]
test eax, eax
je 0x4467c6
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 0x4468bb
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
test ebx, ebx
je 0x4468bb
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 0x4468bb
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [esi + 0x18], eax
test eax, eax
je 0x4468bb
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x4468ab
push ebx
push edi
push eax
call fcn.00463f30
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 0x4468a2
mov ecx, dword [ebp - 8]
call fcn.004464b0
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 0x4468a2
mov eax, dword [ecx + 8]
mov dword [ecx + 8], 0
test eax, eax
jne 0x44688e
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045f48f
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x44689b
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.0045f48f
mov esp, ebp
pop ebp
ret 0xc
Function at 0x447320
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 0x4474c4
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4474c4
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4474c4
mov edx, 0x1234
push ebx
movzx eax, word [esi]
xor ecx, ecx
cmp cx, ax
je 0x4474af
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 0x447424
push 0x104
lea eax, [ebp - 0x108]
push 0
push eax
call fcn.00463d60
add esp, 0xc
lea eax, [ebp - 0x104]
lea ecx, [ebp - 0x108]
mov dword [ebp - 0x108], eax
push 3
push esi
call fcn.00447610
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 0x44749c
push eax
call fcn.00466789
add esp, 4
jmp 0x44749c
cmp dx, ax
jne 0x4474a1
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.00447610
mov eax, dword [ebp - 0x238]
lea ecx, [ebp - 0x234]
mov dword [ebp - 0x124], eax
cmp eax, ecx
je 0x447476
push eax
call fcn.00466789
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 0x447386
pop ebx
mov eax, edi
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045f48f
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.0045f48f
mov esp, ebp
pop ebp
ret 4
Function at 0x4482c0
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 0x448301
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.00463d60
push pe_nt_image_headers32
lea eax, [esp + 0x84]
mov dword [esp + 0x20], 0x30
push 0
push eax
call fcn.00463d60
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 0x44835a
mov eax, dword [esp + 0x74]
cmp eax, 5
jae 0x448362
cmp eax, 4
jne 0x44835a
cmp dword [esp + 0x78], 0x5a
jae 0x448362
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 0x448384
or eax, 3
mov dword [esp + 0x1c], eax
test ecx, 0x200
je 0x448393
or eax, 8
mov dword [esp + 0x1c], eax
test ecx, 0x1000
je 0x4483a4
or eax, 0x1000
mov dword [esp + 0x1c], eax
test ecx, 0x2000
je 0x448449
push 0x30
lea eax, [esp + 0x44]
push 0
push eax
call fcn.00463d60
push pe_nt_image_headers32
lea eax, [esp + 0x84]
mov dword [esp + 0x50], 0x30
push 0
push eax
call fcn.00463d60
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 0x448409
mov eax, dword [esp + 0x74]
cmp eax, 5
jae 0x448411
cmp eax, 4
jne 0x448409
cmp dword [esp + 0x78], 0x5a
jae 0x448411
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 0x448449
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.0045f48f
mov esp, ebp
pop ebp
ret
Function at 0x448b10
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 0x448b4f
push str.CWebView::Show
push str._s_failed___no_window_handle_created_
push 2
push 2
call fcn.00458400
add esp, 0x10
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045f48f
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 0x448bb5
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 0x448b96
pop edi
mov ecx, dword [ebp - 4]
pop ebx
xor ecx, ebp
pop esi
call fcn.0045f48f
mov esp, ebp
pop ebp
ret

Function at 0x44a780
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48a16a
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.004608f2
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 0x44a840
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.00463218
add esp, 8
mov dword [ebp - 0x24], vtable.std::runtime_error.0
lea eax, [ebp - 0x24]
push 0x4b047c
push eax
call fcn.00463eba
push edi
push esi
call fcn.00460c3a
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.0045f48f
mov esp, ebp
pop ebp
ret 4
Function at 0x453b50
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x487306
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.0045f4a5
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.00460b37
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 0x454680
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 + 0x4a2640]
divsd xmm0, qword [0x4a2608]
movsd qword [ebp - 0xc], xmm0
fld qword [ebp - 0xc]
fstp qword [esp]
call fcn.00483380
fstp qword [ebp - 0xc]
movsd xmm0, qword [ebp - 0xc]
add esp, 8
mulsd xmm0, qword [0x4a2610]
call fcn.00484731
mov dword [ebp - 8], eax
test ebx, ebx
je 0x4547bc
mov edi, dword [ebp + 8]
test edi, edi
je 0x4547bc
cmp eax, dword [ebp + 0xc]
ja 0x4547bc
xor ecx, ecx
test esi, esi
je 0x454782
cmp ecx, esi
jae 0x45470a
movzx edx, byte [ecx + ebx]
inc ecx
jmp 0x45470c
xor edx, edx
cmp ecx, esi
jae 0x45471a
movzx eax, byte [ecx + ebx]
inc ecx
mov dword [ebp - 4], eax
jmp 0x454721
mov dword [ebp - 4], 0
cmp ecx, esi
jae 0x45472c
movzx eax, byte [ecx + ebx]
inc ecx
jmp 0x45472e
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 0x454703
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 + 0x4a00f0]
test ecx, ecx
jle 0x4547ae
lea eax, [edx - 1]
add eax, edi
mov byte [eax], 0x3d
lea eax, [eax - 1]
sub ecx, 1
jne 0x4547a3
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 0x455e60
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48af38
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.0040f790
mov ecx, eax
test ecx, ecx
jne 0x455ea3
push 0x80004005
call fcn.0041ffc0
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 0x455ebd
xor ecx, ecx
jmp 0x455ed1
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x455ec2
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x14]
call fcn.0042ee80
mov esi, dword [ebp - 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x455f20
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x455eff
cmp eax, 3
je 0x455eff
cmp eax, 0x15
jne 0x455f20
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x455f41
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x455f41
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 0x455f41
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.0045f48f
mov esp, ebp
pop ebp
ret

Function at 0x4560e0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ecx]
push ebx
xor bl, bl
cmp ecx, 0xffffffff
jne 0x456103
mov ecx, dword [ebp + 0x14]
push 0x19
push str.ReadBinaricFile_map_error
call fcn.0042ee80
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 0x456137
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.ReadBinaricFile_ReadFile_error__d
push dword [ebp + 0x14]
call fcn.0042fc90
add esp, 0xc
mov al, bl
pop ebx
pop ebp
ret 0x10
mov al, 1
pop ebx
pop ebp
ret 0x10