joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40337c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ecx
push edx
push esi
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov edx, ecx
cmp edx, 4
jl 0x4033c3
cmp edx, 0x10
jl 0x4033af
shr ecx, 4
nop
xor eax, dword [ebx]
mov esi, dword [ebx + 4]
xor eax, dword [ebx + 8]
xor esi, dword [ebx + 0xc]
add ebx, 0x10
xor eax, esi
dec ecx
jne 0x40339c
mov ecx, edx
shr ecx, 2
and ecx, 3
test ecx, ecx
je 0x4033c3
xor eax, dword [ebx]
add ebx, 4
dec ecx
jne 0x4033bb
and edx, 3
cmp edx, 3
jne 0x4033d7
xor ecx, ecx
mov cl, byte [ebx]
inc ebx
shl ecx, 0x10
xor eax, ecx
jmp 0x4033dc
cmp edx, 2
jne 0x4033e8
xor ecx, ecx
mov cl, byte [ebx]
inc ebx
shl ecx, 8
xor eax, ecx
jmp 0x4033ed
cmp edx, 1
jne 0x4033f3
xor ecx, ecx
mov cl, byte [ebx]
xor eax, ecx
pop esi
pop edx
pop ecx
pop ebx
ret
Function at 0x40ac1d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x40e520
cmp edx, dword [eax]
je 0x40ac3f
add eax, 8
inc ecx
cmp eax, 0x40e5b0
jl 0x40ac30
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x40e520]
jne 0x40ad6d
mov eax, dword [0x40fd34]
cmp eax, 1
je 0x40ad47
test eax, eax
jne 0x40ac70
cmp dword [0x40e304], 1
je 0x40ad47
cmp edx, 0xfc
je 0x40ad6d
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x40aca7
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0040b8b0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0040b2b0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x40acea
lea eax, [ebp - 0x1a4]
push eax
call fcn.0040b2b0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x40d58c
push edi
call fcn.00408ac0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0040b8b0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0040b8c0
lea eax, [ebp - 0xa0]
push 0x40d56c
push eax
call fcn.0040b8c0
push dword [esi + 0x40e524]
lea eax, [ebp - 0xa0]
push eax
call fcn.0040b8c0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0040bcd5
add esp, 0x2c
pop edi
jmp 0x40ad6d
lea eax, [ebp + 8]
lea esi, [esi + 0x40e524]
push 0
push eax
push dword [esi]
call fcn.0040b2b0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..rsrc
nop
nop
mov ebx, 0x40c7d0
nop
mov ecx, 0x367b4aae
nop
test eax, eax
nop
nop
nop
je 0x43204e
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x432024
nop
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x42f314
nop
nop
mov ecx, 0x166261d9
test eax, eax
nop
nop
nop
nop
nop
je 0x432084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43206c
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x405590
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket

Disassembly:
sub esp, 0x10
push esi
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4055ae
or eax, eax
pop esi
add esp, 0x10
ret
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
push ecx
mov dword [esp + 0xc], eax
mov word [esp + 8], 2
call dword [sym.imp.WS2_32.dll_htons]
lea edx, [esp + 4]
push 0x10
push edx
push esi
mov word [esp + 0x12], ax
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x4055ef
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
or eax, 0xffffffff
pop esi
add esp, 0x10
ret
mov eax, esi
pop esi
add esp, 0x10
ret

Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..rsrc
mov ebx, 0x40c7d0
nop
nop
mov ecx, 0x4dc2fcc
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43204e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x432024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f314
nop
mov ecx, 0x58841c74
nop
nop
test eax, eax
nop
nop
je 0x432084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43206c
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x401690
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, edx
push edi
push 0
push dword [section..data]
mov dword [ebp - 8], edi
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, edi
shr ebx, 2
mov dword [ebp - 4], eax
test ebx, ebx
je 0x4016d4
mov edi, esi
mov ecx, eax
sub edi, eax
mov edx, ebx
mov eax, dword [edi + ecx]
mov dword [ecx], eax
lea ecx, [ecx + 4]
dec edx
jne 0x4016c3
mov edi, dword [ebp - 8]
mov eax, dword [ebp - 4]
shl ebx, 2
cmp ebx, edi
jae 0x4016ef
mov edx, edi
sub esi, eax
lea ecx, [ebx + eax]
sub edx, ebx
mov al, byte [ecx + esi]
mov byte [ecx], al
lea ecx, [ecx + 1]
dec edx
jne 0x4016e4
mov eax, dword [ebp - 4]
lea esi, [edi - 8]
lea ecx, [eax - 8]
add ecx, edi
mov ebx, esi
mov edx, dword [ecx + 4]
mov dword [ebp - 0x10], ecx
mov ecx, dword [ecx]
shr ebx, 2
and esi, 3
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], ecx
test ebx, ebx
je 0x401731
lea ecx, [ebx + edx]
mov edx, dword [eax]
movzx ecx, cl
ror edx, cl
mov ecx, dword [ebp - 8]
add eax, 4
xor edx, ecx
sub edx, ebx
mov dword [eax - 4], edx
mov edx, dword [ebp - 0xc]
dec ebx
jne 0x401714
test esi, esi
je 0x40173d
xor byte [eax], cl
lea eax, [eax + 1]
dec esi
jne 0x401735
mov edi, dword [ebp - 0x10]
mov edi, dword [edi - 4]
push edi
push 0
push dword [section..data]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, dword [ebp - 4]
mov esi, eax
mov edx, esi
mov ecx, ebx
call section..text
push ebx
push 0
push dword [section..data]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dword [eax], edi
pop edi
mov dword [ecx], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x40729f
nop
sub eax, 0x407245
nop
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x432030
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43201e
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0xb45900
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x5ab000]
push edi
or ebp, 0xffffffff
jmp 0xb45922
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0xb45929
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xb45918
mov eax, 1
add ebx, ebx
jne 0xb4593b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0xb4594c
jne 0xb4596b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xb4596b
dec eax
add ebx, ebx
jne 0xb45958
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0xb45930
add ebx, ebx
jne 0xb45967
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0xb459bd
xor ecx, ecx
sub eax, 3
jb 0xb45983
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0xb459f2
sar eax, 1
mov ebp, eax
jmp 0xb4598e
add ebx, ebx
jne 0xb4598e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xb4595c
inc ecx
add ebx, ebx
jne 0xb4599c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xb4595c
add ebx, ebx
jne 0xb459a9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0xb4599e
jne 0xb459ba
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0xb4599e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0xb459dc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0xb459ce
jmp 0xb4591e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0xb459dc
add edi, ecx
jmp 0xb4591e
pop esi
mov edi, esi
mov ecx, 0x1491b
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0xb459fa
cmp byte [edi], 0x6b
jne 0xb459fa
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 0xb459ff
lea edi, [esi + 0x740000]
mov eax, dword [edi]
or eax, eax
je 0xb45a6e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x7927f4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x792a88]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0xb45a2c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x792a8c]
or eax, eax
je 0xb45a68
mov dword [ebx], eax
add ebx, 4
jmp 0xb45a49
call dword [esi + 0x792a9c]
mov ebp, dword [esi + 0x792a90]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
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 0xb45aa2
sub esp, 0xffffff80
jmp 0x6baaa0
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
pop eax
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
popal
nop
jmp fcn.00401219
Function at 0x404b07
Capabilities:
Encode data using xor

Disassembly:
jmp 0x447ee7
push esi
mov esi, ecx
cmp byte [esi + 9], 0
lea edx, [esi + 0xa]
jne 0x447f05
push ebx
xor ebx, ebx
lea ecx, [edx + ebx]
lea eax, [ebx + 0x7c]
xor byte [ecx], al
inc ebx
cmp ebx, 0xa
jb 0x447ef6
pop ebx
mov byte [esi + 9], 1
mov eax, edx
pop esi
ret

Function at 0x404b0c
Capabilities:
Encode data using xor

Disassembly:
jmp 0x447f7f
push esi
mov esi, ecx
cmp byte [esi + 9], 0
lea edx, [esi + 0xa]
jne 0x447f9d
push ebx
xor ebx, ebx
lea ecx, [edx + ebx]
lea eax, [ebx - 0x80]
xor byte [ecx], al
inc ebx
cmp ebx, 0x11
jb 0x447f8e
pop ebx
mov byte [esi + 9], 1
mov eax, edx
pop esi
ret

Function at 0x404b11
Capabilities:
Encode data using xor

Disassembly:
jmp 0x447fa5
push esi
mov esi, ecx
cmp byte [esi + 9], 0
lea edx, [esi + 0xa]
jne 0x447fc3
push ebx
xor ebx, ebx
lea ecx, [edx + ebx]
lea eax, [ebx + 0x7d]
xor byte [ecx], al
inc ebx
cmp ebx, 0x11
jb 0x447fb4
pop ebx
mov byte [esi + 9], 1
mov eax, edx
pop esi
ret

Function at 0x404b16
Capabilities:
Encode data using xor

Disassembly:
jmp 0x447fcb
push esi
mov esi, ecx
cmp byte [esi + 9], 0
lea edx, [esi + 0xa]
jne 0x447fe9
push ebx
xor ebx, ebx
lea ecx, [edx + ebx]
lea eax, [ebx + 0x7e]
xor byte [ecx], al
inc ebx
cmp ebx, 0x11
jb 0x447fda
pop ebx
mov byte [esi + 9], 1
mov eax, edx
pop esi
ret

Function at 0x404b1b
Capabilities:
Encode data using xor

Disassembly:
jmp 0x447ff1
push esi
mov esi, ecx
cmp byte [esi + 9], 0
lea edx, [esi + 0xa]
jne 0x44800f
push ebx
xor ebx, ebx
lea ecx, [edx + ebx]
lea eax, [ebx - 0x80]
xor byte [ecx], al
inc ebx
cmp ebx, 0x12
jb 0x448000
pop ebx
mov byte [esi + 9], 1
mov eax, edx
pop esi
ret

Function at 0x404b20
Capabilities:
Encode data using xor

Disassembly:
jmp 0x448017
push esi
mov esi, ecx
cmp byte [esi + 9], 0
lea edx, [esi + 0xa]
jne 0x448035
push ebx
xor ebx, ebx
lea ecx, [edx + ebx]
lea eax, [ebx + 0x7d]
xor byte [ecx], al
inc ebx
cmp ebx, 0x13
jb 0x448026
pop ebx
mov byte [esi + 9], 1
mov eax, edx
pop esi
ret

Function at 0x404b25
Capabilities:
Encode data using xor

Disassembly:
jmp 0x44803d
push esi
mov esi, ecx
cmp byte [esi + 9], 0
lea edx, [esi + 0xa]
jne 0x44805b
push ebx
xor ebx, ebx
lea ecx, [edx + ebx]
lea eax, [ebx + 0x7f]
xor byte [ecx], al
inc ebx
cmp ebx, 0x13
jb 0x44804c
pop ebx
mov byte [esi + 9], 1
mov eax, edx
pop esi
ret

Function at 0x404b2a
Capabilities:
Encode data using xor

Disassembly:
jmp 0x4480af
push esi
mov esi, ecx
cmp byte [esi + 9], 0
lea edx, [esi + 0xa]
jne 0x4480cd
push ebx
xor ebx, ebx
lea ecx, [edx + ebx]
lea eax, [ebx + 0x7e]
xor byte [ecx], al
inc ebx
cmp ebx, 0x14
jb 0x4480be
pop ebx
mov byte [esi + 9], 1
mov eax, edx
pop esi
ret

Function at 0x404b2f
Capabilities:
Encode data using xor

Disassembly:
jmp 0x4480d5
push esi
mov esi, ecx
cmp byte [esi + 9], 0
lea edx, [esi + 0xa]
jne 0x4480f3
push ebx
xor ebx, ebx
lea ecx, [edx + ebx]
lea eax, [ebx - 0x80]
xor byte [ecx], al
inc ebx
cmp ebx, 0x15
jb 0x4480e4
pop ebx
mov byte [esi + 9], 1
mov eax, edx
pop esi
ret
Function at 0x404b34
Capabilities:
Encode data using xor

Disassembly:
jmp 0x4480fb
push esi
mov esi, ecx
cmp byte [esi + 9], 0
lea edx, [esi + 0xa]
jne 0x448119
push ebx
xor ebx, ebx
lea ecx, [edx + ebx]
lea eax, [ebx + 0x7b]
xor byte [ecx], al
inc ebx
cmp ebx, 0x18
jb 0x44810a
pop ebx
mov byte [esi + 9], 1
mov eax, edx
pop esi
ret

Function at 0x404b39
Capabilities:
Encode data using xor

Disassembly:
jmp 0x448121
push esi
mov esi, ecx
cmp byte [esi + 9], 0
lea edx, [esi + 0xa]
jne 0x44813f
push ebx
xor ebx, ebx
lea ecx, [edx + ebx]
lea eax, [ebx + 0x79]
xor byte [ecx], al
inc ebx
cmp ebx, 0x39
jb 0x448130
pop ebx
mov byte [esi + 9], 1
mov eax, edx
pop esi
ret

Function at 0x404b3e
Capabilities:
Encode data using xor

Disassembly:
jmp 0x448147
push esi
mov esi, ecx
cmp byte [esi + 9], 0
lea edx, [esi + 0xa]
jne 0x448165
push ebx
xor ebx, ebx
lea ecx, [edx + ebx]
lea eax, [ebx + 0x7b]
xor byte [ecx], al
inc ebx
cmp ebx, 0x39
jb 0x448156
pop ebx
mov byte [esi + 9], 1
mov eax, edx
pop esi
ret

Function at 0x404b43
Capabilities:
Encode data using xor

Disassembly:
jmp 0x44816d
push esi
mov esi, ecx
cmp byte [esi + 9], 0
lea edx, [esi + 0xa]
jne 0x44818b
push ebx
xor ebx, ebx
lea ecx, [edx + ebx]
lea eax, [ebx + 0x7a]
xor byte [ecx], al
inc ebx
cmp ebx, 0x3a
jb 0x44817c
pop ebx
mov byte [esi + 9], 1
mov eax, edx
pop esi
ret

Function at 0x404b48
Capabilities:
Encode data using xor

Disassembly:
jmp 0x4481df
push esi
mov esi, ecx
cmp byte [esi + 9], 0
lea edx, [esi + 0xa]
jne 0x4481fd
push ebx
xor ebx, ebx
lea ecx, [edx + ebx]
lea eax, [ebx + 0x7f]
xor byte [ecx], al
inc ebx
cmp ebx, 0xc
jb 0x4481ee
pop ebx
mov byte [esi + 9], 1
mov eax, edx
pop esi
ret

Function at 0x404b4d
Capabilities:
Encode data using xor

Disassembly:
jmp 0x448205
push esi
mov esi, ecx
cmp byte [esi + 9], 0
lea edx, [esi + 0xa]
jne 0x448223
push ebx
xor ebx, ebx
lea ecx, [edx + ebx]
lea eax, [ebx + 0x7b]
xor byte [ecx], al
inc ebx
cmp ebx, 0xd
jb 0x448214
pop ebx
mov byte [esi + 9], 1
mov eax, edx
pop esi
ret

Function at 0x404b52
Capabilities:
Encode data using xor

Disassembly:
jmp 0x44822b
push esi
mov esi, ecx
cmp byte [esi + 9], 0
lea edx, [esi + 0xa]
jne 0x448249
push ebx
xor ebx, ebx
lea ecx, [edx + ebx]
lea eax, [ebx + 0x7e]
xor byte [ecx], al
inc ebx
cmp ebx, 0xd
jb 0x44823a
pop ebx
mov byte [esi + 9], 1
mov eax, edx
pop esi
ret

Function at 0x404b57
Capabilities:
Encode data using xor

Disassembly:
jmp 0x448277
push esi
mov esi, ecx
cmp byte [esi + 9], 0
lea edx, [esi + 0xa]
jne 0x448295
push ebx
xor ebx, ebx
lea ecx, [edx + ebx]
lea eax, [ebx + 0x7c]
xor byte [ecx], al
inc ebx
cmp ebx, 0xf
jb 0x448286
pop ebx
mov byte [esi + 9], 1
mov eax, edx
pop esi
ret
Function at 0x447f0d
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 9], 0
lea edx, [esi + 0xa]
jne 0x447f2b
push ebx
xor ebx, ebx
lea ecx, [edx + ebx]
lea eax, [ebx - 0x7d]
xor byte [ecx], al
inc ebx
cmp ebx, 0x10
jb 0x447f1c
pop ebx
mov byte [esi + 9], 1
mov eax, edx
pop esi
ret

Function at 0x447f33
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 9], 0
lea edx, [esi + 0xa]
jne 0x447f51
push ebx
xor ebx, ebx
lea ecx, [edx + ebx]
lea eax, [ebx - 0x7e]
xor byte [ecx], al
inc ebx
cmp ebx, 0x11
jb 0x447f42
pop ebx
mov byte [esi + 9], 1
mov eax, edx
pop esi
ret

Function at 0x447f59
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 9], 0
lea edx, [esi + 0xa]
jne 0x447f77
push ebx
xor ebx, ebx
lea ecx, [edx + ebx]
lea eax, [ebx - 0x7f]
xor byte [ecx], al
inc ebx
cmp ebx, 0x11
jb 0x447f68
pop ebx
mov byte [esi + 9], 1
mov eax, edx
pop esi
ret

Function at 0x448063
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 9], 0
lea edx, [esi + 0xa]
jne 0x448081
push ebx
xor ebx, ebx
lea ecx, [edx + ebx]
lea eax, [ebx - 0x7d]
xor byte [ecx], al
inc ebx
cmp ebx, 0x14
jb 0x448072
pop ebx
mov byte [esi + 9], 1
mov eax, edx
pop esi
ret

Function at 0x448089
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 9], 0
lea edx, [esi + 0xa]
jne 0x4480a7
push ebx
xor ebx, ebx
lea ecx, [edx + ebx]
lea eax, [ebx - 0x7e]
xor byte [ecx], al
inc ebx
cmp ebx, 0x14
jb 0x448098
pop ebx
mov byte [esi + 9], 1
mov eax, edx
pop esi
ret

Function at 0x448193
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 9], 0
lea edx, [esi + 0xa]
jne 0x4481b1
push ebx
xor ebx, ebx
lea ecx, [edx + ebx]
lea eax, [ebx - 0x7d]
xor byte [ecx], al
inc ebx
cmp ebx, 0x5e
jb 0x4481a2
pop ebx
mov byte [esi + 9], 1
mov eax, edx
pop esi
ret

Function at 0x4481b9
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 9], 0
lea edx, [esi + 0xa]
jne 0x4481d7
push ebx
xor ebx, ebx
lea ecx, [edx + ebx]
lea eax, [ebx - 0x7f]
xor byte [ecx], al
inc ebx
cmp ebx, 0xc
jb 0x4481c8
pop ebx
mov byte [esi + 9], 1
mov eax, edx
pop esi
ret

Function at 0x448251
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 9], 0
lea edx, [esi + 0xa]
jne 0x44826f
push ebx
xor ebx, ebx
lea ecx, [edx + ebx]
lea eax, [ebx - 0x7f]
xor byte [ecx], al
inc ebx
cmp ebx, 0xe
jb 0x448260
pop ebx
mov byte [esi + 9], 1
mov eax, edx
pop esi
ret
Function at 0x45c52c
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
push edi
mov edi, dword [ebp + 0xc]
test eax, eax
jg 0x45c54d
jl 0x45c544
test edi, edi
jne 0x45c54d
xor eax, eax
xor edx, edx
jmp 0x45c60e
cmp dword [ebx + 0x38], 0
je 0x45c562
push eax
push edi
push dword [ebp + 8]
call fcn.0044a271
jmp 0x45c60e
mov eax, dword [ebx + 0x1c]
push esi
mov esi, edi
mov ecx, dword [eax]
test ecx, ecx
je 0x45c5a9
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax]
mov dword [ebp - 4], eax
test eax, eax
je 0x45c5a9
cmp eax, edi
jb 0x45c583
mov eax, edi
mov dword [ebp - 4], edi
push eax
push ecx
push dword [ebp + 8]
call fcn.00460740
mov ecx, dword [ebp - 4]
add esp, 0xc
mov eax, dword [ebp + 8]
sub esi, ecx
add eax, ecx
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0x2c]
sub dword [eax], ecx
mov eax, dword [ebx + 0x1c]
add dword [eax], ecx
jmp 0x45c5af
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
cmp dword [ebx + 0x4c], 0
je 0x45c603
mov ecx, ebx
call fcn.0045be97
mov ecx, dword [ebp - 4]
mov edx, esi
mov eax, 0xfff
cmp esi, eax
jbe 0x45c5ee
push dword [ebx + 0x4c]
push eax
push 1
push ecx
call fcn.00469a62
mov ecx, dword [ebp - 4]
sub esi, eax
add ecx, eax
add esp, 0x10
mov dword [ebp - 4], ecx
mov edx, esi
cmp eax, 0xfff
jne 0x45c603
jmp 0x45c5c1
test edx, edx
je 0x45c603
push dword [ebx + 0x4c]
push esi
push 1
push ecx
call fcn.00469a62
add esp, 0x10
sub esi, eax
mov edx, dword [ebp + 0x10]
sub edi, esi
mov eax, edi
sbb edx, 0
pop esi
pop edi
pop ebx
leave
ret 0xc

Function at 0x45ebab
Capabilities:
Parse pe header

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

Function at 0x470ef8
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4830d8
push 0x4830d0
push str.FlsAlloc
push 0x1f
call fcn.00470dc0
mov esi, eax
add esp, 0x10
test esi, esi
je 0x470f2c
push dword [ebp + 8]
mov ecx, esi
call dword [0x47e1bc]
call esi
jmp 0x470f32
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x470f76
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4830e8
push 0x4830e0
push str.FlsGetValue
push 0x21
call fcn.00470dc0
mov esi, eax
add esp, 0x10
test esi, esi
je 0x470fad
push dword [ebp + 8]
mov ecx, esi
call dword [0x47e1bc]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x470fb5
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4830f0
push 0x4830e8
push str.FlsSetValue
push 0x22
call fcn.00470dc0
mov esi, eax
add esp, 0x10
test esi, esi
je 0x470fef
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x47e1bc]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]