joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5a5e00
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64e05c
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x6d3438]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov ebx, dword [ebp + 8]
push ebx
mov dword [ebp - 0x14], esi
call fcn.0042a5f0
lea eax, [ebx + 0x18]
mov dword [ebp - 4], 0
lea ecx, [esi + 0x18]
push eax
call fcn.0042a5f0
lea eax, [ebx + 0x30]
mov byte [ebp - 4], 1
lea ecx, [esi + 0x30]
push eax
call fcn.0042a5f0
lea eax, [ebx + 0x48]
mov byte [ebp - 4], 2
lea ecx, [esi + 0x48]
push eax
call fcn.0042a5f0
add esi, 0x60
mov dword [ebp - 4], 3
lea edi, [ebx + 0x60]
mov dword [ebp - 0x14], esi
push edi
mov ecx, esi
call fcn.0042a5f0
lea eax, [edi + 0x18]
mov byte [ebp - 4], 4
lea ecx, [esi + 0x18]
push eax
call fcn.0042a5f0
lea eax, [edi + 0x30]
mov byte [ebp - 4], 5
lea ecx, [esi + 0x30]
push eax
call fcn.0042a5f0
mov al, byte [edi + 0x48]
mov byte [esi + 0x48], al
mov eax, dword [edi + 0x4c]
mov dword [esi + 0x4c], eax
mov eax, dword [edi + 0x50]
mov dword [esi + 0x50], eax
add esi, 0x54
push 0x40
mov byte [ebp - 4], 6
mov dword [ebp - 0x1c], esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [ebp - 0x18], esi
call fcn.0060862c
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
push dword [ebp - 0x14]
lea eax, [edi + 0x54]
mov byte [ebp - 4], 7
push eax
mov ecx, esi
call fcn.005a58b0
mov ecx, dword [ebp - 0x10]
mov byte [ebp - 4], 8
mov dword [ecx + 0xbc], 0
mov dword [ecx + 0xc0], 0
mov dword [ecx + 0xc4], 0
mov eax, dword [ebx + 0xc0]
mov esi, dword [ebx + 0xbc]
mov dword [ebp - 0x14], eax
cmp esi, eax
je 0x5a5fb0
mov ebx, dword [ebp - 0x10]
mov ecx, eax
sub ecx, esi
mov eax, 0x66666667
imul ecx
add ebx, 0xbc
sar edx, 5
mov ecx, ebx
mov edi, edx
shr edi, 0x1f
add edi, edx
push edi
call fcn.005abfd0
lea ecx, [edi + edi*4]
mov dword [ebx], eax
shl ecx, 4
add ecx, eax
mov dword [ebx + 4], eax
mov dword [ebx + 8], ecx
mov dword [ebp - 0x18], ebx
mov edi, dword [ebx]
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], ebx
mov byte [ebp - 4], 0xa
nop dword [eax]
push esi
mov ecx, edi
call fcn.005a5d40
add edi, 0x50
add esi, 0x50
mov dword [ebp - 0x24], edi
cmp esi, dword [ebp - 0x14]
jne 0x5a5f80
mov eax, dword [ebp - 0x10]
mov dword [ebx + 4], edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x5a6cb0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], edi
mov eax, dword [edi]
cmp eax, 0x270
jne 0x5a6d0e
lea edx, [edi + 8]
mov esi, eax
nop dword [eax]
mov ecx, dword [edx - 4]
lea edx, [edx + 4]
xor ecx, dword [edx - 4]
and ecx, 0x7fffffff
xor ecx, dword [edx - 8]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx + 0x62c]
xor eax, ecx
mov dword [edx + 0x9b8], eax
sub esi, 1
jne 0x5a6cd0
mov eax, dword [edi]
jmp 0x5a6df9
cmp eax, 0x4e0
jb 0x5a6df9
mov eax, dword [edi + 0x9c4]
push ebx
lea ebx, [edi + 0x9c4]
mov edi, 0xe3
nop dword [eax + eax]
mov ecx, dword [ebx + 4]
lea edx, [ebx + 4]
xor ecx, eax
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [ebx + 0x634]
xor eax, ecx
mov dword [ebx - 0x9c0], eax
lea ebx, [edx]
mov eax, dword [edx]
sub edi, 1
jne 0x5a6d30
mov ebx, dword [ebp - 4]
mov edi, 0x18c
add ebx, 0xd50
mov eax, dword [ebx]
nop dword [eax]
mov ecx, eax
lea edx, [ebx + 4]
xor ecx, dword [edx]
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [ebx - 0xd4c]
xor eax, ecx
mov dword [ebx - 0x9c0], eax
lea ebx, [edx]
mov eax, dword [edx]
sub edi, 1
jne 0x5a6d80
mov edi, dword [ebp - 4]
pop ebx
mov ecx, dword [edi + 0x1380]
xor ecx, dword [edi + 4]
and ecx, 0x7fffffff
xor ecx, dword [edi + 0x1380]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edi + 0x634]
xor eax, ecx
mov dword [edi + 0x9c0], eax
xor eax, eax
mov dword [edi], 0
mov edx, dword [edi + eax*4 + 4]
inc eax
mov dword [edi], eax
mov ecx, edx
mov eax, dword [edi + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
pop edi
xor eax, edx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x5ab6d0
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64e9f0
mov eax, dword fs:[0]
push eax
sub esp, 0x1b0
mov eax, dword [0x6d3438]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp byte [edi + 0x128], 0
jne 0x5ab7e1
push 0x190
lea eax, [ebp - 0x1b8]
push 0
push eax
call fcn.0060a8e0
add esp, 0xc
lea eax, [ebp - 0x1b8]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov dword [ebp - 4], 0
call fcn.004e6660
mov esi, eax
lea ebx, [esi + 0x220]
push ebx
call fcn.005f45e2
add esp, 4
test eax, eax
jne 0x5ab7ff
mov eax, dword [esi]
add esi, 8
test eax, eax
push ebx
cmovne esi, eax
call fcn.005f4607
add esp, 4
lea eax, [esi + 0x104]
lea ecx, [ebp - 0x28]
push eax
call fcn.0042a5f0
lea eax, [ebp - 0x28]
push eax
lea ecx, [edi + 0x30]
call fcn.0042a510
lea ecx, [ebp - 0x28]
call fcn.0042f960
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x1b9]
call fcn.005ab410
push eax
mov ecx, edi
call fcn.0042a510
lea ecx, [ebp - 0x28]
call fcn.0042f960
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call fcn.005aa8e0
push eax
lea ecx, [edi + 0x18]
call fcn.0042a510
lea ecx, [ebp - 0x28]
call fcn.0042f960
push 0
call fcn.0060dd26
push eax
call fcn.0060dd14
add esp, 8
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00608185
mov esp, ebp
pop ebp
ret
push eax
call fcn.005f4632
int3
Function at 0x5abc40
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov dword [ebp - 8], ecx
push edi
nop dword [eax]
mov edi, dword [ecx]
mov dword [ebp - 4], edi
mov eax, dword [edi]
cmp eax, 0x270
jne 0x5abca6
lea eax, [edi + 8]
mov esi, 0x270
mov edx, dword [eax - 4]
lea eax, [eax + 4]
xor edx, dword [eax - 4]
and edx, 0x7fffffff
xor edx, dword [eax - 8]
mov ecx, edx
and cl, 1
movzx ecx, cl
neg ecx
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [eax + 0x62c]
xor ecx, edx
mov dword [eax + 0x9b8], ecx
sub esi, 1
jne 0x5abc66
mov eax, dword [edi]
jmp 0x5abd88
cmp eax, 0x4e0
jb 0x5abd88
mov eax, dword [edi + 0x9c4]
lea ebx, [edi + 0x9c4]
mov edi, 0xe3
mov ecx, dword [ebx + 4]
lea edx, [ebx + 4]
xor ecx, eax
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [ebx + 0x634]
xor eax, ecx
mov dword [ebx - 0x9c0], eax
lea ebx, [edx]
mov eax, dword [edx]
sub edi, 1
jne 0x5abcc2
mov ebx, dword [ebp - 4]
mov edi, 0x18c
add ebx, 0xd50
mov eax, dword [ebx]
nop dword [eax + eax]
mov ecx, eax
lea edx, [ebx + 4]
xor ecx, dword [edx]
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [ebx - 0xd4c]
xor eax, ecx
mov dword [ebx - 0x9c0], eax
lea ebx, [edx]
mov eax, dword [edx]
sub edi, 1
jne 0x5abd10
mov edi, dword [ebp - 4]
mov ecx, dword [edi + 0x1380]
xor ecx, dword [edi + 4]
and ecx, 0x7fffffff
xor ecx, dword [edi + 0x1380]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edi + 0x634]
xor eax, ecx
mov dword [edi + 0x9c0], eax
xor eax, eax
mov dword [edi], 0
mov edx, dword [edi + eax*4 + 4]
inc eax
mov dword [edi], eax
mov ecx, edx
mov eax, dword [edi + 0x1384]
shr ecx, 0xb
and eax, ecx
mov ecx, dword [ebp - 8]
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
cmp eax, dword [ecx + 8]
ja 0x5abc50
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5bfea0
Capabilities:
Encrypt data using aes via winapi

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64f603
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x6d3438]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x80], edi
mov eax, dword [ebp + 0xc]
lea ecx, [edi + 8]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x84], edi
mov dword [ebp - 0x7c], eax
call fcn.005bffd0
mov eax, dword [esi + 4]
mov ecx, dword [esi]
sub eax, ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x3c], 0x208
mov dword [ebp - 0x38], 0x6610
mov dword [ebp - 0x34], eax
je 0x5bff19
push eax
push ecx
lea eax, [ebp - 0x30]
push eax
call fcn.0060a360
mov eax, dword [ebp - 0x34]
add esp, 0xc
lea esi, [edi + 4]
add eax, 0xc
push esi
push 0
push 0
push eax
lea eax, [ebp - 0x3c]
push eax
push dword [edi + 8]
call dword [sym.imp.ADVAPI32.dll_CryptImportKey]
test eax, eax
je 0x5bff86
mov eax, dword [ebp - 0x7c]
push 0
push dword [eax]
push 1
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptSetKeyParam]
test eax, eax
jne 0x5bff66
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x677c4c
lea ecx, [ebp - 0x54]
mov esi, eax
call fcn.0042a5a0
mov byte [ebp - 4], 2
jmp 0x5bff9f
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00608185
mov esp, ebp
pop ebp
ret 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x677c2c
lea ecx, [ebp - 0x54]
mov esi, eax
call fcn.0042a5a0
mov byte [ebp - 4], 1
push esi
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x78]
call fcn.005c0130
push 0x6c67cc
lea eax, [ebp - 0x78]
push eax
call fcn.0060a2f4
int3
Function at 0x5bffd0
Capabilities:
Create new key via cryptacquirecontext

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64f645
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x6d3438]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0xf0000000
push 0x18
push 0
push 0
push esi
mov dword [esi], 0
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x5c003a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x80090016
jne 0x5c008d
push 0xf0000008
push 0x18
push 0
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x5c0056
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00608185
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push str.CryptAcquireContext
lea ecx, [ebp - 0x28]
mov esi, eax
call fcn.0042a5a0
push esi
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x64]
call fcn.005c0130
push 0x6c67cc
lea eax, [ebp - 0x64]
push eax
call fcn.0060a2f4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push str.CryptAcquireContext
lea ecx, [ebp - 0x40]
mov esi, eax
call fcn.0042a5a0
push esi
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 1
push eax
lea ecx, [ebp - 0x88]
call fcn.005c0130
push 0x6c67cc
lea eax, [ebp - 0x88]
push eax
call fcn.0060a2f4
int3

Function at 0x5c07f0
Capabilities:
Encrypt or decrypt via wincrypt

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64f7c6
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x6d3438]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x58], ecx
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 0x4e]
mov esi, dword [ebp + 8]
mov ecx, esi
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x54], 0
mov ebx, dword [edi + 4]
sub ebx, dword [edi]
push eax
lea eax, [ebp - 0x4d]
mov dword [ebp - 4], 0
and ebx, 0xfffffff0
mov byte [ebp - 0x4d], 0
push eax
add ebx, 0x10
push ebx
call fcn.005bfe00
mov eax, dword [edi + 4]
mov edx, eax
mov ecx, dword [edi]
mov dword [ebp - 4], 0
mov dword [ebp - 0x54], 1
sub edx, ecx
je 0x5c087e
push edx
push ecx
push dword [esi]
call fcn.0060a360
mov eax, dword [edi + 4]
add esp, 0xc
mov ecx, dword [edi]
push ebx
sub eax, ecx
lea ecx, [ebp - 0x5c]
push ecx
push dword [esi]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x58]
push 0
push 1
push 0
mov eax, dword [eax]
push dword [eax + 4]
call dword [sym.imp.ADVAPI32.dll_CryptEncrypt]
test eax, eax
je 0x5c08c2
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 - 0x10]
xor ecx, ebp
call fcn.00608185
mov esp, ebp
pop ebp
ret 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x677c70
lea ecx, [ebp - 0x28]
mov esi, eax
call fcn.0042a5a0
push esi
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 1
push eax
lea ecx, [ebp - 0x4c]
call fcn.005c0130
push 0x6c67cc
lea eax, [ebp - 0x4c]
push eax
call fcn.0060a2f4
int3
Function at 0x5c3670
Capabilities:
Receive http response

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64fced
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x6d3438]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x50], eax
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x44]
push ecx
push dword [eax + 8]
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x44], 0
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
je 0x5c37e2
mov esi, dword [ebp - 0x44]
test esi, esi
je 0x5c37e2
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp esi, 0xf
ja 0x5c3704
push esi
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], esi
push 0
push eax
call fcn.0060a8e0
mov byte [ebp + esi - 0x28], 0
mov ebx, dword [ebp - 0x28]
jmp 0x5c3755
cmp esi, 0x7fffffff
ja 0x5c3802
mov edi, esi
or edi, 0xf
cmp edi, 0x7fffffff
jbe 0x5c3724
mov edi, accept
jmp 0x5c372e
mov eax, 0x16
cmp edi, eax
cmovb edi, eax
lea eax, [edi + 1]
push eax
lea ecx, [ebp - 0x28]
call fcn.0042f540
push esi
mov ebx, eax
mov dword [ebp - 0x18], esi
push 0
push ebx
mov dword [ebp - 0x14], edi
call fcn.0060a8e0
mov edi, dword [ebp - 0x48]
mov byte [ebx + esi], 0
mov dword [ebp - 0x28], ebx
add esp, 0xc
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x4c]
push ecx
push dword [ebp - 0x44]
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
cmovae eax, ebx
mov dword [ebp - 0x4c], 0
push eax
mov eax, dword [ebp - 0x50]
push dword [eax + 8]
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
jne 0x5c378c
xor bl, bl
jmp 0x5c37ae
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.004e3440
add esp, 8
mov ecx, edi
push eax
call fcn.0042a510
lea ecx, [ebp - 0x40]
call fcn.0042f960
mov bl, 1
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x5c37de
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5c37d4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5c3807
push edx
push ecx
call fcn.00608415
add esp, 8
mov al, bl
jmp 0x5c37e4
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00608185
mov esp, ebp
pop ebp
ret 4
call fcn.0042f3b0
call fcn.0060e0d0
int3
Function at 0x5c3810
Capabilities:
Read http header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64fd3e
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x6d3438]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], 0
xor eax, eax
mov esi, dword [ebp + 8]
mov dword [ebp - 0x10], 0
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
push eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0x16
push dword [edi + 8]
mov dword [ebp - 0x14], 1
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x5c38d5
mov ecx, dword [esi + 0x10]
mov eax, dword [ebp - 0x10]
cmp eax, ecx
ja 0x5c38ab
cmp dword [esi + 0x14], 8
mov ecx, esi
jb 0x5c38a0
mov ecx, dword [esi]
xor edx, edx
mov dword [esi + 0x10], eax
mov word [ecx + eax*2], dx
jmp 0x5c38b7
sub eax, ecx
mov ecx, esi
push 0
push eax
call fcn.0042afc0
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x5c38c1
mov eax, dword [esi]
push 0
lea ecx, [ebp - 0x10]
push ecx
push eax
push 0
push 0x16
push dword [edi + 8]
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x5c52c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x650086
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x6d3438]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov esi, dword [ebp + 8]
mov eax, dword [esi]
mov dword [edi], eax
xor eax, eax
mov dword [edi + 4], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
movups xmm0, xmmword [esi + 4]
movups xmmword [edi + 4], xmm0
movq xmm0, qword [esi + 0x14]
movq qword [edi + 0x14], xmm0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 7
mov word [esi + 4], ax
mov dword [edi + 0x1c], eax
mov dword [edi + 0x2c], eax
mov dword [edi + 0x30], eax
movups xmm0, xmmword [esi + 0x1c]
mov dword [ebp - 4], eax
movups xmmword [edi + 0x1c], xmm0
movq xmm0, qword [esi + 0x2c]
movq qword [edi + 0x2c], xmm0
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], 7
mov word [esi + 0x1c], ax
mov eax, dword [esi + 0x34]
mov dword [edi + 0x34], eax
mov eax, dword [esi + 0x38]
mov dword [edi + 0x38], eax
mov edx, dword [esi + 0x44]
mov ecx, dword [esi + 0x40]
mov eax, dword [esi + 0x3c]
mov dword [esi + 0x44], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x3c], 0
mov dword [edi + 0x3c], eax
mov dword [edi + 0x40], ecx
mov dword [edi + 0x44], edx
push 0x40
mov byte [ebp - 4], 2
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0
call fcn.0060862c
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [edi + 0x48], eax
mov ecx, dword [esi + 0x48]
mov dword [edi + 0x48], ecx
mov dword [esi + 0x48], eax
mov eax, dword [esi + 0x4c]
mov ecx, dword [edi + 0x4c]
mov dword [edi + 0x4c], eax
mov eax, edi
mov dword [esi + 0x4c], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x5c5520
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x650136
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x6d3438]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
xor eax, eax
mov dword [edi + 4], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 7
mov word [edi + 4], ax
mov dword [edi + 0x1c], eax
mov dword [ebp - 4], eax
mov dword [edi + 0x2c], eax
mov dword [edi + 0x30], 7
mov word [edi + 0x1c], ax
mov dword [edi + 0x3c], eax
mov dword [edi + 0x40], eax
mov dword [edi + 0x44], eax
lea ebx, [edi + 0x48]
mov byte [ebp - 4], 2
push 0x40
mov dword [ebp - 0x14], ebx
mov dword [ebx], eax
mov dword [ebx + 4], eax
call fcn.0060862c
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [ebx], eax
lea eax, [edi + 4]
mov dword [edi], 0
mov dword [edi + 0x34], 0xc8
mov dword [edi + 0x38], 0
cmp dword [edi + 0x18], 8
jb 0x5c55ce
mov eax, dword [edi + 4]
mov dword [edi + 0x14], 0
xor ecx, ecx
mov word [eax], cx
mov ecx, ebx
mov esi, dword [ebx]
push dword [esi + 4]
push ebx
call fcn.004a0880
mov dword [esi + 4], esi
mov eax, edi
mov dword [esi], esi
mov dword [esi + 8], esi
mov dword [ebx + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5c8f40
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x650822
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x6d3438]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x18], ebx
mov esi, dword [ebp + 8]
push esi
call fcn.0042a5f0
lea eax, [esi + 0x18]
mov dword [ebp - 4], 0
lea ecx, [ebx + 0x18]
push eax
call fcn.0042a5f0
lea eax, [esi + 0x30]
mov byte [ebp - 4], 1
lea ecx, [ebx + 0x30]
push eax
call fcn.0042a5f0
lea eax, [esi + 0x48]
mov byte [ebp - 4], 2
lea ecx, [ebx + 0x48]
push eax
call fcn.0042a5f0
lea eax, [esi + 0x60]
mov byte [ebp - 4], 3
lea ecx, [ebx + 0x60]
push eax
call fcn.0042a5f0
lea eax, [esi + 0x78]
mov byte [ebp - 4], 4
lea ecx, [ebx + 0x78]
push eax
call fcn.0042a5f0
lea eax, [esi + 0x90]
mov byte [ebp - 4], 5
lea ecx, [ebx + 0x90]
push eax
call fcn.0042a5f0
lea eax, [esi + 0xa8]
mov byte [ebp - 4], 6
lea ecx, [ebx + 0xa8]
push eax
call fcn.005c4db0
lea eax, [esi + 0xb4]
mov byte [ebp - 4], 7
lea ecx, [ebx + 0xb4]
push eax
call fcn.005c4db0
lea edi, [ebx + 0xc0]
mov byte [ebp - 4], 8
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov eax, dword [esi + 0xc0]
mov ecx, dword [esi + 0xc4]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], ecx
cmp eax, ecx
je 0x5c9086
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
mov ecx, edi
sar edx, 5
mov esi, edx
shr esi, 0x1f
add esi, edx
push esi
call fcn.005cea70
lea ecx, [esi + esi*2]
mov dword [edi], eax
shl ecx, 6
add ecx, eax
mov dword [edi + 4], eax
mov dword [edi + 8], ecx
mov dword [ebp - 0x1c], edi
push dword [edi]
mov ecx, edi
mov byte [ebp - 4], 9
push dword [ebp - 0x10]
push dword [ebp - 0x14]
call fcn.005c8b00
mov esi, dword [ebp + 8]
mov dword [edi + 4], eax
lea eax, [esi + 0xcc]
mov byte [ebp - 4], 0xa
lea ecx, [ebx + 0xcc]
push eax
call fcn.005c4db0
lea eax, [esi + 0xd8]
mov byte [ebp - 4], 0xb
push eax
lea ecx, [ebx + 0xd8]
call fcn.004f4230
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4