joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4152f0
Capabilities:
Get common file path

Disassembly:
push ecx
cmp dword [ebx], 0
push esi
push edi
jne 0x415398
cmp dword [ebx + 4], 0xffffffff
jne 0x415398
lea edi, [ebx + 0x244]
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov eax, edi
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x415320
sub eax, edx
sar eax, 1
movzx eax, word [ebx + eax*2 + 0x242]
cmp ax, 0x5c
je 0x415359
cmp ax, 0x2f
je 0x415359
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x415346
mov eax, dword [0x430c10]
mov dword [edi], eax
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push ecx
push edx
lea esi, [esp + 0x1c]
call fcn.004140c0
add esp, 8
test eax, eax
jne 0x41537d
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ecx
ret 8
call fcn.00414490
mov dword [ebx], eax
neg eax
sbb eax, eax
and eax, 0xfffffe00
add eax, 0x200
pop edi
pop esi
pop ecx
ret 8
pop edi
mov eax, 0x1000000
pop esi
pop ecx
ret 8
Function at 0x416700
Capabilities:
Encode data using xor
Encrypt data using des

Disassembly:
push ecx
mov ecx, dword [esp + 8]
mov eax, dword [ecx]
push ebx
push ebp
push esi
mov esi, dword [ecx + 4]
mov ecx, eax
shr ecx, 4
xor ecx, esi
and ecx, 0xf0f0f0f
xor esi, ecx
shl ecx, 4
xor eax, ecx
mov ecx, eax
shr ecx, 0x10
xor ecx, esi
and ecx, 0xffff
xor esi, ecx
shl ecx, 0x10
xor eax, ecx
mov ecx, esi
shr ecx, 2
xor ecx, eax
and ecx, 0x33333333
xor eax, ecx
add ecx, ecx
add ecx, ecx
xor esi, ecx
mov ecx, esi
shr ecx, 8
xor ecx, eax
and ecx, 0xff00ff
xor eax, ecx
shl ecx, 8
xor ecx, esi
rol ecx, 1
mov esi, ecx
xor ecx, eax
and ecx, 0xaaaaaaaa
xor esi, ecx
xor ecx, eax
rol ecx, 1
push edi
mov edi, ecx
mov dword [esp + 0x10], 8
jmp 0x416780
mov eax, esi
ror eax, 4
xor eax, dword [edx]
add edx, 4
mov ecx, eax
shr ecx, 0x18
mov ebx, eax
shr ebx, 0x10
and ebx, 0x3f
and ecx, 0x3f
mov ecx, dword [ecx*4 + 0x43b490]
or ecx, dword [ebx*4 + 0x43b690]
mov ebx, eax
shr ebx, 8
and ebx, 0x3f
or ecx, dword [ebx*4 + 0x43b890]
and eax, 0x3f
or ecx, dword [eax*4 + 0x43ba90]
mov eax, dword [edx]
xor eax, esi
mov ebx, eax
shr ebx, 0x18
and ebx, 0x3f
mov ebx, dword [ebx*4 + 0x43b590]
mov ebp, eax
shr ebp, 0x10
and ebp, 0x3f
or ebx, dword [ebp*4 + 0x43b790]
mov ebp, eax
shr ebp, 8
and ebp, 0x3f
or ebx, dword [ebp*4 + 0x43b990]
and eax, 0x3f
or ebx, dword [eax*4 + 0x43bb90]
add edx, 4
or ebx, ecx
xor edi, ebx
mov eax, edi
ror eax, 4
xor eax, dword [edx]
add edx, 4
mov ecx, eax
shr ecx, 0x18
mov ebx, eax
shr ebx, 0x10
and ebx, 0x3f
and ecx, 0x3f
mov ecx, dword [ecx*4 + 0x43b490]
or ecx, dword [ebx*4 + 0x43b690]
mov ebx, eax
shr ebx, 8
and ebx, 0x3f
or ecx, dword [ebx*4 + 0x43b890]
and eax, 0x3f
or ecx, dword [eax*4 + 0x43ba90]
mov eax, dword [edx]
xor eax, edi
mov ebx, eax
shr ebx, 0x18
and ebx, 0x3f
mov ebx, dword [ebx*4 + 0x43b590]
mov ebp, eax
shr ebp, 0x10
and ebp, 0x3f
or ebx, dword [ebp*4 + 0x43b790]
mov ebp, eax
shr ebp, 8
and ebp, 0x3f
or ebx, dword [ebp*4 + 0x43b990]
and eax, 0x3f
or ebx, dword [eax*4 + 0x43bb90]
add edx, 4
or ebx, ecx
xor esi, ebx
sub dword [esp + 0x10], 1
jne 0x416780
ror esi, 1
mov eax, esi
xor eax, edi
and eax, 0xaaaaaaaa
xor esi, eax
xor eax, edi
ror eax, 1
mov ecx, eax
shr ecx, 8
xor ecx, esi
and ecx, 0xff00ff
xor esi, ecx
shl ecx, 8
xor eax, ecx
mov ecx, eax
shr ecx, 2
xor ecx, esi
and ecx, 0x33333333
xor esi, ecx
lea edx, [ecx*4]
mov ecx, esi
shr ecx, 0x10
xor eax, edx
mov edx, dword [esp + 0x18]
xor ecx, eax
and ecx, 0xffff
xor eax, ecx
shl ecx, 0x10
xor esi, ecx
mov ecx, esi
shr ecx, 4
xor ecx, eax
and ecx, 0xf0f0f0f
mov edi, ecx
shl edi, 4
xor edi, esi
mov dword [edx], edi
pop edi
pop esi
xor ecx, eax
pop ebp
mov dword [edx + 4], ecx
pop ebx
pop ecx
ret
Function at 0x417670
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x428811
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x43a14c]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x2c]
xor esi, esi
mov dword [esp + 0x18], esi
mov edi, 1
mov dword [esp + 0x24], edi
mov eax, dword [0x44030c]
mov edx, dword [eax + 0xc]
mov ecx, 0x44030c
call edx
add eax, 0x10
mov dword [ebx], eax
mov eax, dword [esp + 0x30]
push eax
mov dword [esp + 0x1c], edi
call dword [sym.imp.WS2_32.dll_inet_addr]
mov ebp, eax
cmp ebp, esi
je 0x417762
push edi
lea ecx, [esp + 0x18]
push ecx
push esi
mov dword [esp + 0x20], esi
call sub.IPHLPAPI.DLL_GetIpNetTable
cmp eax, 0x7a
jne 0x417762
mov edx, dword [esp + 0x14]
push edx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
push edi
lea eax, [esp + 0x18]
push eax
push esi
call sub.IPHLPAPI.DLL_GetIpNetTable
test eax, eax
jne 0x41775b
test esi, esi
je 0x417762
mov edx, dword [esi]
test edx, edx
jbe 0x41775b
lea ecx, [esi + 0x14]
cmp ebp, dword [ecx]
je 0x417727
add eax, edi
add ecx, 0x18
cmp eax, edx
jb 0x417718
jmp 0x41775b
lea ecx, [eax + eax*2]
movzx edx, byte [esi + ecx*8 + 0x11]
lea eax, [esi + ecx*8]
movzx ecx, byte [eax + 0x10]
push edx
movzx edx, byte [eax + 0xf]
push ecx
movzx ecx, byte [eax + 0xe]
push edx
movzx edx, byte [eax + 0xd]
movzx eax, byte [eax + 0xc]
push ecx
push edx
push eax
push 0x436894
mov edi, ebx
call fcn.00404e00
add esp, 0x1c
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov byte [esp + 0x24], 0
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417787
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret

Function at 0x417ac0
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
sub esp, 0xc
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
push esi
push edi
lea eax, [esp + 0x10]
push eax
call ebp
call fcn.00419628
add eax, dword [esp + 0x10]
push eax
call fcn.00419616
add esp, 4
call fcn.00419628
cdq
mov ecx, 5
idiv ecx
xor esi, esi
mov edi, edx
add edi, dword [esp + 0x1c]
test edi, edi
jle 0x417b53
mov edi, edi
lea edx, [esp + 0x10]
push edx
call ebp
call fcn.00419628
add eax, dword [esp + 0x10]
push eax
call fcn.00419616
add esp, 4
call fcn.00419628
cdq
mov ecx, 0x3e
idiv ecx
cmp edx, 0xa
jge 0x417b30
add edx, 0x30
jmp 0x417b3d
cmp edx, 0x24
jge 0x417b3a
add edx, 0x37
jmp 0x417b3d
add edx, 0x3d
mov word [ebx + esi*2], dx
inc esi
cmp esi, edi
jl 0x417b00
xor edx, edx
mov word [ebx + edi*2], dx
pop edi
pop esi
pop ebp
add esp, 0xc
ret
xor eax, eax
mov word [ebx + edi*2], ax
pop edi
pop esi
pop ebp
add esp, 0xc
ret

Function at 0x418154
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x43a14c]
jne 0x41815e
repz ret
jmp fcn.0041b907
Function at 0x423ed1
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0041b316
and dword [ebp - 4], 0
cmp dword [0x440dfc], 0
mov ebx, eax
jne 0x423f82
push 0x42ad10
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x424033
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x42ad04
push edi
call esi
test eax, eax
je 0x424033
push eax
call fcn.0041b2a4
mov dword [esp], 0x42acf4
push edi
mov dword [0x440dfc], eax
call esi
push eax
call fcn.0041b2a4
mov dword [esp], 0x42ace0
push edi
mov dword [0x440e00], eax
call esi
push eax
call fcn.0041b2a4
mov dword [esp], 0x42acc4
push edi
mov dword [0x440e04], eax
call esi
push eax
call fcn.0041b2a4
pop ecx
mov dword [0x440e0c], eax
test eax, eax
je 0x423f82
push 0x42acac
push edi
call esi
push eax
call fcn.0041b2a4
pop ecx
mov dword [0x440e08], eax
mov eax, dword [0x440e08]
cmp eax, ebx
je 0x423fda
cmp dword [0x440e0c], ebx
je 0x423fda
push eax
call fcn.0041b31f
push dword [0x440e0c]
mov esi, eax
call fcn.0041b31f
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x423fda
test edi, edi
je 0x423fda
call esi
test eax, eax
je 0x423fd1
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x423fd1
test byte [ebp - 0xc], 1
jne 0x423fda
or dword [ebp + 0x10], 0x200000
jmp 0x424013
mov eax, dword [0x440e00]
cmp eax, ebx
je 0x424013
push eax
call fcn.0041b31f
pop ecx
test eax, eax
je 0x424013
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x424013
mov eax, dword [0x440e04]
cmp eax, ebx
je 0x424013
push eax
call fcn.0041b31f
pop ecx
test eax, eax
je 0x424013
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x440dfc]
call fcn.0041b31f
pop ecx
test eax, eax
je 0x424033
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x424035
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x118e080
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x38d000]
push edi
or ebp, 0xffffffff
jmp 0x118e0a2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x118e0a9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x118e098
mov eax, 1
add ebx, ebx
jne 0x118e0bb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x118e0cc
jne 0x118e0eb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x118e0eb
dec eax
add ebx, ebx
jne 0x118e0d8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x118e0b0
add ebx, ebx
jne 0x118e0e7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x118e13d
xor ecx, ecx
sub eax, 3
jb 0x118e103
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x118e172
sar eax, 1
mov ebp, eax
jmp 0x118e10e
add ebx, ebx
jne 0x118e10e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x118e0dc
inc ecx
add ebx, ebx
jne 0x118e11c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x118e0dc
add ebx, ebx
jne 0x118e129
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x118e11e
jne 0x118e13a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x118e11e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x118e15c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x118e14e
jmp 0x118e09e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x118e15c
add edi, ecx
jmp 0x118e09e
pop esi
mov edi, esi
mov ecx, 0x2c65
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x118e17a
cmp byte [edi], 0x1e
jne 0x118e17a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x118e17f
lea edi, [esi + 0xd8a000]
mov eax, dword [edi]
or eax, eax
je 0x118e1f7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xd8f2f0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xd8f414]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x118e1ac
mov ecx, edi
jns 0x118e1db
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xd8f41c]
or eax, eax
je 0x118e1f1
mov dword [ebx], eax
add ebx, 4
jmp 0x118e1c9
call dword [esi + 0xd8f418]
mov ebp, dword [esi + 0xd8f420]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x227]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x118e22b
sub esp, 0xffffff80
jmp 0x45e117
Function at 0x2db3700
Capabilities:
Decompress data using aplib

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
cld
mov dl, 0x80
xor ebx, ebx
movsb byte es:[edi], byte [esi]
mov bl, 2
call fcn.02db378f
jae 0x2db370e
xor ecx, ecx
call fcn.02db378f
jae 0x2db373d
xor eax, eax
call fcn.02db378f
jae 0x2db374d
mov bl, 2
inc ecx
mov al, 0x10
call fcn.02db378f
adc al, al
jae 0x2db372f
jne 0x2db3779
stosb byte es:[edi], al
jmp 0x2db3711
call fcn.02db379b
sub ecx, ebx
jne 0x2db3756
call fcn.02db3799
jmp 0x2db3775
lodsb al, byte [esi]
shr eax, 1
je 0x2db3783
adc ecx, ecx
jmp 0x2db3772
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
call fcn.02db3799
cmp eax, 0x7d00
jae 0x2db3772
cmp ah, 5
jae 0x2db3773
cmp eax, 0x7f
ja 0x2db3774
inc ecx
inc ecx
xchg ebp, eax
mov eax, ebp
mov bl, 1
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x2db3711
sub edi, dword [esp + 0x28]
mov dword [esp + 0x1c], edi
popal
ret 8
Function at 0x481588
Capabilities:
Encode data using base64
Encrypt data using rc4 ksa

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov dword [esp], ecx
mov esi, eax
mov ebp, edx
xor ebx, ebx
xor edi, edi
mov eax, dword [esp]
mov ecx, 3
cdq
idiv ecx
test eax, eax
jle 0x481626
xor edx, edx
mov dl, byte [esi + ebx]
shr edx, 2
mov dl, byte [edx + 0x4a5e10]
mov byte [ebp + edi], dl
mov dl, byte [esi + ebx]
and dl, 3
and edx, 0xff
shl edx, 4
xor ecx, ecx
mov cl, byte [esi + ebx + 1]
shr ecx, 4
add edx, ecx
mov dl, byte [edx + 0x4a5e10]
push edx
pop edx
mov byte [ebp + edi + 1], dl
mov dl, byte [esi + ebx + 1]
and dl, 0xf
and edx, 0xff
shl edx, 2
xor ecx, ecx
mov cl, byte [esi + ebx + 2]
shr ecx, 6
add edx, ecx
mov dl, byte [edx + 0x4a5e10]
push edx
pop edx
mov byte [ebp + edi + 2], dl
mov dl, byte [esi + ebx + 2]
and dl, 0x3f
and edx, 0xff
mov dl, byte [edx + 0x4a5e10]
mov byte [ebp + edi + 3], dl
add edi, 4
add ebx, 3
dec eax
jne 0x4815a7
mov eax, dword [esp]
mov ecx, 3
cdq
idiv ecx
dec edx
je 0x48163c
dec edx
je 0x481671
jmp 0x4816c2
xor eax, eax
mov al, byte [esi + ebx]
shr eax, 2
mov al, byte [eax + 0x4a5e10]
mov byte [ebp + edi], al
mov al, byte [esi + ebx]
and al, 3
and eax, 0xff
shl eax, 4
mov al, byte [eax + 0x4a5e10]
mov byte [ebp + edi + 1], al
mov byte [ebp + edi + 2], 0x3d
mov byte [ebp + edi + 3], 0x3d
jmp 0x4816c2
xor eax, eax
mov al, byte [esi + ebx]
shr eax, 2
mov al, byte [eax + 0x4a5e10]
mov byte [ebp + edi], al
mov al, byte [esi + ebx]
and al, 3
and eax, 0xff
shl eax, 4
xor edx, edx
mov dl, byte [esi + ebx + 1]
shr edx, 4
add eax, edx
mov al, byte [eax + 0x4a5e10]
mov byte [ebp + edi + 1], al
mov al, byte [esi + ebx + 1]
and al, 0xf
and eax, 0xff
shl eax, 2
mov al, byte [eax + 0x4a5e10]
mov byte [ebp + edi + 2], al
mov byte [ebp + edi + 3], 0x3d
mov eax, dword [esp]
add eax, 2
mov ecx, 3
cdq
idiv ecx
shl eax, 2
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4833ac
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov esi, eax
xor edx, edx
push ebp
push 0x483574
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, esi
call fcn.00404494
add eax, 2
mov ecx, 3
cdq
idiv ecx
mov edx, eax
shl edx, 2
mov eax, dword [ebp - 4]
call fcn.00404820
mov eax, esi
call fcn.00404494
add eax, 2
mov ecx, 3
cdq
idiv ecx
mov edi, eax
test edi, edi
jle 0x4834f7
mov ebx, 1
mov eax, esi
call fcn.00404494
lea edx, [ebx + ebx*2]
cmp eax, edx
jge 0x48343a
mov eax, esi
call fcn.00404494
mov ecx, eax
mov eax, ebx
dec eax
lea eax, [eax + eax*2]
sub ecx, eax
mov eax, ebx
dec eax
lea eax, [eax + eax*2]
lea eax, [esi + eax]
lea edx, [ebp - 7]
call fcn.004028d8
jmp 0x483450
mov eax, ebx
dec eax
lea eax, [eax + eax*2]
lea eax, [esi + eax]
lea edx, [ebp - 7]
mov ecx, 3
call fcn.004028d8
mov al, byte [ebp - 7]
mov edx, eax
and dl, 0xfc
and edx, 0xff
shr edx, 2
mov ecx, 0x483598
mov dl, byte [ecx + edx]
mov byte [ebp - 0xb], dl
and al, 3
and eax, 0xff
shl eax, 4
mov dl, byte [ebp - 6]
and dl, 0xf0
and edx, 0xff
shr edx, 4
or eax, edx
mov edx, 0x483598
mov al, byte [edx + eax]
mov byte [ebp - 0xa], al
mov dl, byte [ebp - 6]
and dl, 0xf
and edx, 0xff
shl edx, 2
mov al, byte [ebp - 5]
mov ecx, eax
and cl, 0xc0
and ecx, 0xff
shr ecx, 6
or edx, ecx
mov ecx, 0x483598
mov dl, byte [ecx + edx]
mov byte [ebp - 9], dl
and al, 0x3f
and eax, 0xff
mov edx, 0x483598
mov al, byte [edx + eax]
mov byte [ebp - 8], al
mov eax, dword [ebp - 4]
call fcn.004046ec
mov edx, ebx
dec edx
shl edx, 2
lea edx, [eax + edx]
lea eax, [ebp - 0xb]
mov ecx, 4
call fcn.004028d8
inc ebx
dec edi
jne 0x483408
mov eax, esi
call fcn.00404494
mov ecx, 3
cdq
idiv ecx
dec edx
jne 0x48353d
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00404494
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.004046ec
mov byte [eax + ebx - 2], 0x3d
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00404494
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.004046ec
mov byte [eax + ebx - 1], 0x3d
jmp 0x48356a
mov eax, esi
call fcn.00404494
mov ecx, 3
cdq
idiv ecx
cmp edx, 2
jne 0x48356a
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00404494
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.004046ec
mov byte [eax + ebx - 1], 0x3d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x483586
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4864bc
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x118], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x486655
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov edx, 0x48666c
call fcn.0040420c
lea eax, [ebp - 0x14]
mov edx, ebx
call fcn.00404250
mov edx, dword [ebp - 0x14]
mov eax, 0x486678
call fcn.004047d8
test eax, eax
jg 0x486521
lea eax, [ebp - 0x14]
mov ecx, dword [ebp - 0x14]
mov edx, 0x486684
call fcn.004044e0
xor eax, eax
push ebp
push 0x48662a
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
push 0
push 0x48668c
call fcn.004391d8
mov ebx, eax
test ebx, ebx
je 0x486620
push 0
push 0x80000000
push 0
push 0
mov eax, dword [ebp - 0x14]
call fcn.00404694
push eax
push ebx
call fcn.004391e0
mov esi, eax
xor eax, eax
mov dword [ebp - 0xc], eax
mov edi, 0x194
mov dword [ebp - 0x10], pe_nt_image_headers32
lea eax, [ebp - 0x114]
xor ecx, ecx
mov edx, dword [ebp - 0x10]
call fcn.00402d44
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x114]
push eax
push 0x13
push esi
call fcn.004391c8
test eax, eax
je 0x4865c1
lea eax, [ebp - 0x118]
lea edx, [ebp - 0x114]
call fcn.004043b0
mov eax, dword [ebp - 0x118]
call fcn.00408c48
mov edi, eax
cmp edi, 0x194
jae 0x486610
xor eax, eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], pe_nt_image_headers32
lea eax, [ebp - 0x114]
xor ecx, ecx
mov edx, dword [ebp - 0x10]
call fcn.00402d44
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x114]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
call fcn.004391c8
test eax, eax
je 0x486610
mov eax, dword [ebp - 8]
lea edx, [ebp - 0x114]
call fcn.004043b0
test esi, esi
je 0x48661a
push esi
call fcn.004391d0
push ebx
call fcn.004391d0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x486634
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48665c
lea eax, [ebp - 0x118]
call fcn.004041b8
lea eax, [ebp - 0x14]
call fcn.004041b8
ret

Function at 0x4901b8
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ecx, 0x4aafb4
mov eax, esi
mov edx, 8
mov ebx, eax
and ebx, 1
test bl, bl
je 0x4901da
shr eax, 1
xor eax, 0xedb88320
jmp 0x4901dc
shr eax, 1
dec edx
jne 0x4901c8
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x4901c1
mov byte [0x4ab3b4], 1
pop esi
pop ebx
ret

Function at 0x4901f8
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x4ab3b4], 0
jne 0x49020f
call fcn.004901b8
mov eax, edi
dec eax
test eax, eax
jl 0x490238
inc eax
xor edx, edx
xor ecx, ecx
mov cl, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x4aafb4]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x490219
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x492788
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov ebx, eax
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov al, byte [eax]
dec al
je 0x4927b9
dec al
je 0x4927f5
dec al
je 0x492839
dec al
je 0x4928a4
jmp 0x49292e
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x49292e
inc edi
mov edx, esi
sub edx, dword [ebx + 0x24]
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
mov dl, byte [ecx + edx]
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x4927c9
jmp 0x49292e
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x49292e
mov esi, 1
mov al, byte [ebx + 0x48]
mov edx, eax
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov dl, byte [edx + esi]
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x492805
jmp 0x49292e
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x49292e
mov esi, 1
mov al, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov ecx, esi
dec ecx
mov edx, dword [ebx + 0x24]
cmp ecx, edx
jae 0x492867
xor ebp, ebp
jmp 0x492878
mov ecx, esi
sub ecx, edx
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx ebp, byte [edx + ecx]
add eax, ebp
sar eax, 1
jns 0x492881
adc eax, 0
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
add al, byte [edx + esi]
and al, 0xff
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x492849
jmp 0x49292e
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x49292e
mov esi, 1
mov al, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, esi
dec edx
cmp edx, dword [ebx + 0x24]
jb 0x4928fc
mov edx, esi
sub edx, dword [ebx + 0x24]
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx ebp, byte [ecx + edx]
mov dl, byte [ebx + 0x48]
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov ecx, esi
sub ecx, dword [ebx + 0x24]
movzx edx, byte [edx + ecx]
mov dword [esp + 4], edx
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
mov dword [esp], edx
mov cl, byte [esp + 4]
push eax
mov eax, ebp
pop edx
call fcn.00490240
add al, byte [esp]
and al, 0xff
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x4928b8
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x403df7
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x530ae4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
mov dword [esp + 8], esi
call fcn.0043d430
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov eax, 0x3f800000
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov byte [esi + 0x3c], bl
mov byte [esi + 0x3d], bl
mov dword [esi + 0x40], ebx
lea ecx, [esi + 0x48]
mov byte [esp + 0x14], 3
mov dword [esi + 0x44], ebx
call fcn.00404020
lea ecx, [esi + 0x90]
mov byte [esp + 0x14], 4
call fcn.00404020
mov ecx, dword [esp + 0xc]
mov dword [esi + 0xd8], ebx
mov dword [esi + 0xdc], ebx
mov dword [esi + 0xe0], ebx
mov dword [esi], 0x537414
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret