joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47bcc0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5d8f78
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x6dd9a4]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
push 0x19
push str.Integer:_division_by_zero
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xf
mov dword [esp + 0x20], 0
mov byte [esp + 0x10], 0
call fcn.0041072d
lea eax, [esp + 4]
push eax
push 6
mov ecx, esi
mov dword [esp + 0x30], 0
call fcn.0046f080
cmp dword [esp + 0x1c], 0x10
jb 0x47bd32
mov ecx, dword [esp + 8]
push ecx
call fcn.005112a2
add esp, 4
mov eax, esi
mov dword [esi], vtable.CryptoPP::Integer::DivideByZero.0
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
add esp, 0x28
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x5dd6d8
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push edi
mov eax, dword [0x6dd9a4]
xor eax, esp
push eax
lea eax, [esp + 0x54]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esi + 0xc], 0xffffffff
mov byte [esi + 0x10], bl
mov dword [esi], vtable.CryptoPP::StringStore.1.0
mov dword [esi + 4], vtable.CryptoPP::StringStore.0
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov eax, dword [esp + 0x64]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
mov byte [esp + 0x10], bl
push 1
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x30]
push str.InputBuffer
push eax
mov dword [esp + 0x6c], 4
call fcn.00476930
add esp, 0x10
push eax
mov ecx, esi
mov byte [esp + 0x60], 5
call fcn.0047b1e0
lea ecx, [esp + 0x28]
mov byte [esp + 0x5c], 4
call fcn.004737f0
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x24]
push ecx
push ebx
push edi
call fcn.00516720
push edi
call fcn.005118c1
add esp, 0x10
mov eax, esi
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
add esp, 0x54
ret 4

Function at 0x488e20
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5de950
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x6dd9a4]
xor eax, esp
mov dword [esp + 0x24], eax
mov eax, dword [0x6dd9a4]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], edx
mov edx, dword [ebp + 0x10]
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0xc]
push edx
push eax
mov dword [esp + 0x1c], eax
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0x10], vtable.CryptoPP::ArraySink.1.0
mov dword [esp + 0x14], vtable.CryptoPP::ArraySink.0
call fcn.00488eb0
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.005112a7
mov esp, ebp
pop ebp
ret 0xc
Function at 0x48d2d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5dd514
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x6dd9a4]
xor eax, esp
mov dword [esp + 0x70], eax
push ebx
push esi
push edi
mov eax, dword [0x6dd9a4]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov eax, dword [esi]
mov edx, dword [eax + 0x50]
lea ecx, [esp + 0x1b]
push ecx
mov ecx, esi
call edx
mov dl, byte [esp + 0x1b]
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call fcn.0048d8a0
mov dword [esp + 0x90], 0
mov bl, byte [esp + 0x1b]
push 0
lea ecx, [esp + 0x54]
call fcn.004921a0
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x50], vtable.CryptoPP::DERGeneralEncoder.1.0
mov dword [esp + 0x54], vtable.CryptoPP::DERGeneralEncoder.0
mov dword [esp + 0x78], ecx
mov byte [esp + 0x7c], 0
mov byte [esp + 0x7d], bl
mov ebx, 1
mov byte [esp + 0x90], bl
cmp byte [esp + 0x3d], 0
je 0x48d3d8
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x48]
push ebx
push 0x6e07dc
mov dword [esp + 0x24], edx
lea ecx, [esp + 0x24]
push ecx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x30]
lea edx, [esp + 0x5c]
push edx
mov edx, dword [eax + 0x7c]
lea ecx, [esp + 0x34]
call edx
mov eax, dword [esp + 0x44]
cmp byte [esp + 0x3d], 0
mov byte [esp + 0x3c], bl
je 0x48d424
or eax, dword [esp + 0x48]
je 0x48d443
jmp fcn.00473900
cmp byte [esp + 0x3d], 0
je 0x48d3d8
mov eax, dword [esp + 0x44]
mov ecx, eax
or ecx, dword [esp + 0x48]
je 0x48d3a9
jmp 0x48d410
mov ecx, dword [esp + 0x38]
mov edx, dword [ecx]
mov edx, dword [edx + 0x4c]
push 2
lea eax, [esp + 0x18]
push eax
mov byte [esp + 0x1c], 0
mov byte [esp + 0x1d], 0
call edx
movzx dx, byte [esp + 0x15]
xor ecx, ecx
mov ch, byte [esp + 0x14]
or cx, dx
cmp eax, 2
movzx ecx, cx
jne 0x48d410
test cx, cx
je 0x48d3a5
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x28]
push ecx
call fcn.0048d2d0
add esp, 8
jmp 0x48d3c3
mov esi, dword [esp + 0x38]
lea edx, [esp + 0x14]
push edx
call fcn.00470680
cmp eax, 2
jne 0x48d3be
cmp word [esp + 0x14], 0
jne 0x48d3be
lea edi, [esp + 0x50]
call fcn.0048dbd0
mov eax, edi
push eax
mov byte [esp + 0x94], 0
call fcn.0048db40
lea ecx, [esp + 0x24]
push ecx
mov dword [esp + 0x94], 0xffffffff
call fcn.0048d980
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.005112a7
mov esp, ebp
pop ebp
ret
Function at 0x48ee60
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5ddbe8
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x6dd9a4]
xor eax, esp
mov dword [esp + 0x30], eax
push esi
mov eax, dword [0x6dd9a4]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
lea eax, [esp + 0xc]
mov esi, ecx
mov ecx, dword [ebp + 8]
push eax
mov dl, 0x30
call fcn.0048d8a0
mov dword [esp + 0xc], vtable.CryptoPP::BERSequenceDecoder.0
mov dword [esp + 0x10], vtable.CryptoPP::BERSequenceDecoder.1.0
mov dword [esp + 0x48], 0
mov edx, dword [esi + 8]
mov edx, dword [edx + 4]
lea ecx, [esi + 8]
lea eax, [esp + 0xc]
push eax
call edx
mov eax, dword [esi + 0x1c]
mov eax, dword [eax + 4]
lea ecx, [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
call eax
cmp byte [esp + 0x25], 0
mov byte [esp + 0x24], 1
je 0x48eef9
mov ecx, dword [esp + 0x2c]
or ecx, dword [esp + 0x30]
je 0x48ef14
call fcn.00473900
mov esi, dword [esp + 0x20]
lea edx, [esp + 8]
push edx
call fcn.00470680
cmp eax, 2
jne 0x48eef4
cmp word [esp + 8], 0
jne 0x48eef4
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0x4c], 0xffffffff
call fcn.0048d980
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.005112a7
mov esp, ebp
pop ebp
ret 0xc
Function at 0x48fbe0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5ddbe8
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x6dd9a4]
xor eax, esp
mov dword [esp + 0x30], eax
push esi
mov eax, dword [0x6dd9a4]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
lea eax, [esp + 0xc]
mov esi, ecx
mov ecx, dword [ebp + 8]
push eax
mov dl, 0x30
call fcn.0048d8a0
mov dword [esp + 0xc], vtable.CryptoPP::BERSequenceDecoder.0
mov dword [esp + 0x10], vtable.CryptoPP::BERSequenceDecoder.1.0
push 0
lea ecx, [esp + 0xc]
push 0
push ecx
lea ecx, [esp + 0x18]
mov dword [esp + 0x54], 0
call fcn.00478490
mov edx, dword [esi - 0x2c]
mov edx, dword [edx + 4]
lea ecx, [esi - 0x2c]
add esp, 0xc
lea eax, [esp + 0xc]
push eax
call edx
mov eax, dword [esi - 0x18]
mov eax, dword [eax + 4]
lea ecx, [esi - 0x18]
lea edx, [esp + 0xc]
push edx
call eax
mov edx, dword [esi + 0x34]
mov edx, dword [edx + 4]
lea ecx, [esi + 0x34]
lea eax, [esp + 0xc]
push eax
call edx
mov eax, dword [esi + 0x48]
mov eax, dword [eax + 4]
lea ecx, [esi + 0x48]
lea edx, [esp + 0xc]
push edx
call eax
mov edx, dword [esi + 0x5c]
mov edx, dword [edx + 4]
lea ecx, [esi + 0x5c]
lea eax, [esp + 0xc]
push eax
call edx
mov eax, dword [esi + 0x70]
mov eax, dword [eax + 4]
lea ecx, [esi + 0x70]
lea edx, [esp + 0xc]
push edx
call eax
mov edx, dword [esi + 0x84]
mov edx, dword [edx + 4]
lea ecx, [esi + 0x84]
lea eax, [esp + 0xc]
push eax
call edx
mov eax, dword [esi + 0x98]
mov eax, dword [eax + 4]
lea ecx, [esi + 0x98]
lea edx, [esp + 0xc]
push edx
call eax
cmp byte [esp + 0x25], 0
mov byte [esp + 0x24], 1
je 0x48fcfa
mov ecx, dword [esp + 0x2c]
or ecx, dword [esp + 0x30]
je 0x48fd15
call fcn.00473900
mov esi, dword [esp + 0x20]
lea edx, [esp + 8]
push edx
call fcn.00470680
cmp eax, 2
jne 0x48fcf5
cmp word [esp + 8], 0
jne 0x48fcf5
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0x4c], 0xffffffff
call fcn.0048d980
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.005112a7
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4927a0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5dd480
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x6dd9a4]
xor eax, esp
mov dword [esp + 0x30], eax
push esi
mov eax, dword [0x6dd9a4]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, dword [ecx]
xor edx, edx
push 1
push 0x6e07dc
push edx
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], edx
push eax
lea edx, [esp + 0x1c]
mov dword [esp + 0x34], eax
push edx
mov edx, dword [esi + 0x80]
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x2c], vtable.CryptoPP::ArraySink.1.0
mov dword [esp + 0x30], vtable.CryptoPP::ArraySink.0
call edx
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.005112a7
mov esp, ebp
pop ebp
ret 8

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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5dd450
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x6dd9a4]
xor eax, esp
mov dword [esp + 0x2c], eax
mov eax, dword [0x6dd9a4]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0xc]
xor edx, edx
push 1
mov dword [esp + 0x20], eax
mov dword [esp + 8], eax
push 0x6e07dc
lea eax, [esp + 0xc]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], edx
mov dword [esp + 0x10], edx
mov edx, dword [ecx]
mov edx, dword [edx + 0x7c]
push eax
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x1c], vtable.CryptoPP::ArraySink.1.0
mov dword [esp + 0x20], vtable.CryptoPP::ArraySink.0
call edx
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.005112a7
mov esp, ebp
pop ebp
ret 8

Function at 0x4931f0
Capabilities:
Generate random numbers via winapi

Disassembly:
push 0xffffffffffffffff
push 0x5d90c8
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x6dd9a4]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
call fcn.004934a0
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x60]
mov eax, dword [eax]
push ecx
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
test eax, eax
jne 0x493275
push 0xe
push 0x68f888
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xf
mov dword [esp + 0x20], eax
mov byte [esp + 0x10], al
call fcn.0041072d
lea eax, [esp + 4]
push eax
lea ecx, [esp + 0x24]
push ecx
mov dword [esp + 0x5c], 0
call fcn.00492fa0
push 0x6b2adc
lea edx, [esp + 0x24]
push edx
call fcn.00518c50
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
add esp, 0x54
ret 8
Function at 0x4932e0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5ddbb8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x6dd9a4]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [esp + 0x30]
push 0
push esi
lea ecx, [esp + 0x18]
mov dword [esp + 0x1c], esi
call fcn.00471560
mov edi, eax
mov dword [esp + 0x18], edi
push esi
mov ecx, edi
mov dword [esp + 0x28], 0
call fcn.00493290
mov eax, dword [ebx]
mov edx, dword [eax + 0xc]
add esp, 4
push esi
push edi
mov ecx, ebx
call edx
push esi
push 0
push edi
call fcn.00516720
push edi
call fcn.005118c1
add esp, 0x10
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x18
ret 8

Function at 0x4945c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5d8f78
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x6dd9a4]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
push 0x32
push str.PK_Signer:_key_too_short_for_this_signature_scheme
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xf
mov dword [esp + 0x20], 0
mov byte [esp + 0x10], 0
call fcn.0041072d
lea eax, [esp + 4]
push eax
push 6
mov ecx, esi
mov dword [esp + 0x30], 0
call fcn.0046f080
cmp dword [esp + 0x1c], 0x10
mov dword [esi], vtable.CryptoPP::PK_SignatureScheme::InvalidKeyLength.0
jb 0x494638
mov ecx, dword [esp + 8]
push ecx
call fcn.005112a2
add esp, 4
mov eax, esi
mov dword [esi], vtable.CryptoPP::PK_SignatureScheme::KeyTooShort.0
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
add esp, 0x28
ret
Function at 0x49bd07
Capabilities:
Contain obfuscated stackstrings

Disassembly:
add esp, 4
pop eax
mov dword [ebp - 0xa5c], 0
Function at 0x4bbd01
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x6dd9a4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
push ebx
mov dword [ebp - 0x14], ebx
mov byte [ebp - 0xd], bl
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp esi, ebx
jne 0x4bbd43
lea eax, [ebp - 0x14]
push eax
call fcn.004bb8b4
cmp eax, 1
pop ecx
je 0x4bbe1a
mov byte [ebp - 0xd], 1
jmp 0x4bbd46
mov dword [ebp - 0x14], esi
mov edi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
lea eax, [ebp - 0x1c]
push eax
push ebx
push ebx
push 2
push dword [ebp - 0x14]
mov byte [ebp - 0xc], bl
mov byte [ebp - 0xb], bl
mov byte [ebp - 0xa], bl
mov byte [ebp - 9], bl
mov byte [ebp - 8], bl
mov byte [ebp - 7], 5
call edi
test eax, eax
je 0x4bbd77
xor eax, eax
jmp 0x4bbe1a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x4bbd70
mov eax, dword [ebp - 0x1c]
call fcn.005199f0
mov esi, esp
cmp esi, ebx
je 0x4bbd70
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x1c]
push esi
push 2
push dword [ebp - 0x14]
call edi
test eax, eax
je 0x4bbd70
lea eax, [ebp - 0x24]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x4bbd70
cmp dword [esi], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x18], ebx
jbe 0x4bbdf6
lea edi, [esi + 4]
push dword [ebp - 0x24]
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x4bbdef
inc dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
add edi, 8
cmp eax, dword [esi]
jb 0x4bbdd1
jmp 0x4bbdf6
mov dword [ebp - 0x20], 1
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
cmp dword [ebp - 0x14], ebx
je 0x4bbe12
cmp byte [ebp - 0xd], bl
je 0x4bbe12
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
cmp dword [ebp - 0x20], ebx
setne al
lea esp, [ebp - 0x30]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005112a7
leave
ret
Function at 0x4bc102
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
xor ebx, ebx
cmp byte [ebp + 0xc], bl
push esi
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ebx
je 0x4bc133
lea eax, [ebp - 4]
push eax
lea eax, [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call fcn.004bf9d0
add esp, 0xc
jmp 0x4bc143
lea eax, [ebp - 0xc]
push eax
call fcn.004bf99a
movzx eax, al
pop ecx
mov dword [ebp + 0xc], eax
push dword [ebp + 0xc]
call fcn.004bbc86
mov esi, eax
mov dword [esp], str.SeDebugPrivilege
call fcn.004bbbc4
pop ecx
push esi
push 1
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
lea ecx, [ebp - 4]
push ecx
lea ecx, [ebp - 8]
push ecx
push 3
push eax
call fcn.004bfe6c
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
push 1
push 2
push ebx
push 0xf01ff
push dword [ebp - 8]
call fcn.004bfe8f
lea eax, [ebp - 4]
push eax
push 4
lea eax, [ebp + 0xc]
push eax
push 0xc
push dword [ebp + 8]
call fcn.004bfebc
add esp, 0x40
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ebx
leave
ret

Function at 0x4c1a91
Capabilities:
Check for time delay via gettickcount

Disassembly:
push 8
mov eax, 0x5bc45a
call fcn.00518b46
mov esi, ecx
push esi
lea ecx, [ebp - 0x14]
call fcn.00411378
and dword [ebp - 4], 0
mov eax, dword [ebp + 8]
add dword [esi + 0x2c], eax
mov edi, dword [esi + 0x2c]
add dword [esi + 0x6c], eax
cmp edi, 0x400
jl 0x4c1ae4
mov eax, edi
cdq
and edx, 0x3ff
add eax, edx
mov ecx, eax
sar ecx, 0xa
add dword [esi + 0x24], ecx
mov eax, ecx
cdq
add dword [esi + 0x30], eax
adc dword [esi + 0x34], edx
shl ecx, 0xa
sub edi, ecx
mov dword [esi + 0x2c], edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
sub eax, dword [esi + 0x68]
cmp eax, 0xbb8
jbe 0x4c1b1d
test eax, eax
fild dword [esi + 0x6c]
mov dword [ebp + 8], eax
fild dword [ebp + 8]
jge 0x4c1b09
fadd qword [0x68fe58]
fdivp st(1)
fmul qword [0x68ff98]
fstp qword [esi + 0x60]
call edi
and dword [esi + 0x6c], 0
mov dword [esi + 0x68], eax
or dword [ebp - 4], 0xffffffff
cmp byte [ebp - 0x10], 0
je 0x4c1b2f
mov ecx, dword [ebp - 0x14]
call fcn.0040dc30
call fcn.00518c1e
ret 4

Function at 0x4c1eb0
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 4], 0
and dword [ebp - 8], 0
push ebx
push 0x1f5
call fcn.004c1d75
mov ebx, eax
test ebx, ebx
pop ecx
je 0x4c1f0d
push esi
push edi
lea eax, [ebp - 8]
push eax
push 1
push dword [ebp + 8]
call fcn.004c1c8b
mov esi, dword [sym.imp.KERNEL32.dll_LocalFree]
mov edi, eax
add esp, 0xc
test edi, edi
je 0x4c1f05
push dword [edi]
push ebx
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
je 0x4c1f02
mov dword [ebp - 4], 1
push edi
call esi
push ebx
call esi
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4c7d74
Capabilities:
Create thread

Disassembly:
push 0x24
mov eax, 0x5b8d6e
call fcn.00518b46
mov esi, ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
xor ebx, ebx
xor edi, edi
cmp byte [ebp + 0x10], bl
mov dword [esi + 8], eax
mov dword [esi + 0x30], ecx
jne 0x4c7e06
lea edx, [ebp + 0x10]
push edx
push 0x10000
push ecx
push eax
push 0x40000
push ebx
mov dword [ebp + 0x10], ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, ebx
mov dword [esi + 4], eax
jne 0x4c7de1
push ebx
sub esp, 0x24
mov ecx, esp
mov dword [ebp + 8], esp
push ebx
push str.Thread.Create.Failed
call fcn.0049eefc
mov dword [ebp - 4], ebx
or edi, 0xffffffff
mov dword [ebp - 4], edi
mov ecx, 0x6ed748
call fcn.0043008c
jmp 0x4c7e06
push 0x6fdcf8
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
push ebx
push str.CreateThread__not_running_yet
lea ecx, [ebp - 0x30]
call fcn.0049eefc
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.0049ebaa
mov eax, edi
call fcn.00518c1e
ret 0xc
Function at 0x4cb99d
Capabilities:
Check for time delay via gettickcount

Disassembly:
push 0x74
mov eax, 0x5b9846
call fcn.00518b46
mov esi, ecx
lea eax, [esi + 0xcc]
push eax
lea ecx, [ebp - 0x20]
call fcn.00411378
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [esi + 0x98], ebx
jbe 0x4cbada
lea eax, [ebp - 0x18]
lea edi, [esi + 0x90]
push eax
mov ecx, edi
call fcn.004ca8b4
mov ecx, edi
jmp 0x4cbac0
lea ecx, [ebp - 0x18]
call fcn.004b57d3
mov edi, dword [eax + 4]
cmp edi, ebx
je 0x4cbab2
cmp byte [edi + 4], bl
je 0x4cbab2
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, 0x4b0
cmp dword [edi + 0x14], eax
jae 0x4cbab2
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push ebx
mov dword [edi + 0x14], eax
mov eax, dword [esi + 0x2c0]
push ebx
push 1
mov dword [ebp - 0x34], eax
mov dword [esi + 0x2c4], eax
mov eax, dword [esi + 0x2c8]
push ebx
mov dword [ebp - 0x38], eax
mov eax, dword [edi]
push ebx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
push 0x10
lea eax, [ebp - 0x38]
push eax
push 0x64
mov ecx, esi
call fcn.004c5ea2
push ebx
push str.GWT.RequestResendPackets_PID
lea ecx, [ebp - 0x5c]
call fcn.0049eefc
mov byte [ebp - 4], 1
push ebx
push ebx
push dword [edi]
lea ecx, [ebp - 0x80]
call fcn.0049ec37
mov byte [ebp - 4], 2
sub esp, 0x24
mov ecx, esp
mov dword [ebp - 0x10], esp
push eax
lea eax, [ebp - 0x5c]
push eax
push ecx
call fcn.004a0106
add esp, 0xc
mov byte [ebp - 4], 3
mov byte [ebp - 4], 2
mov ecx, 0x6ed730
call fcn.00410e61
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x80]
call fcn.0049ebaa
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x5c]
call fcn.0049ebaa
lea ecx, [ebp - 0x18]
call fcn.004c07c0
lea ecx, [esi + 0x90]
lea eax, [ebp - 0x28]
push eax
call fcn.004ca8d9
push eax
lea ecx, [ebp - 0x18]
call fcn.004c32b4
test al, al
je 0x4cb9e3
or dword [ebp - 4], 0xffffffff
cmp byte [ebp - 0x1c], bl
je 0x4cbaeb
mov ecx, dword [ebp - 0x20]
call fcn.0040dc30
call fcn.00518c1e
ret
Function at 0x4d125b
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
movzx eax, word [edi + 6]
mov esi, ecx
mov ecx, dword [edi]
mov edx, dword [esi + 0x6c]
mov edx, dword [edx + 0x24]
lea ebx, [esi + 0x78]
push ebx
movzx eax, ax
lea ebx, [ebp + 8]
push ebx
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4d1296
mov ax, word [ebp + 8]
mov word [edi + 4], ax
xor eax, eax
jmp 0x4d12e1
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x4d12de
mov eax, 0x80
mov ecx, dword [esi + 0x70]
test ecx, ecx
je 0x4d12c2
push 0x1f4
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x4d12a8
test eax, eax
jne 0x4d12de
push 1
lea eax, [ebp + 8]
push eax
lea eax, [esi + 0x78]
push eax
mov eax, dword [esi + 0x6c]
push dword [eax + 0x24]
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
jmp 0x4d128a
or eax, 0xffffffff
pop edi
pop esi
pop ebx
pop ebp
ret 4

Function at 0x4d12e8
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
movzx edx, word [eax + 4]
mov eax, dword [eax]
push esi
mov esi, dword [ecx + 0x6c]
mov esi, dword [esi + 0x24]
add ecx, 0x8c
push ecx
lea ecx, [ebp + 8]
push ecx
movzx ecx, dx
push ecx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
pop esi
je 0x4d131b
xor eax, eax
jmp 0x4d132a
call dword [sym.imp.KERNEL32.dll_GetLastError]
sub eax, 0x3e5
neg eax
sbb eax, eax
pop ebp
ret 4

Function at 0x4d4b59
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5bb2e4
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x6dd9a4]
xor eax, esp
mov dword [esp + 0x68], eax
push esi
mov eax, dword [0x6dd9a4]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
xor esi, esi
push esi
sub esp, 0x24
mov ecx, esp
mov dword [esp + 0x30], esp
push esi
push str.Generating_new_RSA_private_public_key_pair
call fcn.0049eefc
mov dword [esp + 0xa8], esi
or dword [esp + 0xa8], 0xffffffff
mov ecx, 0x6ed730
call fcn.00410efa
push 0x20
push esi
lea ecx, [esp + 0x14]
call fcn.004d499e
mov dword [esp + 0x80], 1
mov esi, 0x400
push esi
lea eax, [esp + 0x10]
push eax
mov ecx, 0x70b21c
call fcn.00470730
push 0x70b200
push 0x70b1ec
mov ecx, 0x70b2c8
call fcn.004d4624
push esi
lea eax, [esp + 0x10]
push eax
mov ecx, 0x70b33c
call fcn.00470730
push 0x70b320
push 0x70b30c
mov ecx, 0x70b3e8
call fcn.004d4624
mov byte [0x709f28], 1
or dword [esp + 0x80], 0xffffffff
lea ecx, [esp + 0xc]
call fcn.004d477e
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.005112a7
mov esp, ebp
pop ebp
ret