joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100d04b
Capabilities:
Download url
Receive data

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x1268
call fcn.010165b0
mov eax, dword [0x102089c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor ebx, ebx
push edi
mov esi, ecx
mov eax, dword [esi + 0x14]
cmp eax, ebx
push ebx
lea edx, [ebp - 0x1264]
mov dword [ebp - 0x1260], ebx
mov dword [ebp - 0x1264], ebx
push edx
jne 0x100d17a
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0xc]
push 0x824
lea edx, [ebp - 0x125c]
push edx
push ebx
push eax
push ecx
call fcn.0101911c
mov edi, eax
cmp edi, ebx
jl 0x100d200
lea eax, [ebp - 0x125c]
lea ecx, [esi + 0x24]
push eax
call fcn.0100cbdc
mov edi, eax
cmp edi, ebx
jl 0x100d200
lea eax, [esi + 0x48]
push eax
push 0x10041c0
push 1
push ebx
push 0x10042c0
call dword [fcn.0100137c]
mov edi, eax
cmp edi, ebx
jl 0x100d200
mov edx, dword [esi + 0xc]
mov ecx, dword [esi + 0x48]
push ebx
lea eax, [esi + 0x44]
push eax
push edx
mov dword [eax], ebx
mov edi, dword [ecx]
push ecx
call dword [edi + 0x14]
mov edi, eax
cmp edi, ebx
jl 0x100d200
mov ecx, dword [esi + 0x24]
mov eax, dword [esi + 0x48]
push ebx
lea edi, [ebp - 0x1268]
push edi
push ecx
mov dword [ebp - 0x1268], ebx
mov edx, dword [eax]
push eax
call dword [edx + 0x14]
mov edi, eax
cmp edi, ebx
jl 0x100d200
mov edi, dword [esi + 0x44]
sub edi, dword [ebp - 0x1268]
neg edi
sbb edi, edi
and edi, 0x80004005
jl 0x100d200
mov eax, dword [esi + 0x24]
lea ecx, [esi + 4]
push ecx
push ebx
push 0x105
lea ecx, [ebp - 0x210]
push ecx
push eax
push ebx
call fcn.01019110
mov edi, eax
cmp edi, ebx
jl 0x100d200
lea eax, [ebp - 0x210]
lea ecx, [esi + 0x2c]
push eax
call fcn.0100cbdc
jmp 0x100d1ac
mov ecx, dword [esi + 0x1c]
push 0x105
lea edx, [ebp - 0x210]
push edx
push ebx
push ecx
push eax
call fcn.0101911c
mov edi, eax
cmp edi, ebx
jl 0x100d200
lea eax, [ebp - 0x210]
lea ecx, [esi + 0x2c]
push eax
call fcn.0100cbdc
mov edi, eax
cmp edi, ebx
jl 0x100d200
lea eax, [ebp - 0x1260]
push eax
push 0x1001d28
push 1
push ebx
push 0x1001d18
call dword [fcn.0100137c]
mov edi, eax
cmp edi, ebx
jl 0x100d200
mov eax, dword [ebp - 0x1260]
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0x28]
mov edi, eax
cmp edi, ebx
jl 0x100d200
mov eax, dword [esi + 0x2c]
mov ecx, dword [ebp - 0x1260]
mov edx, dword [ecx]
push eax
push ecx
call dword [edx + 0x50]
mov edi, eax
cmp edi, 0x80004005
jne 0x100d200
cmp dword [esi + 0x34], ebx
je 0x100d200
xor edi, edi
mov eax, dword [ebp - 0x1260]
cmp eax, ebx
je 0x100d216
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x1260], ebx
mov eax, dword [esi + 0x48]
cmp eax, ebx
je 0x100d226
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esi + 0x48], ebx
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0101645a
leave
ret
Function at 0x10102c1
Capabilities:
Create bits job

Disassembly:
push 0x3c
mov eax, 0x101a954
call fcn.01016476
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 4], 0x10017dc
lea edi, [esi + 0xc]
mov ecx, edi
mov dword [esi], 0x100206c
mov dword [esi + 4], 0x1002060
call fcn.01011acc
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 8]
push edi
push 0x1002364
push 0x17
mov dword [esi + 0x10], eax
mov eax, dword [ebp + 0xc]
push ebx
push 0x1002354
mov dword [esi + 0x14], eax
call dword [fcn.0100137c]
push 0x10022d0
lea ecx, [ebp - 0x48]
mov edi, eax
call fcn.0100be7f
mov byte [ebp - 4], 1
push 0x1002208
lea ecx, [ebp - 0x2c]
call fcn.0100be7f
mov byte [ebp - 4], 2
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x2c]
push eax
push edi
call fcn.0100fb33
mov byte [ebp - 4], 1
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.0100b304
mov byte [ebp - 4], bl
push ebx
push 1
lea ecx, [ebp - 0x48]
call fcn.0100b304
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.01016562
ret 8
Function at 0x101430b
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x820
mov eax, dword [0x102089c]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
cmp esi, edi
mov dword [ebp - 0x81c], edx
jbe 0x10144bc
lea eax, [esi + esi]
cmp eax, edi
mov ecx, edx
je 0x1014348
mov byte [ecx], 0
inc ecx
dec eax
jne 0x1014341
push edx
lea eax, [esi - 1]
push eax
call dword [0x10010b8]
cmp eax, edi
je 0x10144bc
cmp eax, esi
ja 0x10144bc
push 0x1000
call dword [0x10011dc]
test eax, eax
je 0x10144bc
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push ebx
lea eax, [ebp - 0x808]
push eax
push 0x20019
push edi
mov ebx, 0x1003ce8
mov dword [ebp - 0x810], edi
mov dword [ebp - 0x80c], edi
push ebx
mov edi, 0x80000002
push edi
call esi
test eax, eax
jne 0x10143f8
lea ecx, [ebp - 0x820]
push ecx
lea ecx, [ebp - 0x814]
push ecx
push eax
push eax
push 0x1003cc0
push dword [ebp - 0x808]
mov dword [ebp - 0x814], eax
mov dword [ebp - 0x820], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10143ec
cmp dword [ebp - 0x814], eax
sete al
mov dword [ebp - 0x810], eax
push dword [ebp - 0x808]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x808]
push eax
push 0x20019
push 0
push ebx
push edi
call esi
xor edi, edi
test eax, eax
pop ebx
jne 0x101447c
push 0x7fe
lea eax, [ebp - 0x802]
push edi
push eax
mov word [ebp - 0x804], di
call fcn.010165e0
add esp, 0xc
lea eax, [ebp - 0x818]
push eax
lea eax, [ebp - 0x804]
push eax
push edi
push edi
push 0x1003ca8
push dword [ebp - 0x808]
mov dword [ebp - 0x818], 0x400
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1014470
lea eax, [ebp - 0x804]
push eax
call dword [0x10012e8]
pop ecx
mov dword [ebp - 0x80c], eax
push dword [ebp - 0x808]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x810], edi
jne 0x10144bc
cmp dword [ebp - 0x80c], edi
jne 0x10144bc
mov ecx, dword [ebp - 0x81c]
mov eax, ecx
lea esi, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
cmp dx, di
jne 0x1014497
sub eax, esi
sar eax, 1
push 0x5c
push ecx
mov word [ecx + eax*2 - 2], di
call dword [0x10012ec]
inc eax
inc eax
pop ecx
pop ecx
je 0x10144bc
mov word [eax], di
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0101645a
leave
ret 8
Function at 0x1014949
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x102089c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
mov dword [ebp - 0x214], eax
call fcn.010148d0
test al, al
je 0x101497a
xor al, al
jmp 0x1014a03
and word [ebp - 0x20c], 0
push 0x206
lea eax, [ebp - 0x20a]
push 0
push eax
call fcn.010165e0
add esp, 0xc
cmp dword [esi + 0x38], 8
mov dword [ebp - 0x218], 0x208
jb 0x10149ad
mov eax, dword [esi + 0x24]
jmp 0x10149b0
lea eax, [esi + 0x24]
push edi
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0x20c]
push ecx
lea ecx, [ebp - 0x210]
push ecx
push 0
push eax
mov ecx, esi
call fcn.01014874
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
push edi
mov ecx, esi
call fcn.01014818
test edi, edi
pop edi
jne 0x1014973
cmp dword [ebp - 0x210], 1
jne 0x1014973
mov ecx, dword [ebp - 0x214]
lea eax, [ebp - 0x20c]
push eax
call fcn.0100bc9c
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0101645a
leave
ret 4

Function at 0x1014a17
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, ecx
call fcn.010148d0
test al, al
je 0x1014a2c
xor al, al
jmp 0x1014a7a
mov eax, dword [ebp + 8]
cmp dword [eax + 0x18], 8
mov edx, dword [eax + 0x14]
jb 0x1014a3d
mov eax, dword [eax + 4]
jmp 0x1014a40
add eax, 4
cmp dword [esi + 0x38], 8
jb 0x1014a4b
mov ecx, dword [esi + 0x24]
jmp 0x1014a4e
lea ecx, [esi + 0x24]
push edi
lea edx, [edx + edx + 2]
push edx
push eax
push 1
push 0
push ecx
mov ecx, esi
call fcn.01014874
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, eax
push edi
mov ecx, esi
call fcn.01014818
xor eax, eax
test edi, edi
sete al
pop edi
pop esi
pop ebp
ret 4

Function at 0x1017060
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
cmp word [ecx], 0x5a4d
je 0x1017073
xor eax, eax
pop ebp
ret
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x101706f
xor ecx, ecx
cmp word [eax + 0x18], 0x10b
sete cl
mov eax, ecx
pop ebp
ret

Function at 0x10170a0
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
push ebx
push esi
movzx esi, word [ecx + 6]
xor edx, edx
test esi, esi
push edi
lea eax, [eax + ecx + 0x18]
jbe 0x10170df
mov edi, dword [ebp + 0xc]
mov ecx, dword [eax + 0xc]
cmp edi, ecx
jb 0x10170d5
mov ebx, dword [eax + 8]
add ebx, ecx
cmp edi, ebx
jb 0x10170e1
add edx, 1
add eax, 0x28
cmp edx, esi
jb 0x10170c5
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x10193aa
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x102089c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor esi, esi
cmp word [0x1021250], si
jne 0x1019442
lea eax, [ebp - 0x10]
push eax
push 1
push esi
push 0x1004490
push 0x80000002
mov dword [ebp - 0x14], 6
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1019442
push edi
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
push esi
push esi
push 0x1004548
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x10]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp edi, esi
pop edi
jne 0x1019442
push 3
push dword [esi*8 + 0x10043b0]
lea eax, [ebp - 0xc]
push eax
call fcn.010165a4
add esp, 0xc
test eax, eax
je 0x1019434
inc esi
cmp esi, 0x1c
jb 0x1019413
jmp 0x1019442
mov ax, word [esi*8 + 0x10043b4]
mov word [0x1021250], ax
mov ecx, dword [ebp - 4]
mov ax, word [0x1021250]
xor ecx, ebp
pop esi
call fcn.0101645a
leave
ret

Function at 0x403117
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
lea eax, [eax + eax + 1]
test eax, eax
jle 0x403142
mov edx, eax
push esi
xor ecx, ecx
mov eax, dword [ebp + 8]
lea eax, [eax + ecx*2]
mov esi, 0x9234
xor word [eax], si
inc ecx
cmp ecx, 0x32
jl 0x40312a
dec edx
jne 0x403128
pop esi
pop ebp
ret
Function at 0x401040
Capabilities:
Set registry value

Disassembly:
sub esp, 8
cmp dword [eax + 0x18], 8
push esi
push edi
mov esi, ecx
jb 0x401052
mov eax, dword [eax + 4]
jmp 0x401055
add eax, 4
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0xc]
push edx
push 0
push 0x2001f
push 0
push 0x40db44
push 0
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x4010d4
mov edi, dword [esp + 8]
test edi, edi
je 0x4010d4
mov ecx, dword [esi + 0x14]
add ecx, ecx
cmp dword [esi + 0x18], 8
jb 0x401097
mov edx, dword [esi + 4]
jmp 0x40109a
lea edx, [esi + 4]
cmp dword [ebx + 0x18], 8
jb 0x4010a5
mov eax, dword [ebx + 4]
jmp 0x4010a8
lea eax, [ebx + 4]
push ecx
push edx
push 1
push 0
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
mov eax, dword [esp + 8]
test eax, eax
je 0x4010c7
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test esi, esi
pop edi
sete al
pop esi
add esp, 8
ret
pop edi
xor al, al
pop esi
add esp, 8
ret

Function at 0x402da6
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4101c0]
jne 0x402db0
repz ret
jmp fcn.004046f5
Function at 0x405287
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x4101d8]
je 0x4052a2
inc edi
cmp edi, 0x17
jb 0x405293
cmp edi, 0x17
jae 0x405422
push ebp
push 3
call fcn.00409439
cmp eax, 1
pop ecx
je 0x4053ee
push 3
call fcn.00409439
test eax, eax
pop ecx
jne 0x4052d6
cmp dword [0x41004c], 1
je 0x4053ee
cmp ebx, 0xfc
je 0x405421
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x411470
push ebp
call fcn.004047f9
add esp, 0xc
test eax, eax
je 0x40530c
push esi
push esi
push esi
push esi
push esi
call fcn.00402f6d
add esp, 0x14
push 0x104
mov esi, 0x411489
push esi
push 0
mov byte [0x41158d], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x405350
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.004047f9
add esp, 0xc
test eax, eax
je 0x405350
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.00402f6d
add esp, 0x14
push esi
call fcn.00403560
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x405395
push esi
call fcn.00403560
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x411784
push 0x40c83c
sub ecx, eax
push ecx
push eax
call fcn.00409386
add esp, 0x14
test eax, eax
je 0x405395
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.00402f6d
add esp, 0x14
jmp 0x405397
xor esi, esi
push 0x40c838
push ebx
push ebp
call fcn.00409315
add esp, 0xc
test eax, eax
je 0x4053b7
push esi
push esi
push esi
push esi
push esi
call fcn.00402f6d
add esp, 0x14
push dword [edi*8 + 0x4101dc]
push ebx
push ebp
call fcn.00409315
add esp, 0xc
test eax, eax
je 0x4053d9
push esi
push esi
push esi
push esi
push esi
call fcn.00402f6d
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.00409158
add esp, 0xc
jmp 0x405421
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x405421
cmp ebp, 0xffffffff
je 0x405421
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x4101dc]
push dword [esi]
call fcn.00403560
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x409158
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00404a3e
xor ebx, ebx
cmp dword [0x411aa4], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x40922e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x40930e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x40930e
push eax
call fcn.004049d0
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x411aa4], eax
call esi
push eax
call fcn.004049d0
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x411aa8], eax
call esi
push eax
call fcn.004049d0
mov dword [0x411aac], eax
lea eax, [ebp - 0xc]
push eax
call fcn.00405014
test eax, eax
pop ecx
pop ecx
je 0x4091fc
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00402f6d
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x40922e
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.004049d0
cmp eax, ebx
pop ecx
mov dword [0x411ab4], eax
je 0x40922e
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004049d0
pop ecx
mov dword [0x411ab0], eax
mov eax, dword [0x411ab0]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x4092b3
cmp dword [0x411ab4], ecx
je 0x4092b3
push eax
call fcn.00404a47
push dword [0x411ab4]
mov esi, eax
call fcn.00404a47
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x4092b3
cmp edi, ebx
je 0x4092b3
call esi
cmp eax, ebx
je 0x409280
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x409280
test byte [ebp - 0x18], 1
jne 0x4092b3
lea eax, [ebp - 0x10]
push eax
call fcn.0040504b
test eax, eax
pop ecx
je 0x40929b
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00402f6d
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x4092aa
or dword [ebp + 0x10], 0x200000
jmp 0x4092ee
or dword [ebp + 0x10], 0x40000
jmp 0x4092ee
mov eax, dword [0x411aa8]
cmp eax, dword [ebp - 8]
je 0x4092ee
push eax
call fcn.00404a47
cmp eax, ebx
pop ecx
je 0x4092ee
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x4092ee
mov eax, dword [0x411aac]
cmp eax, dword [ebp - 8]
je 0x4092ee
push eax
call fcn.00404a47
cmp eax, ebx
pop ecx
je 0x4092ee
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x411aa4]
call fcn.00404a47
cmp eax, ebx
pop ecx
je 0x40930e
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x409310
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x5d8530
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x11b000]
push edi
jmp 0x5d854a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x5d8551
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5d8540
mov eax, 1
add ebx, ebx
jne 0x5d8563
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x5d8574
jne 0x5d8593
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5d8593
dec eax
add ebx, ebx
jne 0x5d8580
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x5d8558
add ebx, ebx
jne 0x5d858f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x5d85e5
xor ecx, ecx
sub eax, 3
jb 0x5d85ab
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x5d861a
sar eax, 1
mov ebp, eax
jmp 0x5d85b6
add ebx, ebx
jne 0x5d85b6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5d8584
inc ecx
add ebx, ebx
jne 0x5d85c4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5d8584
add ebx, ebx
jne 0x5d85d1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x5d85c6
jne 0x5d85e2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x5d85c6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x5d8604
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x5d85f6
jmp 0x5d8546
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x5d8604
add edi, ecx
jmp 0x5d8546
pop esi
mov edi, esi
mov ecx, 0x6903
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x5d8622
cmp byte [edi], 0x13
jne 0x5d8622
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 0x5d8627
lea edi, [esi + 0x1d5000]
mov eax, dword [edi]
or eax, eax
je 0x5d869f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1db390]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1db4d0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x5d8654
mov ecx, edi
jns 0x5d8683
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 + 0x1db4d4]
or eax, eax
je 0x5d8699
mov dword [ebx], eax
add ebx, 4
jmp 0x5d8671
call dword [esi + 0x1db4e4]
mov ebp, dword [esi + 0x1db4d8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
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 0x5d86d3
sub esp, 0xffffff80
jmp 0x4ae83f
Function at 0x401000
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
add eax, 0x5c
push eax
call fcn.00403104
add esp, 4
mov ecx, dword [ebp + 8]
mov dword [ecx], 0x67452301
mov edx, dword [ebp + 8]
mov dword [edx + 4], 0xefcdab89
mov eax, dword [ebp + 8]
mov dword [eax + 8], 0x98badcfe
mov ecx, dword [ebp + 8]
mov dword [ecx + 0xc], 0x10325476
mov edx, dword [ebp + 8]
mov dword [edx + 0x10], 0xc3d2e1f0
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], 0
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x14], 0
pop ebp
ret
Function at 0x403161
Capabilities:
Authenticate hmac

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
cmp dword [ebp + 0xc], 0x40
jle 0x4031bc
lea eax, [ebp - 0x1a0]
push eax
call fcn.00401000
add esp, 4
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x1a0]
push eax
call fcn.00401059
add esp, 0xc
lea ecx, [ebp - 0x1a0]
push ecx
lea edx, [ebp - 0x13c]
push edx
call fcn.00402f4c
add esp, 8
lea eax, [ebp - 0x13c]
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], 0x14
lea ecx, [ebp - 0x128]
push ecx
call fcn.00401000
add esp, 4
mov dword [ebp - 0x140], 0
jmp 0x4031e6
mov edx, dword [ebp - 0x140]
add edx, 1
mov dword [ebp - 0x140], edx
mov eax, dword [ebp - 0x140]
cmp eax, dword [ebp + 0xc]
jge 0x40320d
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x140]
xor edx, edx
mov dl, byte [ecx]
xor edx, 0x36
mov eax, dword [ebp - 0x140]
mov byte [ebp + eax - 0x40], dl
jmp 0x4031d7
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x140], ecx
jmp 0x403227
mov edx, dword [ebp - 0x140]
add edx, 1
mov dword [ebp - 0x140], edx
cmp dword [ebp - 0x140], 0x40
jge 0x40323d
mov eax, dword [ebp - 0x140]
mov byte [ebp + eax - 0x40], 0x36
jmp 0x403218
push 0x40
lea ecx, [ebp - 0x40]
push ecx
lea edx, [ebp - 0x128]
push edx
call fcn.00401059
add esp, 0xc
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
lea edx, [ebp - 0x128]
push edx
call fcn.00401059
add esp, 0xc
lea eax, [ebp - 0x128]
push eax
lea ecx, [ebp - 0xc8]
push ecx
call fcn.00402f4c
add esp, 8
lea edx, [ebp - 0xb4]
push edx
call fcn.00401000
add esp, 4
mov dword [ebp - 0x140], 0
jmp 0x4032a9
mov eax, dword [ebp - 0x140]
add eax, 1
mov dword [ebp - 0x140], eax
mov ecx, dword [ebp - 0x140]
cmp ecx, dword [ebp + 0xc]
jge 0x4032d0
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0x140]
xor eax, eax
mov al, byte [edx]
xor eax, 0x5c
mov ecx, dword [ebp - 0x140]
mov byte [ebp + ecx - 0x40], al
jmp 0x40329a
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x140], edx
jmp 0x4032ea
mov eax, dword [ebp - 0x140]
add eax, 1
mov dword [ebp - 0x140], eax
cmp dword [ebp - 0x140], 0x40
jge 0x403300
mov ecx, dword [ebp - 0x140]
mov byte [ebp + ecx - 0x40], 0x5c
jmp 0x4032db
push 0x40
lea edx, [ebp - 0x40]
push edx
lea eax, [ebp - 0xb4]
push eax
call fcn.00401059
add esp, 0xc
push 0x14
lea ecx, [ebp - 0xc8]
push ecx
lea edx, [ebp - 0xb4]
push edx
call fcn.00401059
add esp, 0xc
lea eax, [ebp - 0xb4]
push eax
lea ecx, [ebp - 0x54]
push ecx
call fcn.00402f4c
add esp, 8
cmp dword [ebp + 0x1c], 0x14
jle 0x403352
mov dword [ebp - 0x1a4], 0x14
jmp 0x40335b
mov edx, dword [ebp + 0x1c]
mov dword [ebp - 0x1a4], edx
mov eax, dword [ebp - 0x1a4]
mov dword [ebp + 0x1c], eax
mov ecx, dword [ebp + 0x1c]
push ecx
mov edx, dword [ebp + 0x18]
push edx
lea eax, [ebp - 0x54]
push eax
call fcn.0040312d
add esp, 0xc
mov esp, ebp
pop ebp
ret
Function at 0x40337c
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
jne 0x40338c
mov eax, 1
jmp 0x4033f0
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], 0
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x18], 0
mov edx, dword [ebp + 8]
mov word [edx + 0x1c], 0
mov eax, dword [ebp + 8]
mov dword [eax], 0x67452301
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], 0xefcdab89
mov edx, dword [ebp + 8]
mov dword [edx + 8], 0x98badcfe
mov eax, dword [ebp + 8]
mov dword [eax + 0xc], 0x10325476
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x10], 0xc3d2e1f0
mov edx, dword [ebp + 8]
mov dword [edx + 0x60], 0
mov eax, dword [ebp + 8]
mov dword [eax + 0x64], 0
xor eax, eax
pop ebp
ret