joyce8/EMBER2024-capa huggingface dataset:
Function at 0x471b90
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b3eeb
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x676664]
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, dword [ecx + 8]
mov esi, dword [ebp + 8]
cmp eax, 0xffffffff
je 0x471c2c
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x471c28
test esi, esi
je 0x471c28
lea ecx, [ebp - 0x84]
call fcn.00444390
lea ecx, [ebp - 0x84]
mov dword [ebp - 4], 0
call fcn.00448f60
mov edi, dword [esi]
lea ecx, [ebp - 0x84]
call fcn.00410b70
push eax
mov eax, dword [edi + 0x14]
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
push str.Failed_to_get_file_size__32_
mov ecx, esi
call eax
lea ecx, [ebp - 0x84]
mov dword [ebp - 4], ebx
call fcn.00444450
mov eax, ebx
jmp 0x471c49
mov ecx, dword [ecx + 4]
test ecx, ecx
je 0x471c46
push ecx
call dword [sym.imp.MSVCR100.dll__fileno]
push eax
call dword [sym.imp.MSVCR100.dll__filelength]
add esp, 8
jmp 0x471c49
or eax, 0xffffffff
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.0059af98
mov esp, ebp
pop ebp
ret 4

Function at 0x471c70
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b3eeb
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x676664]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov edi, ecx
mov eax, dword [edi + 8]
cmp eax, 0xffffffff
je 0x471d62
lea ecx, [ebp - 0x88]
push ecx
push eax
mov dword [ebp - 0x88], 0
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0xffffffff
jne 0x471d50
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x471d50
test esi, esi
je 0x471d2e
lea ecx, [ebp - 0x84]
call fcn.00444390
lea ecx, [ebp - 0x84]
mov dword [ebp - 4], 0
call fcn.00448f60
mov edi, dword [esi]
lea ecx, [ebp - 0x84]
call fcn.00410b70
mov edx, dword [edi + 0x14]
push eax
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x14]
push str.Failed_to_get_file_size__64_
mov ecx, esi
call edx
lea ecx, [ebp - 0x84]
mov dword [ebp - 4], 0xffffffff
call fcn.00444450
or eax, 0xffffffff
or edx, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0059af98
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp - 0x88]
push eax
push edi
call fcn.00466fb0
add esp, 8
jmp 0x471d33
mov eax, dword [edi + 4]
test eax, eax
je 0x471d2e
push eax
call dword [sym.imp.MSVCR100.dll_fflush]
mov edi, dword [edi + 4]
push edi
call dword [sym.imp.MSVCR100.dll__fileno]
push eax
call dword [sym.imp.MSVCR100.dll__filelengthi64]
add esp, 0xc
jmp 0x471d33
Function at 0x471ee0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
mov byte [edx], 0
mov dword [eax], 0
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 4], ecx
mov ebx, eax
test eax, eax
jne 0x471f1c
mov ecx, dword [ebp + 0x18]
test ecx, ecx
je 0x471f13
mov edx, dword [ecx]
mov eax, dword [edx + 0x14]
push str.NULL_buf_pointer.
call eax
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [ebp + 0xc]
push esi
mov esi, eax
push edi
mov dword [ebp + 8], esi
test eax, eax
je 0x472031
mov edi, dword [ebp + 0x18]
jmp 0x471f36
mov ecx, dword [ebp - 4]
cmp esi, 0x10000
jbe 0x471f43
mov esi, 0x10000
mov byte [edx], 0
mov dword [ebp + 0x18], 0
test esi, esi
je 0x471ff7
test ebx, ebx
je 0x471ff7
mov eax, dword [ecx + 8]
cmp eax, 0xffffffff
je 0x471fab
push 0
lea ecx, [ebp + 0x18]
push ecx
push esi
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x471f9b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x26
jne 0x471f8d
mov edx, dword [ebp + 0x14]
mov byte [edx], 1
mov al, 1
jmp 0x47200b
test edi, edi
je 0x472009
push eax
mov ecx, edi
call fcn.0044eb70
jmp 0x472009
cmp dword [ebp + 0x18], 0
jne 0x471fa7
mov eax, dword [ebp + 0x14]
mov byte [eax], 1
mov al, 1
jmp 0x47200b
mov eax, dword [ecx + 4]
test eax, eax
je 0x471fec
push eax
push esi
push 1
push ebx
call dword [sym.imp.MSVCR100.dll_fread]
add esp, 0x10
mov dword [ebp + 0x18], eax
cmp eax, esi
jne 0x471fcb
mov al, 1
jmp 0x47200b
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.MSVCR100.dll_ferror]
add esp, 4
test eax, eax
je 0x471fa1
test edi, edi
je 0x472009
mov ecx, edi
call fcn.0044ea80
jmp 0x472009
test edi, edi
je 0x472009
push str.No_file_is_open.
jmp 0x472000
test edi, edi
je 0x472009
push str.NULL_buf_or_bufSize
mov edx, dword [edi]
mov eax, dword [edx + 0x14]
mov ecx, edi
call eax
xor al, al
mov ecx, dword [ebp + 0x18]
mov esi, dword [ebp + 8]
mov edx, dword [ebp + 0x10]
add dword [edx], ecx
sub esi, ecx
add ebx, ecx
mov dword [ebp + 8], esi
test al, al
je 0x47203c
mov edx, dword [ebp + 0x14]
cmp byte [edx], 0
jne 0x472031
test esi, esi
jne 0x471f33
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x14
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x4803a0
Capabilities:
Hash data using crc32b

Disassembly:
cmp byte [0x677d2c], 0
push edi
jne 0x48053d
mov al, byte [0x677d2d]
push esi
test al, al
jne 0x480513
cmp dword [0x677d30], 0
jne 0x48053c
push 0x100
mov byte [0x677d2d], 1
call fcn.00417750
mov edi, eax
add esp, 4
test edi, edi
je 0x48053c
xor esi, esi
push ebx
lea ebx, [ebx]
push 8
push esi
call fcn.004800e0
shl eax, 0x18
mov ecx, eax
and eax, 0x80000000
add esp, 8
neg eax
sbb eax, eax
add ecx, ecx
and eax, 0x4c11db7
xor eax, ecx
mov ecx, eax
and ecx, 0x80000000
neg ecx
sbb ecx, ecx
and ecx, 0x4c11db7
lea edx, [eax + eax]
xor ecx, edx
mov eax, ecx
and eax, 0x80000000
neg eax
sbb eax, eax
add ecx, ecx
and eax, 0x4c11db7
xor eax, ecx
mov ecx, eax
and ecx, 0x80000000
neg ecx
sbb ecx, ecx
lea edx, [eax + eax]
and ecx, 0x4c11db7
xor ecx, edx
mov eax, ecx
and eax, 0x80000000
neg eax
sbb eax, eax
and eax, 0x4c11db7
add ecx, ecx
xor eax, ecx
mov ecx, eax
and ecx, 0x80000000
neg ecx
sbb ecx, ecx
lea edx, [eax + eax]
and ecx, 0x4c11db7
xor ecx, edx
mov eax, ecx
and eax, 0x80000000
neg eax
sbb eax, eax
and eax, 0x4c11db7
add ecx, ecx
xor eax, ecx
mov edx, eax
and edx, 0x80000000
neg edx
sbb edx, edx
add eax, eax
and edx, 0x4c11db7
xor edx, eax
mov dword [edi + esi*4], edx
mov eax, edx
xor edx, edx
lea ecx, [edx + 0x1f]
test al, 1
je 0x4804c0
mov ebx, 1
shl ebx, cl
or edx, ebx
dec ecx
shr eax, 1
cmp ecx, 0xffffffff
jg 0x4804b3
mov dword [edi + esi*4], edx
inc esi
cmp esi, 0xff
jbe 0x4803f0
cmp dword [0x677d30], 0
pop ebx
jne 0x4804f9
pop esi
mov dword [0x677d30], edi
mov byte [0x677d2c], 1
mov byte [0x677d2d], 0
pop edi
ret
push edi
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
pop esi
mov byte [0x677d2c], 1
mov byte [0x677d2d], 0
pop edi
ret
xor esi, esi
test al, al
je 0x48053c
lea esp, [esp]
push 2
call fcn.00441780
inc esi
add esp, 4
cmp esi, 0xc8
ja 0x48053c
cmp byte [0x677d2d], 0
jne 0x480520
pop esi
pop edi
ret
Function at 0x480560
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
mov eax, dword [0x676664]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x408], eax
test edi, edi
jne 0x48059a
pop edi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0059af98
mov esp, ebp
pop ebp
ret
push esi
call fcn.004803a0
or esi, 0xffffffff
cmp dword [ebp - 0x408], 0
jne 0x4805cd
mov eax, dword [0x677d30]
movzx edx, byte [ebx]
mov ecx, esi
and ecx, 0xff
xor ecx, edx
shr esi, 8
xor esi, dword [eax + ecx*4]
inc ebx
dec edi
jne 0x4805b1
jmp 0x4806d2
push 0x400
lea eax, [ebp - 0x404]
push 0
push eax
call sub.MSVCR100.dll_memset
mov ecx, dword [0x677d30]
add esp, 0xc
lea esp, [esp]
movzx eax, byte [ebx]
inc dword [ebp + eax*4 - 0x404]
mov edx, esi
and edx, 0xff
xor edx, eax
shr esi, 8
xor esi, dword [ecx + edx*4]
inc ebx
dec edi
jne 0x4805f0
mov ecx, dword [ebp - 0x404]
add ecx, dword [ebp - 0x400]
xor ebx, ebx
add ecx, dword [ebp - 0x3fc]
mov eax, 7
add ecx, dword [ebp - 0x3f8]
add ecx, dword [ebp - 0x3f4]
add ecx, dword [ebp - 0x3f0]
add ecx, dword [ebp - 0x3ec]
xor edx, edx
add edx, dword [ebp + eax*4 - 0x404]
add edi, dword [ebp + eax*4 - 0x400]
add eax, 2
cmp eax, 0x7f
jl 0x480641
cmp eax, 0x80
jge 0x480666
mov ebx, dword [ebp + eax*4 - 0x404]
inc eax
add edi, edx
add ebx, edi
xor edx, edx
xor edi, edi
mov dword [ebp - 0x40c], ebx
cmp eax, 0x100
jge 0x4806c0
mov ebx, 0x100
sub ebx, eax
cmp ebx, 2
jl 0x4806a8
jmp 0x480690
add edx, dword [ebp + eax*4 - 0x404]
add edi, dword [ebp + eax*4 - 0x400]
add eax, 2
cmp eax, 0xff
jl 0x480690
cmp eax, 0x100
jge 0x4806b6
add ecx, dword [ebp + eax*4 - 0x404]
mov ebx, dword [ebp - 0x40c]
add edi, edx
add ecx, edi
mov eax, dword [ebp - 0x408]
shr ebx, 2
cmp ebx, ecx
sbb edx, edx
neg edx
mov word [eax], dx
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
pop edi
xor ecx, ebp
not eax
pop ebx
call fcn.0059af98
mov esp, ebp
pop ebp
ret
Function at 0x49cef0
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a6439
mov eax, dword fs:[0]
push eax
sub esp, 0x140
mov eax, dword [0x676664]
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 esi, ecx
mov dword [ebp - 0x14c], esi
mov dword [esi], vtable.TlsProtocol.1.0
mov dword [esi + 0x20], vtable.TlsProtocol.0
lea ecx, [ebp - 0x144]
mov dword [ebp - 4], 0x1a
call fcn.00462990
lea eax, [ebp - 0x144]
push eax
push 1
push 0
mov ecx, esi
mov byte [ebp - 4], 0x1b
call fcn.0049cb00
lea ecx, [ebp - 0x144]
mov byte [ebp - 4], 0x1a
call fcn.004629b0
lea edi, [esi + 0x4b8]
mov dword [ebp - 0x148], edi
mov dword [edi], vtable.TlsRawRecord.0
lea ecx, [edi + 0x4c]
mov byte [ebp - 4], 0x1d
call fcn.00411620
lea ecx, [edi + 0x30]
mov byte [ebp - 4], 0x1c
call fcn.00411620
lea ecx, [edi + 0x14]
mov byte [ebp - 4], 0x19
call fcn.00411620
lea ecx, [esi + 0x498]
mov byte [ebp - 4], 0x18
call fcn.00411620
lea ecx, [esi + 0x478]
mov byte [ebp - 4], 0x17
call fcn.00411620
lea ecx, [esi + 0x450]
mov byte [ebp - 4], 0x16
call fcn.0046bd70
lea ecx, [esi + 0x434]
mov byte [ebp - 4], 0x15
call fcn.00411620
lea ecx, [esi + 0x3c8]
mov byte [ebp - 4], 0x14
call fcn.00411620
lea ecx, [esi + 0x3ac]
mov byte [ebp - 4], 0x13
call fcn.00411620
lea ecx, [esi + 0x390]
mov byte [ebp - 4], 0x12
call fcn.00411620
mov byte [ebp - 4], 0x11
lea ecx, [esi + 0x374]
call fcn.00411620
lea ecx, [esi + 0x354]
mov byte [ebp - 4], 0x10
call fcn.00411620
lea ecx, [esi + 0x324]
mov byte [ebp - 4], 0xf
call fcn.00411620
lea ecx, [esi + 0x308]
mov byte [ebp - 4], 0xe
call fcn.00411620
lea ecx, [esi + 0x2ec]
mov byte [ebp - 4], 0xd
call fcn.00411620
lea ecx, [esi + 0x2d0]
mov byte [ebp - 4], 0xc
call fcn.00411620
lea ecx, [esi + 0x2b4]
mov byte [ebp - 4], 0xb
call fcn.00411620
lea ecx, [esi + 0x298]
mov byte [ebp - 4], 0xa
call fcn.00411620
lea ecx, [esi + 0x27c]
mov byte [ebp - 4], 9
call fcn.00411620
lea ecx, [esi + 0x260]
mov byte [ebp - 4], 8
call fcn.00411620
lea ecx, [esi + 0x244]
mov byte [ebp - 4], 7
call fcn.00411620
lea ecx, [esi + 0x228]
mov byte [ebp - 4], 6
call fcn.00411620
lea ecx, [esi + 0x20c]
mov byte [ebp - 4], 5
call fcn.00411620
lea ecx, [esi + 0x1f0]
mov byte [ebp - 4], 4
call fcn.00411620
lea ecx, [esi + 0x1d0]
mov byte [ebp - 4], 3
call fcn.00411620
lea ecx, [esi + 0x130]
mov byte [ebp - 4], 2
call fcn.00444450
lea ecx, [esi + 0xbc]
mov byte [ebp - 4], 1
call fcn.00444450
lea ecx, [esi + 0x20]
mov byte [ebp - 4], 0
call fcn.004421b0
mov ecx, esi
mov dword [ebp - 4], 0xffffffff
call fcn.00440fa0
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.0059af98
mov esp, ebp
pop ebp
ret

Function at 0x4a7b60
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
mov eax, ecx
mov ecx, dword [eax + 0xa70]
test ecx, ecx
je 0x4a7b75
pop ebp
jmp fcn.00554d20
cmp dword [eax + 0xa7c], 2
jne 0x4a7b8a
lea ecx, [eax + 0x164]
pop ebp
jmp fcn.00549270
lea ecx, [eax + 0x720]
pop ebp
jmp fcn.00543630
Function at 0x4a8010
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x14]
sub esp, 8
push ebx
push edi
mov edi, dword [ebp + 0x18]
mov byte [eax], 0
cmp byte [edi + 8], 0
mov ebx, ecx
jne 0x4a8043
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ecx]
mov eax, dword [str.Internal_error:_Socket_IO_params_not_valid.__Contact_support_chilkatsoft.com]
mov edx, dword [edx + 0x14]
push eax
call edx
pop edi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 0x18
push esi
mov esi, dword [ebp + 0x10]
test esi, esi
jne 0x4a8099
mov ecx, dword [ebx + 0x9f8]
test ecx, ecx
je 0x4a8061
mov eax, dword [ebp + 0x1c]
push eax
push edi
call fcn.00554d20
jmp 0x4a808c
cmp dword [ebx + 0xa04], 2
jne 0x4a807c
mov ecx, dword [ebp + 0x1c]
push ecx
push edi
lea ecx, [ebx + 0xec]
call fcn.00549270
jmp 0x4a808c
mov edx, dword [ebp + 0x1c]
push edx
push edi
lea ecx, [ebx + 0x6a8]
call fcn.00543630
test al, al
je 0x4a816f
mov esi, 0x7530
mov ecx, dword [ebp + 8]
call fcn.00410b60
mov edx, dword [ebp + 0xc]
mov dword [ebp + 0x18], eax
mov eax, dword [ebp + 0x1c]
push eax
mov eax, dword [ebp + 8]
push edi
push esi
push edx
lea ecx, [ebx - 0x78]
push eax
mov dword [ebp - 4], ecx
call fcn.004a7c20
mov bl, al
test bl, bl
je 0x4a816f
mov ecx, dword [ebp + 8]
call fcn.00410b60
cmp eax, dword [ebp + 0x18]
jbe 0x4a80ed
mov edx, dword [edi]
mov eax, dword [edx + 4]
mov ecx, edi
call eax
mov ecx, dword [ebp + 0x14]
pop esi
pop edi
mov byte [ecx], al
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x18
call sub.KERNEL32.dll_GetTickCount
mov dword [ebp - 8], eax
mov dword [ebp + 0x10], 0
lea esp, [esp]
mov ecx, dword [ebp + 8]
call fcn.00410b60
cmp eax, dword [ebp + 0x18]
jne 0x4a8143
cmp dword [ebp + 0x10], esi
jae 0x4a8143
mov edx, dword [ebp + 0x1c]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push edx
push edi
push esi
push eax
push ecx
mov ecx, dword [ebp - 4]
call fcn.004a7c20
mov bl, al
call sub.KERNEL32.dll_GetTickCount
mov ecx, dword [ebp - 8]
cmp eax, ecx
jb 0x4a816f
sub eax, ecx
mov dword [ebp + 0x10], eax
cmp eax, esi
jae 0x4a815c
test bl, bl
jne 0x4a8100
mov edx, dword [edi]
mov eax, dword [edx + 4]
mov ecx, edi
call eax
mov ecx, dword [ebp + 0x14]
pop esi
mov byte [ecx], al
pop edi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x14]
push str.Timed_out......
call eax
mov byte [edi + 0x14], 1
pop esi
pop edi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 0x18

Function at 0x4a81a0
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
mov eax, ecx
mov ecx, dword [eax + 0xa70]
test ecx, ecx
je 0x4a81b5
pop ebp
jmp fcn.00551210
cmp dword [eax + 0xa7c], 2
jne 0x4a81ca
lea ecx, [eax + 0x164]
pop ebp
jmp fcn.005493b0
lea ecx, [eax + 0x720]
pop ebp
jmp fcn.005437b0
Function at 0x4aa4a0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a70db
mov eax, dword fs:[0]
push eax
sub esp, 0xa64
mov eax, dword [0x676664]
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, dword [ebp + 8]
mov ecx, dword [ebp + 0x20]
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0xa68], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xa6c], eax
mov dword [ebp - 0xa70], ecx
test eax, eax
jne 0x4aa4f7
xor al, al
jmp 0x4aa663
mov eax, dword [ebp + 0x18]
mov esi, 0x40
cmp eax, 3
je 0x4aa509
cmp eax, 2
jne 0x4aa50e
mov esi, 0x80
push eax
call fcn.004706a0
mov edi, dword [ebp + 0x14]
add esp, 4
mov dword [ebp - 0xa64], eax
cmp edi, esi
jle 0x4aa54b
mov eax, dword [ebp + 0x18]
lea edx, [ebp - 0x158]
push edx
push eax
push edi
push ebx
call fcn.00470e80
mov edi, dword [ebp - 0xa64]
add esp, 0x10
lea ebx, [ebp - 0x158]
cmp edi, esi
jle 0x4aa54b
mov edi, esi
push esi
lea ecx, [ebp - 0x118]
push 0
push ecx
call sub.MSVCR100.dll_memset
push esi
lea edx, [ebp - 0x94]
push 0
push edx
call sub.MSVCR100.dll_memset
push edi
lea eax, [ebp - 0x118]
push ebx
push eax
call sub.MSVCR100.dll_memcpy
push edi
lea ecx, [ebp - 0x94]
push ebx
push ecx
call sub.MSVCR100.dll_memcpy
add esp, 0x30
xor eax, eax
test esi, esi
jle 0x4aa5a5
mov edi, edi
xor byte [ebp + eax - 0x118], 0x36
xor byte [ebp + eax - 0x94], 0x5c
inc eax
cmp eax, esi
jl 0x4aa590
lea ecx, [ebp - 0xa60]
call fcn.00411580
mov eax, dword [ebp - 0xa68]
mov ecx, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x18]
lea edx, [ebp - 0x118]
mov dword [ebp - 0xa5c], edx
mov edx, dword [ebp - 0xa70]
push edx
mov dword [ebp - 0xa58], eax
lea eax, [ebp - 0x198]
push eax
mov dword [ebp - 0x658], ecx
lea ecx, [ebp - 0xa60]
push ebx
push ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x25c], 2
mov dword [ebp - 0x65c], esi
call fcn.004708c0
push esi
lea edx, [ebp - 0x94]
push edx
lea eax, [ebp - 0x258]
push eax
call sub.MSVCR100.dll_memcpy
mov edi, dword [ebp - 0xa64]
push edi
lea ecx, [ebp - 0x198]
push ecx
lea edx, [ebp + esi - 0x258]
push edx
call sub.MSVCR100.dll_memcpy
mov eax, dword [ebp - 0xa6c]
push eax
push ebx
add edi, esi
lea ecx, [ebp - 0x258]
push edi
push ecx
call fcn.00470e80
add esp, 0x38
lea ecx, [ebp - 0xa60]
mov dword [ebp - 4], 0xffffffff
call fcn.004115a0
mov al, 1
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.0059af98
mov esp, ebp
pop ebp
ret
Function at 0x4aa680
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x25c
mov eax, dword [0x676664]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x1c]
mov dword [ebp - 0x254], eax
mov eax, dword [ebp + 0x18]
push ebx
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x25c], eax
mov dword [ebp - 0x258], ecx
test eax, eax
jne 0x4aa6c7
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0059af98
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x14]
push esi
push edi
mov esi, 0x40
cmp eax, 3
je 0x4aa6db
cmp eax, 2
jne 0x4aa6e0
mov esi, 0x80
push eax
call fcn.004706a0
mov edi, dword [ebp + 0x10]
add esp, 4
mov dword [ebp - 0x250], eax
cmp edi, esi
jle 0x4aa71d
mov eax, dword [ebp + 0x14]
lea edx, [ebp - 0x14c]
push edx
push eax
push edi
push ebx
call fcn.00470e80
mov edi, dword [ebp - 0x250]
add esp, 0x10
lea ebx, [ebp - 0x14c]
cmp edi, esi
jle 0x4aa71d
mov edi, esi
push esi
lea ecx, [ebp - 0x10c]
push 0
push ecx
call sub.MSVCR100.dll_memset
push esi
lea edx, [ebp - 0x88]
push 0
push edx
call sub.MSVCR100.dll_memset
push edi
lea eax, [ebp - 0x10c]
push ebx
push eax
call sub.MSVCR100.dll_memcpy
push edi
lea ecx, [ebp - 0x88]
push ebx
push ecx
call sub.MSVCR100.dll_memcpy
add esp, 0x30
xor eax, eax
test esi, esi
jle 0x4aa775
xor byte [ebp + eax - 0x10c], 0x36
xor byte [ebp + eax - 0x88], 0x5c
inc eax
cmp eax, esi
jl 0x4aa760
mov eax, dword [ebp - 0x254]
mov ecx, dword [ebp - 0x258]
mov ebx, dword [ebp + 0x14]
lea edx, [ebp - 0x10c]
push ecx
mov dword [eax + 4], edx
lea edx, [ebp - 0x18c]
push edx
push ebx
push eax
mov dword [eax + 0x404], esi
call fcn.004708c0
push esi
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0x24c]
push ecx
call sub.MSVCR100.dll_memcpy
mov edi, dword [ebp - 0x250]
push edi
lea edx, [ebp - 0x18c]
push edx
lea eax, [ebp + esi - 0x24c]
push eax
call sub.MSVCR100.dll_memcpy
mov ecx, dword [ebp - 0x25c]
push ecx
push ebx
add edi, esi
lea edx, [ebp - 0x24c]
push edi
push edx
call fcn.00470e80
mov ecx, dword [ebp - 4]
add esp, 0x38
pop edi
pop esi
xor ecx, ebp
mov al, 1
pop ebx
call fcn.0059af98
mov esp, ebp
pop ebp
ret
Function at 0x4aecb0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a78f3
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x676664]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 8]
push eax
call fcn.00466720
xor ebx, ebx
lea ecx, [esi + 0x30]
mov dword [ebp - 4], ebx
mov dword [esi], vtable.SocketParams.0
mov dword [esi + 0xc], 1
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov word [esi + 0x1c], bx
mov byte [esi + 0x1e], bl
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov byte [esi + 0x2c], bl
call fcn.00444390
lea ecx, [esi + 0xb0]
mov byte [ebp - 4], 1
mov word [esi + 0xa4], bx
mov dword [esi + 0xa8], ebx
mov word [esi + 0xac], 1
call fcn.00444390
mov dword [esi + 0x124], ebx
mov ecx, dword [0x667434]
mov dword [esi + 0xa8], ecx
mov byte [esi + 8], 1
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4b4bc0
Capabilities:
Hash data with md5

Disassembly:
mov eax, ecx
xor ecx, ecx
mov dword [eax], vtable._ckMd5.0
mov dword [eax + 0x18], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 4], 0x67452301
mov dword [eax + 8], 0xefcdab89
mov dword [eax + 0xc], 0x98badcfe
mov dword [eax + 0x10], 0x10325476
ret

Function at 0x4b4dc0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, edi
mov dword [esi + 0x18], eax
mov dword [esi + 0x14], eax
mov dword [esi + 4], 0x67452301
mov dword [esi + 8], 0xefcdab89
mov dword [esi + 0xc], 0x98badcfe
mov dword [esi + 0x10], 0x10325476
call fcn.00442580
push eax
mov ecx, edi
call fcn.00410b70
push eax
mov ecx, esi
call fcn.004b4c00
mov eax, dword [ebp + 0xc]
push eax
mov ecx, esi
call fcn.004b4cf0
pop edi
pop esi
pop ebp
ret 8

Function at 0x4b4e20
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov ecx, dword [ebp + 8]
xor eax, eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x14], eax
mov eax, dword [ebp + 0xc]
push eax
push ecx
mov ecx, esi
mov dword [esi + 4], 0x67452301
mov dword [esi + 8], 0xefcdab89
mov dword [esi + 0xc], 0x98badcfe
mov dword [esi + 0x10], 0x10325476
call fcn.004b4c00
mov edx, dword [ebp + 0x10]
push edx
mov ecx, esi
call fcn.004b4cf0
pop esi
pop ebp
ret 0xc