joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47de00
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1ac
push esi
push 0x4858e8
or eax, 0xffffffff
call fcn.0047dd90
mov esi, eax
add esp, 4
lea eax, [esp + 0xa8]
push esi
push eax
call fcn.00482920
push esi
call fcn.004803bd
add esp, 0xc
lea esi, [esp + 0x18]
call fcn.0047ded0
lea eax, [esp + 0xa8]
mov ecx, esi
call fcn.0047df00
mov dword [edi + 8], 0
mov eax, dword [edi + 8]
xor ecx, ecx
lea esp, [esp]
movzx edx, byte [esp + ecx + 0x18]
add eax, edx
movzx edx, byte [esp + ecx + 0x19]
add eax, edx
movzx edx, byte [esp + ecx + 0x1a]
add eax, edx
movzx edx, byte [esp + ecx + 0x1b]
add ecx, 4
add eax, edx
cmp ecx, 0x10
jl 0x47de60
mov dword [edi + 8], eax
mov eax, dword [ebp + 8]
push 0x487eb8
push eax
call fcn.004831ec
add esp, 8
mov dword [edi], eax
test eax, eax
je 0x49ac30
push edi
call fcn.0047dc50
test eax, eax
je 0x49ac3a
mov ecx, dword [edi]
push ecx
mov esi, eax
call fcn.004835db
add esp, 4
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 4
mov eax, 1
jmp 0x47debf
mov edx, dword [edi]
push edx
push 0x10
lea eax, [esp + 0x10]
push 1
push eax
call fcn.004838f7
add esp, 0x10
push 0x99f2
push 0x10
lea ecx, [esp + 0x10]
push ecx
call 0x4bbdc7
xor eax, eax
mov dword [edi + 8], 0
xor ecx, ecx
movzx edx, byte [esp + eax + 8]
inc eax
imul ecx, edx
cmp eax, 0x10
jl 0x49ac6a
mov eax, dword [edi]
push eax
mov dword [edi + 8], ecx
call fcn.00484fd4
add esp, 4
mov dword [edi + 4], eax
xor eax, eax
jmp 0x47debf

Function at 0x47ded0
Capabilities:
Hash data with md5

Disassembly:
push 8
lea eax, [esi + 0x44]
push 0
push eax
call fcn.00482180
add esp, 0xc
mov dword [esi + 0x34], 0x67452301
mov dword [esi + 0x38], 0xefcdab89
mov dword [esi + 0x3c], 0x98badcfe
mov dword [esi + 0x40], 0x10325476
ret

Function at 0x47e870
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esi + 0x58]
cmp dword [esi + 0x5c], eax
je 0x47e885
mov ecx, dword [esi + 0x5c]
movzx eax, byte [ecx + esi + 0x14]
inc ecx
mov dword [esi + 0x5c], ecx
ret
cmp eax, 4
push edi
jle 0x47e8fc
mov edi, 4
mov eax, 4
sub eax, edi
push eax
lea ecx, [edi + esi + 0x10]
push ecx
lea edx, [esi + 0x10]
push edx
call fcn.00483b40
mov eax, dword [esi + 0x58]
sub eax, edi
mov edx, esi
push edi
lea ecx, [eax + esi + 0x14]
sub edx, edi
push ecx
add edx, 0x14
push edx
call fcn.0047ff00
mov eax, dword [esi + 4]
push eax
push 0x40
lea ecx, [esi + 0x14]
push 1
push ecx
mov dword [esi + 0x54], edi
call fcn.004838f7
add esp, 0x28
mov dword [esi + 0x58], eax
mov dword [esi + 0x5c], 0
pop edi
test eax, eax
jne 0x47e878
mov edx, dword [esi + 4]
push edx
call fcn.00483914
add esp, 4
test eax, eax
je 0x498a84
or eax, 0xffffffff
ret
mov edi, eax
jmp 0x47e890
mov eax, dword [esi + 4]
push eax
call fcn.00483948
add esp, 4
test eax, eax
jne 0x47e8f8
ret
Function at 0x47e900
Capabilities:
Read file on windows

Disassembly:
push esi
mov esi, eax
call fcn.0047e870
cmp eax, 0xffffffff
je 0x47e9fc
push ebx
push ebp
mov ebp, dword [esp + 0x10]
push edi
xor ebx, ebx
lea edi, [ebx + 1]
call fcn.0047e7e0
mov edi, dword [esp + 0x18]
dec edi
test edi, edi
jle 0x47e976
jmp 0x47e930
mov eax, dword [esi + 0x58]
cmp dword [esi + 0x5c], eax
je 0x47e983
mov ecx, dword [esi + 0x5c]
movzx eax, byte [ecx + esi + 0x14]
inc ecx
mov dword [esi + 0x5c], ecx
cmp eax, 0xd
je 0x47e968
cmp eax, 0xffffffff
je 0x47e976
cmp eax, 0xa
je 0x47e976
mov byte [ebx + ebp], al
inc ebx
cmp ebx, edi
jl 0x47e930
pop edi
mov byte [ebx + ebp], 0
pop ebp
pop ebx
mov al, 1
pop esi
ret 8
call fcn.0047e870
cmp eax, 0xa
jne 0x498acf
pop edi
mov byte [ebx + ebp], 0
pop ebp
pop ebx
mov al, 1
pop esi
ret 8
cmp eax, 4
jle 0x498a99
mov dword [esp + 0x14], 4
mov eax, dword [esp + 0x14]
lea ecx, [esi + 0x10]
mov edx, 4
sub edx, eax
push edx
add eax, ecx
push eax
push ecx
call fcn.00483b40
mov eax, dword [esp + 0x20]
mov edx, dword [esi + 0x58]
mov ecx, esi
sub ecx, eax
lea ecx, [ecx + edx + 0x14]
push eax
mov edx, esi
sub edx, eax
push ecx
add edx, 0x14
push edx
call fcn.0047ff00
mov ecx, dword [esi + 4]
mov eax, dword [esp + 0x2c]
push ecx
push 0x40
lea edx, [esi + 0x14]
push 1
push edx
mov dword [esi + 0x54], eax
call fcn.004838f7
add esp, 0x28
mov dword [esi + 0x58], eax
mov dword [esi + 0x5c], 0
test eax, eax
jne 0x47e938
jmp 0x498aa2
xor al, al
pop esi
ret 8
mov dword [esp + 0x14], eax
jmp 0x47e998
mov eax, dword [esi + 4]
push eax
call fcn.00483914
add esp, 4
test eax, eax
jne 0x47e976
mov ecx, dword [esi + 4]
push ecx
call fcn.00483948
add esp, 4
test eax, eax
jne 0x47e976
jmp 0x47e953
cmp eax, 0xffffffff
je 0x47e976
mov edi, 1
call fcn.0047e7e0
jmp 0x47e976

Function at 0x47f000
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, dword [esp + 8]
mov eax, dword [ebp]
mov dword [ebp + 0xc], 0
mov byte [ebp + 8], 0
test al, 0x14
jne 0x47f086
test al, al
js 0x498ae7
test al, 0x20
jne 0x498af3
test al, 0x40
jne 0x498aff
mov eax, dword [esp + 0xc]
push 0x487eb8
push eax
call fcn.004831ec
add esp, 8
test eax, eax
je 0x47f086
push esi
push edi
mov esi, eax
push esi
push 3
lea ecx, [esp + 0x18]
push 1
push ecx
call fcn.004838f7
push esi
mov edi, eax
call fcn.004835db
mov al, byte [esp + 0x24]
add esp, 0x14
cmp edi, 2
jb 0x47f07c
cmp al, 0xff
je 0x498b0b
cmp al, 0xfe
je 0x498b26
cmp al, 0xef
je 0x498b41
pop edi
pop esi
pop ebp
ret 8
mov dword [ebp + 0xc], 4
jmp 0x47f02f
mov dword [ebp + 0xc], 1
jmp 0x47f02f
mov dword [ebp + 0xc], 2
jmp 0x47f02f
cmp byte [esp + 0x11], 0xfe
jne 0x47f07c
mov dword [ebp + 0xc], 1
mov byte [ebp + 8], 1
jmp 0x47f084
cmp byte [esp + 0x11], 0xff
jne 0x47f07c
mov dword [ebp + 0xc], 2
mov byte [ebp + 8], 1
jmp 0x47f084
cmp edi, 3
jb 0x47f084
cmp byte [esp + 0x11], 0xbb
jne 0x47f084
cmp byte [esp + 0x12], 0xbf
jne 0x47f084
mov dword [ebp + 0xc], 4
mov byte [ebp + 8], 1
jmp 0x47f084
Function at 0x41162a
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x47b628
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call fcn.0046e9ef
xor ebp, ebp
mov dword [esi], 0x5712b0
mov dword [esi + 0x3c], ebp
mov dword [esi + 0x40], ebp
lea edi, [esi + 0x44]
mov dword [esp + 0x38], ebp
mov dword [esp + 0x14], edi
lea ecx, [edi + 0x18]
mov dword [edi], 0x570a18
call fcn.00402b40
lea ecx, [edi + 0x30]
mov byte [esp + 0x38], 1
call fcn.0046c1f0
lea ebx, [edi + 0x44]
mov ecx, ebx
call fcn.00402b40
mov dword [ebx], 0x56f1dc
mov dword [edi], 0x5711d4
mov dword [esi + 0xa0], ebp
mov dword [esi + 0x9c], 0x5760ac
lea ecx, [esi + 0xb0]
call fcn.00402b40
lea edi, [esi + 0xc8]
mov dword [edi + 4], ebp
mov dword [edi], 0x5751d4
mov byte [esp + 0x38], 5
mov dword [esi], 0x5711dc
mov dword [esi + 0xac], ebp
call fcn.004772c8
mov eax, dword [eax + 0xc]
push 0x40e
push eax
call fcn.006b2f06
xchg edx, eax
push eax
mov ecx, edi
call fcn.00474162
mov ecx, dword [esi + 0xcc]
lea eax, [esp + 0x18]
push eax
push 0x18
push ecx
call fcn.006b300c
mov byte [ebx - 0x47e3dbb4], cl
push esi
push ebp
push ebp
push ebp
imul ecx
mov ecx, dword [esp + 0x20]
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [esi + 0xd4], ecx
mov ecx, dword [esp + 0x30]
mov dword [esi + 0xd0], edx
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret

Function at 0x4117e0
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x47b6b5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
mov dword [esi], 0x5711dc
mov dword [esp + 0x18], 0
lea ecx, [esi + 0xc8]
mov dword [esp + 0xc], ecx
mov dword [ecx], 0x5742d0
mov byte [esp + 0x18], 4
call fcn.004741b9
lea ecx, [esi + 0xb0]
mov byte [esp + 0x18], 2
mov dword [ecx], 0x56f1d8
call fcn.00402d40
lea ecx, [esi + 0x9c]
mov dword [esp + 0xc], ecx
mov dword [ecx], 0x5742d0
mov byte [esp + 0x18], 5
call fcn.004741b9
lea edi, [esi + 0x44]
mov dword [esp + 0xc], edi
lea ecx, [edi + 0x44]
mov byte [esp + 0x18], 7
mov dword [ecx], 0x56f1d8
call fcn.00402d40
lea ecx, [edi + 0x30]
mov byte [esp + 0x18], 6
call fcn.0046c223
lea ecx, [edi + 0x18]
mov byte [esp + 0x18], 0
mov dword [ecx], 0x56f1d8
call fcn.00402d40
mov ecx, esi
mov dword [esp + 0x18], 0xffffffff
call fcn.004755f1
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x422920
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x59fb10]
xor edx, edx
cmp eax, edx
jne 0x422946
xor eax, eax
mov byte [eax + 0x59fa10], al
inc eax
cmp eax, 0x100
jl 0x42292e
mov dword [0x59fb10], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x59fa10
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x4229d7
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x4229aa
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x422978
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x422a50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x422aa3
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x422a8a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4375a0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x47d718
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x4375d9
inc eax
mov dword [esi + 0x10], eax
jmp 0x4376ec
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x4375ed
mov eax, 0xffffffc7
jmp 0x4376ee
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x4375fe
cmp dword [esi + 8], eax
jne 0x4375ed
cmp dword [esi + 8], eax
jne 0x437617
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x437617
mov eax, 0xffffffc7
jmp 0x4376ee
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x43762b
push eax
mov ecx, ebx
call fcn.00436dd0
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.00402b40
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x43765c
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.00402b60
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.00436540
test eax, eax
mov dword [esp + 0x38], eax
je 0x43768f
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x56f1d8
call fcn.00402d40
mov eax, dword [esp + 0x38]
jmp 0x4376ee
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.00437400
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x4376d3
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.00437420
mov esi, eax
test esi, esi
jne 0x437703
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.00437400
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x4376a5
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x56f1d8
call fcn.00402d40
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x56f1d8
call fcn.00402d40
mov eax, esi
jmp 0x4376ee
Function at 0x443cf0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x443d23
push esi
call fcn.00446e00
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x443d1c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x443da9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x443d92
mov eax, dword [esi + 8]
test eax, eax
je 0x443d47
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x443d8e
cmp eax, 2
je 0x443d92
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x443d3a
cmp eax, 3
je 0x443d6d
cmp eax, 1
jne 0x443d3a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x443d3a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x443d3a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00443dd0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x443db8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00443dd0
add esp, 4
pop esi
ret
Function at 0x5d7e6f
Capabilities:
Execute anti-debugging instructions

Disassembly:
lea esp, [esp + 1]
xchg dword [esp + 4], esi
xchg bx, ax
rdtsc
rdtsc
mov ax, word [esp]
jmp 0x5d7f45
lea ebx, [esp + esi]
sub esp, 0x1c
xchg word [esp + 6], ax
pop dx
add esp, 0x15
jmp 0x5d7e56
bswap edx
push dword [esp + 4]
ret 8
sub eax, eax
xchg dword [esp + 4], esi
inc ebx
mov ax, word [esp]
setnp ah
xor dl, ch
jmp 0x5d7ec7
mov bl, 0xc0
lea esi, [esi + 1]
mov cl, byte [esp]
mov ax, di
xchg dh, al
mov ecx, 0xadceb352
jmp 0x5d7ee4

Function at 0x5d84d7
Capabilities:
Execute anti-debugging instructions

Disassembly:
seto al
jmp 0x5d83df
jnp 0x5d83d5
xchg dword [esp], eax
mov word [esp], dx
jmp 0x5d81ea
xchg dword [esp], eax
mov word [esp], dx
seto al
lea esp, [esp + 4]
neg dl
mov al, 0xee
pushal
jmp 0x5d81c7
neg al
jmp 0x5d8229

Function at 0x601060
Capabilities:
Execute anti-debugging instructions

Disassembly:
pop ss
pushfd
jmp 0x6016d2
jmp 0x6010b7
lea esp, [esp + 1]
jmp 0x6010c6
rol eax, 9
jne 0x601062
lea esp, [esp + 1]
jmp 0x6010c6
lea esp, [esp + 4]
sub dl, 0x18
setae ah
rol al, 7
jbe 0x60115b
ja 0x6010ef
int3
mov eax, 0x18c9e57c
mov al, 0x54
sub esp, 0
jmp 0x601138
mov eax, 0x18c9e57c
mov al, 0x54
sub esp, 0
push esp
mov dword [esp], ebp
mov al, ah
xchg word [esp + 1], ax
jmp 0x60113e
push esp
mov dword [esp], ebp
jmp 0x60111b
lea esp, [esp + 4]
neg dl
inc eax
jo 0x601316
inc eax
xchg al, ah
mov eax, dword [esp]
call fcn.006011d7
nop
adc ecx, dword [edx - 0x4f14abdb]
jmp 0x60110d
lea ebp, [ebp + 0x136]
sub esp, 6
mov eax, 0xc8f41b8a
lea eax, [ebp*4]
jmp 0x6011ae
rol ax, cl
cmp ax, 0x6346
neg eax
push dword [esp + 4]
ret 8
mov al, byte [esp + 5]
mov byte [esp + 2], dh
lea esp, [esp + 2]
xchg dword [esp + 4], ebp
lea eax, [esp + ebx]
bsr ax, cx
jmp 0x60118e
xchg al, ah
mov eax, dword [esp]
lea eax, [edx*4]
lea eax, [ebp*4]
call fcn.00601224
bswap eax
rcr eax, 0x1d
pushal
setle ah
lea eax, [edx*4]
pop eax
jmp 0x601319
inc eax
jmp 0x6012b8
mov eax, dword [esp + 7]
mov word [esp + 0xe], bx
lea esp, [esp + 0x1c]
add bl, dl
rcl dx, cl
jmp 0x6013a6
mov edx, 0xbf982cd0
bsf ax, si
stc
inc ebp
mov dh, 0xb8
mov dx, bp
xchg ah, dh
jmp 0x60136e
not eax
xchg dh, al
rdtsc
mov eax, dword [esp]
not dh
bts edx, edi
jmp 0x6016c0
stc
jmp 0x601350
call fcn.00601575
stosb byte es:[edi], al
daa
mov bh, 0xd2
and dword [edx - 0x5631a730], ebx
pop eax
sahf
mov ch, 0x25
dec esp
mov edi, 0xbe57247f
jno 0x601346
mov edx, 0xbf982cd0
bsf ax, si
jmp 0x601389
jb 0x60138c
jae 0x60138c
push edx
jmp 0x5c9a02
pop dword [edi]
bsf cx, si
jno 0x601713
xchg cx, ax
bsr ax, cx
shl eax, 0x1b
jmp fcn.005d8d1d
xchg cx, ax
jmp 0x601882
bsr ax, cx
shl eax, 0x1b
jmp fcn.005d8d1d

Function at 0x6ab096
Capabilities:
Execute anti-debugging instructions

Disassembly:
lea esp, [esp + 3]
mov dword [esp], eax
not eax
mov ax, 0x6ca1
lea eax, [eax - 0x522396f7]
lea eax, [ebx + edi]
jmp 0x6aafe9
mov byte [esp + 5], bh
push dword [esp + 1]
pop dword [esp]
jmp 0x6ab013

Function at 0x6e1906
Capabilities:
Encode data using xor

Disassembly:
lea ecx, [edi + ebp]
pop word [esp]
sete cl
jmp 0x6e1933
Function at 0x6f7746
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov dword [esp + 7], ecx
cpuid
bsf dx, ax
bsf si, si
mov eax, dword [esp + 1]
setae bh
jmp 0x6f778d
mov ax, bx
sete dh
xchg word [esp + 9], bx
not bh
xchg word [esp + 3], di
mov ecx, eax
jmp 0x6f7709
cmc
lea ecx, [edx*4]
pop bp
bswap eax
jmp 0x6f7725
xchg ah, bl
mov eax, dword [esp + 7]
cpuid
xchg edx, edi
mov edi, esi
mov dword [esp + 1], ebp
jmp 0x6f781b
mov esi, 0xec2e8bf4
ror eax, 0xf
lea esi, [ebp - 0x37]
mov bp, 0x6a2b
pop dword [esp + 7]
pop di
jmp 0x6f7754
lea esp, [esp + 1]
mov byte [esp + 7], ch
pop dword [esp + 3]
sub esp, 0xc
xchg dh, al
neg ax
jmp 0x6f776d
bswap ebp
mov esi, 0x2ad3c8e8
lea esi, [eax + ebx]
lea eax, [eax + edi]
mov dword [esp + 1], ebp
xchg byte [esp + 8], bl
jmp 0x6f77fb
mov si, dx
pop dx
xchg word [esp + 3], ax
cpuid
mov dx, sp
mov ecx, dword [esp + 8]
jmp 0x6f77a3
lea edx, [edi*4]
mov eax, 0x75d9f836
bswap ecx
ror ah, 1
jmp 0x6f7834
cmc
push word [esp]
mov dl, 0x4c
mov ebp, dword [esp + 5]
push dword [esp + 6]
xchg word [esp + 3], cx
jmp 0x6f77e4
pop word [esp + 1]
mov word [esp + 6], sp
not bh
mov dword [esp], esi
mov ebx, 0x862bf37a
xchg si, bp
jmp 0x6f77cf
mov edx, dword [esp + 0xb]
xchg word [esp + 1], dx
lea ecx, [esi*4]
pop bp
shr ebp, 0xf
jmp 0x6f78f5
mov dl, dh
ror esi, 0x1b
lea edi, [edx + edi]
pop dx
inc si
rdtsc
add esp, 4
jmp 0x6f787b
xchg dword [esp + 9], eax
rdtsc
setns ch
xchg bx, ax
mov ax, word [esp + 0xa]
mov word [esp + 0xc], sp
jmp 0x6f78af

Function at 0x6f7b3f
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov esi, ecx
jmp 0x6f7b95
mov dword [esp], esi
lea ebx, [esi + 0x1d895d15]
lea edx, [eax*4]
push esp
jmp 0x6f7bc5
mov bl, 0xa0
mov dword [esp], eax
mov ax, word [esp]
xchg byte [esp], cl
rdtsc
sub di, 0x4cf8
jmp 0x6f7b7d
mov dl, 0xec
xchg dword [esp + 4], esi
not ecx
setae dh
push word [esp + 0xb]
cld
jmp 0x6f7bff
not dx
mov edi, eax
push dword [esp]
mov ax, di
lea ebp, [edx*4]
inc bl
jmp 0x6f7baa
xchg cx, dx
pop edi
pop bx
sete ch
setae ah
mov ebx, dword [esp]
jmp 0x6f7cd4
lea esp, [esp + 7]
mov esi, 0x4d2d8f0c
mov dl, dh
mov bl, 0x58
mov edx, dword [esp + 2]
mov al, 0xf6
jmp 0x6f7bdb
mov ah, byte [esp]
add esp, 0
btr ecx, edx
bsr bp, bp
mov esi, 0x1dbe570a
lea ebx, [ebx + ebp]
jmp 0x6f7c2d
lea ebx, [ebx*4]
mov cl, 0xda
cpuid
mov ecx, ebp
inc bl
mov dl, 0xb4
jmp 0x6f7c4e
lea esp, [esp]
neg bh
mov ecx, dword [esp]
mov di, 0x6451
bswap edi
xchg ch, dl
jmp 0x6f7c75

Function at 0x6f7eef
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov bp, word [esp + 0x1d]
cpuid
rdtsc
add esp, 0x23
xchg word [esp + 0x11], dx
push word [esp + 3]
jmp 0x6f7f18
shr dh, 7
jmp 0x6f7ec4
pop dword [esp + 0xf]
push dword [esp + 2]
bsr bp, cx
mov cx, 0xb14f
pop dword [esp + 0x16]
cmc
jmp 0x6f7f40
lea esp, [esp + 1]
xchg ebx, edi
xchg bh, cl
xchg bp, bx
push edx
not di
jmp 0x6f7ef4
mov ebp, dword [esp + 0x22]
mov di, word [esp + 0xb]
xchg bp, ax
pop dword [esp + 4]
jmp 0x6f7f91
clc
pop eax
not bh
pop ax
sub esp, 0xe
mov bp, dx
jmp 0x6f7f29
setle ch
sub esp, 0x14
lea esp, [esp + 0x10]
add al, dh
sub esp, 0x1a
pop dword [esp + 0x29]
jmp 0x6f7f79
Function at 0x6fcd10
Capabilities:
Access peb ldr_data
Parse pe header

Disassembly:
call fcn.006fc007
push eax
jmp 0x6fc002
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
mov eax, dword [eax + 8]
jmp 0x6fcc70
lea esp, [esp + 0x68]
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
jmp 0x6fcc87
push dword [esp + 0x26]
push word [esp + 0x1f]
lea esp, [esp + 3]
mov dword [esp + 0x68], edi
jmp 0x6fccc0
Function at 0x40455c
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffdf4
mov ebx, edx
mov esi, eax
mov eax, ebx
xor edx, edx
call fcn.00406a38
test esi, esi
jne 0x404594
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.00406b74
jmp 0x4045b2
call sub.kernel32.dll_GetCommandLineW
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.004044a0
mov edi, eax
test esi, esi
je 0x4045b2
cmp dword [ebx], 0
je 0x4045b2
dec esi
jmp 0x40459b
add esp, 0x20c
pop edi
pop esi
pop ebx
ret

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

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x4fa008], 0x8088405
inc edx
mov dword [ebx + 0x4fa008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x405df8
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4fd050], 0
je 0x405e59
cmp word [0x4fd32c], 0xd7b2
jne 0x405e21
cmp dword [0x4fd334], 0
jbe 0x405e21
mov eax, 0x4fd328
call dword [0x4fd344]
push 0
lea eax, [esp + 4]
push eax
push 0x1d
push str.Runtime_error_____at_00000000
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x405e84
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4fa030], 0
jne 0x405e75
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x406004
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 4], edx
mov edi, eax
mov esi, dword [ebp + 0x10]
cmp dword [0x4fa034], 0
je 0x40602a
mov edx, esi
mov eax, ebx
call dword [0x4fa034]
jmp 0x406039
mov eax, 8
call fcn.004041e8
mov dword [eax], ebx
mov dword [eax + 4], esi
mov byte [0x4fd051], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x405fcc
push eax
mov eax, dword [ebp - 4]
push eax
push edi
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 0xc