joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100053d0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
push ecx
call fcn.10004c80
add esp, 4
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
lea ecx, [ebp - 4]
push eax
call fcn.10005440
mov dword [ebp - 0x14], 4
mov esi, dword [eax]
lea eax, [ebp - 0x10]
push eax
push 0x40
push 4
push esi
mov dword [ebp - 0x18], esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
setne byte [ebp - 0xc]
mov esi, dword [esi]
test eax, eax
je 0x1000542d
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 4]
push eax
push ecx
push dword [ebp - 0x14]
mov dword [ebp - 4], ecx
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x100054c0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
movzx eax, cl
xor edx, edx
shl eax, 2
mov dword [ebp - 0x14], edx
push esi
mov esi, dword [ebp + 8]
test eax, eax
jne 0x100054dd
xor al, al
jmp 0x100054f9
lea ecx, [ebp - 0xc]
mov dword [ebp - 0x10], eax
push ecx
push 0x40
push eax
push esi
mov dword [ebp - 0x14], esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edx, dword [ebp - 0x14]
test eax, eax
setne al
mov byte [ebp - 8], al
mov esi, dword [esi]
test al, al
je 0x10005517
mov ecx, dword [ebp - 0xc]
lea eax, [ebp - 4]
push eax
push ecx
push dword [ebp - 0x10]
mov dword [ebp - 4], ecx
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10005520
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
movzx eax, byte [ebp + 0xc]
xor edx, edx
mov dword [ebp - 0x10], edx
push ebx
push esi
mov esi, dword [ebp + 8]
test eax, eax
jne 0x1000553c
xor al, al
jmp 0x10005558
lea ecx, [ebp - 8]
mov dword [ebp - 0xc], eax
push ecx
push 0x40
push eax
push esi
mov dword [ebp - 0x10], esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edx, dword [ebp - 0x10]
test eax, eax
setne al
mov byte [ebp - 4], al
mov bl, byte [esi]
test al, al
je 0x10005576
mov ecx, dword [ebp - 8]
lea eax, [ebp + 0xc]
push eax
push ecx
push dword [ebp - 0xc]
mov dword [ebp + 0xc], ecx
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100065b0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
call fcn.1000bf80
call fcn.100059d0
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 8]
push eax
push 0x40
push 8
push 0x4dde6f
call esi
mov eax, 0x4dde6f
mov dword [eax], 0x90909090
mov dword [eax + 4], 0x90909090
lea eax, [ebp - 4]
push eax
push dword [ebp - 8]
push 8
push 0x4dde6f
call esi
lea eax, [ebp - 0x10]
push eax
push 0x40
push 0x18
push 0x86a470
call esi
push 0xc
push str.pagerA
push 0x86a470
call fcn.1000fc40
push 0xc
push str.pager
push 0x86a47c
call fcn.1000fc40
push 0x10
push str.barOutlineA
push 0x86a488
call fcn.1000fc40
push 0x10
push str.barOutline
push 0x86a498
call fcn.1000fc40
add esp, 0x30
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x10]
push 0x18
push 0x86a470
call esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10011e08
Capabilities:
Parse pe header

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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x10015ee4
push ebx
push esi
call fcn.10015e10
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.10015da4
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x10015e91
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x10015ee3
push edi
push eax
call fcn.100132a1
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x10015eb1
call fcn.10013267
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x10015ee2
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.10015da4
add esp, 0x20
test eax, eax
jne 0x10015ed0
push edi
call fcn.10013267
jmp 0x10015ed8
push ebx
call fcn.10013267
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x10016151
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100225d0
push 0x100225c8
push str.FlsAlloc
push 0x1f
call fcn.1001606d
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10016185
push dword [ebp + 8]
mov ecx, esi
call dword [0x10020130]
call esi
jmp 0x1001618b
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x100161cf
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100225e0
push 0x100225d8
push str.FlsGetValue
push 0x21
call fcn.1001606d
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10016206
push dword [ebp + 8]
mov ecx, esi
call dword [0x10020130]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x1001620e
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100225e8
push 0x100225e0
push str.FlsSetValue
push 0x22
call fcn.1001606d
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10016248
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x10020130]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x846058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x8461a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x84607e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x84606a
add dl, dl
jne 0x846089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x8460dc
xor eax, eax
add dl, dl
jne 0x846096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x84617d
add dl, dl
jne 0x8460a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8460b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8460bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8460c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x8460d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x846075
mov eax, 1
add dl, dl
jne 0x8460ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8460f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x8460e1
sub eax, ebx
mov ebx, 1
jne 0x846128
mov ecx, 1
add dl, dl
jne 0x84610e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x846119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x846105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x846075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x84613f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x84614a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x846136
cmp eax, 0x7d00
jae 0x84616d
cmp eax, 0x500
jb 0x846168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x846075
cmp eax, 0x7f
ja 0x846170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x846075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x84619e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x846075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x414dce
Capabilities:
Encode data using xor

Disassembly:
xor dword [ecx], ebx
add esi, esi
dec edx
add ecx, 4
mov edi, 0xa5b2eca1
sub edi, edi
cmp ecx, eax
jne fcn.00414dce
mov esi, 0x80a5318c
or edx, edi
sub esp, 4
mov dword [esp], 0xdd588c7d
mov esi, dword [esp]
add esp, 4
ret
Function at 0x142baa0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x214
mov eax, dword [0x13e3c20]
xor eax, esp
mov dword [esp + 0x210], eax
push edi
push 0x206
xor edi, edi
lea ecx, [esp + 0x12]
xor eax, eax
push edi
push ecx
mov word [esp + 0x18], ax
call fcn.01440b10
add esp, 0xc
mov dword [esp + 4], edi
cmp esi, edi
je 0x142bb6f
mov eax, 0x13deae0
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x142bae5
sub eax, edx
sar eax, 1
je 0x142bb6f
lea edx, [esp + 0xc]
push edx
push 0x104
call dword [fcn.013d9234]
push 0x13deae0
lea eax, [esp + 0x10]
push 0x104
push eax
call fcn.0143e73a
push 0x13deb14
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x18]
push edx
call fcn.0143ec8b
mov eax, dword [esp + 0x1c]
add esp, 0x18
cmp eax, edi
je 0x142bb6f
push eax
push 1
push 0x200
push esi
call fcn.0143ef7e
mov eax, dword [esp + 0x14]
push eax
call fcn.0143f012
add esp, 0x14
mov eax, 1
pop edi
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.0143e72b
add esp, 0x214
ret
mov ecx, dword [esp + 0x214]
mov eax, edi
pop edi
xor ecx, esp
call fcn.0143e72b
add esp, 0x214
ret

Function at 0x142bb90
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x214
mov eax, dword [0x13e3c20]
xor eax, esp
mov dword [esp + 0x210], eax
push edi
push 0x206
xor edi, edi
lea ecx, [esp + 0x12]
xor eax, eax
push edi
push ecx
mov word [esp + 0x18], ax
call fcn.01440b10
add esp, 0xc
mov dword [esp + 4], edi
cmp esi, edi
je 0x142bc95
mov eax, 0x13deafc
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x142bbd5
sub eax, edx
sar eax, 1
je 0x142bc95
cmp dword [0x13e4fbc], 3
jne 0x142bc1c
push 0x104
lea edx, [esp + 0x10]
push edx
call dword [fcn.013d9214]
push 0x13deb1c
lea eax, [esp + 0x10]
push 0x104
push eax
call fcn.0143e73a
add esp, 0xc
jmp 0x142bc2c
lea ecx, [esp + 0xc]
push ecx
push 0x104
call dword [fcn.013d9234]
push 0x13deafc
lea edx, [esp + 0x10]
push 0x104
push edx
call fcn.0143e73a
push 0x13deb20
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.0143ec8b
mov eax, dword [esp + 0x1c]
add esp, 0x18
cmp eax, edi
je 0x142bc95
push eax
push 1
push 0x200
push esi
call fcn.0143ef7e
mov edx, dword [esp + 0x14]
push edx
call fcn.0143f012
add esp, 0x14
mov eax, 1
pop edi
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.0143e72b
add esp, 0x214
ret
mov ecx, dword [esp + 0x214]
mov eax, edi
pop edi
xor ecx, esp
call fcn.0143e72b
add esp, 0x214
ret
Function at 0x142c390
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x70
or eax, 0xffffffff
push ebx
mov ebx, 1
push ebp
push esi
mov dword [esp + 0x14], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x74], eax
push edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x78], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x18], ebx
call fcn.0143e838
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fmul qword [0x13def60]
fadd qword [0x13def78]
call fcn.01442830
mov ebp, eax
xor esi, esi
xor edi, edi
test ebp, ebp
jle 0x142c4b0
call fcn.0143e838
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fmul qword [0x13def60]
fmul qword [0x13def70]
fadd qword [0x13def68]
call fcn.01442830
mov ecx, eax
mov eax, dword [esp + ecx*4 + 0x18]
add eax, esi
cdq
xor eax, edx
sub eax, edx
cmp eax, ebx
jle 0x142c498
lea esp, [esp]
add ecx, ebx
cmp ecx, 0x1a
jne 0x142c489
xor ecx, ecx
mov eax, dword [esp + ecx*4 + 0x18]
add eax, esi
cdq
xor eax, edx
sub eax, edx
cmp eax, ebx
jg 0x142c480
add esi, dword [esp + ecx*4 + 0x18]
mov eax, dword [esp + 0x84]
add ecx, 0x61
mov word [eax + edi*2], cx
add edi, ebx
cmp edi, ebp
jl 0x142c447
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret

Function at 0x142c550
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x214
mov eax, dword [0x13e3c20]
xor eax, esp
mov dword [esp + 0x210], eax
push esi
push 0x206
xor esi, esi
lea ecx, [esp + 0x12]
xor eax, eax
push esi
push ecx
mov word [esp + 0x18], ax
call fcn.01440b10
add esp, 0xc
cmp edi, esi
je 0x142c638
mov eax, 0x13debb4
mov dword [esp + 4], esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x142c595
sub eax, edx
sar eax, 1
je 0x142c5bf
push 0x13debb8
lea edx, [esp + 8]
push 0x13debb4
push edx
call fcn.0143ec8b
add esp, 0xc
jmp 0x142c5fa
lea eax, [esp + 0xc]
push eax
push 0x104
call dword [fcn.013d9234]
push 0x13debc0
lea ecx, [esp + 0x10]
push 0x104
push ecx
call fcn.0143e73a
push 0x13debdc
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x18]
push eax
call fcn.0143ec8b
add esp, 0x18
mov eax, dword [esp + 4]
cmp eax, esi
je 0x142c61d
push eax
push 1
push 0x200
push edi
call fcn.0143f251
mov ecx, dword [esp + 0x14]
push ecx
call fcn.0143f012
add esp, 0x14
mov eax, 1
pop esi
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.0143e72b
add esp, 0x214
ret
mov ecx, dword [esp + 0x214]
mov eax, esi
pop esi
xor ecx, esp
call fcn.0143e72b
add esp, 0x214
ret
Function at 0x142c650
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ecx
push 0x13debe4
push eax
lea ecx, [esp + 8]
push ecx
mov dword [esp + 0xc], 0
call fcn.0143ec8b
add esp, 0xc
test eax, eax
je 0x142c674
xor eax, eax
pop ecx
ret
mov edx, dword [esp]
push ebx
push ebp
push esi
push edi
push 2
push 0
push edx
call fcn.0143f35d
mov eax, dword [esp + 0x1c]
push eax
call fcn.0143f57f
mov ecx, dword [esp + 0x20]
push 0
push 0
push ecx
mov esi, eax
call fcn.0143f35d
lea ebp, [esi + 0x32]
push ebp
call fcn.0143f63c
mov edx, dword [esp + 0x30]
push edx
push 1
mov edi, eax
push esi
push edi
call fcn.0143ef7e
mov eax, dword [esp + 0x40]
push eax
call fcn.0143f012
lea ebx, [edi + esi]
mov eax, 0x32
call fcn.0142c720
mov ecx, dword [esp + 0x4c]
push 0x13debec
push ecx
lea edx, [esp + 0x4c]
push edx
call fcn.0143ec8b
add esp, 0x40
test eax, eax
je 0x142c6f2
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
mov eax, dword [esp + 0x10]
push eax
push 1
push ebp
push edi
call fcn.0143f251
mov ecx, dword [esp + 0x20]
push ecx
call fcn.0143f012
add esp, 0x14
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
pop ecx
ret

Function at 0x142e340
Capabilities:
Write file on windows

Disassembly:
mov eax, 0x100c
call fcn.01442fc0
mov eax, dword [0x13e3c20]
xor eax, esp
mov dword [esp + 0x1008], eax
mov edx, dword [edi]
mov eax, dword [esp + 0x1010]
push ebx
push ebp
mov ebp, dword [0x13d93f4]
xor ebx, ebx
push ebx
push 4
lea ecx, [esp + 0x10]
push ecx
push edx
mov dword [esp + 0x1c], eax
call ebp
cmp eax, 4
je 0x142e398
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x1008]
xor ecx, esp
call fcn.0143e72b
add esp, 0x100c
ret
cmp dword [esp + 8], ebx
jbe 0x142e3d7
push esi
nop
mov ecx, dword [edi]
push 0
push 0x1000
lea eax, [esp + 0x1c]
push eax
push ecx
call ebp
mov esi, eax
test esi, esi
je 0x142e3d6
mov edx, dword [esp + 0x10]
mov eax, dword [edx]
push eax
push esi
lea ecx, [esp + 0x1c]
push 1
push ecx
call fcn.0143f251
add ebx, esi
add esp, 0x10
cmp ebx, dword [esp + 0xc]
jb 0x142e3a0
pop esi
mov edx, dword [esp + 0xc]
mov eax, dword [edx]
push eax
call fcn.0143f012
mov ecx, dword [esp + 0x1014]
add esp, 4
cmp ebx, dword [esp + 8]
pop ebp
sbb eax, eax
pop ebx
xor ecx, esp
inc eax
call fcn.0143e72b
add esp, 0x100c
ret
Function at 0x1430000
Capabilities:
Hash data using sha1
Read file on windows

Disassembly:
mov eax, 0x1068
call fcn.01442fc0
mov eax, dword [0x13e3c20]
xor eax, esp
mov dword [esp + 0x1064], eax
mov eax, dword [esp + 0x106c]
push ebx
push ebp
push 0x13de980
push eax
lea eax, [esp + 0x10]
xor ebx, ebx
push eax
mov dword [esp + 0x14], ebx
xor ebp, ebp
call fcn.0143ec8b
mov eax, dword [esp + 0x14]
add esp, 0xc
cmp eax, ebx
jne 0x143006b
xor eax, eax
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
pop ebp
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], eax
pop ebx
mov ecx, dword [esp + 0x1064]
xor ecx, esp
call fcn.0143e72b
add esp, 0x1068
ret
push esi
push 2
push ebx
push eax
call fcn.0143f35d
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0143f57f
mov edx, dword [esp + 0x1c]
push ebx
push ebx
push edx
mov dword [esp + 0x2c], eax
call fcn.0143f35d
mov eax, dword [esp + 0x28]
push eax
push 0x1000
lea ecx, [esp + 0x94]
push 1
push ecx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x48], 0x67452301
mov dword [esp + 0x4c], 0xefcdab89
mov dword [esp + 0x50], 0x98badcfe
mov dword [esp + 0x54], 0x10325476
mov dword [esp + 0x58], 0xc3d2e1f0
call fcn.0143ef7e
mov esi, eax
add esp, 0x2c
cmp esi, ebx
jbe 0x1430116
lea edx, [esp + 0x70]
push esi
push edx
lea ebx, [esp + 0x1c]
call fcn.0142fe70
mov eax, dword [esp + 0x14]
push eax
push 0x1000
lea ecx, [esp + 0x80]
push 1
push ecx
add ebp, esi
call fcn.0143ef7e
mov esi, eax
add esp, 0x18
test esi, esi
ja 0x14300e1
xor ebx, ebx
push edi
lea esi, [esp + 0x18]
call fcn.0142ff10
mov edx, dword [esp + 0x10]
push edx
call fcn.0143f012
add esp, 8
pop esi
cmp ebp, dword [esp + 0xc]
jb 0x1430044
mov ecx, dword [esp + 0x106c]
pop ebp
pop ebx
xor ecx, esp
mov eax, 1
call fcn.0143e72b
add esp, 0x1068
ret

Function at 0x1431ed0
Capabilities:
Encode data using xor

Disassembly:
test ecx, ecx
jne 0x1431ed7
xor eax, eax
ret
push esi
not eax
cmp edx, 8
jb 0x1431fb4
mov esi, edx
shr esi, 3
push edi
lea esp, [esp]
movzx edi, byte [ecx]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x13ddde0]
movzx edi, byte [ecx + 1]
xor edi, eax
and edi, 0xff
inc ecx
shr eax, 8
xor eax, dword [edi*4 + 0x13ddde0]
movzx edi, byte [ecx + 1]
xor edi, eax
and edi, 0xff
inc ecx
shr eax, 8
xor eax, dword [edi*4 + 0x13ddde0]
movzx edi, byte [ecx + 1]
xor edi, eax
inc ecx
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x13ddde0]
movzx edi, byte [ecx + 1]
xor edi, eax
inc ecx
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x13ddde0]
movzx edi, byte [ecx + 1]
xor edi, eax
inc ecx
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x13ddde0]
movzx edi, byte [ecx + 1]
inc ecx
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x13ddde0]
movzx edi, byte [ecx + 1]
inc ecx
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x13ddde0]
inc ecx
sub edx, 8
sub esi, 1
jne 0x1431ef0
pop edi
test edx, edx
je 0x1431fdb
jmp 0x1431fc0
movzx esi, byte [ecx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x13ddde0]
inc ecx
sub edx, 1
jne 0x1431fc0
not eax
pop esi
ret
Function at 0x1431fe0
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
mov eax, dword [edx]
movsx ecx, cl
xor ecx, eax
shr eax, 8
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x13ddde0]
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 + 0x13ddde0]
mov dword [edx + 8], ecx
ret

Function at 0x1432030
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
mov ecx, dword [esi + 8]
push ebx
mov edx, ecx
and edx, 0xfffd
or edx, 2
mov ebx, edx
xor ebx, 1
imul ebx, edx
mov edx, dword [esi]
shr ebx, 8
push edi
xor al, bl
movsx edi, al
xor edi, edx
shr edx, 8
and edi, 0xff
mov ebx, dword [edi*4 + 0x13ddde0]
xor ebx, edx
movzx edx, bl
add edx, dword [esi + 4]
mov dword [esi], ebx
imul edx, edx, 0x8088405
inc edx
mov dword [esi + 4], edx
shr edx, 0x18
xor edx, ecx
and edx, 0xff
shr ecx, 8
xor ecx, dword [edx*4 + 0x13ddde0]
pop edi
mov dword [esi + 8], ecx
pop ebx
ret
Function at 0x1433430
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xc
push ebx
push ebp
mov ebp, dword [esp + 0x18]
push edi
mov edi, eax
xor ebx, ebx
cmp edi, ebx
jne 0x143344e
pop edi
pop ebp
mov eax, 0xffffff9a
pop ebx
add esp, 0xc
ret
cmp dword [edi + 0x18], ebx
je 0x1433442
cmp dword [edi + 0x7c], ebx
je 0x143345d
call fcn.01433810
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.014331a0
add esp, 0xc
test eax, eax
je 0x1433484
pop edi
pop ebp
mov eax, 0xffffff99
pop ebx
add esp, 0xc
ret
push esi
push 0x7e
call fcn.0143f63c
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x14334c2
push 0x4000
call fcn.0143f63c
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
add esp, 4
mov dword [esi], eax
mov dword [esi + 0x44], ecx
mov dword [esi + 0x48], edx
mov dword [esi + 0x4c], ebx
cmp eax, ebx
jne 0x14334cf
push esi
call fcn.0143fb97
add esp, 4
pop esi
pop edi
pop ebp
mov eax, 0xffffff98
pop ebx
add esp, 0xc
ret
mov dword [esi + 0x40], ebx
mov ecx, dword [edi + 0x3c]
xor eax, eax
cmp dword [edi + 0x34], ebx
mov dword [esi + 0x54], ecx
mov dword [esi + 0x50], ebx
mov edx, dword [edi + 0x34]
sete al
mov dword [esi + 0x64], edx
mov ecx, dword [edi]
mov dword [esi + 0x60], ecx
mov edx, dword [edi + 0xc]
mov dword [esi + 0x68], edx
mov dword [esi + 0x18], ebx
cmp eax, ebx
jne 0x1433517
lea eax, [esi + 4]
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
call fcn.014322f0
test eax, eax
jne 0x1433517
mov dword [esi + 0x40], 1
mov eax, dword [edi + 0x40]
mov dword [esi + 0x58], eax
mov ecx, dword [edi + 0x44]
mov dword [esi + 0x5c], ecx
mov dl, byte [edi + 0x30]
and dl, 1
mov byte [esi + 0x6c], dl
mov eax, dword [edi + 0x30]
shr eax, 3
test al, 1
je 0x143353e
mov cl, byte [edi + 0x39]
mov byte [esi + 0x7d], cl
jmp 0x1433544
mov dl, byte [edi + 0x3f]
mov byte [esi + 0x7d], dl
movzx eax, byte [esi + 0x6c]
neg eax
sbb eax, eax
and eax, 0xc
lea edx, [esi + 0x6d]
mov dword [esi + 0x79], eax
mov dword [edx], 0x12345678
mov dword [esi + 0x71], 0x23456789
mov dword [esi + 0x75], 0x34567890
cmp ebp, ebx
je 0x1433581
lea ecx, [ecx]
mov cl, byte [ebp]
cmp cl, bl
je 0x1433581
call fcn.01431fe0
add ebp, 1
jne 0x1433570
mov ecx, dword [edi + 0x78]
mov edx, dword [esp + 0x18]
lea eax, [ecx + edx + 0x1e]
mov dword [esi + 0x3c], eax
mov dword [esi + 8], ebx
mov dword [edi + 0x7c], esi
pop esi
pop edi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc
ret