joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4226b0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43e05a
mov eax, dword fs:[0]
push eax
sub esp, 0x298
mov eax, dword [0x456320]
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, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x2a4], esi
mov dword [ebp - 0x2a0], edi
lea eax, [ebp + 0xc]
push eax
lea edx, [ebp - 0x48]
push edx
mov dword [ebp - 4], 1
call fcn.00421f10
mov ebx, 8
cmp dword [eax + 0x14], ebx
jb 0x42270f
mov eax, dword [eax]
lea ecx, [ebp - 0x298]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x29c], eax
cmp dword [ebp - 0x34], ebx
jb 0x422734
mov edx, dword [ebp - 0x48]
push edx
call fcn.00428826
add esp, 4
mov ebx, 7
xor eax, eax
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], edi
mov word [ebp - 0x48], ax
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
lea edx, [ebp - 0x26c]
xor ecx, ecx
push edx
mov dword [ebp - 0x2a0], 1
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], edi
mov word [ebp - 0x2c], cx
call fcn.0042c483
add esp, 4
push eax
lea eax, [ebp - 0x26c]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0041d9b0
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.004225c0
cmp dword [ebp - 0x18], 8
mov byte [ebp - 4], 1
jb 0x4227a7
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00428826
add esp, 4
mov ecx, dword [ebp - 0x29c]
lea eax, [ebp - 0x298]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x422828
nop
lea eax, [ebp - 0x26c]
xor edx, edx
push eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], edi
mov word [ebp - 0x2c], dx
call fcn.0042c483
add esp, 4
push eax
lea ecx, [ebp - 0x26c]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.0041d9b0
lea edx, [ebp - 0x2c]
push edx
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.004225c0
cmp dword [ebp - 0x18], 8
mov byte [ebp - 4], 1
jb 0x422810
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00428826
add esp, 4
mov edx, dword [ebp - 0x29c]
lea ecx, [ebp - 0x298]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4227c0
cmp dword [ebp + 0x20], 0x10
jb 0x42283a
mov eax, dword [ebp + 0xc]
push eax
call fcn.00428826
add esp, 4
mov eax, esi
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.0042890a
mov esp, ebp
pop ebp
ret 0x20
Function at 0x424dc0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jne 0x424dce
xor eax, eax
pop ebp
ret
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
push esi
not eax
cmp edx, 8
jb 0x424ead
mov esi, edx
shr esi, 3
push edi
jmp 0x424df0
movzx edi, byte [ecx]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x445b18]
movzx edi, byte [ecx + 1]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x445b18]
movzx edi, byte [ecx + 2]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x445b18]
movzx edi, byte [ecx + 3]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x445b18]
movzx edi, byte [ecx + 4]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x445b18]
movzx edi, byte [ecx + 5]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x445b18]
movzx edi, byte [ecx + 6]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x445b18]
movzx edi, byte [ecx + 7]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x445b18]
add ecx, 8
sub edx, 8
dec esi
jne 0x424df0
pop edi
test edx, edx
je 0x424eca
movzx esi, byte [ecx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x445b18]
inc ecx
dec edx
jne 0x424eb1
not eax
pop esi
pop ebp
ret

Function at 0x424ed0
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
mov eax, dword [edx]
movsx ecx, byte [ebp + 0xc]
xor ecx, eax
shr eax, 8
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x445b18]
xor ecx, eax
movzx eax, cl
add eax, dword [edx + 4]
mov dword [edx], ecx
mov ecx, dword [edx + 8]
imul eax, eax, 0x8088405
inc eax
mov dword [edx + 4], eax
shr eax, 0x18
xor eax, ecx
and eax, 0xff
shr ecx, 8
xor ecx, dword [eax*4 + 0x445b18]
mov dword [edx + 8], ecx
pop ebp
ret
Function at 0x425460
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp byte [esi + 0x2d], 0
push edi
mov edi, dword [ebp + 0xc]
mov eax, ebx
je 0x42554b
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x425497
cmp dword [esi + 0x40], edi
jae 0x425497
push eax
call fcn.00428826
add esp, 4
mov dword [esi + 0x3c], 0
cmp dword [esi + 0x3c], 0
jne 0x4254af
lea eax, [edi + edi]
push eax
call fcn.00429591
add esp, 4
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], edi
mov ecx, dword [esi + 0x3c]
push edi
push ebx
push ecx
call fcn.00428b20
add esp, 0xc
xor ebx, ebx
test edi, edi
je 0x425548
mov edx, dword [esi + 0x3c]
mov cl, byte [ebx + edx]
mov edi, dword [esi + 0x30]
mov byte [ebp + 8], cl
movsx ecx, cl
xor ecx, edi
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x445b18]
mov dword [ebp - 4], ecx
mov eax, dword [esi + 0x38]
shr edi, 8
xor dword [ebp - 4], edi
mov ecx, dword [ebp - 4]
mov dword [esi + 0x30], ecx
movzx ecx, cl
add ecx, dword [esi + 0x34]
mov edx, eax
imul ecx, ecx, 0x8088405
inc ecx
mov dword [esi + 0x34], ecx
shr ecx, 0x18
xor ecx, eax
shr eax, 8
and ecx, 0xff
xor eax, dword [ecx*4 + 0x445b18]
and edx, 0xfffd
mov dword [esi + 0x38], eax
mov ecx, dword [esi + 0x3c]
or edx, 2
mov eax, edx
xor eax, 1
imul eax, edx
shr eax, 8
xor al, byte [ebp + 8]
inc ebx
mov byte [ebx + ecx - 1], al
cmp ebx, dword [ebp + 0xc]
jb 0x4254c7
mov edi, dword [ebp + 0xc]
mov eax, dword [esi + 0x3c]
mov edx, dword [esi + 0x20]
test edx, edx
je 0x42558a
mov ecx, dword [esi + 0x24]
lea ebx, [ecx + edi]
cmp ebx, dword [esi + 0x28]
jb 0x42556f
pop edi
mov dword [esi + 0x14], 0x30000
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8
push edi
push eax
add ecx, edx
push ecx
call fcn.00428b20
add esp, 0xc
add dword [esi + 0x24], edi
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x4255ac
push 0
lea edx, [ebp + 0xc]
push edx
push edi
push eax
push ecx
call dword [0x468b80]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
pop edi
mov dword [esi + 0x14], 0x1000000
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x426b40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
xor ebx, ebx
xor edi, edi
mov dword [esi + 0x6af80], 2
cmp dword [esi + 0x6af90], ebx
je 0x426d55
cmp dword [esi + 0x6af90], 3
jb 0x426bb7
mov ecx, dword [esi + 0x6af84]
movzx eax, byte [ecx + esi + 0x1af72]
mov edx, dword [esi + 0x6af7c]
shl edx, 5
xor eax, edx
and eax, 0x7fff
mov dword [esi + 0x6af7c], eax
mov ebx, dword [esi + eax*4 + 0x4af70]
and ecx, 0x7fff
mov dword [esi + ecx*4 + 0x2af70], ebx
mov eax, dword [esi + 0x6af7c]
mov ecx, dword [esi + 0x6af84]
mov dword [esi + eax*4 + 0x4af70], ecx
test ebx, ebx
je 0x426bf7
mov edx, dword [esi + 0x6af84]
sub edx, ebx
cmp edx, 0x7efa
ja 0x426bf7
mov eax, dword [esi + 0x6af90]
cmp dword [esi + 0x6afa0], eax
jbe 0x426bdf
mov dword [esi + 0x6afa0], eax
push ebx
push esi
call fcn.004242c0
mov edi, eax
mov eax, dword [esi + 0x6af90]
add esp, 8
cmp edi, eax
jbe 0x426bf7
mov edi, eax
mov ecx, dword [esi + 0x6af84]
cmp edi, 3
jb 0x426cd4
sub ecx, dword [esi + 0x6af88]
lea eax, [edi - 3]
push eax
push ecx
push esi
call fcn.00423d90
sub dword [esi + 0x6af90], edi
add esp, 0xc
mov dword [ebp + 8], eax
mov eax, dword [esi + 0x6af90]
cmp edi, dword [esi + 0x6af98]
ja 0x426c9e
cmp eax, 3
jb 0x426c9e
mov eax, 1
sub edi, eax
lea ecx, [ecx]
add dword [esi + 0x6af84], eax
mov edx, dword [esi + 0x6af84]
movzx ecx, byte [esi + edx + 0x1af72]
mov ebx, dword [esi + 0x6af7c]
shl ebx, 5
xor ecx, ebx
and ecx, 0x7fff
mov dword [esi + 0x6af7c], ecx
mov ebx, dword [esi + ecx*4 + 0x4af70]
and edx, 0x7fff
sub edi, eax
mov dword [esi + edx*4 + 0x2af70], ebx
mov edx, dword [esi + 0x6af7c]
mov ecx, dword [esi + 0x6af84]
mov dword [esi + edx*4 + 0x4af70], ecx
jne 0x426c40
add dword [esi + 0x6af84], eax
jmp 0x426cf7
add dword [esi + 0x6af84], edi
mov edx, dword [esi + 0x6af84]
movzx ecx, byte [edx + esi + 0x1af70]
mov dword [esi + 0x6af7c], ecx
movzx eax, byte [edx + esi + 0x1af71]
shl ecx, 5
xor eax, ecx
xor edi, edi
and eax, 0x7fff
mov dword [esi + 0x6af7c], eax
jmp 0x426cf7
movzx edx, byte [ecx + esi + 0x1af70]
push edx
push 0
push esi
call fcn.00423d90
dec dword [esi + 0x6af90]
add esp, 0xc
inc dword [esi + 0x6af84]
mov dword [ebp + 8], eax
cmp dword [ebp + 8], 0
je 0x426d33
mov eax, dword [esi + 0x6af74]
test eax, eax
js 0x426d10
lea ecx, [eax + esi + 0x1af70]
jmp 0x426d12
xor ecx, ecx
mov edx, dword [esi + 0x6af84]
push 0
sub edx, eax
push edx
push ecx
push esi
call fcn.004269b0
mov eax, dword [esi + 0x6af84]
add esp, 0x10
mov dword [esi + 0x6af74], eax
cmp dword [esi + 0x6af90], 0x106
jae 0x426d48
push esi
call fcn.00424420
add esp, 4
cmp dword [esi + 0x6af90], 0
jne 0x426b63
mov eax, dword [esi + 0x6af74]
test eax, eax
js 0x426d68
lea ecx, [eax + esi + 0x1af70]
jmp 0x426d6a
xor ecx, ecx
mov edx, dword [esi + 0x6af84]
push 1
sub edx, eax
push edx
push ecx
push esi
call fcn.004269b0
add esp, 0x10
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x42890a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x456320]
jne 0x428914
repz ret
jmp fcn.0042f1d8

Function at 0x43775c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x456320]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.004308a4
and dword [ebp - 0x14], 0
cmp dword [0x469d30], 0
mov dword [ebp - 0x18], eax
jne 0x43780f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4378b7
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x4378b7
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x469d30], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x469d34], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x469d38], eax
call edi
push eax
call esi
mov dword [0x469d40], eax
test eax, eax
je 0x43780f
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x469d3c], eax
mov eax, dword [0x469d3c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x437868
cmp dword [0x469d40], ecx
je 0x437868
push eax
call esi
push dword [0x469d40]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x437868
test ebx, ebx
je 0x437868
call edi
test eax, eax
je 0x43785f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x43785f
test byte [ebp - 8], 1
jne 0x437868
or dword [ebp + 0x10], 0x200000
jmp 0x43789b
mov eax, dword [0x469d34]
cmp eax, dword [ebp - 0x18]
je 0x43789b
push eax
call esi
test eax, eax
je 0x43789b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x43789b
mov eax, dword [0x469d38]
cmp eax, dword [ebp - 0x18]
je 0x43789b
push eax
call esi
test eax, eax
je 0x43789b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x469d30]
call esi
test eax, eax
je 0x4378b7
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4378b9
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042890a
leave
ret
Function at 0x4078cd
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebx
push ebp
push esi
xor esi, esi
push edi
mov edi, ecx
mov eax, esi
movd xmm0, eax
pshufd xmm0, xmm0, 0
paddd xmm0, xmmword [0x1cd290]
movups xmmword [edi + eax*4], xmm0
add eax, 4
cmp eax, 0x100
jl 0x4078d7
mov ebp, dword [esp + 0x14]
mov ebx, esi
xor edx, edx
mov eax, ebx
div dword [esp + 0x18]
movzx eax, byte [edx + ebp]
add eax, dword [edi + ebx*4]
add esi, eax
and esi, 0x800000ff
jns 0x40791d
dec esi
or esi, 0xffffff00
inc esi
mov cl, byte [edi + ebx*4]
mov eax, dword [edi + esi*4]
mov dword [edi + ebx*4], eax
inc ebx
movzx eax, cl
mov dword [edi + esi*4], eax
cmp ebx, 0x100
jl 0x4078fc
pop edi
pop esi
pop ebp
pop ebx
ret 8

Function at 0x40793c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x400
lea eax, [esp]
push ebx
push esi
push edi
push 0x400
push ecx
xor esi, esi
push eax
mov edi, esi
call fcn.00437510
mov edx, dword [esp + 0x420]
add esp, 0xc
mov ebx, esi
add edx, 1
je 0x4079cc
push ebp
mov ebp, dword [esp + 0x414]
inc esi
and esi, 0x800000ff
jns 0x407982
dec esi
or esi, 0xffffff00
inc esi
mov eax, dword [esp + esi*4 + 0x10]
add edi, eax
and edi, 0x800000ff
jns 0x407998
dec edi
or edi, 0xffffff00
inc edi
mov cl, al
mov eax, dword [esp + edi*4 + 0x10]
mov dword [esp + esi*4 + 0x10], eax
movzx eax, cl
mov dword [esp + edi*4 + 0x10], eax
mov ecx, dword [esp + esi*4 + 0x10]
add ecx, eax
and ecx, 0x800000ff
jns 0x4079bf
dec ecx
or ecx, 0xffffff00
inc ecx
mov al, byte [esp + ecx*4 + 0x10]
xor byte [ebx + ebp], al
inc ebx
cmp ebx, edx
jb 0x407971
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x400
ret 8
Function at 0x4114b5
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x30
push ebx
push ebp
push esi
push edi
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x38], ebx
je 0x4115ec
cmp byte [edi + 0x3d], bl
je 0x4115ec
call fcn.00403a9d
mov esi, eax
mov ecx, edi
mov eax, dword [edi]
push esi
call dword [eax + 0xc]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], esi
push eax
call fcn.0040eafd
pop ecx
pop ecx
test al, al
je 0x41150b
xor al, al
jmp 0x4115ee
push ebx
push 8
lea ecx, [esp + 0x30]
call fcn.00405e0c
lea ebp, [edi + 0x40]
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x30]
call fcn.004030bc
mov ecx, eax
call fcn.00403f9b
lea ecx, [esp + 0x2c]
mov esi, eax
call fcn.0040307c
add esi, eax
lea ecx, [esp + 0x2c]
push esi
lea eax, [esp + 0x1c]
push eax
call fcn.004030bc
mov ecx, eax
call fcn.00403f9b
mov ecx, dword [edi + 0x38]
push eax
push ebp
call fcn.0040ee81
sub eax, ebx
je 0x411573
sub eax, 1
je 0x411576
dec eax
sub eax, 1
jne 0x4115df
inc eax
jmp 0x4115dd
mov byte [edi + 0x3d], bl
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x2c]
call fcn.004030bc
mov ecx, eax
call fcn.00403f9b
mov esi, dword [esp + 0x1c]
sub esi, eax
je 0x4115bb
push dword [edi + 0x4c]
lea eax, [esp + 0x28]
push esi
push 1
push eax
lea ecx, [esp + 0x38]
call fcn.004030bc
mov ecx, eax
call fcn.00403f9b
push eax
call fcn.0044110c
add esp, 0x10
cmp esi, eax
jne 0x4115db
cmp byte [edi + 0x3d], bl
je 0x4115d9
test esi, esi
jne 0x41151a
push ebx
push 8
lea ecx, [esp + 0x30]
call fcn.00403651
jmp 0x41151a
mov bl, 1
mov al, bl
mov bl, al
lea ecx, [esp + 0x28]
call fcn.00402bd8
mov al, bl
jmp 0x4115ee
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41254f
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x28
push ebx
mov ebx, ecx
push ebp
push esi
push edi
mov esi, dword [ebx]
mov edx, dword [ebx + 0x3c]
movzx ebp, word [esi + 0x14]
add ebp, esi
mov eax, dword [ebp + 0x20]
mov ecx, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x24], eax
call fcn.00412386
lea edx, [ebp + 0x18]
mov dword [esp + 0x28], eax
mov ecx, ebx
call fcn.00412493
mov ebx, dword [ebp + 0x3c]
mov edi, eax
and dword [esp + 0x34], 0
xor eax, eax
inc eax
mov dword [esp + 0x2c], edi
add ebp, 0x40
mov dword [esp + 0x30], ebx
cmp ax, word [esi + 6]
mov esi, ecx
mov dword [esp + 0x20], eax
jae 0x412661
mov eax, dword [ebp + 8]
mov ecx, eax
mov edx, dword [esi + 0x3c]
mov dword [esp + 0x1c], eax
call fcn.00412386
mov edx, ebp
mov dword [esp + 0x14], eax
mov ecx, esi
call fcn.00412493
mov edx, dword [esp + 0x10]
mov ecx, eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x18], ecx
cmp dword [esp + 0x28], eax
je 0x412618
lea ecx, [edi + edx]
cmp ecx, eax
ja 0x412614
lea edx, [esp + 0x24]
mov ecx, esi
call fcn.004124b2
test eax, eax
je 0x41267e
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov ebx, dword [ebp + 0x24]
mov dword [esp + 0x10], edx
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], eax
jmp 0x41263c
mov ecx, dword [esp + 0x18]
mov eax, dword [ebp + 0x24]
mov edi, 0x2000000
test edi, eax
je 0x41262c
test edi, ebx
je 0x41262c
or ebx, eax
jmp 0x412634
or ebx, eax
and ebx, 0xfdffffff
mov edi, ecx
sub edi, edx
add edi, dword [esp + 0x1c]
mov eax, dword [esi]
add ebp, 0x28
mov ecx, dword [esp + 0x20]
inc ecx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], edi
movzx eax, word [eax + 6]
mov dword [esp + 0x20], ecx
cmp ecx, eax
jl 0x4125ab
xor eax, eax
inc eax
lea edx, [esp + 0x24]
mov dword [esp + 0x34], eax
mov ecx, esi
call fcn.004124b2
neg eax
sbb eax, eax
neg eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
xor eax, eax
jmp 0x412676
Function at 0x422c23
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [ecx + 4]
xor eax, eax
xor edx, edx
movzx ecx, word [esi]
cmp ax, cx
jae 0x422c4e
movzx eax, dx
mov al, byte [eax + esi + 4]
cmp al, 0x13
je 0x422c4e
cmp al, 0xc0
je 0x422c4e
cmp al, 0xcc
je 0x422c4e
add edx, 2
cmp dx, cx
jb 0x422c33
pop esi
ret

Function at 0x4256fd
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
mov edi, edx
mov edx, dword [esp + 0x10]
lea esi, [edi + 4]
push esi
call fcn.0042569a
mov edx, dword [esp + 0x10]
pop ecx
push 4
sub edx, edi
pop ecx
mov al, byte [edx + edi]
mov byte [edi], al
inc edi
sub ecx, 1
jne 0x425718
push 8
pop ecx
mov al, byte [esi + edx]
xor byte [esi], al
inc esi
sub ecx, 1
jne 0x425726
pop edi
pop esi
ret

Function at 0x427981
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
je 0x427999
sub edx, ecx
mov eax, dword [edx + ecx]
xor dword [ecx], eax
lea ecx, [ecx + 4]
sub esi, 1
jne 0x42798c
pop esi
ret

Function at 0x42799b
Capabilities:
Encode data using xor

Disassembly:
mov eax, ecx
or eax, edx
push esi
mov esi, dword [esp + 8]
or eax, esi
test al, 3
jne 0x4279b6
shr esi, 2
push esi
call fcn.00427981
pop ecx
pop esi
ret
test esi, esi
je 0x4279c7
sub edx, ecx
mov al, byte [edx + ecx]
xor byte [ecx], al
inc ecx
sub esi, 1
jne 0x4279bc
pop esi
ret

Function at 0x4279c9
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, dword [esp + 0x10]
xor eax, eax
mov esi, edx
mov ebx, ecx
test edi, edi
jle 0x4279ed
sub ebx, esi
movzx edx, byte [ebx + esi]
movzx ecx, byte [esi]
xor edx, ecx
or eax, edx
inc esi
sub edi, 1
jne 0x4279dc
pop edi
pop esi
pop ebx
ret
Function at 0x42fd5e
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, ecx
test edi, edi
je 0x42fe58
cmp dword [esp + 0x14], 0
mov esi, dword [esp + 0x18]
jne 0x42fd7f
test esi, esi
jne 0x42fe58
cmp edx, 3
je 0x42fdb5
cmp edx, 4
je 0x42fdb5
cmp edx, 5
je 0x42fdb5
cmp edx, 6
je 0x42fdb5
cmp edx, 7
je 0x42fdb5
cmp edx, 8
je 0x42fdb5
cmp edx, 0xa
je 0x42fdb5
cmp edx, 0xb
je 0x42fdb5
cmp edx, 0xc
je 0x42fdb5
cmp edx, 0xd
jne 0x42fe58
xor ebx, ebx
mov byte [edi + 0x114], dl
push ecx
mov byte [edi + 0x115], bl
call fcn.0042fd41
mov ebp, eax
pop ecx
test ebp, ebp
jne 0x42fe5d
cmp byte [edi + 0x114], 6
lea ecx, [edi + 0x70]
jne 0x42fe58
cmp esi, 0x40
ja 0x42fdfb
cmp dword [esp + 0x14], ebx
je 0x42fe24
push esi
push dword [esp + 0x18]
push ecx
call fcn.00437510
add esp, 0xc
jmp 0x42fe21
mov edx, dword [esp + 0x14]
mov ecx, edi
push esi
call fcn.00434c40
mov ebp, eax
pop ecx
test ebp, ebp
jne 0x42fe54
lea edx, [edi + 0x70]
mov ecx, edi
call fcn.00434d1b
mov ebp, eax
test ebp, ebp
jne 0x42fe54
push 0x20
pop esi
lea ecx, [edi + 0x70]
cmp esi, 0x40
jae 0x42fe3c
push 0x40
pop eax
sub eax, esi
push eax
lea eax, [ecx + esi]
push ebx
push eax
call fcn.00437a90
add esp, 0xc
mov al, byte [ebx + edi + 0x70]
xor al, 0x5c
mov byte [edi + ebx + 0xb0], al
xor byte [ebx + edi + 0x70], 0x36
inc ebx
cmp ebx, 0x40
jb 0x42fe3c
mov eax, ebp
jmp 0x42fe5d
mov eax, 0xffffff53
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x433cdc
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xd4
push ebx
push ebp
push esi
xor ebx, ebx
xor esi, esi
push edi
inc ebx
inc esi
cmp dword [esp + 0xe8], 0
mov edi, ecx
push 0
cmovne ebx, dword [esp + 0xec]
mov ebp, edx
pop ecx
test bl, 0x1f
mov eax, ebx
push 0x37
push dword [esp + 0xf0]
setne cl
shr eax, 5
add eax, ecx
mov dword [esp + 0x18], eax
lea eax, [esp + 0x44]
push eax
call fcn.00437510
and dword [esp + 0x20], 0
add esp, 0xc
cmp dword [esp + 0x10], 0
jbe 0x433e1a
lea ecx, [esp + 0x74]
call fcn.00434d5a
mov esi, eax
test esi, esi
jne 0x433e1a
push 0x37
lea edx, [esp + 0x40]
lea ecx, [esp + 0x78]
call fcn.00434c40
mov esi, eax
pop ecx
test esi, esi
jne 0x433e1a
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x74]
call fcn.00434d1b
mov esi, eax
test esi, esi
jne 0x433e1a
push 4
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
call fcn.00437510
mov eax, dword [esp + 0x24]
add esp, 0xc
cmp dword [edi], 1
jbe 0x433dc5
cmp eax, dword [edi + 4]
jne 0x433dc5
cmp byte [edi + 0x76], 1
je 0x433e38
mov edx, dword [esp + 0x10]
mov byte [edi + 0x76], 1
lea eax, [edx - 1]
cmp dword [esp + 0x14], eax
lea ecx, [edx + 1]
cmovne ecx, edx
mov dword [esp + 0x10], ecx
jmp 0x433dcc
mov byte [edi + 0x76], 0
mov dword [edi + 4], eax
test ebp, ebp
je 0x433e07
test ebx, ebx
je 0x433e07
lea eax, [esp + 0x1c]
cmp ebx, 0x20
jb 0x433dfa
push 0x20
push eax
push ebp
call fcn.00437510
add esp, 0xc
lea ecx, [esp + 0x3c]
sub ebx, 0x20
add ebp, 0x20
call fcn.00433ccd
jmp 0x433e07
push ebx
push eax
push ebp
call fcn.00437510
add esp, 0xc
xor ebx, ebx
mov eax, dword [esp + 0x14]
inc eax
mov dword [esp + 0x14], eax
cmp eax, dword [esp + 0x10]
jl 0x433d3a
push 0x37
pop edx
lea ecx, [esp + 0x3c]
call fcn.0041e28e
xor eax, eax
test esi, esi
setne al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xd4
ret
push 3
pop eax
jmp 0x433e2d

Function at 0x434534
Capabilities:
Hash data using sha256

Disassembly:
push esi
mov esi, ecx
test esi, esi
jne 0x4344e0
mov eax, 0xffffff53
pop esi
ret
push edi
push 0x20
xor edi, edi
push edi
push esi
call fcn.00437a90
add esp, 0xc
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], edi
xor eax, eax
mov dword [esi + 0x68], edi
mov dword [esi], 0x6a09e667
pop edi
mov dword [esi + 4], 0xbb67ae85
mov dword [esi + 8], 0x3c6ef372
mov dword [esi + 0xc], 0xa54ff53a
mov dword [esi + 0x10], 0x510e527f
mov dword [esi + 0x14], 0x9b05688c
mov dword [esi + 0x18], 0x1f83d9ab
mov dword [esi + 0x1c], 0x5be0cd19
pop esi
ret
test ecx, ecx
jne 0x43453e
mov eax, 0xffffff53
ret
mov dword [ecx + 0x6c], edx
jmp 0x4344d2