joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6de920
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x60
mov ecx, 0xc
push ebx
mov ebx, dword [esp + 0x68]
push ebp
push esi
push edi
cmp byte [ebx + 0x2b], 2
lea edi, [esp + 0x10]
mov eax, dword [ebx + 0x20]
mov ebp, dword [eax]
mov esi, ebp
rep movsd dword es:[edi], dword [esi]
je 0x6de951
mov eax, dword [ebx + 4]
push eax
mov ecx, dword [eax]
mov eax, dword [ecx + 0x3c]
call eax
add esp, 4
lea esi, [ebp + 0x30]
mov ecx, 0xc
lea edi, [esp + 0x40]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x10]
mov esi, 0x2c
lea edx, [esp + 0x40]
lea esp, [esp]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x6dea21
add ecx, 4
add edx, 4
sub esi, 4
jae 0x6de970
cmp byte [esp + 0x1c], 0
je 0x6dea21
xor edx, edx
lea ecx, [esp + 0x10]
xor esi, esi
mov eax, dword [ecx]
add eax, edx
add esi, eax
mov eax, dword [ecx + 4]
add eax, esi
add ecx, 8
add edx, eax
lea eax, [esp + 0x38]
cmp ecx, eax
jb 0x6de998
cmp esi, dword [esp + 0x38]
jne 0x6dea21
cmp edx, dword [esp + 0x3c]
jne 0x6dea21
lea edi, [ebx + 0x34]
mov esi, 0x2c
mov ecx, edi
lea edx, [esp + 0x10]
lea ebx, [ebx]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x6de9eb
add ecx, 4
add edx, 4
sub esi, 4
jae 0x6de9d0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x60
ret
mov eax, dword [esp + 0x78]
lea esi, [esp + 0x10]
mov ecx, 0xc
mov dword [eax], 1
rep movsd dword es:[edi], dword [esi]
movzx ecx, word [ebx + 0x42]
mov eax, ecx
and ecx, 0xfe00
and eax, 1
pop edi
shl eax, 0x10
pop esi
add eax, ecx
mov dword [ebx + 0x24], eax
xor eax, eax
pop ebp
pop ebx
add esp, 0x60
ret
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x60
ret
Function at 0x6eca31
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
cmp dword [0x7c89c8], 0
push ebx
push esi
mov esi, 0x7c89d0
jne 0x6eca5d
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
push esi
mov dword [0x7c89e8], eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [0x7c89c8], 1
push dword [0x7c89e8]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
test ebx, ebx
jne 0x6ecafa
push 0x14
push 8
push dword [0x7c1878]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, eax
test ebx, ebx
je 0x6ecb24
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x7c89cc]
test eax, eax
je 0x6eca9f
mov dword [eax], ebx
push edi
push esi
mov dword [ebx + 4], eax
mov dword [0x7c89cc], ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea edi, [ebx + 0x10]
push 0
push 0
push 0x100000
push edi
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call esi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
push 8
push 0xffffffffffffffff
push ebx
push 0x6ecb29
push dword [edi]
lea eax, [ebx + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_RegisterWaitForSingleObject]
push ebx
push dword [0x7c89e8]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop edi
push 0xc
push 0
push dword [0x7c1878]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x6ecb24
mov ecx, dword [esp + 0xc]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x10]
mov dword [eax + 8], ecx
mov ecx, dword [ebx + 8]
mov dword [eax], ecx
mov dword [ebx + 8], eax
pop esi
pop ebx
ret 8

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x1000cba3
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x10016324]
test eax, eax
jne 0x1000cc14
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov ebx, dword [ebp + 8]
cmp ebx, eax
jne 0x1000cbc1
xor eax, eax
jmp 0x1000cc13
push esi
push edi
push 8
pop esi
push esi
call fcn.1000d3c8
mov edi, eax
pop ecx
test edi, edi
je 0x1000cbee
push ebx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x1000cbff
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
mov esi, eax
call fcn.1000d775
pop ecx
and dword [0x10016328], 0
mov eax, esi
mov dword [0x10016324], esi
jmp 0x1000cc11
mov eax, dword [0x1001632c]
mov dword [edi], eax
xor eax, eax
mov dword [edi + 4], ebx
mov dword [0x1001632c], edi
pop edi
pop esi
pop ebx
pop ebp
ret 4

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x1000885b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
pushal
call 0x1000886a
pop dword [ebp - 0x2c]
mov eax, 0x1000886a
sub dword [ebp - 0x2c], eax
mov dword [ebp - 0x3c], 0xfa0c8915
add dword [ebp - 0x3c], 0x5445bc36
mov dword [ebp - 0x38], 0x2500de21
sub dword [ebp - 0x38], 0xf2cd91dc
mov dword [ebp - 0x34], 0x91353eeb
add dword [ebp - 0x34], 0xbb170543
mov dword [ebp - 0x30], 0xa3b8b97a
sub dword [ebp - 0x30], 0xa3b8b97a
lea eax, [ebp - 0x3c]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x2c]
call dword [eax]
mov dword [ebp - 0x3c], 0x16c0e960
sub dword [ebp - 0x3c], 0xa24e800a
mov dword [ebp - 0x38], 0x1309b04e
add dword [ebp - 0x38], 0x2e62b127
mov dword [ebp - 0x34], 0xcd1f9cb2
add dword [ebp - 0x34], 0x964fcfba
mov dword [ebp - 0x30], 0xe770b289
sub dword [ebp - 0x30], 0xe770b289
lea ebx, [ebp - 0x3c]
push ebx
push eax
mov eax, 0x151cb4ab
add eax, 0xfae53bf1
add eax, dword [ebp - 0x2c]
call dword [eax]
push 0x40
push 0x1000
push 0x3aa2c
push 0
call eax
mov ecx, 0x3e07a0ba
add ecx, 0xc1f8a3ff
xor esi, esi
add esi, eax
mov edi, 0xee2dfa30
sub edi, 0xde2b6030
add edi, dword [ebp - 0x2c]
mov edx, 0x20b4698
add edx, 0x6d78d02c
xor dword [ebp - 0x18], ebx
mov ebx, dword [edi]
add dword [ebp - 8], ecx
add ebx, edx
sub dword [ebp - 0x18], edx
mov dword [esi], ebx
add dword [ebp - 4], 0x57f4eb96
add esi, 0x97024b47
add esi, 0x68fdb4bd
add edi, 0xaf7419e6
sub edi, 0xaf7419e2
loop 0x10008984
add eax, 0x70ea43b
add eax, 0xf8f2617c
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x10000000
add ecx, dword [ebp - 0x2c]
call ebx
leave
ret

Function at 0x1001cc37
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
cmp byte [esi + 0x2d], 0
jne 0x1001ccba
push ebx
mov ebx, dword [ebp + 0x10]
push edi
push 0
lea eax, [ebp + 0x10]
push eax
push ebx
push dword [ebp + 0xc]
push dword [esi + 0x30]
call dword [sym.imp.kernel32.dll_ReadFile]
mov edi, dword [ebp + 0x10]
cmp edi, ebx
je 0x1001cc84
mov byte [esi + 0x2d], 0xff
test edi, edi
je 0x1001cc84
cmp edi, ebx
jge 0x1001cc84
mov eax, dword [ebp + 0xc]
mov ecx, ebx
sub ecx, edi
push ecx
add eax, edi
push 0
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
cmp dword [esi + 0x18], 0
je 0x1001ccb4
add dword [esi + 0x1c], ebx
cmp dword [esi + 0x1c], 0xffff
jle 0x1001ccb4
xor eax, eax
mov word [esi + 0x1e], ax
mov eax, dword [esi]
push esi
call dword [eax + 0x2c]
mov ecx, dword [esi + 0x18]
mov edx, dword [ecx]
push 1
push dword [esi + 0x20]
push eax
push ecx
call dword [edx + 0xc]
mov edi, dword [ebp + 0x10]
mov eax, edi
pop edi
pop ebx
jmp 0x1001cccc
push dword [ebp + 0x10]
push 0
push dword [ebp + 0xc]
call sub.MSVCR100.dll_memset
add esp, 0xc
xor eax, eax
pop esi
pop ebp
ret 0xc
Function at 0x1001cf62
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x310
mov eax, dword [0x100268b0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push edi
mov edi, dword [ebp + 0xc]
cmp byte [0x100269c0], al
je 0x1001cf99
push ebx
push dword [ebp + 0x10]
push edi
push esi
call dword [sym.imp.kernel32.dll_GetTempFileNameW]
jmp 0x1001cffd
push 0x103
push eax
mov byte [ebp - 0x108], al
lea eax, [ebp - 0x107]
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
lea eax, [ebp - 0x310]
push eax
push esi
call fcn.1000885b
lea eax, [ebp - 0x20c]
push eax
push edi
call fcn.1000885b
lea eax, [ebp - 0x108]
push eax
push dword [ebp + 0x10]
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x310]
push eax
call dword [sym.imp.kernel32.dll_GetTempFileNameA]
mov esi, eax
push ebx
lea eax, [ebp - 0x108]
push eax
call fcn.1000885b
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1001ddeb
leave
ret 0x10

Function at 0x1001d00e
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x100268b0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x100269c0], 0
push esi
mov esi, dword [ebp + 0xc]
je 0x1001d03a
push esi
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_GetTempPathW]
jmp 0x1001d06b
lea eax, [ebp - 0x108]
push eax
push 0x104
call dword [sym.imp.kernel32.dll_GetTempPathA]
test eax, eax
je 0x1001d069
push dword [ebp + 8]
lea eax, [ebp - 0x108]
push esi
push eax
call fcn.1000885b
push esi
call dword [sym.imp.kernel32.dll_lstrlenW]
jmp 0x1001d06b
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.1001ddeb
leave
ret 8

Function at 0x1001d106
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x100268b0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x100269c0], 0
mov eax, dword [ebp + 8]
je 0x1001d12e
push eax
call dword [sym.imp.kernel32.dll_DeleteFileW]
jmp 0x1001d148
lea ecx, [ebp - 0x108]
push ecx
push eax
call fcn.1000885b
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.kernel32.dll_DeleteFileA]
mov ecx, dword [ebp - 4]
test eax, eax
setne al
xor ecx, ebp
call fcn.1001ddeb
leave
ret 4

Function at 0x1001ddeb
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x100268b0]
jne 0x1001ddf5
repz ret
jmp fcn.1001e62c

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x40e280
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x9000]
push edi
jmp 0x40e29a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x40e2a1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x40e290
mov eax, 1
add ebx, ebx
jne 0x40e2b3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x40e2a8
jne 0x40e2c4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40e2a8
xor ecx, ecx
sub eax, 3
jb 0x40e2d8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40e34a
mov ebp, eax
add ebx, ebx
jne 0x40e2e3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x40e2f0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40e314
inc ecx
add ebx, ebx
jne 0x40e300
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x40e2f5
jne 0x40e311
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40e2f5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40e334
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40e325
jmp 0x40e296
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40e334
add edi, ecx
jmp 0x40e296
pop esi
mov edi, esi
mov ecx, 0xa8
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40e352
cmp byte [edi], 5
jne 0x40e352
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x40e357
lea edi, [esi + 0xc000]
mov eax, dword [edi]
or eax, eax
je 0x40e3c6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x10810]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x10838]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40e384
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1083c]
or eax, eax
je 0x40e3c0
mov dword [ebx], eax
add ebx, 4
jmp 0x40e3a1
call dword [esi + 0x1084c]
mov ebp, dword [esi + 0x10840]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ff]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x40e3fa
sub esp, 0xffffff80
jmp 0x401d5b
Function at 0x10181e23
Capabilities:
Execute anti-debugging instructions

Disassembly:
push 0x1710fc
jmp 0x10181f84
push dword [esp + 3]
jmp 0x10181ec5
lea esp, [esp + 0x24]
call fcn.10181e77
outsd dx, dword [esi]
jmp 0x10181f1b
jns 0x1018204d
push esp
mov dword [esp + 0x24], edi
jmp 0x10181e94
xchg edx, ebp
jmp 0x10181f0e
xchg edx, ebp
mov esi, dword [esp + 0x2c]
mov edx, dword [esp]
rdtsc
xchg ebx, edx
jmp 0x10181f35
mov ebp, dword [esp]
bswap ecx
jmp 0x10181f41
lea edi, [esp]
lea edx, [esi + ebp]
neg ecx
je 0x10181f1b
jne 0x10181f5f
sub esp, 0xc0
mov ebp, esp
mov bl, byte [esp]
call fcn.10181f66
inc eax
rol dword [ecx + 0x20], 1
shl dword [ebp - 0x3e], cl
push edx
shl byte [edi - 0x35ac69ae], 0x8b
sub al, 0x24
mov ebp, dword [esp]
bswap ecx
jmp 0x10181f41
neg si
jno 0x10181f0c
jo 0x10181ef6
invalid
rdtsc
pushal
add esp, 0x1d
call int.10181fa9
in eax, dx
jg 0x10181f8c
mov bh, byte [ecx + 0x36]
ror byte [ebp - 0x24], cl
das
not bh
jmp 0x10181f8f
push esp
mov dword [esp + 0x24], edi
lea esp, [esp + 0x24]
pushfd
jmp 0x10181c78

Function at 0x10181f66
Capabilities:
Execute anti-debugging instructions

Disassembly:
lea edx, [edi*4]
jmp 0x10181fd2
not bh
mov ecx, esi
mov dl, byte [esp]
bsr dx, di
jae 0x10181fa5
not bh
rdtsc
pushal
add esp, 0x1d
jmp 0x10181f95

Function at 0x10188a13
Capabilities:
Encode data using xor

Disassembly:
call 0x10187cdf
jmp 0x101889d7
jmp 0x10188a29
push edi
lea esp, [esp + 4]
push 0
pushfd
jmp 0x1018899c
jne 0x1018895f
pushal
jmp 0x10187cda
cmp dword [esp + 4], 0
jmp 0x10188982
call 0x101889c7
dec ebp
push ebx
push esi
inc ebx
push edx
push esp
insb byte es:[edi], dx
insb byte es:[edi], dx
add bl, ch
sub al, 0xda
dec eax
fidivr word [ecx - 0x1a8b76b8]
jne 0x101889ef
out dx, eax
pop ecx
xchg esp, eax
pop es
pop eax
sub eax, 0x17639cd9
jmp 0x101889b7
sbb cl, byte [eax - 0x427e511]
call dword [eax + 0x1761d3ea]
jmp 0x10188a01
call 0x10188a13
aas
aas
xor al, byte [eax + 0x59]
inc ecx
push eax
inc ecx
pop eax
dec ecx
inc eax
pop edx
add bl, ch
retf 0xb423
popfd
ret

Function at 0x1018e5bd
Capabilities:
Encode data using xor

Disassembly:
mov eax, ecx
jmp 0x1017442f
xor ecx, ecx
cmp dword [esp + 4], ecx
jbe 0x10174449
push esi
movzx esi, byte [ecx + edx]
rol eax, 7
xor eax, esi
inc ecx
cmp ecx, dword [esp + 8]
jb 0x10174438
pop esi
jmp 0x10174454
ret 4
jmp 0x1018e62d
xchg word [esp], bp
mov ebp, dword [esp + 0x48]
lea esp, [esp + 0x4c]
jmp 0x10174422
Function at 0x45d5f4
Capabilities:
Read file on windows

Disassembly:
push esi
lea edx, [esp]
push 4
push edx
push dword [eax]
call fcn.00467fae
mov eax, dword [esp + 0xc]
add esp, 0x10
ret

Function at 0x45d610
Capabilities:
Read file on windows

Disassembly:
push edi
push ebx
sub esp, 0x24
mov edi, eax
xor eax, eax
mov dh, byte [edi]
mov ecx, edi
test dh, dh
je 0x45d629
inc ecx
inc eax
mov dl, byte [ecx]
test dl, dl
jne 0x45d621
mov ebx, eax
inc ebx
push ebx
call fcn.0046769c
pop ecx
mov ecx, dword [0x8017a0]
mov edx, dword [0x80179c]
mov dword [edx + ecx*4], eax
mov edx, dword [0x80179c]
mov ecx, dword [0x8017a0]
mov edx, dword [edx + ecx*4]
test edx, edx
je 0x45d785
push ebx
push edi
push edx
call dword [0x5d048c]
add esp, 0xc
mov ebx, dword [0x8017a0]
mov ecx, dword [0x80179c]
lea eax, [esp + 8]
mov edx, dword [ecx + ebx*4]
call fcn.0045d7f8
movsx eax, byte [esp + 0x10]
test eax, eax
je 0x45d760
lea eax, [esp + 0x20]
push 4
push eax
push dword [esp + 0x10]
call fcn.00467fae
add esp, 0xc
lea eax, [esp + 8]
call fcn.0045d5f4
mov edi, eax
lea eax, [esp + 8]
call fcn.0045d5f4
mov ebx, eax
lea eax, [esp + 8]
call fcn.0045d888
mov edx, dword [esp + 0x20]
cmp edx, 0x465059
jne 0x45d6fe
cmp edi, 0x1e2
je 0x45d6d8
cmp edi, 0xea
jl 0x45d73b
mov edx, dword [0x8017a4]
add edx, ebx
mov dword [0x8017a4], edx
cmp edx, 0x186a0
jge 0x45d71f
mov eax, dword [0x8017a0]
inc eax
mov dword [0x8017a0], eax
cmp eax, 0x64
jge 0x45d706
xor eax, eax
add esp, 0x24
pop ebx
pop edi
ret
push 0x64
push 1
push 0x196c2
call fcn.00464784
mov eax, 0xffffffff
add esp, 0x30
pop ebx
pop edi
ret
push 0x186a0
push 1
push 0x196cc
call fcn.00464784
mov eax, 0xffffffff
add esp, 0x30
pop ebx
pop edi
ret
mov edx, dword [0x8017a0]
mov eax, dword [0x80179c]
push dword [eax + edx*4]
push 1
push 0x196b8
call fcn.00464784
mov eax, 0xffffffff
add esp, 0x30
pop ebx
pop edi
ret
mov edx, dword [0x8017a0]
mov eax, dword [0x80179c]
push dword [eax + edx*4]
push 1
push 0xdbfb0
call fcn.00464784
mov eax, 0xfffffffe
add esp, 0x30
pop ebx
pop edi
ret
push 1
push 0x186aa
call fcn.004647e0
mov eax, 0xffffffff
add esp, 0x2c
pop ebx
pop edi
ret

Function at 0x45d874
Capabilities:
Read file on windows

Disassembly:
push ecx
push edx
push dword [eax]
call fcn.00467fae
add esp, 0xc
ret

Function at 0x45df7c
Capabilities:
Create thread

Disassembly:
xor eax, eax
push eax
push eax
push 0x422240
call fcn.0046a5d0
add esp, 0xc
test eax, eax
je 0x45dfa2
movsx edx, byte [0x5b36f8]
dec edx
push edx
push eax
call dword [0x58b0b4]
ret
push 0x807da0
push 0
call fcn.0040c5ac
add esp, 8
ret
Function at 0x462a64
Capabilities:
Create thread

Disassembly:
movsx eax, byte [0x8015b0]
test eax, eax
je 0x462a80
xor eax, eax
push eax
push eax
push 0x426604
call fcn.0046a5d0
add esp, 0xc
ret

Function at 0x462a84
Capabilities:
Create thread

Disassembly:
push edi
push esi
push ebx
push esi
movsx edx, byte [0x5b36f4]
test edx, edx
jle 0x462b1f
xor eax, eax
xor ecx, ecx
xor edx, edx
mov edi, eax
mov ebx, edx
mov esi, ecx
xor eax, eax
push eax
push eax
push eax
push eax
call dword [0x58b0d4]
mov dword [esi*4 + 0x7b3f20], eax
xor eax, eax
push eax
push eax
push eax
push eax
call dword [0x58b0d4]
mov dword [ebx + 0x7b4020], eax
xor eax, eax
push eax
push 1
push eax
push eax
call dword [0x58b0d4]
mov dword [ebx + 0x7b4120], eax
cmp dword [esi*4 + 0x7b3f20], 0
je 0x462be5
cmp dword [esi*4 + 0x7b4020], 0
je 0x462bd5
cmp dword [esi*4 + 0x7b4120], 0
je 0x462bc5
add ebx, 4
inc esi
movsx edx, byte [0x5b36f4]
cmp esi, edx
jl 0x462aa3
mov eax, edi
cmp eax, 1
je 0x462bad
test edx, edx
jle 0x462ba9
xor eax, eax
xor ecx, ecx
xor edx, edx
mov ebx, eax
mov esi, edx
mov edi, ecx
mov dword [esi + 0x7b2520], edi
xor ecx, ecx
lea edx, [esi + 0x7b2520]
lea eax, [esp]
push eax
push ecx
push edx
push 0x4253b4
push ecx
push ecx
call fcn.0046a871
add esp, 0x18
mov dword [edi*4 + 0x7b2420], eax
push edi
push eax
call dword [0x58b0b4]
cmp dword [edi*4 + 0x7b2420], 0
jne 0x462b74
mov ebx, 1
add esi, 0x68
inc edi
movsx eax, byte [0x5b36f4]
cmp edi, eax
jl 0x462b33
mov eax, ebx
cmp eax, 1
je 0x462b91
xor eax, eax
pop ecx
pop ebx
pop esi
pop edi
ret
push 0x808284
push 0
call fcn.0040c5ac
mov eax, 0xffffffff
add esp, 0xc
pop ebx
pop esi
pop edi
ret
xor eax, eax
jmp 0x462b85
push 0x808258
push 0
call fcn.0040c5ac
mov eax, 0xffffffff
add esp, 0xc
pop ebx
pop esi
pop edi
ret
call dword [0x58b23c]
mov edi, 1
jmp 0x462b05
call dword [0x58b23c]
mov edi, 1
jmp 0x462af7
call dword [0x58b23c]
mov edi, 1
jmp 0x462ae9
Function at 0x464384
Capabilities:
Inspect section memory permissions

Disassembly:
push esi
call dword [0x58b430]
test eax, eax
jg 0x464398
mov dword [0x801288], eax
xor eax, eax
pop ecx
ret
mov edx, 0x10
cmp eax, 0x10
jl 0x4643a4
mov eax, edx
mov dword [0x801288], eax
xor eax, eax
mov dword [esp], ebx
mov ebx, eax
lea edx, [ebx + 0x7a9860]
push 0x34
push edx
call dword [0x5d0480]
add esp, 8
mov dword [ebx + 0x7a9860], 0x34
mov dword [ebx + 0x7a9864], 0x83
add ebx, 0x34
cmp ebx, 0x340
jl 0x4643b0
mov ebx, dword [esp]
mov dword [0x7a9ba0], 1
mov dword [0x7a9ba4], 2
mov dword [0x7a9ba8], 4
mov dword [0x7a9bac], 8
mov dword [0x7a9bb0], 0x10
mov dword [0x7a9bb4], 0x20
mov dword [0x7a9bb8], 0x40
mov dword [0x7a9bbc], 0x80
mov dword [0x7a9bc0], 0x100
mov dword [0x7a9bc4], 0x200
mov dword [0x7a9bc8], 0x400
mov dword [0x7a9bcc], 0x800
mov dword [0x7a9bd0], 0x1000
mov dword [0x7a9bd4], 0x2000
mov dword [0x7a9bd8], 0x4000
mov dword [0x7a9bdc], 0x8000
mov dword [0x7a9be0], 0x10000
mov dword [0x7a9be4], 0x20000
mov dword [0x7a9be8], 0x40000
mov dword [0x7a9bec], 0x80000
mov dword [0x7a9bf0], 0x100000
mov dword [0x7a9bf4], 0x200000
mov dword [0x7a9bf8], 0x400000
mov dword [0x7a9bfc], 0x800000
mov dword [0x7a9c00], 0x1000000
mov dword [0x7a9c04], 0x2000000
mov dword [0x7a9c08], 0x4000000
mov dword [0x7a9c0c], 0x8000000
mov dword [0x7a9c10], 0x10000000
mov dword [0x7a9c14], 0x20000000
mov dword [0x7a9c18], 0x40000000
mov dword [0x7a9c1c], 0x80000000
mov eax, 1
pop ecx
ret

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

Disassembly:
mov eax, dword [esp + 4]
mov dword [0x5e53a0], eax
mov eax, 1
mov ecx, dword [eax*4 + 0x5e539c]
mov edx, ecx
shr edx, 0x1e
xor ecx, edx
imul edx, ecx, 0x6c078965
add edx, eax
mov dword [eax*4 + 0x5e53a0], edx
inc eax
cmp eax, 0x270
jl 0x464a4a
mov dword [0x5b36d8], eax
ret
Function at 0x4cf3de
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x18]
imul eax, edi
add eax, edx
cmp edx, eax
mov dword [ebp - 0x14], eax
jae 0x4cf501
mov eax, dword [ebp + 0x10]
lea eax, [edx + eax*4]
push ebx
push esi
mov dword [ebp + 0x14], eax
mov esi, 0xffc03fc0
mov eax, 0xff00ff
cmp edx, dword [ebp + 0x14]
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], ecx
jae 0x4cf4e5
mov ebx, dword [ebp + 0x14]
sub ebx, edx
dec ebx
shr ebx, 3
lea ecx, [edx + 4]
inc ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], ebx
mov edx, dword [ecx + edi]
mov edi, dword [edi + ecx - 4]
mov dword [ebp - 8], edi
shr edi, 2
and edi, esi
mov dword [ebp + 0x10], edx
mov edx, dword [ecx]
mov ecx, dword [ecx - 4]
mov ebx, ecx
shr ebx, 2
and ebx, esi
add ebx, edi
mov edi, dword [ebp + 0x10]
shr edi, 2
and edi, esi
add ebx, edi
mov edi, edx
shr edi, 2
and edi, esi
lea ebx, [ebx + edi - 0x7fff80]
mov edi, dword [ebp - 8]
and edi, eax
mov esi, ecx
and esi, eax
add esi, edi
mov edi, dword [ebp + 0x10]
and edi, eax
add esi, edi
mov edi, edx
and edi, eax
lea esi, [esi + edi + 0x20002]
mov edi, dword [ebp - 8]
shr ecx, 2
shr esi, 2
xor ebx, esi
shr edi, 2
mov esi, 0x3fc03fc0
and ecx, esi
and edi, esi
add ecx, edi
mov edi, dword [ebp + 0x10]
shr edi, 2
and edi, esi
add ecx, edi
mov edi, dword [ebp + 0x18]
shr edx, 2
and edx, esi
lea ecx, [ecx + edx + 0x800080]
and ebx, eax
xor ebx, ecx
mov ecx, dword [ebp - 4]
add dword [ebp - 4], 4
mov dword [ecx], ebx
mov ecx, dword [ebp - 0xc]
add ecx, 8
dec dword [ebp - 0x10]
mov dword [ebp - 0xc], ecx
mov esi, 0xffc03fc0
jne 0x4cf437
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x1c]
add dword [ebp + 8], ecx
lea ecx, [edi + edi]
add dword [ebp + 0x14], ecx
add edx, ecx
cmp edx, dword [ebp - 0x14]
mov dword [ebp + 0xc], edx
jb 0x4cf415
pop esi
pop ebx
xor eax, eax
pop edi
leave
ret 0x18