joyce8/EMBER2024-capa huggingface dataset:
Function at 0x442340
Capabilities:
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x523120
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x1c]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call fcn.0050ba55
mov esi, eax
lea eax, [edi + 0x50]
push eax
mov ecx, esi
mov edx, dword [esi]
call dword [edx + 0x28]
mov dword [esp + 0x28], eax
mov eax, dword [edi + 0x3c]
lea edx, [esp + 0x20]
mov ecx, dword [eax - 8]
push edx
push ecx
push eax
mov eax, dword [esi + 8]
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x2c]
mov dword [esp + 0x2c], ecx
push eax
mov ecx, esi
mov dword [esp + 0x34], edx
call fcn.0050c1ea
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x30]
push 1
mov eax, dword [ecx + 4]
mov ebx, dword [ecx]
mov ecx, dword [esp + 0x30]
lea edx, [eax + edx + 0x16]
add eax, 0x14
mov dword [esp + 0x18], edx
lea edx, [ebx + ecx + 7]
mov ecx, esi
mov dword [esp + 0x14], edx
mov dword [esp + 0x68], eax
call fcn.0050bc73
mov ebp, dword [sym.imp.USER32.dll_GetSysColor]
push 0x18
call ebp
push eax
lea ecx, [esp + 0x40]
call fcn.0050c621
lea eax, [esp + 0x3c]
mov ecx, esi
push eax
mov dword [esp + 0x60], 0
call fcn.0050bbfe
push 0
push 0
push 0
lea ecx, [esp + 0x40]
mov dword [esp + 0x28], eax
call fcn.0050c5d1
lea ecx, [esp + 0x34]
mov byte [esp + 0x5c], 1
push ecx
mov ecx, esi
call fcn.0050bbfe
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x14]
sub eax, ecx
mov ecx, dword [esp + 0x10]
sub ecx, ebx
push eax
push ecx
push 0
mov edx, dword [esi + 4]
push 0
push edx
call dword [sym.imp.GDI32.dll_Rectangle]
mov edx, dword [esi]
push 0x17
mov dword [esp + 0x1c], edx
call ebp
push eax
mov eax, dword [esp + 0x1c]
mov ecx, esi
call dword [eax + 0x30]
push 0
mov ecx, esi
call fcn.0050c0c1
mov eax, dword [edi + 0x3c]
mov edx, dword [esi]
mov ecx, dword [eax - 8]
push ecx
push eax
push 1
push 3
mov ecx, esi
call dword [edx + 0x5c]
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x48], eax
lea eax, [esp + 0x44]
mov dword [esp + 0x4c], ecx
mov ecx, dword [edi + 0x40]
push eax
mov dword [esp + 0x48], ebx
mov dword [esp + 0x54], edx
call fcn.0050c1ae
mov ecx, dword [esp + 0x1c]
push ecx
mov ecx, esi
call fcn.0050bbfe
mov edx, dword [esp + 0x20]
mov ecx, esi
push edx
call fcn.0050bbfe
mov ecx, dword [esp + 0x28]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x28]
mov edx, dword [esi + 4]
mov eax, dword [edi + 0x1c]
push edx
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov esi, vtable.CGdiObject.0
mov dword [esp + 0x34], esi
lea ecx, [esp + 0x34]
mov byte [esp + 0x5c], 2
call fcn.0050c5bb
mov dword [esp + 0x3c], esi
lea ecx, [esp + 0x3c]
mov dword [esp + 0x5c], 3
call fcn.0050c5bb
mov ecx, dword [esp + 0x54]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x50
ret 4
Function at 0x444200
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x10
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push esi
mov esi, ecx
push edi
push 0
mov eax, dword [esi + 0x1c]
push 0
push 0x476
push eax
call ebx
mov edi, eax
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x444278
push edi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x444278
mov ecx, dword [esi + 0x1c]
mov dword [esp + 0x14], 0xffffff37
mov dword [esp + 0xc], ecx
mov ecx, esi
call fcn.00508bdd
lea edx, [esp + 0xc]
mov dword [esp + 0x10], eax
push edx
push eax
push 0x4e
push edi
mov dword [esp + 0x28], 0
call ebx
test eax, eax
je 0x44426f
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x10
ret
push 0
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x10
ret
Function at 0x452430
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x524657
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov eax, dword [0x56935c]
push ebx
push ebp
push esi
mov dword [esp + 0x18], 0
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x30]
mov ebp, dword [esp + 0x34]
mov dword [esp + 0x24], 1
mov esi, ebp
mov eax, dword [ecx]
cmp ebp, dword [eax - 8]
jge 0x452519
cmp esi, ebp
je 0x4524f9
mov dl, byte [eax + esi]
push 1
mov byte [esp + 0x14], dl
lea ecx, [esp + 0x38]
mov eax, dword [esp + 0x14]
push eax
call fcn.005010c6
lea ecx, [esp + 0x14]
push 0x566d48
push ecx
lea ecx, [esp + 0x3c]
mov byte [esp + 0x2c], 2
call fcn.005015a9
mov eax, dword [eax]
push 0x570678
push eax
call fcn.004a6365
add esp, 8
lea ecx, [esp + 0x14]
test eax, eax
setne bl
call fcn.00509099
test bl, bl
jne 0x45250b
mov eax, dword [esp + 0xc]
cmp dword [eax - 8], 3
jl 0x4524dd
cmp byte [eax], 0x27
je 0x45250b
lea edx, [esp + 0x34]
lea ecx, [esp + 0xc]
push edx
call fcn.005094b1
lea ecx, [esp + 0x34]
mov byte [esp + 0x24], 1
call fcn.00509099
mov eax, dword [esp + 0x30]
inc esi
mov eax, dword [eax]
cmp esi, dword [eax - 8]
jl 0x452479
jmp 0x452519
lea ecx, [esp + 0x34]
mov byte [esp + 0x24], 1
call fcn.00509099
mov esi, dword [esp + 0x2c]
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
call fcn.00508e0e
mov dword [esp + 0x18], 1
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], 0
call fcn.00509099
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 0xc
Function at 0x4658f0
Capabilities:
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x525bd0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push ebp
push esi
push edi
mov ebx, ecx
call fcn.00465a90
mov al, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1c], al
call fcn.00402fc0
mov edi, str.__xml_version_1.0____stream:stream_xmlns:stream_http:__etherx.jabber.org_streams__xmlns_jabber:client__to_
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
lea ecx, [esp + 0x1c]
push ebp
call fcn.004030d0
test al, al
je 0x46596c
mov edi, dword [esp + 0x1c]
mov ecx, ebp
mov edx, ecx
mov esi, str.__xml_version_1.0____stream:stream_xmlns:stream_http:__etherx.jabber.org_streams__xmlns_jabber:client__to_
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x20], ebp
mov byte [eax + ebp], 0
lea ecx, [ebx + 0x151c]
push 0x56751c
lea edx, [esp + 0x2c]
push ecx
push edx
mov dword [esp + 0x4c], 0
call fcn.00425540
add esp, 0xc
mov ecx, dword [0x5347a8]
mov byte [esp + 0x40], 1
push ecx
push 0
push eax
lea ecx, [esp + 0x24]
call fcn.0045eee0
push 1
lea ecx, [esp + 0x2c]
mov byte [esp + 0x44], 0
call fcn.00402fc0
mov esi, dword [sym.imp.KERNEL32.DLL_OutputDebugStringA]
push str._nSEND
call esi
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x4659cf
mov eax, 0x53487c
push eax
call esi
mov eax, dword [esp + 0x20]
mov dword [esp + 0x14], eax
inc eax
push eax
call fcn.005096c2
mov edi, dword [esp + 0x20]
add esp, 4
test edi, edi
mov ebp, eax
jne 0x4659f3
mov edi, 0x53487c
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x14]
push esi
push ebp
call fcn.004c9e30
add esp, 8
mov byte [esi + ebp], 0
mov eax, dword [ebx]
mov ecx, ebx
push 0
push esi
push ebp
call dword [eax + 0x18]
push ebp
call fcn.005096eb
mov eax, dword [esp + 0x20]
add esp, 4
mov dword [ebx + 0x4c], 6
pop edi
pop esi
pop ebp
pop ebx
test eax, eax
je 0x465a73
mov cl, byte [eax - 1]
test cl, cl
je 0x465a69
cmp cl, 0xff
je 0x465a69
dec cl
mov byte [eax - 1], cl
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
add esp, 0x34
ret
dec eax
push eax
call fcn.005096eb
add esp, 4
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
add esp, 0x34
ret
Function at 0x46d4b0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x526738
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov eax, dword [esp + 0x20]
mov edx, dword [0x5347a8]
add eax, 0x10
push ebx
push esi
push edi
mov cl, byte [eax]
xor ebx, ebx
push edx
mov byte [esp + 0x10], cl
push ebx
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
call fcn.0040ed00
mov edi, str.glt.ini
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x14]
repne scasb al, byte es:[edi]
mov eax, dword [0x5347a8]
mov dword [esp + 0x24], ebx
not ecx
dec ecx
sub eax, edx
mov esi, ecx
cmp eax, esi
ja 0x46d521
call fcn.004b815e
cmp esi, ebx
push ebp
jbe 0x46d567
mov ecx, dword [esp + 0x18]
push ebx
lea ebp, [ecx + esi]
lea ecx, [esp + 0x14]
push ebp
call fcn.004030d0
test al, al
je 0x46d567
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, esi
mov esi, str.glt.ini
lea edi, [eax + edx]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x18], ebp
mov byte [eax + ebp], bl
mov eax, dword [esp + 0x14]
pop ebp
cmp eax, ebx
jne 0x46d575
mov eax, 0x53487c
push eax
push ebx
push 0x567890
push str.GLT_CONFIG
call dword [sym.imp.KERNEL32.DLL_GetPrivateProfileIntA]
mov ecx, dword [esp + 0x2c]
mov dword [0x572514], eax
push ecx
mov ecx, 0x57c540
call fcn.00471b90
mov ecx, dword [esp + 0x10]
cmp ecx, ebx
je 0x46d5bf
mov al, byte [ecx - 1]
cmp al, bl
je 0x46d5b5
cmp al, 0xff
je 0x46d5b5
dec al
mov byte [ecx - 1], al
jmp 0x46d5bf
dec ecx
push ecx
call fcn.005096eb
add esp, 4
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
mov al, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 4
Function at 0x4712d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x526f01
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0xc], edi
xor ebx, ebx
lea esi, [edi + 0x10]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x10], esi
lea ecx, [esi + 0x170]
mov byte [esp + 0x1c], 0x16
call fcn.004c4610
lea ecx, [esi + 0x160]
mov byte [esp + 0x1c], 0x15
call fcn.004727f0
lea ecx, [esi + 0x150]
mov byte [esp + 0x1c], 0x14
call fcn.00421e60
push 1
lea ecx, [esi + 0x140]
mov byte [esp + 0x20], 0x13
call fcn.00402fc0
push 1
lea ecx, [esi + 0x12c]
mov byte [esp + 0x20], 0x12
call fcn.00402fc0
push 1
lea ecx, [esi + 0x11c]
mov byte [esp + 0x20], 0x11
call fcn.00402fc0
push 1
lea ecx, [esi + 0x10c]
mov byte [esp + 0x20], 0x10
call fcn.00402fc0
push 1
lea ecx, [esi + 0xfc]
mov byte [esp + 0x20], 0xf
call fcn.00402fc0
push 1
lea ecx, [esi + 0xe8]
mov byte [esp + 0x20], 0xe
call fcn.00402fc0
push 1
lea ecx, [esi + 0xd8]
mov byte [esp + 0x20], 0xd
call fcn.00402fc0
push 1
lea ecx, [esi + 0xc8]
mov byte [esp + 0x20], 0xc
call fcn.00402fc0
push 1
lea ecx, [esi + 0xb8]
mov byte [esp + 0x20], 0xb
call fcn.00402fc0
push 1
lea ecx, [esi + 0xa8]
mov byte [esp + 0x20], 0xa
call fcn.00402fc0
push 1
lea ecx, [esi + 0x98]
mov byte [esp + 0x20], 9
call fcn.00402fc0
push 1
lea ecx, [esi + 0x88]
mov byte [esp + 0x20], 8
call fcn.00402fc0
push 1
lea ecx, [esi + 0x78]
mov byte [esp + 0x20], 7
call fcn.00402fc0
push 1
lea ecx, [esi + 0x68]
mov byte [esp + 0x20], 6
call fcn.00402fc0
push 1
lea ecx, [esi + 0x58]
mov byte [esp + 0x20], 5
call fcn.00402fc0
push 1
lea ecx, [esi + 0x40]
mov byte [esp + 0x20], 4
call fcn.00402fc0
push 1
lea ecx, [esi + 0x30]
mov byte [esp + 0x20], 3
call fcn.00402fc0
push 1
lea ecx, [esi + 0x20]
mov byte [esp + 0x20], 2
call fcn.00402fc0
mov eax, dword [esi + 0x14]
cmp eax, ebx
je 0x471484
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x47147b
cmp al, 0xff
je 0x47147b
dec al
mov byte [ecx], al
jmp 0x471484
push ecx
call fcn.005096eb
add esp, 4
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x4714b1
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x4714a8
cmp al, 0xff
je 0x4714a8
dec al
mov byte [ecx], al
jmp 0x4714b1
push ecx
call fcn.005096eb
add esp, 4
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov eax, dword [edi + 4]
cmp eax, ebx
je 0x4714de
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x4714d5
cmp al, 0xff
je 0x4714d5
dec al
mov byte [ecx], al
jmp 0x4714de
push ecx
call fcn.005096eb
add esp, 4
mov ecx, dword [esp + 0x14]
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x477c00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x527389
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
mov ebx, dword [esp + 0x18]
push ebp
push esi
mov al, byte [ebx]
push edi
mov esi, ecx
xor edi, edi
mov dword [esp + 0x10], esi
mov byte [esi], al
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov ecx, dword [0x5347a8]
push ecx
push edi
push ebx
mov ecx, esi
call fcn.0040ed00
mov dl, byte [ebx + 0x10]
lea ebp, [ebx + 0x10]
lea ecx, [esi + 0x10]
mov dword [esp + 0x1c], edi
mov byte [ecx], dl
mov dword [ecx + 4], edi
mov dword [ecx + 8], edi
mov dword [ecx + 0xc], edi
mov eax, dword [0x5347a8]
push eax
push edi
push ebp
call fcn.0040ed00
mov dl, byte [ebx + 0x20]
lea ebp, [ebx + 0x20]
lea ecx, [esi + 0x20]
mov byte [esp + 0x1c], 1
mov byte [ecx], dl
mov dword [ecx + 4], edi
mov dword [ecx + 8], edi
mov dword [ecx + 0xc], edi
mov eax, dword [0x5347a8]
push eax
push edi
push ebp
call fcn.0040ed00
mov cl, byte [ebx + 0x30]
lea ebp, [esi + 0x30]
push edi
mov byte [esp + 0x20], 2
mov byte [ebp], cl
mov ecx, ebp
call fcn.00402fc0
mov edx, dword [0x5347a8]
lea eax, [ebx + 0x30]
push edx
push edi
push eax
mov ecx, ebp
call fcn.0040ed00
mov al, byte [ebx + 0x40]
add ebx, 0x40
lea ecx, [esi + 0x40]
mov byte [esp + 0x1c], 3
mov byte [ecx], al
mov dword [ecx + 4], edi
mov dword [ecx + 8], edi
mov dword [ecx + 0xc], edi
mov edx, dword [0x5347a8]
push edx
push edi
push ebx
call fcn.0040ed00
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x495130
Capabilities:
Get number of processors

Disassembly:
sub esp, 0x10
push esi
push edi
mov esi, ecx
mov dword [esp + 8], 0
call fcn.00495290
mov eax, dword [esp + 0x20]
mov ecx, esi
push eax
call fcn.004952d0
mov edi, eax
push edi
call sub.sqlite30.dll_sqlite3_step
add esp, 4
cmp eax, 0x65
jne 0x49517e
mov ecx, dword [esi + 4]
push 1
push 1
push edi
push ecx
mov esi, dword [esp + 0x2c]
mov ecx, esi
call fcn.00493ff0
mov eax, esi
pop edi
pop esi
add esp, 0x10
ret 8
cmp eax, 0x64
jne 0x49518e
mov edx, dword [esi + 4]
push 1
push 0
push edi
push edx
jmp 0x495169
push edi
call sub.sqlite30.dll_sqlite3_finalize
mov edi, eax
mov eax, dword [esi + 4]
push eax
call sub.sqlite30.dll_sqlite3_errmsg
add esp, 8
lea ecx, [esp + 0xc]
push 0
push eax
push edi
call fcn.00493cd0
lea ecx, [esp + 0xc]
push 0x557e48
push ecx
call fcn.004a8adf
nop
nop
Function at 0x49ad80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x52baff
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x5c]
push ebx
push esi
push eax
mov eax, dword [esp + 0x64]
push ecx
mov ecx, dword [esp + 0x64]
push edx
push eax
lea edx, [esp + 0x30]
push ecx
push edx
mov dword [esp + 0x20], 0
call fcn.00499e20
add esp, 0x18
lea eax, [esp + 0xc]
push str.vCard
push eax
lea ecx, [esp + 0x28]
mov dword [esp + 0x58], 1
call fcn.004c5330
mov bl, 2
lea ecx, [esp + 0xc]
mov byte [esp + 0x50], bl
call fcn.004c4ba0
test al, al
je 0x49ae8d
lea ecx, [esp + 0x34]
push str.xmlns
push ecx
lea ecx, [esp + 0x14]
call fcn.004c5260
push str.vcard_temp
mov ecx, eax
mov byte [esp + 0x54], 3
call fcn.004c5030
lea ecx, [esp + 0x34]
mov byte [esp + 0x50], bl
call fcn.004c4610
lea edx, [esp + 0x34]
push str.prodid
push edx
lea ecx, [esp + 0x14]
call fcn.004c5260
push str.___HandGen__NONSGML_vGen_v1.0__EN
mov ecx, eax
mov byte [esp + 0x54], 4
call fcn.004c5030
lea ecx, [esp + 0x34]
mov byte [esp + 0x50], bl
call fcn.004c4610
lea eax, [esp + 0x34]
push str.version
push eax
lea ecx, [esp + 0x14]
call fcn.004c5260
push 0x569024
mov ecx, eax
mov byte [esp + 0x54], 5
call fcn.004c5030
lea ecx, [esp + 0x34]
mov byte [esp + 0x50], bl
call fcn.004c4610
mov esi, dword [esp + 0x58]
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
call fcn.004c48d0
mov dword [esp + 8], 1
lea ecx, [esp + 0xc]
mov byte [esp + 0x50], 1
call fcn.004c4610
lea ecx, [esp + 0x20]
mov byte [esp + 0x50], 0
call fcn.004c4610
mov ecx, dword [esp + 0x48]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x4c
ret
Function at 0x4c6090
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x52e9c3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call fcn.004b89b3
lea ecx, [esp + 0xc]
mov dword [esi + 0x34], eax
call fcn.004b84b5
mov edi, dword [0x592c38]
lea ecx, [esp + 8]
call fcn.004b84b5
mov eax, dword [edi + 4]
cmp eax, 0xffffffff
jae 0x4c60dc
inc eax
mov dword [edi + 4], eax
lea ecx, [esp + 8]
call fcn.004b8551
lea ecx, [esp + 0xc]
call fcn.004b8551
lea eax, [esi + 4]
lea ecx, [esi + 0x14]
lea edx, [esi + 0x18]
mov dword [esi + 0xc], eax
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x20], edx
lea eax, [esi + 8]
lea ecx, [esi + 0x24]
lea edx, [esi + 0x28]
xor edi, edi
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
mov dword [esi + 0x10], eax
mov dword [esi + 0x2c], ecx
mov dword [esi + 0x30], edx
mov dword [eax], edi
mov eax, dword [esi + 0x20]
push edi
push edi
mov dword [eax], edi
mov ecx, dword [esi + 0x30]
push edi
mov dword [esp + 0x28], edi
mov dword [ecx], edi
mov ecx, esi
call fcn.0046b1e0
mov cl, byte [esp + 0x24]
xor eax, eax
test cl, 1
mov dword [esi], 0x53b414
jne 0x4c614a
mov eax, 4
test cl, 2
jne 0x4c6151
or al, 2
mov edx, dword [esi + 0xc]
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], 0x20
mov dword [esi + 0x44], eax
mov dword [edx], edi
mov eax, dword [esi + 0x1c]
mov dword [eax], edi
mov ecx, dword [esi + 0x2c]
mov dword [ecx], edi
mov edx, dword [esi + 0x10]
mov dword [edx], edi
mov eax, dword [esi + 0x20]
mov dword [eax], edi
mov ecx, dword [esi + 0x30]
mov eax, esi
mov dword [ecx], edi
mov ecx, dword [esp + 0x14]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret 4
Function at 0x4c9c80
Capabilities:
Encode data using base64

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
mov esi, dword [esp + 0x20]
mov eax, 0x55555556
xor ebp, ebp
imul esi
mov eax, edx
xor ebx, ebx
shr eax, 0x1f
add edx, eax
mov eax, esi
mov ecx, edx
mov esi, 3
cdq
idiv esi
test ecx, ecx
push edi
mov dword [esp + 0x14], edx
jle 0x4c9dae
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
add edx, 0xfffffffc
mov dword [esp + 0x10], edx
mov dword [esp + 0x24], ecx
mov cl, byte [edi]
mov dl, byte [edi + 1]
inc edi
mov byte [esp + 0x20], cl
inc edi
mov byte [esp + 0x1c], dl
mov esi, dword [esp + 0x1c]
add ebx, 4
mov cl, byte [edi]
and esi, 0xff
mov byte [esp + 0x28], cl
mov ecx, dword [esp + 0x20]
and ecx, 0xff
inc edi
mov edx, ecx
and ecx, 3
shr edx, 2
shl ecx, 4
mov dl, byte [edx + 0x542750]
add ebp, 4
mov byte [eax], dl
mov edx, esi
shr edx, 4
or edx, ecx
inc eax
and esi, 0xf
inc eax
mov cl, byte [edx + 0x542750]
mov byte [eax - 1], cl
mov ecx, dword [esp + 0x28]
and ecx, 0xff
mov edx, ecx
and ecx, 0x3f
shr edx, 6
shl esi, 2
or edx, esi
inc eax
inc eax
mov dl, byte [edx + 0x542750]
mov byte [eax - 2], dl
mov cl, byte [ecx + 0x542750]
mov byte [eax - 1], cl
mov ecx, dword [esp + 0x10]
cmp ebx, ecx
jle 0x4c9d64
mov byte [eax], 0xd
inc eax
xor ebx, ebx
mov byte [eax], 0xa
inc eax
add ebp, 2
mov ecx, dword [esp + 0x24]
dec ecx
mov dword [esp + 0x24], ecx
jne 0x4c9ccc
mov edx, dword [esp + 0x14]
cmp edx, 1
jne 0x4c9db8
mov dl, byte [edi]
mov byte [esp + 0x20], dl
mov ecx, dword [esp + 0x20]
and ecx, 0xff
mov edx, ecx
and ecx, 3
shr edx, 2
shl ecx, 4
mov dl, byte [edx + 0x542750]
mov byte [eax], dl
mov cl, byte [ecx + 0x542750]
inc eax
mov byte [eax], cl
inc eax
mov byte [eax], 0x3d
jmp 0x4c9e0f
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
jmp 0x4c9d77
cmp edx, 2
jne 0x4c9e17
mov dl, byte [edi]
mov cl, byte [edi + 1]
mov byte [esp + 0x20], dl
mov byte [esp + 0x1c], cl
mov ecx, dword [esp + 0x20]
and ecx, 0xff
mov edx, ecx
and ecx, 3
shr edx, 2
shl ecx, 4
mov dl, byte [edx + 0x542750]
mov byte [eax], dl
mov edx, dword [esp + 0x1c]
and edx, 0xff
inc eax
mov esi, edx
shr esi, 4
or esi, ecx
inc eax
and edx, 0xf
mov cl, byte [esi + 0x542750]
mov byte [eax - 1], cl
mov dl, byte [edx*4 + 0x542750]
mov byte [eax], dl
inc eax
mov byte [eax], 0x3d
inc eax
add ebp, 4
mov byte [eax], 0
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x4ca030
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x52ecd9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.0051bb78
mov eax, dword [0x56935c]
lea ebx, [esi + 8]
xor edi, edi
mov dword [esp + 0x18], edi
mov dword [ebx], eax
mov ecx, dword [0x56935c]
mov dword [esi + 0x18], ecx
mov edx, dword [0x56935c]
mov dword [esi + 0x34], edx
mov eax, dword [0x56935c]
mov dword [esi + 0x3c], eax
mov ecx, dword [0x56935c]
mov dword [esi + 0x40], ecx
push edi
mov byte [esp + 0x1c], 3
mov dword [esi], method.CAsyncSocket.virtual_0
call fcn.0051ba73
push 0x570678
mov ecx, ebx
mov dword [esi + 0x20], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x24], edi
call fcn.00509222
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x2c], edi
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x4ca160
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x52ed4f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
mov dword [esi], method.CAsyncSocket.virtual_0
mov dword [esp + 0x18], 3
call fcn.004cb560
lea edi, [esi + 0x30]
mov dword [esp + 0xc], edi
lea ecx, [edi + 0x10]
mov byte [esp + 0x18], 5
call fcn.00509099
lea ecx, [edi + 0xc]
mov byte [esp + 0x18], 4
call fcn.00509099
lea ecx, [edi + 4]
mov byte [esp + 0x18], 2
call fcn.00509099
lea ecx, [esi + 0x18]
mov byte [esp + 0x18], 1
call fcn.00509099
lea ecx, [esi + 8]
mov byte [esp + 0x18], 0
call fcn.00509099
mov ecx, esi
mov dword [esp + 0x18], 0xffffffff
call fcn.0051be0e
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x4ca210
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x52ed68
push eax
mov dword fs:[0], esp
push esi
mov esi, ecx
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esi + 0x34]
mov dword [esp + 0x10], 0
mov dword [esi + 0x30], eax
call fcn.005091d2
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x18]
mov dword [esi + 0x38], edx
mov dword [esi + 0x44], 0
mov dword [esp + 0xc], 0xffffffff
call fcn.00509099
mov ecx, dword [esp + 4]
pop esi
mov dword fs:[0], ecx
add esp, 0xc
ret 0xc
Function at 0x4ca400
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x52edb8
push eax
mov dword fs:[0], esp
push esi
mov esi, ecx
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esi + 0x34]
mov dword [esp + 0x10], 2
mov dword [esi + 0x30], eax
call fcn.005091d2
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x20]
push eax
lea ecx, [esi + 0x3c]
mov dword [esi + 0x38], edx
call fcn.005091d2
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esi + 0x40]
call fcn.005091d2
mov eax, 1
lea ecx, [esp + 0x18]
mov dword [esi + 0x44], eax
mov byte [esp + 0xc], al
call fcn.00509099
lea ecx, [esp + 0x20]
mov byte [esp + 0xc], 0
call fcn.00509099
lea ecx, [esp + 0x24]
mov dword [esp + 0xc], 0xffffffff
call fcn.00509099
mov ecx, dword [esp + 4]
pop esi
mov dword fs:[0], ecx
add esp, 0xc
ret 0x14