joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10019030
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1004a7ec
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x100661b0]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov dword [esp + 0xc], 0
mov dword [esp + 0x28], 1
mov eax, dword [esp + 0x30]
cmp byte [eax + 8], 0
mov eax, dword [eax + 4]
mov eax, dword [eax]
mov ecx, dword [eax]
lea edx, [esp + 0xc]
push edx
push eax
mov eax, dword [ecx + 0x44]
call eax
mov esi, eax
test esi, esi
jne 0x1001912b
mov dword [esp + 0x30], eax
mov byte [esp + 0x28], 3
mov eax, dword [esp + 0x34]
cmp dword [eax + 0x1c], 8
jb 0x100190a1
mov eax, dword [eax + 8]
jmp 0x100190a4
add eax, 8
test eax, eax
jne 0x10019159
xor edi, edi
mov dword [esp + 0x34], edi
mov byte [esp + 0x28], 4
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
lea edx, [esp + 0x30]
push edx
push edi
push eax
mov eax, dword [ecx + 0x1c]
call eax
mov esi, eax
test esi, esi
jne 0x10019110
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov byte [esp + 0x28], 5
mov eax, dword [esp + 0x30]
mov edx, dword [eax]
mov edx, dword [edx + 0x20]
lea ecx, [esp + 0x10]
push ecx
push eax
call edx
mov esi, eax
test esi, esi
jne 0x10019100
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x18]
mov dword [eax], ecx
mov byte [esp + 0x28], 4
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov byte [esp + 0x28], 3
push edi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov byte [esp + 0x28], 1
lea eax, [esp + 0x30]
push eax
call fcn.10018c70
mov dword [esp + 0x28], 0xffffffff
mov eax, dword [esp + 0xc]
test eax, eax
je 0x10019143
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x20
ret 0xc
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov edi, eax
test edi, edi
mov dword [esp + 0x34], edi
jne 0x100190b2
push 0x8007000e
call fcn.10003a00
int3

Function at 0x1001a210
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1004bccb
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x100661b0]
xor eax, esp
mov dword [esp + 0x22c], eax
push edi
mov eax, dword [0x100661b0]
xor eax, esp
push eax
lea eax, [esp + 0x238]
mov dword fs:[0], eax
push 0x206
lea eax, [esp + 0x32]
push 0
push eax
mov edi, ecx
mov word [esp + 0x38], 0
call fcn.10037fe0
add esp, 0xc
push 0x104
lea ecx, [esp + 0x30]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [esp + 0xc]
push edx
lea edx, [esp + 0x30]
mov edi, eax
call fcn.100046b0
mov dword [esp + 0x240], 0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 4]
lea eax, [esp + 0x18]
call fcn.100035b0
mov dword [esp + 0x240], 0xffffffff
lea ecx, [esp + 0xc]
call fcn.10004620
mov eax, edi
mov ecx, dword [esp + 0x238]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [esp + 0x22c]
xor ecx, esp
call fcn.100346f8
add esp, 0x23c
ret
Function at 0x1001a750
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1004ca70
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x100661b0]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
mov eax, dword [0x100661b0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
xor eax, eax
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], eax
mov word [esp + 0x14], ax
mov dword [esp + 0x38], eax
mov dword [esp + 0xc], vtable.BAB::BaseString_wchar_t__class_std::allocator_wchar_t__.0
mov dword [esp + 0x38], 1
xor ecx, ecx
lea esi, [esp + 0xc]
call fcn.1001a210
cmp dword [esp + 0x28], 8
mov eax, dword [esp + 0x14]
jae 0x1001a7c1
lea eax, [esp + 0x14]
push str.babylon.exe
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
call fcn.10036eb7
add esp, 8
test eax, eax
sete bl
mov dword [esp + 0x38], 0xffffffff
lea ecx, [esp + 0xc]
call fcn.10004620
mov al, bl
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.100346f8
add esp, 0x30
ret

Function at 0x1001a970
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ecx
push ebx
push ebp
mov ebp, dword [esp + 0x10]
mov ebx, 0x80004005
push esi
mov dword [esp + 0xc], ebx
mov ecx, str.HTML
mov eax, 0x10055254
jmp 0x1001a990
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1001a9b6
test dx, dx
je 0x1001a9b2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1001a9b6
add eax, 4
add ecx, 4
test dx, dx
jne 0x1001a990
xor eax, eax
jmp 0x1001a9bb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
mov eax, 0x10055254
jne 0x1001a9c9
mov eax, 0x17
push eax
mov eax, dword [esp + 0x1c]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x1001aa59
push edi
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test edi, edi
je 0x1001aa51
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebp, eax
test ebp, ebp
je 0x1001aa51
push ebp
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x1001aa3e
lea ecx, [edi + 1]
push ecx
call fcn.100346ee
mov edx, dword [esp + 0x24]
mov esi, eax
add esp, 4
test esi, esi
mov dword [edx], esi
je 0x1001aa3e
push edi
push ebx
push esi
call fcn.10039170
add esp, 0xc
mov byte [esi + edi], 0
push ebp
xor esi, esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
pop ecx
ret
mov esi, dword [esp + 0x10]
push ebp
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
pop ecx
ret
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
pop ecx
ret
pop esi
pop ebp
mov eax, ebx
pop ebx
pop ecx
ret
Function at 0x1001aa60
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004bbfb
mov eax, dword fs:[0]
push eax
sub esp, 0x104
mov eax, dword [0x100661b0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov esi, edx
xor edi, edi
mov dword [ebp - 0xe8], edi
mov dword [ebp - 4], edi
push edi
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0xe4], eax
test eax, eax
je 0x1001ab47
push eax
call fcn.10034bff
add esp, 4
mov edi, eax
mov dword [ebp - 0xe8], edi
test edi, edi
je 0x1001ab47
push edi
mov eax, dword [ebp - 0xe4]
push eax
push 0
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x1001ab47
lea ecx, [ebp - 0xe4]
push ecx
lea edx, [ebp - 0xec]
push edx
push str.VarFileInfoTranslation
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x1001ab47
push 0x10058104
mov eax, dword [ebp - 0xec]
movzx ecx, word [eax + 2]
push ecx
movzx edx, word [eax]
push edx
push str.StringFileInfo_04x_04x_s
lea eax, [ebp - 0xe0]
push eax
mov edx, 0x64
call fcn.1001ac90
add esp, 0x14
lea ecx, [ebp - 0xe4]
push ecx
lea edx, [ebp - 0xf0]
push edx
lea eax, [ebp - 0xe0]
push eax
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x1001ab50
mov dword [ebp - 4], 0xffffffff
jmp 0x1001ab9c
lea ecx, [ebp - 0x110]
push ecx
mov edx, dword [ebp - 0xf0]
call fcn.100046b0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x110]
call fcn.10004740
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x110]
call fcn.10004620
push edi
call fcn.10034fb4
add esp, 4
mov eax, 1
jmp 0x1001abab
test edi, edi
je 0x1001aba9
push edi
call fcn.10034fb4
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100346f8
mov esp, ebp
pop ebp
ret
Function at 0x10023000
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x1004c8cd
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x100661b0]
xor eax, esp
push eax
lea eax, [esp + 8]
mov dword fs:[0], eax
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov dword [esi], eax
lea eax, [esi + 0xc]
push eax
mov dword [esi + 4], ecx
mov dword [esi + 8], edx
call fcn.10023070
xor eax, eax
mov dword [esp + 0x10], eax
mov byte [esi + 0x30], al
mov byte [esi + 0x31], al
mov dword [esp + 0x10], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0xc
ret 8

Function at 0x10023840
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, dword [esp + 0x10]
test ebp, ebp
jne 0x10023853
push 0x80004005
call fcn.10003a00
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
push edi
xor edi, edi
mov esi, ebp
push esi
call ebx
add eax, 1
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x10023860
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
push edi
push ebp
push 7
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x100238a0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push 0xffffffffffffffff
push 0x1004a6fb
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x100661b0]
xor eax, esp
mov dword [esp + 0x218], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100661b0]
xor eax, esp
push eax
lea eax, [esp + 0x234]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x244]
xor esi, esi
mov ebp, ecx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x14], esi
mov dword [esp + 0x23c], esi
mov eax, dword [ebp]
lea ecx, [esp + 0x1c]
push ecx
push 0x2001f
push esi
push ebx
push eax
mov dword [esp + 0x30], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
cmp edi, esi
jne 0x100239d2
mov ecx, dword [esp + 0x14]
xor eax, eax
cmp ecx, esi
je 0x1002392e
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x14], esi
cmp eax, esi
mov ecx, dword [esp + 0x1c]
mov edi, eax
mov dword [esp + 0x14], ecx
jne 0x100239d2
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea edx, [esp + 0x24]
push edx
push esi
push esi
push esi
lea eax, [esp + 0x28]
push eax
lea edx, [esp + 0x40]
push edx
push esi
push ecx
mov dword [esp + 0x38], 0x100
call edi
test eax, eax
jne 0x100239b2
jmp 0x10023970
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x18]
call fcn.100238a0
mov ebx, eax
cmp ebx, esi
jne 0x10023a1c
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x18]
push esi
push esi
push esi
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x40]
push eax
push esi
push ecx
mov dword [esp + 0x38], 0x100
call edi
test eax, eax
je 0x10023970
mov ebx, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x100239c5
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x14], esi
mov edx, dword [ebp]
push ebx
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov edi, eax
mov dword [esp + 0x23c], 0xffffffff
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x100239f0
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x14], esi
mov eax, edi
mov ecx, dword [esp + 0x234]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x218]
xor ecx, esp
call fcn.100346f8
add esp, 0x22c
ret 4
mov dword [esp + 0x23c], 0xffffffff
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x10023a3a
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x14], esi
mov eax, ebx
jmp 0x100239f2
Function at 0x10024000
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
lea ebp, [esp - 0x408]
sub esp, 0x408
push 0xffffffffffffffff
push 0x1004c830
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x100661b0]
xor eax, ebp
mov dword [ebp + 0x404], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov edi, edx
mov ebx, dword [ebp + 0x414]
call dword [section..data]
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x410]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], eax
mov dword [ebp], eax
mov byte [ebp - 4], 1
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
mov dword [ebp - 0x1c], esi
test esi, esi
jne 0x10024086
call fcn.10023480
mov edi, eax
jmp 0x100241a4
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x1002409f
call fcn.10023480
jmp 0x1002419b
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x100240b8
call fcn.10023480
jmp 0x1002419b
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
mov dword [ebp - 0x20], edi
lea eax, [edi + 1]
cmp eax, edi
jae 0x100240f9
mov byte [ebp - 4], 0
lea edx, [ebp + 4]
cmp dword [ebp], edx
je 0x100240e0
lea eax, [ebp]
call fcn.10025e70
mov dword [ebp - 4], 0xffffffff
lea esi, [ebp - 0x18]
call fcn.10025cb0
mov eax, 0x8007000e
jmp 0x100241c1
mov byte [ebp - 4], 2
mov ecx, 2
mul ecx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
test edx, edx
ja 0x10024113
cmp eax, 0xffffffff
jbe 0x1002411d
push 0x80070057
call fcn.10003a00
cmp eax, 0x400
jbe 0x10024136
lea edx, [ebp]
push edx
call fcn.10025e80
mov dword [ebp - 4], 1
jmp 0x10024151
lea eax, [ebp + 4]
mov dword [ebp], eax
mov dword [ebp - 4], 1
jmp 0x10024151
mov ebx, dword [ebp]
test ebx, ebx
jne 0x1002415f
mov edi, 0x8007000e
jmp 0x1002419d
call dword [section..data]
push edi
push ebx
push edi
mov ecx, dword [ebp - 0x14]
push ecx
push 0
push eax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x10024180
call fcn.10023480
jmp 0x1002419b
mov edx, dword [ebp]
mov word [edx + eax*2], 0
mov eax, dword [ebp + 0x418]
push eax
mov ecx, dword [ebp]
lea edx, [ebp - 0x28]
call fcn.10024e90
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov byte [ebp - 4], 0
lea ecx, [ebp + 4]
cmp dword [ebp], ecx
je 0x100241b8
lea eax, [ebp]
call fcn.10025e70
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x404]
xor ecx, ebp
call fcn.100346f8
add ebp, 0x408
mov esp, ebp
pop ebp
ret 0xc
Function at 0x100284c0
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x4008
call fcn.10045e80
mov eax, dword [0x100661b0]
xor eax, esp
mov dword [esp + 0x4004], eax
mov eax, dword [esp + 0x400c]
push ebp
mov ebp, dword [esp + 0x4014]
push edi
push ebp
push 0x4000
lea ecx, [esp + 0x14]
push 1
push ecx
mov dword [esp + 0x18], eax
call fcn.10036c2c
mov edi, eax
add esp, 0x10
test edi, edi
je 0x1002855c
push ebx
push esi
lea esp, [esp]
mov esi, dword [esp + 0x10]
mov ebx, 2
lea esp, [esp]
lea edx, [esp + 0x14]
push edx
mov eax, edi
call fcn.1002cc30
add esp, 4
add esi, 0x5c
sub ebx, 1
jne 0x10028520
cmp edi, 0x4000
jb 0x1002855a
push ebp
push 0x4000
lea eax, [esp + 0x1c]
push 1
push eax
call fcn.10036c2c
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x10028510
pop esi
pop ebx
push 0
lea ecx, [esp + 0x10]
push 0x4000
push ecx
call fcn.10037fe0
push 0
push 0
push ebp
call fcn.1003546a
mov ecx, dword [esp + 0x4024]
add esp, 0x18
pop edi
pop ebp
xor ecx, esp
call fcn.100346f8
add esp, 0x4008
ret

Function at 0x100285a0
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x400c
call fcn.10045e80
mov eax, dword [0x100661b0]
xor eax, esp
mov dword [esp + 0x4008], eax
mov eax, dword [esp + 0x4010]
push ebx
push ebp
mov ebp, dword [esp + 0x401c]
push esi
push edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ecx
cmp ebp, 0x4000
mov esi, 0x4000
jge 0x100285e1
mov esi, ebp
mov edx, dword [esp + 0x10]
push edx
push esi
lea eax, [esp + 0x20]
push 1
push eax
sub ebp, esi
call fcn.10036c2c
mov edi, eax
add esp, 0x10
cmp edi, esi
jne 0x10028622
mov esi, dword [esp + 0x14]
mov ebx, 2
lea ecx, [esp + 0x18]
push ecx
mov eax, edi
call fcn.1002cc30
add esp, 4
add esi, 0x5c
sub ebx, 1
jne 0x10028607
test ebp, ebp
jg 0x100285d2
push 0
lea edx, [esp + 0x1c]
push 0x4000
push edx
call fcn.10037fe0
mov eax, dword [esp + 0x1c]
push 0
push 0
push eax
call fcn.1003546a
mov ecx, dword [esp + 0x4030]
add esp, 0x18
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100346f8
add esp, 0x400c
ret
Function at 0x10028660
Capabilities:
Hash data using sha1

Disassembly:
sub esp, 0xc8
mov eax, dword [0x100661b0]
xor eax, esp
mov dword [esp + 0xc4], eax
mov eax, dword [esp + 0xcc]
push ebx
push esi
mov esi, ecx
xor ebx, ebx
xor cl, cl
push edi
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], eax
mov byte [esp + 0xf], cl
mov edi, 0xc3d2e1f0
movzx eax, cl
imul eax, eax, 0x5c
cmp cl, 1
lea eax, [esp + eax + 0x18]
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], edi
mov dword [eax + 0x18], ebx
mov dword [eax + 0x14], ebx
jne 0x100286e6
lea ecx, [esp + 0xf]
push ecx
mov eax, 1
lea esi, [esp + 0x78]
call fcn.1002cc30
mov cl, byte [esp + 0x13]
mov esi, dword [esp + 0x14]
add esp, 4
add cl, 1
cmp cl, 2
mov byte [esp + 0xf], cl
jb 0x10028695
mov edx, dword [esp + 0xdc]
mov ecx, dword [esp + 0x14]
push edx
lea eax, [esp + 0x1c]
push eax
call fcn.100285a0
add esp, 8
xor eax, eax
lea ecx, [ecx]
lea ecx, [eax + eax*4]
lea edi, [esi + ecx*4 + 0x1c]
lea ecx, [esp + 0x18]
call fcn.1002ccd0
add bl, 1
movzx eax, bl
cmp eax, 2
jl 0x10028710
mov ecx, dword [esp + 0xd0]
pop edi
mov dword [esi], 0x10
pop esi
pop ebx
xor ecx, esp
call fcn.100346f8
add esp, 0xc8
ret

Function at 0x10028750
Capabilities:
Hash data using sha1

Disassembly:
sub esp, 0xc8
mov eax, dword [0x100661b0]
xor eax, esp
mov dword [esp + 0xc4], eax
mov eax, dword [esp + 0xcc]
push ebx
push esi
mov esi, ecx
xor ebx, ebx
xor cl, cl
push edi
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], eax
mov byte [esp + 0xf], cl
mov edi, 0xc3d2e1f0
movzx eax, cl
imul eax, eax, 0x5c
cmp cl, 1
lea eax, [esp + eax + 0x18]
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], edi
mov dword [eax + 0x18], ebx
mov dword [eax + 0x14], ebx
jne 0x100287d6
lea ecx, [esp + 0xf]
push ecx
mov eax, 1
lea esi, [esp + 0x78]
call fcn.1002cc30
mov cl, byte [esp + 0x13]
mov esi, dword [esp + 0x14]
add esp, 4
add cl, 1
cmp cl, 2
mov byte [esp + 0xf], cl
jb 0x10028785
mov edx, dword [esp + 0x14]
push edx
lea eax, [esp + 0x1c]
push eax
call fcn.100284c0
add esp, 8
xor eax, eax
jmp 0x10028800
lea ecx, [eax + eax*4]
lea edi, [esi + ecx*4 + 0x1c]
lea ecx, [esp + 0x18]
call fcn.1002ccd0
add bl, 1
movzx eax, bl
cmp eax, 2
jl 0x10028800
mov ecx, dword [esp + 0xd0]
pop edi
mov dword [esi], 0x10
pop esi
pop ebx
xor ecx, esp
call fcn.100346f8
add esp, 0xc8
ret
Function at 0x10028840
Capabilities:
Hash data using sha1

Disassembly:
sub esp, 0xb8
mov eax, dword [0x100661b0]
xor eax, esp
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0xbc]
add dword [eax + 4], 1
push ebp
mov ebp, dword [eax]
push esi
lea esi, [eax + 4]
xor edx, edx
xor ecx, ecx
cmp ebp, edx
push edi
jbe 0x100288a8
mov edi, ebp
push ebx
mov eax, dword [esi]
mov ebx, eax
shr ebx, 8
mov byte [esp + ecx*4 + 0x81], bl
mov ebx, eax
mov byte [esp + ecx*4 + 0x80], al
shr ebx, 0x10
shr eax, 0x18
mov byte [esp + ecx*4 + 0x82], bl
mov byte [esp + ecx*4 + 0x83], al
add ecx, 1
add esi, 4
cmp ecx, edi
jb 0x10028872
pop ebx
lea ecx, [esp + 0x7c]
lea eax, [ebp*4]
push ecx
lea esi, [esp + 0x24]
mov dword [esp + 0x24], 0x67452301
mov dword [esp + 0x28], 0xefcdab89
mov dword [esp + 0x2c], 0x98badcfe
mov dword [esp + 0x30], 0x10325476
mov dword [esp + 0x34], 0xc3d2e1f0
mov dword [esp + 0x3c], edx
mov dword [esp + 0x38], edx
call fcn.1002cc30
add esp, 4
lea edi, [esp + 0xc]
mov ecx, esi
call fcn.1002ccd0
mov ecx, dword [esp + 0xc0]
mov eax, dword [esp + 0xc]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.100346f8
add esp, 0xb8
ret

Function at 0x100289d0
Capabilities:
Hash data using sha1

Disassembly:
sub esp, 0xc4
mov eax, dword [0x100661b0]
xor eax, esp
mov dword [esp + 0xc0], eax
mov eax, dword [esp + 0xc8]
push ebx
push ebp
mov ebp, dword [esp + 0xd4]
push edi
xor bl, bl
mov dword [esp + 0x10], eax
mov byte [esp + 0xf], bl
push esi
movzx eax, bl
imul eax, eax, 0x5c
lea eax, [esp + eax + 0x18]
xor edi, edi
cmp bl, 1
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
mov dword [eax + 0x18], edi
mov dword [eax + 0x14], edi
jne 0x10028a53
lea ecx, [esp + 0x13]
push ecx
mov eax, 1
lea esi, [esp + 0x78]
call fcn.1002cc30
mov bl, byte [esp + 0x17]
add esp, 4
mov eax, dword [esp + 0xe0]
movzx esi, bl
imul esi, esi, 0x5c
push ebp
lea esi, [esp + esi + 0x1c]
call fcn.1002cc30
add bl, 1
add esp, 4
cmp bl, 2
mov byte [esp + 0x13], bl
jb 0x10028a00
xor bl, bl
xor eax, eax
pop esi
mov edi, edi
lea edx, [eax + eax*4]
mov eax, dword [esp + 0x10]
lea edi, [eax + edx*4 + 0x1c]
lea ecx, [esp + 0x14]
call fcn.1002ccd0
add bl, 1
movzx eax, bl
cmp eax, 2
jl 0x10028a80
mov ecx, dword [esp + 0x10]
pop edi
mov dword [ecx], 0x10
mov ecx, dword [esp + 0xc8]
pop ebp
pop ebx
xor ecx, esp
call fcn.100346f8
add esp, 0xc4
ret
Function at 0x10028d40
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1004b42b
mov eax, dword fs:[0]
push eax
sub esp, 0xf0
mov eax, dword [0x100661b0]
xor eax, esp
mov dword [esp + 0xe8], eax
push ebx
push esi
push edi
mov eax, dword [0x100661b0]
xor eax, esp
push eax
lea eax, [esp + 0x100]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push 0x48
mov esi, ecx
xor ebx, ebx
lea ecx, [esp + 0x88]
push ebx
push ecx
mov dword [esp + 0x2c], eax
call fcn.10037fe0
movzx eax, byte [esi]
add esi, 1
add esp, 0xc
push esi
lea esi, [esp + 0x28]
mov dword [esp + 0x28], 0x67452301
mov dword [esp + 0x2c], 0xefcdab89
mov dword [esp + 0x30], 0x98badcfe
mov dword [esp + 0x34], 0x10325476
mov dword [esp + 0x38], 0xc3d2e1f0
mov dword [esp + 0x40], ebx
mov dword [esp + 0x3c], ebx
call fcn.1002cc30
add esp, 4
lea edi, [esp + 0x8c]
mov ecx, esi
call fcn.1002ccd0
mov dword [esp + 0x84], 6
mov word [esp + 0xd0], 0xf
mov esi, 1
lea esp, [esp]
lea edx, [esp + 0x84]
push edx
call fcn.10028840
mov word [esp + esi*2 + 0xd4], ax
add esi, 1
add esp, 4
cmp esi, 0x10
jb 0x10028e10
mov edi, vtable.CEllipticCurveContext.0
lea esi, [esp + 0x14]
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
call fcn.1002a6a0
mov dword [esp + 0x108], ebx
lea ebx, [esp + 0xd0]
lea esi, [esp + 0x84]
lea ecx, [esp + 0x14]
call fcn.1002a370
mov ax, word [esp + 0x84]
mov edx, dword [esp + 0x20]
mov cl, al
add cl, cl
mov byte [edx], cl
movzx ecx, ax
xor esi, esi
cmp ecx, esi
jle 0x10028ea7
lea eax, [edx + 1]
movzx edx, byte [esp + ecx*2 + 0x85]
mov byte [eax], dl
movzx edx, byte [esp + ecx*2 + 0x84]
add eax, 1
mov byte [eax], dl
sub ecx, 1
add eax, 1
cmp ecx, esi
jg 0x10028e86
mov dword [esp + 0x108], 0xffffffff
mov eax, dword [esp + 0x18]
cmp eax, esi
mov dword [esp + 0x14], edi
je 0x10028ecb
push eax
call fcn.10034fb4
add esp, 4
mov dword [esp + 0x18], esi
mov eax, dword [esp + 0x1c]
cmp eax, esi
je 0x10028ee0
push eax
call fcn.10034fb4
add esp, 4
mov dword [esp + 0x1c], esi
xor eax, eax
mov ecx, dword [esp + 0x100]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xe8]
xor ecx, esp
call fcn.100346f8
mov esp, ebp
pop ebp
ret