joyce8/EMBER2024-capa huggingface dataset:
Function at 0x439b40
Capabilities:
Check http status code

Disassembly:
mov ecx, dword [esp + 8]
push ebx
push esi
mov esi, dword [esp + 0xc]
push edi
lea eax, [ecx - 0xc8]
xor edi, edi
mov ebx, dword [esi + 0xc]
cmp eax, 0x64
jb 0x439b70
push str.Couldnt_set_desired_mode
push esi
call fcn.0041dc50
add esp, 8
lea eax, [edi + 0x11]
pop edi
pop esi
pop ebx
ret
cmp ecx, 0xc8
je 0x439b87
push ecx
push str.Got_a__03d_response_code_instead_of_the_assumed_200
push esi
call fcn.0041dd20
add esp, 0xc
mov al, byte [esp + 0x18]
push ebp
cmp al, 0x13
jne 0x439ba1
push ebx
push esi
call fcn.00439a40
add esp, 8
mov edi, eax
pop ebp
pop edi
pop esi
pop ebx
ret
cmp al, 0x14
jne 0x439cad
mov edi, dword [esi + 0xc]
xor ebx, ebx
cmp byte [esi + 0x4d0], 2
mov dword [esp + 0x18], edi
jne 0x439c1e
mov eax, dword [esi + 0x134]
mov eax, dword [eax]
test eax, eax
je 0x439c1e
push 3
push ebx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], ebx
push ecx
push ebx
push eax
call fcn.00441400
mov edi, eax
add esp, 0x14
test edi, edi
jne 0x439cd8
push 0x2f
push dword [esp + 0x18]
call sub.VCRUNTIME140.dll_strrchr
add esp, 8
test eax, eax
je 0x439c0d
mov ebx, dword [esp + 0x14]
mov ecx, 1
sub eax, ebx
cmovne ecx, eax
mov byte [ecx + ebx], 0
jmp 0x439c1a
push dword [esp + 0x14]
call dword [0x657004]
add esp, 4
mov edi, dword [esp + 0x18]
mov ecx, dword [esi + 0x508]
test ecx, ecx
jne 0x439c3c
cmp byte [esi + 0xd2f], 0
mov ecx, str.NLST
mov eax, str.LIST
cmove ecx, eax
mov edx, 0x463c20
test ebx, ebx
mov eax, edx
cmovne eax, ebx
push eax
mov eax, 0x45ac0c
cmove eax, edx
push eax
push ecx
push 0x45adc4
call fcn.004209d0
push ebx
mov ebp, eax
call dword [0x657004]
add esp, 0x14
test ebp, ebp
jne 0x439c79
mov edi, 0x1b
pop ebp
mov eax, edi
pop edi
pop esi
pop ebx
ret
push ebp
push 0x45a1a8
lea eax, [edi + 0x378]
push eax
push esi
call fcn.0044ff70
push ebp
mov edi, eax
call dword [0x657004]
add esp, 0x14
test edi, edi
jne 0x439cd8
mov eax, dword [esi + 0xc]
pop ebp
mov byte [eax + 0x40e], 0x1f
mov eax, edi
pop edi
pop esi
pop ebx
ret
cmp al, 0x15
jne 0x439cc5
push 0xd
push 1
push esi
call fcn.004395b0
add esp, 0xc
mov edi, eax
pop ebp
pop edi
pop esi
pop ebx
ret
cmp al, 0x16
jne 0x439cd8
push 0xe
push 1
push esi
call fcn.004395b0
add esp, 0xc
mov edi, eax
pop ebp
mov eax, edi
pop edi
pop esi
pop ebx
ret
Function at 0x443010
Capabilities:
Set socket configuration

Disassembly:
sub esp, 0xc
mov eax, dword [0x6584a4]
mov dword [esp + 4], 0x4020
mov dword [esp], 0
mov dword [esp + 8], 4
test eax, eax
jne 0x443061
push 3
push 2
push eax
push eax
push 6
call fcn.00447eb0
add esp, 0x14
test al, al
je 0x443055
mov dword [0x6584a4], 2
add esp, 0xc
ret
mov dword [0x6584a4], 1
jmp 0x443066
cmp eax, 2
je 0x4430ac
lea eax, [esp + 8]
push eax
lea eax, [esp + 4]
push eax
push 0x1001
push 0xffff
push dword [esp + 0x20]
call dword [sym.imp.WS2_32.dll_getsockopt]
test eax, eax
jne 0x443091
mov eax, dword [esp]
cmp eax, dword [esp + 4]
jg 0x4430ac
push 4
lea eax, [esp + 8]
push eax
push 0x1001
push 0xffff
push dword [esp + 0x20]
call dword [sym.imp.WS2_32.dll_setsockopt]
add esp, 0xc
ret
Function at 0x443b40
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
sub esp, 0x188
mov eax, dword [0x657340]
xor eax, esp
mov dword [esp + 0x184], eax
mov eax, dword [esp + 0x18c]
push ebx
mov ebx, dword [esp + 0x194]
push esi
mov esi, dword [eax + 8]
lea eax, [esp + 0xc]
push 0x80
push 0
push eax
mov dword [esp + 0x14], 0x80
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x10]
push eax
push dword [esi + 0x98]
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
je 0x443be4
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
lea eax, [esp + 0x8c]
push 0x100
push eax
push esi
call fcn.00412ba0
push eax
push esi
push str.getsockname___failed_with_errno__d:__s
push ebx
call fcn.0041dc50
add esp, 0x1c
mov eax, 2
pop esi
pop ebx
mov ecx, dword [esp + 0x184]
xor ecx, esp
call fcn.004554d0
add esp, 0x188
ret
lea eax, [esi + 0x100]
push eax
lea eax, [esi + 0xd0]
push eax
push dword [esp + 0x10]
lea eax, [esp + 0x18]
push eax
call fcn.0041e830
add esp, 0x10
test al, al
jne 0x443c57
push edi
call sub.api_ms_win_crt_runtime_l1_1_0.dll__errno
mov esi, dword [eax]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__errno
mov edi, eax
lea eax, [esp + 0x90]
push 0x100
push eax
push esi
call fcn.00412ba0
push eax
push dword [edi]
push str.ssloc_inet_ntop___failed_with_errno__d:__s
push ebx
call fcn.0041dc50
add esp, 0x1c
mov eax, 2
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x184]
xor ecx, esp
call fcn.004554d0
add esp, 0x188
ret
mov ecx, dword [esp + 0x18c]
xor eax, eax
pop esi
pop ebx
xor ecx, esp
call fcn.004554d0
add esp, 0x188
ret
Function at 0x445460
Capabilities:
Check http status code

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x20]
push edi
mov edi, dword [esp + 0x1c]
push 0x11
push str.WWW_Authenticate:
push esi
mov dword [esp + 0x1c], 0
lea ebx, [edi + 0xf0]
call fcn.00420500
add esp, 0xc
test eax, eax
je 0x445499
mov ebp, dword [ebx]
cmp ebp, 0x191
je 0x4454b7
push 0x13
push str.Proxy_authenticate:
push esi
call fcn.00420500
add esp, 0xc
test eax, eax
je 0x4454ff
mov ebp, dword [ebx]
cmp ebp, 0x197
jne 0x4454ff
push esi
call fcn.00425030
mov esi, eax
add esp, 4
test esi, esi
jne 0x4454cf
pop edi
lea eax, [esi + 0x1b]
pop esi
pop ebp
pop ebx
pop ecx
ret
cmp ebp, 0x197
push esi
sete al
movzx eax, al
push eax
push edi
call fcn.004261d0
push esi
mov edi, eax
call dword [0x657004]
add esp, 0x10
test edi, edi
je 0x445641
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push 0xf
push str.Content_Length:
push esi
call fcn.00420500
add esp, 0xc
test eax, eax
je 0x445559
mov ecx, dword [ebx]
lea eax, [ecx - 0xc8]
cmp eax, 0x64
jae 0x445537
push ecx
push str.Ignoring_Content_Length_in_CONNECT__03d_response
push edi
call fcn.0041dd20
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
mov eax, dword [esp + 0x20]
add eax, 0x200
push eax
push 0xa
lea eax, [esi + 0xf]
push 0
push eax
call fcn.00428d20
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push 5
push str.close
push 0xb
push str.Connection:
push esi
call fcn.00424f80
add esp, 0x14
test al, al
jne 0x445636
push 0x12
push str.Transfer_Encoding:
push esi
call fcn.00420500
add esp, 0xc
test eax, eax
je 0x4455f2
mov ecx, dword [ebx]
lea eax, [ecx - 0xc8]
cmp eax, 0x64
jae 0x4455b0
push ecx
push str.Ignoring_Transfer_Encoding_in_CONNECT__03d_response
push edi
call fcn.0041dd20
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push 7
push str.chunked
push 0x12
push str.Transfer_Encoding:
push esi
call fcn.00424f80
add esp, 0x14
test al, al
je 0x445641
push str.CONNECT_responded_chunked
push edi
call fcn.0041dd20
mov eax, dword [esp + 0x28]
push edi
mov byte [eax + 0x20c], 1
call fcn.00448300
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push 5
push str.close
push 0x11
push str.Proxy_Connection:
push esi
call fcn.00424f80
add esp, 0x14
test al, al
jne 0x445636
push ebx
lea eax, [esp + 0x14]
push eax
push str.HTTP_1._d__d
push esi
call fcn.00416e20
add esp, 0x10
cmp eax, 2
jne 0x445641
mov eax, dword [ebx]
mov dword [edi + 0xd64], eax
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
mov eax, dword [esp + 0x20]
mov byte [eax + 0x20d], 1
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
Function at 0x44c120
Capabilities:
Get file size
Read file on windows

Disassembly:
sub esp, 0x120
mov eax, dword [0x657340]
xor eax, esp
mov dword [esp + 0x11c], eax
mov eax, dword [esp + 0x124]
push ebx
push ebp
mov ebp, dword [esp + 0x134]
xor ebx, ebx
push esi
push edi
mov edi, dword [esp + 0x138]
xor esi, esi
push edi
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], edi
call sub.api_ms_win_crt_string_l1_1_0.dll__strdup
add esp, 4
mov dword [esp + 0x20], eax
test eax, eax
jne 0x44c19f
push 0x100
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00412c90
push eax
push edi
push str.schannel:_invalid_path_name_for_CA_file__s:__s
push ebp
call fcn.0041dc50
push esi
call dword [0x657004]
add esp, 0x20
lea eax, [ebx + 0x4d]
jmp 0x44c2ff
push 0
push 0x80
push 3
push 0
push 1
push accept
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [esp + 0x18], eax
cmp eax, 0xffffffff
jne 0x44c1f9
push 0x100
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00412c90
push eax
push edi
push str.schannel:_failed_to_open_CA_file__s:__s
push ebp
call fcn.0041dc50
push 0
mov esi, 0x4d
call dword [0x657004]
add esp, 0x20
jmp 0x44c2f1
lea ecx, [esp + 0x24]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x44c239
push 0x100
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00412c90
push eax
push edi
push str.schannel:_failed_to_determine_size_of_CA_file__s:__s
push ebp
call fcn.0041dc50
add esp, 0x1c
mov esi, 0x4d
jmp 0x44c2dd
mov edi, dword [esp + 0x24]
cmp dword [esp + 0x28], ebx
jl 0x44c267
jg 0x44c24d
cmp edi, 0x100000
jbe 0x44c267
push 0x100000
push str.schannel:_CA_file_exceeds_max_size_of__u_bytes
push ebp
call fcn.0041dc50
add esp, 0xc
mov esi, 0x4d
jmp 0x44c2dd
lea eax, [edi + 1]
push eax
call dword [section..data]
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x44c27f
lea esi, [eax + 0x1b]
jmp 0x44c2dd
test edi, edi
je 0x44c2c4
nop dword [eax]
nop word [eax + eax]
push 0
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0
push eax
mov eax, edi
sub eax, esi
push eax
lea eax, [esi + ebx]
push eax
push dword [esp + 0x28]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x44c31c
mov eax, dword [esp + 0x10]
test eax, eax
je 0x44c318
add esi, eax
cmp esi, edi
jb 0x44c290
push ebp
push dword [esp + 0x18]
mov byte [edi + ebx], 0
push edi
push ebx
push dword [esp + 0x2c]
call fcn.0044bf20
add esp, 0x14
mov esi, eax
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call dword [0x657004]
add esp, 4
push dword [esp + 0x20]
call fcn.004568ae
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x12c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004554d0
add esp, 0x120
ret
mov edi, esi
jmp 0x44c2c4
push 0x100
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00412c90
push eax
push dword [esp + 0x24]
push str.schannel:_failed_to_read_from_CA_file__s:__s
push ebp
call fcn.0041dc50
add esp, 0x1c
mov esi, 0x4d
jmp 0x44c2dd
Function at 0x453870
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
sub esp, 0xc
push ebp
mov ebp, dword [esp + 0x14]
push esi
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x14]
lea eax, [eax + ecx*2]
add eax, 0xc
push eax
call dword [section..data]
mov esi, eax
add esp, 4
test esi, esi
jne 0x45389b
pop esi
pop ebp
add esp, 0xc
ret
lea ecx, [esi + 0xc]
mov dword [esi], ebp
mov dword [esi + 4], ecx
mov eax, dword [ebp + 0xc]
add eax, ecx
push ebx
mov ebx, dword [esp + 0x24]
mov dword [esi + 8], eax
push edi
lea edi, [ebp + 4]
cmp ebx, dword [ebp + 0x10]
jbe 0x4538ea
mov eax, dword [ebp]
push ecx
call eax
mov eax, dword [edi]
push ebx
push dword [esp + 0x2c]
push dword [esi + 4]
call eax
mov eax, dword [esi + 8]
add eax, dword [ebp + 0xc]
push dword [esi + 4]
mov dword [esp + 0x28], eax
push eax
mov eax, dword [ebp + 8]
call eax
mov ebx, dword [ebp + 0x14]
add esp, 0x18
mov dword [esp + 0x28], ebx
jmp 0x4538f2
mov eax, dword [esp + 0x24]
mov dword [esp + 0x14], eax
push dword [esi + 4]
mov eax, dword [ebp]
call eax
push dword [esi + 8]
mov eax, dword [ebp]
call eax
mov eax, dword [esp + 0x30]
add esp, 8
xor ebx, ebx
test eax, eax
je 0x453963
mov ebp, dword [esp + 0x14]
mov ebx, eax
mov dword [esp + 0x18], eax
nop dword [eax]
movzx eax, byte [ebp]
xor al, 0x36
mov byte [esp + 0x13], al
lea eax, [esp + 0x13]
push 1
push eax
push dword [esi + 4]
mov eax, dword [edi]
call eax
movzx eax, byte [ebp]
lea ebp, [ebp + 1]
xor al, 0x5c
mov byte [esp + 0x1f], al
lea eax, [esp + 0x1f]
push 1
push eax
push dword [esi + 8]
mov eax, dword [edi]
call eax
add esp, 0x18
sub ebx, 1
jne 0x453920
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x20]
cmp ebx, dword [ebp + 0x10]
jae 0x453995
nop dword [eax + eax]
mov eax, dword [edi]
push 1
push 0x463965
push dword [esi + 4]
call eax
mov eax, dword [edi]
push 1
push 0x463966
push dword [esi + 8]
call eax
inc ebx
add esp, 0x18
cmp ebx, dword [ebp + 0x10]
jb 0x453970
pop edi
pop ebx
mov eax, esi
pop esi
pop ebp
add esp, 0xc
ret
Function at 0x4539a0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
sub esp, 0xc
push ebx
push ebp
mov ebp, dword [esp + 0x18]
push esi
push dword [esp + 0x24]
call fcn.0041f670
mov edx, dword [ebp + 0xc]
mov ebx, eax
mov ecx, dword [ebp + 0x14]
mov dword [esp + 0x14], ebx
lea ecx, [ecx + edx*2]
add ecx, 0xc
push ecx
call dword [section..data]
mov esi, eax
add esp, 8
test esi, esi
je 0x453b22
lea ecx, [esi + 0xc]
mov dword [esi], ebp
mov dword [esi + 4], ecx
mov eax, dword [ebp + 0xc]
add eax, ecx
mov dword [esi + 8], eax
push edi
lea edi, [ebp + 4]
cmp ebx, dword [ebp + 0x10]
jbe 0x453a22
mov eax, dword [ebp]
push ecx
call eax
mov eax, dword [esp + 0x28]
push ebx
push eax
push dword [esi + 4]
mov eax, dword [edi]
call eax
mov eax, dword [esi + 8]
add eax, dword [ebp + 0xc]
push dword [esi + 4]
mov dword [esp + 0x38], eax
push eax
mov eax, dword [ebp + 8]
call eax
mov eax, dword [ebp + 0x14]
add esp, 0x18
mov dword [esp + 0x14], eax
push dword [esi + 4]
mov eax, dword [ebp]
call eax
push dword [esi + 8]
mov eax, dword [ebp]
call eax
mov eax, dword [esp + 0x1c]
add esp, 8
xor ebx, ebx
test eax, eax
je 0x453a93
mov ebp, dword [esp + 0x24]
mov ebx, eax
mov dword [esp + 0x18], eax
nop dword [eax]
movzx eax, byte [ebp]
xor al, 0x36
mov byte [esp + 0x13], al
lea eax, [esp + 0x13]
push 1
push eax
push dword [esi + 4]
mov eax, dword [edi]
call eax
movzx eax, byte [ebp]
lea ebp, [ebp + 1]
xor al, 0x5c
mov byte [esp + 0x1f], al
lea eax, [esp + 0x1f]
push 1
push eax
push dword [esi + 8]
mov eax, dword [edi]
call eax
add esp, 0x18
sub ebx, 1
jne 0x453a50
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x20]
cmp ebx, dword [ebp + 0x10]
jae 0x453ac5
nop dword [eax + eax]
mov eax, dword [edi]
push 1
push 0x463965
push dword [esi + 4]
call eax
mov eax, dword [edi]
push 1
push 0x463966
push dword [esi + 8]
call eax
inc ebx
add esp, 0x18
cmp ebx, dword [ebp + 0x10]
jb 0x453aa0
push dword [esp + 0x30]
call fcn.0041f670
mov ecx, dword [esi]
push eax
push dword [esp + 0x34]
push dword [esi + 4]
mov eax, dword [ecx + 4]
call eax
mov edi, dword [esp + 0x44]
add esp, 0x10
mov ebx, dword [esi]
test edi, edi
jne 0x453af0
mov edi, dword [ebx + 0xc]
add edi, dword [esi + 8]
push dword [esi + 4]
mov eax, dword [ebx + 8]
push edi
call eax
push dword [ebx + 0x14]
mov eax, dword [ebx + 4]
push edi
push dword [esi + 8]
call eax
push dword [esi + 8]
mov eax, dword [ebx + 8]
push edi
call eax
push esi
call dword [0x657004]
add esp, 0x20
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
pop esi
pop ebp
mov eax, 0x1b
pop ebx
add esp, 0xc
ret
Function at 0x455300
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x10]
xor esi, esi
test edi, edi
je 0x45534c
push ebx
mov ebx, dword [esp + 0x10]
mov cl, byte [esi + ebx]
mov dl, cl
mov al, cl
shr dl, 1
and al, 0xfe
not dl
movzx eax, al
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
or cl, 1
test dl, 2
movzx ecx, cl
cmove ecx, eax
mov byte [esi + ebx], cl
inc esi
cmp esi, edi
jb 0x455311
pop ebx
pop edi
pop esi
ret

Function at 0x4565d7
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x456616
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x456616
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x456616
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x456616
cmp dword [ecx + 0x74], 0xe
jbe 0x456616
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x10001900
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006fab8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x10085510]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor ebx, ebx
push 8
mov dword [esi], ebx
call fcn.10053472
add esp, 4
cmp eax, ebx
je 0x100019e4
mov dword [esi], eax
xor ecx, ecx
mov dword [eax], ecx
xor edx, edx
mov dword [eax + 4], edx
mov eax, dword [esi]
mov dword [eax], esi
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [ebp - 4], ebx
lea edi, [esi + 0x18]
push 8
mov dword [edi], ebx
call fcn.10053472
add esp, 4
cmp eax, ebx
je 0x100019c0
mov dword [edi], eax
xor ecx, ecx
mov dword [eax], ecx
xor edx, edx
mov dword [eax + 4], edx
mov ecx, dword [edi]
mov dword [ecx], edi
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov dword [edi + 0x10], ebx
mov eax, 0xf
mov dword [esi + 0x44], eax
mov dword [esi + 0x40], ebx
mov byte [esi + 0x30], bl
mov dword [esi + 0x74], eax
mov dword [esi + 0x70], ebx
mov byte [esi + 0x60], bl
mov word [esi + 0x7c], 1
mov eax, esi
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
lea edx, [ebp - 0x10]
push edx
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x10], ebx
call fcn.10052ee4
push 0x1008160c
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], vtable.std::bad_alloc.0
call fcn.10058eeb
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x14], ebx
call fcn.10052ee4
push 0x1008160c
lea edx, [ebp - 0x2c]
push edx
mov dword [ebp - 0x2c], vtable.std::bad_alloc.0
call fcn.10058eeb
int3
Function at 0x1000b450
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006f97b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x10085510]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.10052c73
push 4
mov dword [ebp - 4], 0
call fcn.10053472
mov edi, eax
add esp, 4
test edi, edi
je 0x1000b4cc
call fcn.100526f3
mov dword [edi], eax
call fcn.100524b2
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.100528b9
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x1000b4c2
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.100528e1
jmp 0x1000b4ce
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
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 0x100123c0
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10070735
mov eax, dword fs:[0]
push eax
sub esp, 0x10c
mov eax, dword [0x10085510]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x114], ebx
mov edi, 0xf
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], ebx
mov dword [ebp - 0x118], esi
mov byte [esi], bl
push ecx
push eax
lea eax, [ebp - 0x48]
mov dword [ebp - 4], ebx
push eax
mov dword [ebp - 0x114], 1
call fcn.10013420
add esp, 0xc
push esi
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x110], esp
push 0xffffffffffffffff
mov dword [ebp - 4], 1
push ebx
lea edx, [ebp - 0x48]
mov dword [ecx + 0x14], edi
mov dword [ecx + 0x10], ebx
push edx
mov byte [ecx], bl
call fcn.10004ab0
call fcn.1006cfb0
add esp, 4
mov ecx, esp
mov dword [ebp - 0x110], esp
push 0xffffffffffffffff
push ebx
mov dword [ecx + 0x14], edi
mov dword [ecx + 0x10], ebx
push esi
mov byte [ecx], bl
call fcn.10004ab0
lea eax, [ebp - 0x2c]
push eax
call fcn.1006d660
add esp, 0x20
push eax
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.10003fa0
cmp dword [ebp - 0x18], 0x10
jb 0x10012498
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.10053416
add esp, 4
lea edx, [ebp - 0x8c]
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x10c], 0x67452301
mov dword [ebp - 0x108], 0xefcdab89
mov dword [ebp - 0x104], 0x98badcfe
mov dword [ebp - 0x100], 0x10325476
mov dword [ebp - 0xfc], 0xc3d2e1f0
mov dword [ebp - 0xf8], ebx
mov dword [ebp - 0xf4], ebx
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x110], esp
push 0xffffffffffffffff
mov byte [ebp - 4], 3
push ebx
mov dword [ecx + 0x14], edi
mov dword [ecx + 0x10], ebx
push esi
mov byte [ecx], bl
call fcn.10004ab0
lea eax, [ebp - 0x2c]
push eax
call fcn.100174a0
push eax
mov ecx, esi
mov byte [ebp - 4], 4
call fcn.10003fa0
mov edi, 0x10
cmp dword [ebp - 0x18], edi
jb 0x1001252a
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.10053416
add esp, 4
mov dword [ebp - 0x10c], 0x67452301
mov dword [ebp - 0x108], 0xefcdab89
mov dword [ebp - 0x104], 0x98badcfe
mov dword [ebp - 0x100], 0x10325476
mov dword [ebp - 0xfc], 0xc3d2e1f0
mov dword [ebp - 0xf8], ebx
mov dword [ebp - 0xf4], ebx
cmp dword [ebp - 0x34], edi
jb 0x10012579
mov edx, dword [ebp - 0x48]
push edx
call fcn.10053416
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10052dab
mov esp, ebp
pop ebp
ret 4
Function at 0x100174a0
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10070418
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x10085510]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], edi
push 0xc4
mov dword [ebp - 4], edi
call fcn.10053472
add esp, 4
mov edx, 0x10325476
mov ecx, 0xc3d2e1f0
cmp eax, edi
je 0x10017523
lea esi, [eax + 0x80]
mov dword [eax + 0xc0], esi
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], edi
mov dword [eax + 0x18], edi
mov esi, eax
jmp 0x10017525
xor esi, esi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], edx
mov dword [esi + 0x10], ecx
mov eax, dword [ebp + 0xc]
mov edi, 0x10
cmp dword [ebp + 0x20], edi
jae 0x10017555
lea eax, [ebp + 0xc]
push eax
mov eax, dword [ebp + 0x1c]
call fcn.10017100
mov ecx, esi
call fcn.100171c0
mov eax, dword [esi + 0x68]
mov ecx, dword [esi + 0x60]
mov edx, dword [esi + 0x64]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x24], ecx
mov ecx, dword [esi + 0x6c]
mov dword [ebp - 0x20], edx
mov edx, dword [esi + 0x70]
mov esi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
push eax
push esi
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], edx
call fcn.100172d0
cmp dword [ebp + 0x20], edi
jb 0x100175a1
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.10053416
add esp, 4
mov eax, esi
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.10052dab
mov esp, ebp
pop ebp
ret 0x20