joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1007ed8a
Capabilities:
Resume thread
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov esi, edx
lea edi, [ebp - 0x10]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, ecx
push 0
mov edx, dword [ebp - 0x10]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push 1
push 0
push 1
mov edx, dword [ebp - 0xc]
push edx
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
call fcn.1007d9de
mov ebx, eax
test bl, bl
je 0x1007ede4
test esi, 4
jne 0x1007edef
mov eax, dword [ebp - 0xc]
push eax
call sub.KERNEL32.dll_ResumeThread
jmp 0x1007edef
push 0
mov eax, dword [ebp - 0x10]
push eax
call sub.KERNEL32.dll_TerminateProcess
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x1008162a
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeac
push ebx
xor eax, eax
mov dword [ebp - 0x154], eax
xor eax, eax
push ebp
push 0x100816d6
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
lea eax, [ebp - 0x154]
mov edx, dword [ebp + 8]
mov edx, dword [edx + 8]
call fcn.1006462e
mov eax, dword [ebp - 0x154]
lea edx, [ebp - 0x150]
xor ecx, ecx
call fcn.1007f8ae
mov ebx, eax
test bl, bl
je 0x100816bd
mov eax, dword [ebp - 0x144]
push eax
call sub.KERNEL32.dll_CloseHandle
push 0x64
mov eax, dword [ebp - 0x12c]
push eax
call sub.KERNEL32.dll_WaitForSingleObject
cmp eax, 0x102
jne 0x100816a5
push 0
mov eax, dword [ebp - 0x12c]
push eax
call sub.KERNEL32.dll_TerminateThread
mov eax, dword [ebp - 0x148]
push eax
call sub.KERNEL32.dll_CloseHandle
mov eax, dword [ebp - 0x12c]
push eax
call sub.KERNEL32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x100816dd
lea eax, [ebp - 0x154]
call fcn.10064436
ret
Function at 0x10081962
Capabilities:
Get token privileges

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
xor eax, eax
push ebp
push 0x10081b4c
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [0x1009ad0c], 0
jne 0x10081b31
lea eax, [ebp - 4]
push eax
push 0x28
call sub.KERNEL32.dll_GetCurrentProcess
push eax
call sub.ADVAPI32.dll_OpenProcessToken
test eax, eax
je 0x10081b2a
xor eax, eax
push ebp
push 0x10081b23
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 3
mov eax, dword [ebp - 4]
push eax
call sub.ADVAPI32.dll_GetTokenInformation
cmp dword [ebp - 8], 0
je 0x10081b0c
mov eax, dword [ebp - 8]
add eax, eax
push eax
push 0x40
call sub.KERNEL32.dll_LocalAlloc
mov ebx, eax
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 8]
add eax, eax
push eax
push ebx
push 3
mov eax, dword [ebp - 4]
push eax
call sub.ADVAPI32.dll_GetTokenInformation
test eax, eax
je 0x10081b06
lea eax, [ebp - 0x10]
push eax
lea edx, [ebp - 0x24]
mov eax, dword [0x10099d40]
call fcn.10067b16
mov eax, dword [ebp - 0x24]
call fcn.1006488a
push eax
push 0
call sub.ADVAPI32.dll_LookupPrivilegeValueA
test eax, eax
jne 0x10081a3a
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
lea eax, [ebp - 0x18]
push eax
lea edx, [ebp - 0x28]
mov eax, dword [0x10099d44]
call fcn.10067b16
mov eax, dword [ebp - 0x28]
call fcn.1006488a
push eax
push 0
call sub.ADVAPI32.dll_LookupPrivilegeValueA
test eax, eax
jne 0x10081a6d
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x20]
push eax
lea edx, [ebp - 0x2c]
mov eax, dword [0x10099d48]
call fcn.10067b16
mov eax, dword [ebp - 0x2c]
call fcn.1006488a
push eax
push 0
call sub.ADVAPI32.dll_LookupPrivilegeValueA
test eax, eax
jne 0x10081aa0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov esi, dword [ebx]
dec esi
test esi, esi
jl 0x10081af2
inc esi
xor ecx, ecx
lea edi, [ecx + ecx*2]
mov eax, dword [ebx + edi*4 + 4]
mov edx, dword [ebx + edi*4 + 8]
cmp edx, dword [ebp - 0xc]
jne 0x10081abd
cmp eax, dword [ebp - 0x10]
je 0x10081aee
lea eax, [ecx + ecx*2]
mov edx, dword [ebx + eax*4 + 8]
mov eax, dword [ebx + eax*4 + 4]
cmp edx, dword [ebp - 0x14]
jne 0x10081ad2
cmp eax, dword [ebp - 0x18]
je 0x10081aee
lea eax, [ecx + ecx*2]
mov edx, dword [ebx + eax*4 + 8]
mov eax, dword [ebx + eax*4 + 4]
cmp edx, dword [ebp - 0x1c]
jne 0x10081ae7
cmp eax, dword [ebp - 0x20]
je 0x10081aee
or dword [ebx + edi*4 + 0xc], 2
inc ecx
dec esi
jne 0x10081aaa
push 0
push 0
mov eax, dword [ebp - 8]
push eax
push ebx
push 0
mov eax, dword [ebp - 4]
push eax
call sub.ADVAPI32.dll_AdjustTokenPrivileges
push ebx
call sub.KERNEL32.dll_LocalFree
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x10081b2a
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.dll_CloseHandle
ret
mov byte [0x1009ad0c], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x10081b53
lea eax, [ebp - 0x2c]
mov edx, 3
call fcn.1006445a
ret
Function at 0x40f5c0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10020
call fcn.00422240
xor eax, eax
nop
mov cl, byte [eax + 0x4921a0]
mov dl, byte [eax + 0x492198]
mov byte [ebp + eax - 0x20], cl
mov byte [ebp + eax - 0x18], dl
inc eax
cmp eax, 8
jl 0x40f5d0
lea eax, [ebp - 8]
push 0x488140
push eax
call fcn.00413650
push 4
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 0x10]
push edx
call fcn.00410e60
add esp, 0x14
push ebx
push esi
mov dword [ebp - 0xc], 0
push edi
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
push 0x10000
lea edx, [ebp - 0x10020]
push 1
push edx
call fcn.00414d04
add esp, 0x10
cmp eax, 0x18
jl 0x40f691
mov edi, eax
lea esi, [edi - 0x14]
test esi, esi
jle 0x40f660
xor edx, edx
xor ecx, ecx
mov bl, byte [ebp + ecx - 0x20]
lea eax, [ecx + edx]
cmp bl, byte [ebp + eax - 0x10020]
je 0x40f67e
cmp ecx, 0x14
je 0x425d1e
inc edx
cmp edx, esi
jl 0x40f640
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
lea edx, [ecx + edi - 0x14]
mov ecx, dword [eax]
push 1
push 0xffffffffffffffec
push ecx
mov dword [ebp - 0xc], edx
call fcn.004150d1
add esp, 0xc
jmp 0x40f614
mov bl, byte [ebp + ecx - 0x1f]
lea eax, [ecx + edx]
cmp bl, byte [ebp + eax - 0x1001f]
je 0x40f69f
inc ecx
jmp 0x40f652
mov eax, 3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov bl, byte [ebp + ecx - 0x1e]
lea eax, [ecx + edx]
cmp bl, byte [ebp + eax - 0x1001e]
je 0x40f6b4
add ecx, 2
jmp 0x40f652
mov bl, byte [ebp + ecx - 0x1d]
lea eax, [ecx + edx]
cmp bl, byte [ebp + eax - 0x1001d]
jne 0x425d16
mov bl, byte [ebp + ecx - 0x1c]
lea eax, [ecx + edx]
cmp bl, byte [ebp + eax - 0x1001c]
je 0x425d05
add ecx, 4
jmp 0x40f652
sbb eax, 0x493a60
sbb eax, 0x493a80
sbb eax, 0x493a84

Function at 0x40f820
Capabilities:
Hash data with md5

Disassembly:
push 8
lea eax, [esi + 0x44]
push 0
push eax
call fcn.00412f40
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 0x423464
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
or eax, 0xffffffff
mov word [ebp - 0xc], ax
push ebx
xor ecx, ecx
leave
Function at 0x429dc4
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14c
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0xec]
cmp eax, 0xf3c
jge 0x44e391
inc eax
mov dword [esp + 0x24], edi
mov dword [edi + 0xec], eax
cmp eax, 1
je 0x42a164
mov esi, edi
call fcn.00431524
jmp 0x429dfa
push 0xffffffffffffffff
push 0x9a
push edi
mov byte [0x4974e2], 0
call fcn.0047f31b
mov eax, 1
jmp 0x429f89

Function at 0x4301a4
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10020
call fcn.00442e24
xor eax, eax
nop
mov cl, byte [eax + 0x4921a0]
mov dl, byte [eax + 0x492198]
mov byte [ebp + eax - 0x20], cl
mov byte [ebp + eax - 0x18], dl
inc eax
cmp eax, 8
jl 0x4301b4
lea eax, [ebp - 8]
push 0x488140
push eax
call fcn.00434234
push 4
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 0x10]
push edx
call fcn.00431a44
add esp, 0x14
push ebx
push esi
mov dword [ebp - 0xc], 0
push edi
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
push 0x10000
lea edx, [ebp - 0x10020]
push 1
push edx
call fcn.004358e8
add esp, 0x10
cmp eax, 0x18
jl 0x430275
mov edi, eax
lea esi, [edi - 0x14]
test esi, esi
jle 0x430244
xor edx, edx
xor ecx, ecx
mov bl, byte [ebp + ecx - 0x20]
lea eax, [ecx + edx]
cmp bl, byte [ebp + eax - 0x10020]
je 0x430262
cmp ecx, 0x14
je 0x446902
inc edx
cmp edx, esi
jl 0x430224
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
lea edx, [ecx + edi - 0x14]
mov ecx, dword [eax]
push 1
push 0xffffffffffffffec
push ecx
mov dword [ebp - 0xc], edx
call fcn.00435cb5
add esp, 0xc
jmp 0x4301f8
mov bl, byte [ebp + ecx - 0x1f]
lea eax, [ecx + edx]
cmp bl, byte [ebp + eax - 0x1001f]
je 0x430283
inc ecx
jmp 0x430236
mov eax, 3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov bl, byte [ebp + ecx - 0x1e]
lea eax, [ecx + edx]
cmp bl, byte [ebp + eax - 0x1001e]
je 0x430298
add ecx, 2
jmp 0x430236
mov bl, byte [ebp + ecx - 0x1d]
lea eax, [ecx + edx]
cmp bl, byte [ebp + eax - 0x1001d]
jne 0x4468fa
mov bl, byte [ebp + ecx - 0x1c]
lea eax, [ecx + edx]
cmp bl, byte [ebp + eax - 0x1001c]
je 0x4468e9
add ecx, 4
jmp 0x430236
add ecx, 5
cmp ecx, 0x14
jl 0x430226
jmp 0x430236
add ecx, 3
jmp 0x430236
mov eax, dword [ebp - 0xc]
mov esi, dword [ebp + 8]
lea ecx, [eax + edx + 0x14]
mov edx, dword [esi]
push 0
push ecx
push edx
call fcn.00435cb5
mov eax, dword [esi]
push eax
push 4
lea ecx, [ebp - 8]
push 1
push ecx
call fcn.004358e8
lea edx, [ebp - 8]
push 0x488130
push edx
mov byte [ebp - 4], 0
call fcn.00435914
add esp, 0x24
neg eax
sbb eax, eax
and eax, 4
jmp 0x43027a
Function at 0x430344
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1a8
push ebx
push esi
or ecx, 0xffffffff
mov ebx, 0x484ea8
call fcn.004302d4
mov esi, eax
lea eax, [esp + 0xa8]
push esi
push eax
call fcn.00434234
push esi
call fcn.00431dc0
add esp, 0xc
lea esi, [esp + 0x18]
call fcn.00430404
lea eax, [esp + 0xa8]
mov ecx, esi
call fcn.00430434
xor ebx, ebx
mov dword [edi + 8], ebx
xor ecx, ecx
mov eax, ebx
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 0x430398
mov dword [edi + 8], eax
mov eax, dword [ebp + 8]
push 0x488120
push eax
call fcn.004355a6
add esp, 8
mov dword [edi], eax
cmp eax, ebx
je 0x44880e
push edi
call fcn.004301a4
cmp eax, ebx
je 0x448818
mov ecx, dword [edi]
push ecx
mov esi, eax
call fcn.0043562a
add esp, 4
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, 1
jmp 0x4303f7
mov edx, dword [edi]
push edx
push 0x10
lea eax, [esp + 0x10]
push 1
push eax
call fcn.004358e8
add esp, 0x10
push 0x99f2
push 0x10
lea ecx, [esp + 0x10]
push ecx
call fcn.0046bbd3
xor eax, eax
mov dword [edi + 8], ebx
xor ecx, ecx
movzx edx, byte [esp + eax + 8]
inc eax
imul ecx, edx
cmp eax, 0x10
jl 0x448844
mov eax, dword [edi]
push eax
mov dword [edi + 8], ecx
call fcn.00435bc6
add esp, 4
mov dword [edi + 4], eax
xor eax, eax
jmp 0x4303f7

Function at 0x4303c7
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1a8
push ebx
push esi
or ecx, 0xffffffff
mov ebx, 0x484ea8
call fcn.004302d4
mov esi, eax
lea eax, [esp + 0xa8]
push esi
push eax
call fcn.00434234
push esi
call fcn.00431dc0
add esp, 0xc
lea esi, [esp + 0x18]
call fcn.00430404
lea eax, [esp + 0xa8]
mov ecx, esi
call fcn.00430434
xor ebx, ebx
mov dword [edi + 8], ebx
xor ecx, ecx
mov eax, ebx
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 0x430398
mov dword [edi + 8], eax
mov eax, dword [ebp + 8]
push 0x488120
push eax
call fcn.004355a6
add esp, 8
mov dword [edi], eax
cmp eax, ebx
je 0x44880e
push edi
call fcn.004301a4
cmp eax, ebx
je 0x448818
mov ecx, dword [edi]
push ecx
mov esi, eax
call fcn.0043562a
add esp, 4
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, 1
jmp 0x4303f7
mov edx, dword [edi]
push edx
push 0x10
lea eax, [esp + 0x10]
push 1
push eax
call fcn.004358e8
add esp, 0x10
push 0x99f2
push 0x10
lea ecx, [esp + 0x10]
push ecx
call fcn.0046bbd3
xor eax, eax
mov dword [edi + 8], ebx
xor ecx, ecx
movzx edx, byte [esp + eax + 8]
inc eax
imul ecx, edx
cmp eax, 0x10
jl 0x448844
mov eax, dword [edi]
push eax
mov dword [edi + 8], ecx
call fcn.00435bc6
add esp, 4
mov dword [edi + 4], eax
xor eax, eax
jmp 0x4303f7
Function at 0x430404
Capabilities:
Hash data with md5

Disassembly:
push 8
lea eax, [esi + 0x44]
push 0
push eax
call fcn.00433b24
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 0x452bfb
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x464]
test eax, eax
je 0x452c13
cmp eax, 0x10000
jne 0x452c37
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x45c]
push eax
push 0x10000
push 1
push ecx
call fcn.004358e8
add esp, 0x10
mov dword [esi + 0x464], 0
mov ecx, dword [esi + 0x464]
mov edx, dword [esi + 0x45c]
mov al, byte [ecx + edx]
inc ecx
mov dword [esi + 0x464], ecx
pop esi
pop ebp
ret 4

Function at 0x452c52
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x460]
test eax, eax
je 0x452c83
mov ecx, dword [esi + 0x20]
mov edx, dword [esi + 0x458]
push ecx
push eax
push 1
push edx
call fcn.00434e9a
add esp, 0x10
mov dword [esi + 0x460], 0
pop esi
pop ebp
ret 4

Function at 0x452c88
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov dl, byte [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 0x460]
mov eax, dword [esi + 0x458]
mov byte [eax + ecx], dl
inc dword [esi + 0x460]
cmp dword [esi + 0x460], 0x10000
jne 0x452cd7
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x458]
push eax
push 0x10000
push 1
push ecx
call fcn.00434e9a
add esp, 0x10
mov dword [esi + 0x460], 0
pop esi
pop ebp
ret 8

Function at 0x452d88
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, dword [ebp + 8]
cmp dword [esi + 0x14], 1
jne 0x452daf
mov eax, dword [esi + 0xc]
add eax, dword [esi + 4]
push 8
push eax
lea ecx, [ebp - 8]
push ecx
call fcn.00431a44
add esp, 0xc
jmp 0x452dc3
mov edx, dword [esi + 0x1c]
push edx
push 8
lea eax, [ebp - 8]
push 1
push eax
call fcn.004358e8
add esp, 0x10
movzx ecx, byte [ebp - 4]
movzx edx, byte [ebp - 3]
movzx eax, byte [ebp - 2]
add dword [esi + 0xc], 8
shl ecx, 8
or ecx, edx
movzx edx, byte [ebp - 1]
shl ecx, 8
or ecx, eax
mov eax, dword [ebp + 0xc]
shl ecx, 8
or ecx, edx
mov dword [eax], ecx
lea ecx, [ebp - 8]
push 0x488130
push ecx
mov byte [ebp - 4], 0
call fcn.00435914
add esp, 8
neg eax
sbb eax, eax
neg eax
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x452e65
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [0x4a7540], eax
mov edx, 1
mov eax, 0x4a7540
push edi
mov ecx, dword [eax]
mov edi, ecx
shr edi, 0x1e
xor edi, ecx
imul edi, edi, 0x6c078965
add edi, edx
mov dword [eax + 4], edi
add eax, 4
inc edx
cmp eax, 0x4a7efc
jl 0x452e7b
mov dword [0x49205c], 1
mov dword [0x4a7f10], 1
pop edi
pop ebp
ret
Function at 0x462fbe
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x34]
push edi
push 0x488154
push eax
mov dword [ebp - 4], fcn.00414a46
call fcn.004355a6
mov edi, eax
add esp, 8
mov dword [ebp - 8], edi
test edi, edi
jne 0x463012
push eax
push 0xdeadbeef
push 0x1f
push esi
call fcn.00462eaf
mov bl, al
lea eax, [ebp - 8]
push eax
call fcn.0045242c
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 8
mov dword [ebp + 8], 1
jmp 0x46301e
mov eax, dword [ebp + 0xc]
lea ecx, [ebp + 8]
push ecx
push 0x400
lea edx, [ebp - 0x408]
push edx
push eax
call dword [0x482748]
test eax, eax
je 0x463090
mov eax, dword [ebp + 8]
test eax, eax
je 0x463064
push edi
push 1
push eax
lea ecx, [ebp - 0x408]
push ecx
call fcn.00434e9a
mov eax, dword [ebp + 8]
add esp, 0x10
add dword [esi + 8], eax
adc dword [esi + 0xc], 0
test eax, eax
jne 0x46301e
mov eax, dword [esi + 8]
or eax, dword [esi + 0xc]
jne 0x4630b5
push eax
push 0xdeadbeef
push 0x21
push esi
call fcn.00462eaf
lea ecx, [ebp - 8]
push ecx
mov bl, al
call fcn.0045242c
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0
push 0xdeadbeef
push 0x20
push esi
call fcn.00462eaf
lea edx, [ebp - 8]
push edx
mov bl, al
call fcn.0045242c
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 8
push 1
push 0
push 0
push esi
call fcn.00462eaf
lea edx, [ebp - 8]
push edx
mov bl, al
call fcn.0045242c
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4639f0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
cmp dword [0x4a7f10], 0
push esi
push edi
mov esi, 0x4a7540
jne 0x463a10
push 0
call fcn.00435497
push eax
call fcn.00452e65
add esp, 8
mov dword [0x49205c], 0x270
mov dword [0x4a753c], esi
mov edx, 0xe3
mov ecx, dword [esi + 4]
mov edi, dword [esi]
mov al, cl
and al, 1
movzx eax, al
neg eax
sbb eax, eax
xor edi, ecx
and edi, 0x7ffffffe
xor edi, dword [esi]
and eax, 0x9908b0df
shr edi, 1
xor edi, dword [esi + 0x634]
add esi, 4
xor edi, eax
dec edx
mov dword [esi - 4], edi
jne 0x463a25
mov edx, 0x18c
lea esp, [esp]
mov ecx, dword [esi + 4]
mov edi, dword [esi]
mov al, cl
and al, 1
movzx eax, al
neg eax
sbb eax, eax
xor edi, ecx
and edi, 0x7ffffffe
xor edi, dword [esi]
and eax, 0x9908b0df
shr edi, 1
xor edi, dword [esi - 0x38c]
add esi, 4
xor edi, eax
dec edx
mov dword [esi - 4], edi
jne 0x463a60
mov ecx, dword [0x4a7540]
mov dl, cl
and dl, 1
movzx eax, dl
mov edx, dword [esi]
neg eax
sbb eax, eax
xor edx, ecx
and edx, 0x7ffffffe
xor edx, dword [esi]
and eax, 0x9908b0df
shr edx, 1
xor edx, dword [esi - 0x38c]
pop edi
xor edx, eax
mov dword [esi], edx
pop esi
ret
Function at 0x46486b
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push edi
mov edi, dword [ebp + 0x18]
xor esi, esi
mov byte [0x4974ee], 0
test edi, edi
je 0x4648b0
mov byte [0x4974ef], 1
call dword [0x482160]
mov dword [ebp - 8], eax
lea eax, [ebp + 0x18]
push eax
push esi
lea ecx, [ebp - 8]
push ecx
push 0x443b61
push esi
push esi
mov dword [ebp - 4], edi
call fcn.00434963
add esp, 0x18
mov esi, eax
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
push edx
mov edx, dword [ebp + 8]
push eax
push ecx
push edx
call dword [str.T__]
mov edi, eax
test esi, esi
je 0x4648e3
push 0xffffffffffffffff
push esi
mov byte [0x4974ef], 0
call dword [0x4822fc]
push esi
call dword [0x48230c]
cmp byte [0x4974ee], 1
jne 0x4648f5
pop edi
or eax, 0xffffffff
pop esi
mov esp, ebp
pop ebp
ret
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4656dc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov eax, dword [esi]
lea ecx, [eax + 4]
push edi
mov edi, dword [eax + edx]
mov dword [esi], ecx
xor ecx, ecx
lea eax, [edi + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004321bb
mov ebx, eax
lea eax, [edi + edi]
push eax
mov eax, dword [esi]
add eax, dword [ebp + 8]
push eax
push ebx
call fcn.00431a44
lea eax, [edi + edi]
add dword [esi], eax
xor ecx, ecx
mov word [eax + ebx], cx
add esp, 0x10
xor eax, eax
test edi, edi
jle 0x46573a
xor word [ebx + eax*2], di
inc eax
cmp eax, edi
jl 0x465731
pop edi
pop esi
mov eax, ebx
pop ebx
pop ebp
ret 8
Function at 0x46bbd3
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe0
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 0xdc]
push eax
call fcn.0046383e
mov ecx, dword [ebp + 0x10]
push ecx
lea edx, [ebp - 0xdc]
push edx
call fcn.00463798
xor esi, esi
test edi, edi
je 0x46bc1b
lea eax, [ebp - 0xdc]
push eax
call fcn.0046380d
xor byte [esi + ebx], al
inc esi
cmp esi, edi
jb 0x46bc07
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x46bee8
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push ecx
dec dword [0x49205c]
jne 0x46bef9
call fcn.004639f0
mov ecx, dword [0x4a753c]
mov eax, dword [ecx]
add ecx, 4
mov dword [0x4a753c], ecx
mov ecx, eax
shr ecx, 0xb
xor eax, ecx
mov edx, eax
and edx, 0xff3a58ad
shl edx, 7
xor eax, edx
mov ecx, eax
and ecx, 0xffffdf8c
shl ecx, 0xf
xor eax, ecx
mov edx, eax
shr edx, 0x12
xor edx, eax
mov dword [ebp - 4], edx
fild dword [ebp - 4]
jns 0x46bf40
fadd qword [0x48cd18]
fmul qword [0x48cd20]
mov esp, ebp
pop ebp
ret
Function at 0x4732fd
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x430
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 4], 0
mov eax, dword [esi]
push eax
push 4
mov edi, 1
lea ecx, [ebp - 0xc]
push edi
push ecx
call fcn.004358e8
add esp, 0x10
push 0x18ee
push 4
lea edx, [ebp - 0xc]
push edx
call fcn.0046bbd3
lea eax, [ebp - 0xc]
push 0x48815c
push eax
mov byte [ebp - 8], 0
call fcn.00435914
add esp, 8
test eax, eax
jne 0x473493
mov ecx, dword [esi]
add dword [ebp - 4], edi
push ecx
push edi
lea edx, [ebp + 8]
push 4
push edx
call fcn.004358e8
mov edi, dword [ebp + 8]
mov eax, dword [esi]
push eax
xor edi, 0xadbc
lea ebx, [edi + edi]
push ebx
lea ecx, [ebp - 0x220]
push 1
push ecx
call fcn.004358e8
add esp, 0x20
add edi, 0xb33f
push edi
push ebx
lea edx, [ebp - 0x220]
push edx
call fcn.0046bbd3
lea ecx, [ebp - 0x220]
push ecx
lea edx, [ebp - 0x430]
xor eax, eax
push edx
mov word [ebp + ebx - 0x220], ax
call fcn.0043214b
mov eax, dword [esi]
push eax
push 1
lea ecx, [ebp + 8]
push 4
push ecx
call fcn.004358e8
mov edi, dword [ebp + 8]
mov edx, dword [esi]
push edx
xor edi, 0xf820
lea ebx, [edi + edi]
push ebx
lea eax, [ebp - 0x220]
push 1
push eax
call fcn.004358e8
add esp, 0x28
add edi, 0xf479
push edi
push ebx
lea ecx, [ebp - 0x220]
push ecx
call fcn.0046bbd3
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 0x220]
push eax
xor edx, edx
push ecx
mov word [ebp + ebx - 0x220], dx
call fcn.0043214b
mov edi, dword [ebp + 0xc]
lea edx, [ebp - 0x430]
push edi
push edx
call fcn.00433d20
add esp, 0x10
test eax, eax
je 0x473488
push 0x488150
push edi
call fcn.00433d20
add esp, 8
test eax, eax
jne 0x473448
cmp dword [ebp - 4], eax
je 0x473488
mov eax, dword [esi]
push 1
push 1
push eax
call fcn.00435cb5
mov ecx, dword [esi]
add esp, 0xc
push ecx
push 1
lea edx, [ebp - 0x10]
push 4
push edx
call fcn.004358e8
mov eax, dword [ebp - 0x10]
xor eax, 0x87bc
mov dword [ebp - 0x10], eax
add eax, 0x18
push 1
push eax
mov eax, dword [esi]
push eax
call fcn.00435cb5
add esp, 0x1c
jmp 0x473313
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
pop edi
pop esi
mov eax, 6
pop ebx
mov esp, ebp
pop ebp
ret 0xc