joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4e49b8
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
cmp byte [ebp + 8], 0
je 0x4e49f6
cmp dword [ebp - 8], 0
ja 0x4e49e5
mov edx, 0x4e4b68
mov eax, esi
call fcn.004e4374
jmp 0x4e4b5d
mov edx, 0x685cdc
mov ecx, 4
mov eax, esi
call fcn.004e36d0
cmp dword [ebp - 8], 0
jbe 0x4e4b3d
mov eax, dword [ebp - 8]
mov ecx, 3
xor edx, edx
div ecx
mov ebx, eax
lea eax, [ebx + ebx*2]
mov edx, dword [ebp - 8]
sub edx, eax
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
sub dword [ebp - 8], eax
mov edx, dword [esi + 8]
mov eax, dword [esi + 4]
sub edx, eax
inc ebx
shl ebx, 2
cmp edx, ebx
jle 0x4e4a4d
inc eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.004d3bcc
mov ebx, eax
mov eax, ebx
shl eax, 2
add dword [esi + 4], eax
lea eax, [ebx + ebx*2]
add dword [ebp - 4], eax
jmp 0x4e4ab0
mov eax, esi
mov edx, dword [eax]
call dword [edx + 4]
cmp dword [ebp - 8], 0
jbe 0x4e4ab0
mov eax, dword [esi + 0x1c]
sub eax, 4
shr eax, 2
lea ebx, [eax + eax*2]
cmp ebx, dword [ebp - 8]
jbe 0x4e4a6e
mov ebx, dword [ebp - 8]
mov eax, dword [esi + 0x20]
mov ecx, ebx
mov edx, dword [ebp - 4]
call fcn.004d3bcc
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0x10]
shl ebx, 2
mov eax, dword [esi + 0x1c]
sub eax, 4
cmp ebx, eax
jae 0x4e4a93
add dword [esi + 4], ebx
jmp 0x4e4a9e
mov edx, dword [esi + 0x20]
mov ecx, ebx
mov eax, esi
mov ebx, dword [eax]
call dword [ebx]
mov ebx, dword [ebp - 0x10]
lea ebx, [ebx + ebx*2]
add dword [ebp - 4], ebx
sub dword [ebp - 8], ebx
cmp dword [ebp - 8], 0
ja 0x4e4a5a
cmp dword [ebp - 0xc], 0
jbe 0x4e4b3d
mov eax, dword [esi + 4]
inc eax
mov edx, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789__
mov ecx, dword [ebp - 0xc]
dec ecx
je 0x4e4ace
dec ecx
je 0x4e4af9
jmp 0x4e4b39
mov ecx, dword [ebp - 4]
movzx ecx, byte [ecx]
shl ecx, 4
mov ebx, ecx
shr ebx, 6
and ebx, 0x3f
movzx ebx, byte [edx + ebx]
mov byte [eax], bl
and ecx, 0x3f
movzx edx, byte [edx + ecx]
mov byte [eax + 1], dl
add eax, 2
mov word [eax], 0x3d3d
jmp 0x4e4b39
mov ecx, dword [ebp - 4]
movzx ecx, byte [ecx]
shl ecx, 0xa
mov ebx, dword [ebp - 4]
movzx ebx, byte [ebx + 1]
shl ebx, 2
or ecx, ebx
mov ebx, ecx
shr ebx, 0xc
and ebx, 0x3f
movzx ebx, byte [edx + ebx]
mov byte [eax], bl
mov ebx, ecx
shr ebx, 6
and ebx, 0x3f
movzx ebx, byte [edx + ebx]
mov byte [eax + 1], bl
and ecx, 0x3f
movzx edx, byte [edx + ecx]
mov byte [eax + 2], dl
mov byte [eax + 3], 0x3d
add dword [esi + 4], 4
cmp byte [ebp + 8], 0
je 0x4e4b5d
mov ebx, esi
mov eax, dword [ebx + 4]
cmp eax, dword [ebx + 8]
jb 0x4e4b54
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 4]
inc dword [ebx + 4]
mov eax, dword [ebx + 4]
mov byte [eax], 0x22
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4e7d00
Capabilities:
Hash data using murmur3

Disassembly:
push ebp
push ebx
push edi
push esi
push eax
mov eax, dword [esp + 0x20]
mov ebp, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
cmp ebp, 0x10
jb 0x4e7db5
lea edx, [ecx + ebp]
add edx, 0xfffffff1
mov dword [esp], edx
lea ebp, [eax + 0x24234428]
lea ebx, [eax - 0x7a143589]
lea edx, [eax + 0x61c8864f]
nop word cs:[eax + eax]
nop
imul edi, dword [ecx], 0x85ebca77
add edi, ebp
rol edi, 0xd
mov esi, eax
imul eax, dword [ecx + 4], 0x85ebca77
add eax, ebx
rol eax, 0xd
imul ebp, edi, 0x9e3779b1
imul edi, dword [ecx + 8], 0x85ebca77
add edi, esi
rol edi, 0xd
imul esi, dword [ecx + 0xc], 0x85ebca77
imul ebx, eax, 0x9e3779b1
add esi, edx
rol esi, 0xd
imul eax, edi, 0x9e3779b1
imul edx, esi, 0x9e3779b1
add ecx, 0x10
cmp ecx, dword [esp]
jb 0x4e7d40
rol ebp, 1
rol ebx, 7
add ebx, ebp
rol eax, 0xc
add eax, ebx
rol edx, 0x12
add edx, eax
mov ebp, dword [esp + 0x1c]
add edx, ebp
and ebp, 0xf
cmp ebp, 4
jae 0x4e7dca
jmp 0x4e7e62
add eax, 0x165667b1
mov edx, eax
add edx, ebp
and ebp, 0xf
cmp ebp, 4
jb 0x4e7e62
lea esi, [ebp - 4]
mov edi, esi
shr edi, 2
add edi, 1
and edi, 3
je 0x4e7dfd
shl edi, 2
xor ebx, ebx
nop
imul eax, dword [ecx + ebx], 0xc2b2ae3d
add eax, edx
rol eax, 0x11
imul edx, eax, 0x27d4eb2f
add ebx, 4
cmp edi, ebx
jne 0x4e7de0
sub ebp, ebx
add ecx, ebx
cmp esi, 0xc
jb 0x4e7e62
nop word cs:[eax + eax]
nop dword [eax]
imul eax, dword [ecx], 0xc2b2ae3d
add eax, edx
rol eax, 0x11
imul edx, dword [ecx + 4], 0xc2b2ae3d
imul eax, eax, 0x27d4eb2f
add edx, eax
rol edx, 0x11
imul eax, edx, 0x27d4eb2f
imul edx, dword [ecx + 8], 0xc2b2ae3d
add edx, eax
rol edx, 0x11
imul eax, dword [ecx + 0xc], 0xc2b2ae3d
imul edx, edx, 0x27d4eb2f
add eax, edx
rol eax, 0x11
add ecx, 0x10
imul edx, eax, 0x27d4eb2f
add ebp, 0xfffffff0
cmp ebp, 3
ja 0x4e7e10
test ebp, ebp
je 0x4e7f0e
lea esi, [ebp - 1]
mov ebx, ebp
and ebx, 3
je 0x4e7ea0
xor edi, edi
nop word cs:[eax + eax]
movzx eax, byte [ecx + edi]
imul eax, eax, 0x165667b1
add eax, edx
rol eax, 0xb
imul edx, eax, 0x9e3779b1
add edi, 1
cmp ebx, edi
jne 0x4e7e80
sub ebp, edi
add ecx, edi
cmp esi, 3
jb 0x4e7f0e
xor esi, esi
nop word [eax + eax]
movzx eax, byte [ecx + esi]
imul eax, eax, 0x165667b1
add eax, edx
rol eax, 0xb
imul eax, eax, 0x9e3779b1
movzx edx, byte [ecx + esi + 1]
imul edx, edx, 0x165667b1
add edx, eax
rol edx, 0xb
imul eax, edx, 0x9e3779b1
movzx edx, byte [ecx + esi + 2]
imul edx, edx, 0x165667b1
add edx, eax
rol edx, 0xb
imul eax, edx, 0x9e3779b1
movzx edx, byte [ecx + esi + 3]
imul edx, edx, 0x165667b1
add edx, eax
rol edx, 0xb
imul edx, edx, 0x9e3779b1
add esi, 4
cmp ebp, esi
jne 0x4e7eb0
mov eax, edx
shr eax, 0xf
xor eax, edx
imul eax, eax, 0x85ebca77
mov ecx, eax
shr ecx, 0xd
xor ecx, eax
imul ecx, ecx, 0xc2b2ae3d
mov eax, ecx
shr eax, 0x10
xor eax, ecx
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4e8160
Capabilities:
Hash data using murmur3

Disassembly:
push ebp
push ebx
push edi
push esi
mov esi, dword [esp + 0x14]
cmp dword [esi + 4], 0
je 0x4e81c4
movdqu xmm0, xmmword [esi + 8]
movdqa xmm1, xmmword [0x6862a0]
pmuludq xmm1, xmm0
pshufd xmm0, xmm0, 0xf5
pmuludq xmm0, xmmword [0x6862b0]
pshufd xmm2, xmm1, 0xed
pshufd xmm3, xmm0, 0xed
punpckldq xmm2, xmm3
pshufd xmm1, xmm1, 0xe8
pshufd xmm0, xmm0, 0xe8
punpckldq xmm1, xmm0
por xmm1, xmm2
pshufd xmm0, xmm1, 0xee
paddd xmm0, xmm1
pshufd xmm1, xmm0, 0x55
paddd xmm1, xmm0
movd edx, xmm1
jmp 0x4e81cc
mov edx, 0x165667b1
add edx, dword [esi + 0x10]
add edx, dword [esi]
lea ecx, [esi + 0x18]
mov eax, dword [esi + 0x28]
and eax, 0xf
cmp eax, 4
jb 0x4e8282
lea edi, [eax - 4]
mov ebx, edi
shr ebx, 2
add ebx, 1
and ebx, 3
je 0x4e8221
shl ebx, 2
xor ecx, ecx
nop word cs:[eax + eax]
nop
imul ebp, dword [esi + ecx + 0x18], 0xc2b2ae3d
add ebp, edx
rol ebp, 0x11
imul edx, ebp, 0x27d4eb2f
add ecx, 4
cmp ebx, ecx
jne 0x4e8200
sub eax, ecx
add ecx, esi
add ecx, 0x18
cmp edi, 0xc
jb 0x4e8282
nop word cs:[eax + eax]
imul esi, dword [ecx], 0xc2b2ae3d
add esi, edx
rol esi, 0x11
imul edx, dword [ecx + 4], 0xc2b2ae3d
imul esi, esi, 0x27d4eb2f
add edx, esi
rol edx, 0x11
imul edx, edx, 0x27d4eb2f
imul esi, dword [ecx + 8], 0xc2b2ae3d
add esi, edx
rol esi, 0x11
imul edx, dword [ecx + 0xc], 0xc2b2ae3d
imul esi, esi, 0x27d4eb2f
add edx, esi
rol edx, 0x11
add ecx, 0x10
imul edx, edx, 0x27d4eb2f
add eax, 0xfffffff0
cmp eax, 3
ja 0x4e8230
test eax, eax
je 0x4e832e
lea esi, [eax - 1]
mov ebx, eax
and ebx, 3
je 0x4e82c0
xor edi, edi
nop word cs:[eax + eax]
movzx ebp, byte [ecx + edi]
imul ebp, ebp, 0x165667b1
add ebp, edx
rol ebp, 0xb
imul edx, ebp, 0x9e3779b1
add edi, 1
cmp ebx, edi
jne 0x4e82a0
sub eax, edi
add ecx, edi
cmp esi, 3
jb 0x4e832e
xor esi, esi
nop word [eax + eax]
movzx edi, byte [ecx + esi]
imul edi, edi, 0x165667b1
add edi, edx
rol edi, 0xb
imul edx, edi, 0x9e3779b1
movzx edi, byte [ecx + esi + 1]
imul edi, edi, 0x165667b1
add edi, edx
rol edi, 0xb
imul edx, edi, 0x9e3779b1
movzx edi, byte [ecx + esi + 2]
imul edi, edi, 0x165667b1
add edi, edx
rol edi, 0xb
imul edx, edi, 0x9e3779b1
movzx edi, byte [ecx + esi + 3]
imul edi, edi, 0x165667b1
add edi, edx
rol edi, 0xb
imul edx, edi, 0x9e3779b1
add esi, 4
cmp eax, esi
jne 0x4e82d0
mov eax, edx
shr eax, 0xf
xor eax, edx
imul eax, eax, 0x85ebca77
mov ecx, eax
shr ecx, 0xd
xor ecx, eax
imul ecx, ecx, 0xc2b2ae3d
mov eax, ecx
shr eax, 0x10
xor eax, ecx
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x562010
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
mov ecx, dword [esp + 0x20]
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
lea ebx, [ebp + ecx]
mov edi, dword [eax]
lea eax, [edi*4 + 4]
push eax
push 0
push esi
call sub.msvcrt.dll_memset
add esp, 0xc
cmp dword [esp + 0x20], 0
je 0x562242
mov ecx, dword [esp + 0x18]
jle 0x56205f
nop
movzx eax, byte [ebp]
add ebp, 1
add dword [esi + eax*4], 1
cmp ebp, ebx
jb 0x562050
add edi, 1
nop word cs:[eax + eax]
nop dword [eax]
cmp dword [esi + edi*4 - 4], 0
lea edi, [edi - 1]
je 0x562070
mov dword [ecx], edi
add edi, 1
xor ecx, ecx
mov eax, 0
cmp edi, 8
jb 0x562267
mov ecx, edi
and ecx, 0xfffffff8
lea edx, [ecx - 8]
mov eax, edx
shr eax, 3
add eax, 1
test edx, edx
je 0x562250
mov ebx, edi
and ebx, 0xfffffff8
add ebx, 0xfffffff8
shr ebx, 3
add ebx, 1
and ebx, 0xfffffffe
pxor xmm0, xmm0
xor edx, edx
movdqa xmm2, xmmword [0x6883f0]
pxor xmm1, xmm1
nop word [eax + eax]
movdqu xmm4, xmmword [esi + edx*4]
movdqu xmm5, xmmword [esi + edx*4 + 0x10]
movdqa xmm6, xmm0
pxor xmm6, xmm2
movdqa xmm3, xmm4
pxor xmm3, xmm2
pcmpgtd xmm3, xmm6
pand xmm4, xmm3
pandn xmm3, xmm0
por xmm3, xmm4
movdqa xmm0, xmm1
pxor xmm0, xmm2
movdqa xmm4, xmm5
pxor xmm4, xmm2
pcmpgtd xmm4, xmm0
pand xmm5, xmm4
pandn xmm4, xmm1
por xmm4, xmm5
movdqu xmm1, xmmword [esi + edx*4 + 0x20]
movdqu xmm5, xmmword [esi + edx*4 + 0x30]
movdqa xmm6, xmm3
pxor xmm6, xmm2
movdqa xmm0, xmm1
pxor xmm0, xmm2
pcmpgtd xmm0, xmm6
pand xmm1, xmm0
pandn xmm0, xmm3
por xmm0, xmm1
movdqa xmm3, xmm4
pxor xmm3, xmm2
movdqa xmm1, xmm5
pxor xmm1, xmm2
pcmpgtd xmm1, xmm3
pand xmm5, xmm1
pandn xmm1, xmm4
por xmm1, xmm5
add edx, 0x10
add ebx, 0xfffffffe
jne 0x5620d0
test al, 1
je 0x5621ce
movdqu xmm5, xmmword [esi + edx*4]
movdqu xmm3, xmmword [esi + edx*4 + 0x10]
movdqa xmm2, xmmword [0x6883f0]
movdqa xmm6, xmm0
pxor xmm6, xmm2
movdqa xmm4, xmm5
pxor xmm4, xmm2
pcmpgtd xmm4, xmm6
pand xmm5, xmm4
pandn xmm4, xmm0
por xmm4, xmm5
movdqa xmm0, xmm1
pxor xmm0, xmm2
pxor xmm2, xmm3
pcmpgtd xmm2, xmm0
pand xmm3, xmm2
pandn xmm2, xmm1
por xmm2, xmm3
movdqa xmm0, xmm4
movdqa xmm1, xmm2
movdqa xmm2, xmmword [0x6883f0]
movdqa xmm4, xmm1
pxor xmm4, xmm2
movdqa xmm3, xmm0
pxor xmm3, xmm2
pcmpgtd xmm3, xmm4
pand xmm0, xmm3
pandn xmm3, xmm1
por xmm3, xmm0
pshufd xmm1, xmm3, 0xee
movdqa xmm0, xmm3
pxor xmm0, xmm2
movdqa xmm4, xmm1
pxor xmm4, xmm2
pcmpgtd xmm0, xmm4
pand xmm3, xmm0
pandn xmm0, xmm1
por xmm0, xmm3
pshufd xmm1, xmm0, 0x55
movdqa xmm3, xmm0
pxor xmm3, xmm2
pxor xmm2, xmm1
pcmpgtd xmm3, xmm2
pand xmm0, xmm3
pandn xmm3, xmm1
por xmm3, xmm0
movd eax, xmm3
jmp 0x562272
mov eax, dword [esp + 0x18]
mov dword [eax], 0
xor eax, eax
jmp 0x562276
pxor xmm0, xmm0
xor edx, edx
pxor xmm1, xmm1
test al, 1
jne 0x562177
jmp 0x5621ce
mov edx, dword [esi + ecx*4]
cmp edx, eax
cmova eax, edx
add ecx, 1
cmp edi, ecx
jne 0x562267
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x5812e0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x34
mov eax, dword [ecx + 0x2a4]
mov dword [esp + 0x1c], eax
mov edi, dword [ecx + 0x2a8]
mov ebp, dword [ecx + 0x2b0]
mov eax, dword [ecx + 0x2ac]
mov dword [esp + 0x2c], eax
mov eax, dword [ecx + 0x290]
mov ebx, dword [ecx + 0x294]
mov edx, dword [ecx + 0x810]
mov esi, dword [edx + 0x11f0]
mov dword [esp + 8], esi
movsd xmm0, qword [edx + 0x11e8]
sub edi, dword [esp + 0x1c]
mov esi, edi
sar esi, 3
mov edx, ebx
shl edx, 4
movsd qword [esp], xmm0
mov dword [esp + 0x10], eax
add eax, edx
mov dword [esp + 0x28], eax
test edi, edi
je 0x5814b0
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebx
mov dword [esp + 0x14], ecx
mov eax, dword [ecx + 0x2cc]
mov dword [esp + 0x30], eax
cmp esi, 2
mov eax, 1
cmovae eax, esi
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x10]
lea ebp, [eax + edx]
add ebp, 0xc
xor edi, edi
xor eax, eax
mov dword [esp + 0xc], esi
jmp 0x5813c2
add edx, 0xfffffffd
mov dword [ebp - 0xc], edx
mov ecx, dword [esp]
mov esi, dword [esp + 4]
mov dword [esp + 8], esi
mov ebx, edx
mov esi, dword [esp + 0xc]
mov dword [esp + 4], ecx
mov dword [esp], ebx
add eax, dword [esp + 0x10]
add edi, 1
add ebp, 0x10
cmp dword [esp + 0x18], edi
je 0x58149e
mov esi, dword [esp + 0x1c]
mov edx, dword [esi + edi*8]
movzx ecx, word [esi + edi*8 + 4]
mov dword [ebp - 8], ecx
movzx ebx, word [esi + edi*8 + 6]
lea esi, [ebx + 3]
mov dword [ebp - 4], esi
mov dword [ebp], 0
mov esi, ecx
cmp dword [esp + 0x30], edi
jne 0x581410
mov esi, dword [esp + 0x14]
mov esi, dword [esi + 0x2c8]
cmp esi, 2
je 0x58143b
mov ebx, ecx
cmp esi, 1
mov esi, ecx
jne 0x581410
lea esi, [ecx + 0x10000]
mov dword [ebp - 8], esi
nop dword [eax]
cmp edx, 3
mov dword [esp + 0x10], esi
ja 0x581390
mov dword [ebp], edx
test esi, esi
mov esi, dword [esp + 0xc]
je 0x58142e
mov ebx, dword [esp + edx*4 - 4]
jmp 0x581460
cmp edx, 3
jne 0x581455
mov ebx, dword [esp]
add ebx, 0xffffffff
jmp 0x581460
add ebx, 0x10003
mov dword [ebp - 4], ebx
mov esi, ecx
cmp edx, 3
mov dword [esp + 0x10], esi
ja 0x581390
jmp 0x58141d
mov ebx, dword [esp + edx*4]
nop dword [eax + eax]
mov dword [ebp - 0xc], ebx
cmp ecx, 1
adc edx, 0
add edx, 0xffffffff
je 0x5813ae
cmp edx, 3
jne 0x58147f
mov ecx, dword [esp]
lea ebx, [ecx - 1]
jmp 0x581485
mov ebx, dword [esp + edx*4]
mov ecx, dword [esp]
cmp edx, 2
lea edx, [esp + 8]
lea esi, [esp + 4]
cmovae edx, esi
mov edx, dword [edx]
mov dword [esp + 8], edx
jmp 0x5813a3
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
jmp 0x5814b4
xor eax, eax
xor edx, edx
add eax, dword [esp + 0x2c]
sub ebp, eax
shl edx, 4
mov eax, dword [esp + 0x28]
mov dword [eax + edx + 4], ebp
mov dword [eax + edx + 0xc], 0
mov dword [eax + edx], 0
mov dword [eax + edx + 8], 0
lea eax, [esi + ebx]
add eax, 1
mov dword [ecx + 0x294], eax
add esp, 0x34
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x5c1508
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
mov ecx, eax
and eax, 0xff
shr ecx, 8
inc edx
xor ecx, dword [eax*4 + 0x68be70]
cmp edx, 4
mov eax, ecx
jl 0x5c1510
pop ebp
ret

Function at 0x5c152c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
mov ecx, eax
inc edx
shr eax, 0x18
and eax, 0xff
shl ecx, 8
xor ecx, dword [eax*4 + 0x68c270]
cmp edx, 4
mov eax, ecx
jl 0x5c1534
pop ebp
ret
Function at 0x5f9098
Capabilities:
Read http header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov edi, dword [ebp + 8]
xor eax, eax
push ebp
push 0x5f91fe
push dword fs:[eax]
mov dword fs:[eax], esp
mov ebx, dword [ebp - 8]
test esi, esi
je 0x5f90da
or ebx, 0xffff
mov eax, esi
call fcn.0040bfcc
mov esi, eax
jmp 0x5f90dc
xor esi, esi
xor eax, eax
mov dword [ebp - 0xc], eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0
push esi
push ebx
mov eax, dword [ebp - 4]
push eax
call sub.winhttp.dll_WinHttpQueryHeaders
call sub.kernel32.dll_GetLastError
cmp eax, 0x2f76
jne 0x5f910c
mov eax, edi
call fcn.0040b324
jmp 0x5f91e1
call sub.kernel32.dll_GetLastError
cmp eax, 0x7a
je 0x5f915c
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
call sub.kernel32.dll_GetLastError
lea ecx, [ebp - 0x20]
mov edx, dword [0x69db90]
call fcn.0042befc
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0x11
lea eax, [ebp - 0x1c]
push eax
push 1
mov ecx, dword [0x68eea4]
mov dl, 1
mov eax, dword [0x5fc71c]
call fcn.0042d868
call fcn.0040a9e0
mov edx, dword [ebp - 0xc]
shr edx, 1
dec edx
mov eax, edi
call fcn.0040c158
mov eax, dword [edi]
test eax, eax
je 0x5f9174
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x5f91e1
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [edi]
call fcn.0040bfcc
push eax
push esi
push ebx
mov eax, dword [ebp - 4]
push eax
call sub.winhttp.dll_WinHttpQueryHeaders
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x5f91e1
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
call sub.kernel32.dll_GetLastError
lea ecx, [ebp - 0x24]
mov edx, dword [0x69db90]
call fcn.0042befc
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0x11
lea eax, [ebp - 0x1c]
push eax
push 1
mov ecx, dword [0x68eea4]
mov dl, 1
mov eax, dword [0x5fc71c]
call fcn.0042d868
call fcn.0040a9e0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5f9205
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.0040b384
pop eax
jmp eax

Function at 0x5f9412
Capabilities:
Initialize winhttp library

Disassembly:
push ebx
push esi
push edi
test dl, dl
je 0x5f93d3
add esp, 0xfffffff0
call fcn.00409b50
mov ebx, edx
mov edi, eax
mov eax, edi
call fcn.006030d4
mov dl, 1
mov eax, dword [0x5f77a8]
call fcn.005fc56c
mov dword [edi + 0xb8], eax
mov dl, 1
mov eax, dword [0x5e8864]
call fcn.005f3c38
mov dword [edi + 0xb4], eax
mov eax, dword [0x5f6878]
call fcn.005fc128
push 0
push 0
push 0
push 1
push 0x5f9474
call sub.winhttp.dll_WinHttpOpen
mov esi, eax
mov dword [edi + 0xb0], esi
test esi, esi
jne 0x5f9441
mov ecx, dword [0x68efc0]
mov dl, 1
mov eax, dword [0x5fc7d4]
call fcn.0042d82c
call fcn.0040a9e0
push 0
push 0x10010
push 0x5f9220
mov eax, dword [edi + 0xb0]
push eax
call sub.winhttp.dll_WinHttpSetStatusCallback
mov eax, edi
test bl, bl
je 0x5f946e
call fcn.00409ba8
pop dword fs:[0]
add esp, 0xc
mov eax, edi
pop edi
pop esi
pop ebx
ret
Function at 0x5fa94c
Capabilities:
Prepare http request

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x5fab28
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebx + 0xb9], 0
mov byte [ebx + 0xb8], 0
mov eax, dword [ebp - 4]
cmp dword [eax + 0x10], 0
jle 0x5fa996
mov esi, dword [ebp - 4]
movzx esi, word [esi + 0x10]
jmp 0x5fa998
xor esi, esi
push 0
push esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0040bfcc
push eax
mov eax, dword [ebx + 0x58]
mov eax, dword [eax + 0xb0]
push eax
call sub.winhttp.dll_WinHttpConnect
mov edi, eax
mov dword [ebx + 0xa0], edi
test edi, edi
jne 0x5fa9ec
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x68ec78]
mov dl, 1
mov eax, dword [0x5fc89c]
call fcn.0042d868
call fcn.0040a9e0
xor esi, esi
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov edx, 0x5fab44
call fcn.0040c3c8
jne 0x5faa05
or esi, 0x800000
push esi
push 0
push 0
push 0
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.005f9058
mov eax, dword [ebp - 0x10]
call fcn.0040bfcc
push eax
lea edx, [ebp - 0x14]
mov eax, ebx
call fcn.005efeec
mov eax, dword [ebp - 0x14]
call fcn.0040bfcc
push eax
mov eax, dword [ebx + 0xa0]
push eax
call sub.winhttp.dll_WinHttpOpenRequest
mov edi, eax
mov dword [ebx + 0xa4], edi
test edi, edi
jne 0x5faa91
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0
call sub.kernel32.dll_GetLastError
lea ecx, [ebp - 0x28]
mov edx, dword [0x69db90]
call fcn.0042befc
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0x11
lea eax, [ebp - 0x24]
push eax
push 1
mov ecx, dword [0x68ef64]
mov dl, 1
mov eax, dword [0x5fc89c]
call fcn.0042d868
call fcn.0040a9e0
mov eax, dword [ebx + 0x14]
push eax
mov eax, ebx
call fcn.005f0040
push eax
mov esi, dword [ebx + 0xc]
push esi
push esi
mov eax, dword [ebx + 0xa4]
push eax
call sub.winhttp.dll_WinHttpSetTimeouts
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x5faafe
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0
call sub.kernel32.dll_GetLastError
lea ecx, [ebp - 0x2c]
mov edx, dword [0x69db90]
call fcn.0042befc
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0x11
lea eax, [ebp - 0x24]
push eax
push 1
mov ecx, dword [0x68f0a8]
mov dl, 1
mov eax, dword [0x5fc89c]
call fcn.0042d868
call fcn.0040a9e0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5fab2f
lea eax, [ebp - 0x2c]
mov edx, 2
call fcn.0040b384
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.0040b384
pop eax
jmp eax
Function at 0x611e80
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
test dl, dl
je 0x611e93
add esp, 0xfffffff0
call fcn.00409b50
mov esi, ecx
mov byte [ebp - 1], dl
mov ebx, eax
mov edi, dword [ebp + 8]
xor edx, edx
mov eax, ebx
call fcn.00409618
lea eax, [ebx + 4]
mov edx, esi
call fcn.0040b714
test edi, edi
jg 0x611ecb
mov ecx, dword [0x68f284]
mov dl, 1
mov eax, dword [0x41fda8]
call fcn.0042d82c
call fcn.0040a9e0
mov dword [ebx + 8], edi
mov dl, 1
mov eax, esi
call fcn.00426e78
call fcn.00611e70
push eax
mov ecx, esi
mov dl, 1
mov eax, dword [0x47b8b8]
call fcn.0049de3c
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + 8]
call fcn.0061a1d4
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], edx
mov eax, dword [ebx + 0x18]
mov dword [ebx + 0x20], eax
mov eax, dword [ebx + 0x1c]
mov dword [ebx + 0x24], eax
lea eax, [ebx + 0x38]
push eax
call sub.kernel32.dll_GetSystemInfo
xor eax, eax
mov dword [ebx + 0x5c], eax
cmp dword [ebx + 0x24], 0
jne 0x611f35
cmp dword [ebx + 0x20], 0
jbe 0x611f57
jmp 0x611f37
jle 0x611f57
push 0x611f78
mov eax, dword [ebx + 0x20]
push eax
mov eax, dword [ebx + 0x24]
push eax
push 4
push 0
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_CreateFileMappingW
mov dword [ebx + 0x5c], eax
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x611f6e
call fcn.00409ba8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 4

Function at 0x613d9c
Capabilities:
Write file on windows

Disassembly:
push ebx
push esi
push edi
push eax
mov eax, 0x10
add esp, 0xfffff004
push eax
dec eax
jne 0x613da5
mov eax, dword [esp + 0x10000]
mov ebx, eax
mov esi, esp
lea edx, [esp + 4]
mov eax, dword [ebx + 4]
mov ecx, 0x10000
mov edi, dword [eax]
call dword [edi + 0xc]
mov dword [esi], eax
jmp 0x613dec
mov eax, dword [esi]
xor edx, edx
add dword [ebx + 0x50], eax
adc dword [ebx + 0x54], edx
lea edx, [esp + 4]
mov eax, dword [ebx + 4]
mov ecx, 0x10000
mov edi, dword [eax]
call dword [edi + 0xc]
mov dword [esi], eax
push 0
push esi
mov eax, dword [esi]
push eax
lea eax, [esp + 0x10]
push eax
mov eax, dword [ebx + 0x2c]
push eax
call sub.kernel32.dll_WriteFile
test eax, eax
je 0x613e09
cmp dword [esi], 0
ja 0x613dcf
lea eax, [ebx + 0x2c]
call fcn.0061a53c
add esp, 0x10004
pop edi
pop esi
pop ebx
ret