joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401460
Capabilities:
Connect pipe
Create pipe
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb8
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0
mov dword [esp + 4], 1
mov dword [esp], str..pipeMyPipe
call sym._CreateNamedPipeA_32
sub esp, 0x20
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
jne 0x4014e4
call sym._GetLastError_0
mov dword [esp + 8], eax
mov dword [esp + 4], str.Server:_Failed_to_create_pipe._Error:__d_n
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp], eax
call sym._fprintf
mov eax, 1
jmp 0x4015df
mov dword [esp], str.Server:_Waiting_for_connection...
call sym._puts
mov dword [esp + 4], 0
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._ConnectNamedPipe_8
sub esp, 8
test eax, eax
jne 0x401543
call sym._GetLastError_0
mov dword [esp + 8], eax
mov dword [esp + 4], str.Server:_Failed_to_connect_pipe._Error:__d_n
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp], eax
call sym._fprintf
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._CloseHandle_4
sub esp, 4
mov eax, 1
jmp 0x4015df
mov dword [esp], str.Server:_Connection_established.
call sym._puts
mov dword [esp + 0x10], 0
lea eax, [ebp - 0x90]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x7f
lea eax, [ebp - 0x8c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._ReadFile_20
sub esp, 0x14
test eax, eax
je 0x4015ab
mov eax, dword [ebp - 0x90]
mov byte [ebp + eax - 0x8c], 0
lea eax, [ebp - 0x8c]
mov dword [esp + 4], eax
mov dword [esp], str.Server_Received:__s_n
call sym._printf
jmp 0x4015cc
call sym._GetLastError_0
mov dword [esp + 8], eax
mov dword [esp + 4], str.Server:_Failed_to_read_data_from_the_pipe._Error:__d_n
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp], eax
call sym._fprintf
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._CloseHandle_4
sub esp, 4
mov eax, 0
leave
ret 4
Function at 0x4015e3
Capabilities:
Contain obfuscated stackstrings
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov dword [esp], 0x7d0
call sym._Sleep_4
sub esp, 4
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 3
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x40000000
mov dword [esp], str..pipeMyPipe
call sym._CreateFileA_28
sub esp, 0x1c
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
jne 0x40166b
call sym._GetLastError_0
mov dword [esp + 8], eax
mov dword [esp + 4], str.Client:_Failed_to_open_pipe._Error:__d_n
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp], eax
call sym._fprintf
mov eax, 1
jmp 0x4016fd
mov dword [ebp - 0x22], 0x6c6c6548
mov dword [ebp - 0x1e], 0x57202c6f
mov dword [ebp - 0x1a], 0x646c726f
mov word [ebp - 0x16], 0x21
mov dword [esp + 0x10], 0
lea eax, [ebp - 0x14]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0xe
lea eax, [ebp - 0x22]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._WriteFile_20
sub esp, 0x14
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4016de
call sym._GetLastError_0
mov dword [esp + 8], eax
mov dword [esp + 4], str.Client:_Failed_to_write_to_pipe._Error:__d_n
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp], eax
call sym._fprintf
jmp 0x4016ea
mov dword [esp], str.Client:_Message_sent_to_server.
call sym._puts
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._CloseHandle_4
sub esp, 4
mov eax, 0
leave
ret 4

Function at 0x401701
Capabilities:
Create thread

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push ecx
sub esp, 0x34
call sym.___main
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], dbg.runServer@4
mov dword [esp + 4], 0
mov dword [esp], 0
call sym._CreateThread_24
sub esp, 0x18
mov dword [ebp - 0xc], eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], dbg.runClient@4
mov dword [esp + 4], 0
mov dword [esp], 0
call sym._CreateThread_24
sub esp, 0x18
mov dword [ebp - 0x10], eax
mov dword [esp + 4], 0xffffffff
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._WaitForSingleObject_8
sub esp, 8
mov dword [esp + 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call sym._WaitForSingleObject_8
sub esp, 8
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._CloseHandle_4
sub esp, 4
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call sym._CloseHandle_4
sub esp, 4
mov eax, 0
mov ecx, dword [ebp - 4]
leave
lea esp, [ecx - 4]
ret
Function at 0x415130
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xf000]
push edi
jmp 0x41514a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x415151
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x415140
mov eax, 1
add ebx, ebx
jne 0x415163
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x415158
jne 0x415174
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x415158
xor ecx, ecx
sub eax, 3
jb 0x415188
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4151fa
mov ebp, eax
add ebx, ebx
jne 0x415193
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4151a0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4151c4
inc ecx
add ebx, ebx
jne 0x4151b0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4151a5
jne 0x4151c1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4151a5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4151e4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4151d5
jmp 0x415146
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4151e4
add edi, ecx
jmp 0x415146
pop esi
mov edi, esi
mov ecx, 0x295
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x415202
cmp byte [edi], 1
jne 0x415202
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 0x415207
lea edi, [esi + 0x12000]
mov eax, dword [edi]
or eax, eax
je 0x41527f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x156a0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x15754]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x415234
mov ecx, edi
jns 0x415263
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x15758]
or eax, eax
je 0x415279
mov dword [ebx], eax
add ebx, 4
jmp 0x415251
call dword [esi + 0x15768]
mov ebp, dword [esi + 0x1575c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x227]
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 0x4152b3
sub esp, 0xffffff80
jmp 0x4074ae
Function at 0x40cd90
Capabilities:
Encode data using xor
Hash data using murmur2

Disassembly:
push edi
push esi
push ebp
push ebx
push esi
mov dword [esp], edx
mov eax, dword [eax]
inc dword [0x873df0]
mov edi, ecx
xor esi, esi
xor esi, ecx
cmp ecx, 4
jl 0x40cdd1
imul ebp, dword [edx], 0x5bd1e995
mov ebx, ebp
shr ebx, 0x18
xor ebp, ebx
imul ebx, ebp, 0x5bd1e995
imul esi, esi, 0x5bd1e995
xor esi, ebx
add edx, 4
add edi, 0xfffffffc
cmp edi, 4
jge 0x40cdab
cmp edi, 3
je 0x40cde2
cmp edi, 2
je 0x40cdeb
cmp edi, 1
je 0x40cdf4
jmp 0x40cdff
movzx edi, byte [edx + 2]
shl edi, 0x10
xor esi, edi
movzx edi, byte [edx + 1]
shl edi, 8
xor esi, edi
movzx edx, byte [edx]
xor esi, edx
imul esi, esi, 0x5bd1e995
mov edx, esi
shr edx, 0xd
xor esi, edx
imul esi, esi, 0x5bd1e995
mov edi, esi
shr edi, 0xf
xor esi, edi
and esi, 0x7fffffff
add esi, 0x80000000
test eax, eax
je 0x40ce62
mov edi, dword [0x873dec]
mov ebx, eax
mov ebp, ecx
inc edi
mov dword [0x873dec], edi
cmp esi, dword [ebx + 0x1c]
jne 0x40ce59
cmp ebp, dword [ebx + 0x18]
jne 0x40ce53
push ebp
mov edx, dword [esp + 4]
push edx
push dword [ebx + 0x14]
call fcn.004705c0
add esp, 0xc
test eax, eax
je 0x40ce68
inc dword [0x873de8]
mov ebx, dword [ebx + 0xc]
test ebx, ebx
jne 0x40ce2d
mov eax, ebx
pop ecx
pop ebx
pop ebp
pop esi
pop edi
ret
mov eax, ebx
pop ecx
pop ebx
pop ebp
pop esi
pop edi
ret
Function at 0x416e3c
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov eax, dword [0x59cc10]
cmp eax, 0x270
jl 0x416f0a
xor edx, edx
mov eax, dword [edx*4 + 0x5cfc80]
and eax, 0x80000000
mov ecx, dword [edx*4 + 0x5cfc84]
and ecx, 0x7fffffff
or eax, ecx
mov ecx, eax
shr ecx, 1
and eax, 1
xor ecx, dword [edx*4 + 0x5d02b4]
xor ecx, dword [eax*4 + 0x578538]
mov dword [edx*4 + 0x5cfc80], ecx
inc edx
cmp edx, 0xe3
jl 0x416e4e
cmp edx, 0x26f
jge 0x416ed6
mov eax, dword [edx*4 + 0x5cfc80]
and eax, 0x80000000
mov ecx, dword [edx*4 + 0x5cfc84]
and ecx, 0x7fffffff
or eax, ecx
mov ecx, eax
shr ecx, 1
and eax, 1
xor ecx, dword [edx*4 + 0x5cf8f4]
xor ecx, dword [eax*4 + 0x578538]
mov dword [edx*4 + 0x5cfc80], ecx
inc edx
cmp edx, 0x26f
jl 0x416e96
mov edx, dword [0x5d063c]
and edx, 0x80000000
mov eax, dword [0x5cfc80]
and eax, 0x7fffffff
or edx, eax
mov ecx, edx
shr ecx, 1
xor ecx, dword [0x5d02b0]
and edx, 1
xor ecx, dword [edx*4 + 0x578538]
mov dword [0x5d063c], ecx
xor eax, eax
lea edx, [eax + 1]
mov dword [0x59cc10], edx
mov eax, dword [eax*4 + 0x5cfc80]
mov ecx, eax
shr ecx, 0xb
xor eax, ecx
mov edx, eax
shl edx, 7
and edx, 0x9d2c5680
xor eax, edx
mov edx, eax
shl edx, 0xf
and edx, 0xefc60000
xor eax, edx
mov edx, eax
shr edx, 0x12
xor eax, edx
ret
Function at 0x41c074
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
push ebx
push esi
mov ecx, edx
mov edx, eax
mov esi, ecx
shr esi, 2
and ecx, 3
test esi, esi
je 0x41c0fb
je 0x41c12a
mov eax, 0xffffffff
xor ebx, ebx
mov dword [esp], edi
movzx edi, byte [edx]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x59c1c0]
movzx edi, byte [edx + 1]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x59c1c0]
movzx edi, byte [edx + 2]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x59c1c0]
movzx edi, byte [edx + 3]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x59c1c0]
add edx, 4
inc ebx
cmp ebx, esi
jb 0x41c097
mov edi, dword [esp]
jmp 0x41c100
mov eax, 0xffffffff
test ecx, ecx
je 0x41c124
je 0x41c124
xor ebx, ebx
inc edx
movzx esi, byte [edx - 1]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x59c1c0]
inc ebx
cmp ebx, ecx
jb 0x41c108
not eax
pop ecx
pop ebx
pop esi
ret
mov eax, 0xffffffff
jmp 0x41c100

Function at 0x41c138
Capabilities:
Read file on windows

Disassembly:
sub esp, 8
lea edx, [esp]
push 8
push edx
push dword [eax]
call fcn.00471b1e
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
add esp, 0x14
ret

Function at 0x41ea58
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push edi
push ebp
sub esp, 0x40
mov edi, eax
cmp dword [edi + 0x168], 0
je 0x41ea73
mov eax, 0xfffffc0e
add esp, 0x40
pop ebp
pop edi
ret
mov edx, dword [esp + 0x50]
lea ecx, [edx - 0x3b9ac9ff]
or ecx, dword [esp + 0x54]
je 0x41eac5
mov byte [esp + 0xc], 1
lea eax, [esp + 0x10]
mov edx, edi
xor ecx, ecx
call fcn.0040bbf9
test eax, eax
jne 0x41eaba
mov ecx, dword [esp + 0x14]
mov dword [edi + 0x168], ecx
mov ebp, dword [esp + 0x10]
mov dword [edi + 0x1a8], ebp
mov eax, edi
call fcn.0041cdd0
add esp, 0x40
pop ebp
pop edi
ret
mov eax, 0xfffffc04
add esp, 0x40
pop ebp
pop edi
ret
push 0xfcc
call fcn.00403564
pop ecx
mov ebp, eax
test ebp, ebp
je 0x41eb5c
lea ecx, [ebp + 0x2c]
push 0x80
push 0xfa0
push ecx
call dword [0x5b9a64]
add esp, 0xc
mov dword [ebp], 0x46464952
mov dword [ebp + 4], 0xfc4
mov dword [ebp + 8], 0x45564157
mov dword [ebp + 0xc], 0x20746d66
mov dword [ebp + 0x10], 0x10
mov eax, 1
mov word [ebp + 0x14], ax
mov word [ebp + 0x16], ax
mov ecx, 0x1f40
mov dword [ebp + 0x18], ecx
mov dword [ebp + 0x1c], ecx
mov word [ebp + 0x20], ax
mov ecx, 8
mov word [ebp + 0x22], cx
mov dword [ebp + 0x24], 0x61746164
mov dword [ebp + 0x28], 0xfa0
mov dword [edi + 0x1a8], 0xfcc
mov dword [edi + 0x168], ebp
jmp 0x41eaad
xor ebp, ebp
jmp 0x41eb51
Function at 0x425f50
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
push ebx
sub esp, 0x28
mov ebx, eax
test ebx, ebx
je 0x426015
movsx edx, byte [0x59cc14]
test edx, edx
je 0x425f71
mov eax, ebx
call fcn.00426024
mov eax, dword [ebx + 0x44]
test eax, eax
je 0x426015
mov edx, dword [eax + 0x30]
mov ecx, dword [eax + 0x34]
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
mov edx, dword [eax + 0x38]
mov ecx, dword [eax + 0x3c]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ecx
mov edx, dword [eax + 0x40]
mov ecx, dword [eax + 0x44]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ecx
mov edx, dword [eax + 0x48]
mov ecx, dword [eax + 0x4c]
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], ecx
mov esi, ebx
mov ebx, eax
mov eax, esi
lea edx, [esp + 8]
call fcn.004105dc
mov edx, dword [ebx + 0x70]
mov ecx, dword [ebx + 0x74]
add dword [esp + 8], edx
adc dword [esp + 0xc], ecx
mov edx, dword [ebx + 0x78]
mov ecx, dword [ebx + 0x7c]
add dword [esp + 0x10], edx
adc dword [esp + 0x14], ecx
mov edx, dword [ebx + 0x70]
mov ecx, dword [ebx + 0x74]
add dword [esp + 0x18], edx
adc dword [esp + 0x1c], ecx
mov edx, dword [ebx + 0x78]
mov ecx, dword [ebx + 0x7c]
add dword [esp + 0x20], edx
adc dword [esp + 0x24], ecx
mov esi, dword [esi + 0x10]
cmp esi, dword [0x873abc]
je 0x42600d
mov ebx, dword [esi + 0x44]
test ebx, ebx
jne 0x425fb8
xor eax, eax
add esp, 0x28
pop ebx
pop esi
ret
mov eax, 0xffffffff
add esp, 0x28
pop ebx
pop esi
ret
Function at 0x439c20
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push edi
push esi
push ebp
push ebx
sub esp, 0x58
mov edi, dword [esp + 0x78]
test eax, eax
je 0x439de4
mov ebx, dword [eax + 0x44]
test edx, edx
je 0x439ddd
mov esi, dword [edx + 0x44]
mov eax, ecx
cdq
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov eax, edi
cdq
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], edx
mov ecx, dword [ebx + 0x88]
mov dword [esp + 0x14], ecx
mov edi, dword [ebx + 0x8c]
mov dword [esp + 0x18], edi
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov eax, dword [esi + 0x88]
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0x8c]
mov dword [esp + 0x30], eax
lea eax, [esp + 4]
call fcn.00406530
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x3c]
mov byte [esi + 0xa8], 1
movsx ecx, word [ebx + 0xa2]
cmp ecx, 0x100
je 0x439d58
mov dword [esp + 0x44], edx
mov dword [esp + 0x3c], eax
movsx ecx, word [ebx + 0xa2]
movsx edi, word [esi + 0xa2]
mov dword [esp + 0x54], edi
cmp dword [esp + 0x4c], 0
jle 0x439d4e
xor edi, edi
mov ebp, ebx
mov ebx, ecx
jmp 0x439ced
mov dword [esp + 0x3c], eax
mov dword [esp + 0x44], edx
mov ecx, dword [esp + 0x40]
add ecx, ecx
add ecx, ecx
add ecx, dword [esi + 0xc0]
imul edx, dword [esi + 0x88]
add edx, edx
add edx, edx
add ecx, edx
mov edx, dword [esp + 0x38]
add edx, edx
add edx, edx
add edx, dword [ebp + 0xc0]
imul eax, dword [ebp + 0x88]
add eax, eax
add eax, eax
add edx, eax
mov eax, dword [esp + 0x48]
add eax, eax
add eax, eax
push eax
push ebx
mov eax, dword [esp + 0x5c]
push eax
push edx
push ecx
call dword [0x5b9ac4]
add esp, 0x14
mov edx, dword [esp + 0x44]
inc edx
mov eax, dword [esp + 0x3c]
inc eax
inc edi
cmp edi, dword [esp + 0x4c]
jl 0x439ce5
xor eax, eax
add esp, 0x58
pop ebx
pop ebp
pop esi
pop edi
ret
mov dword [esp + 0x44], edx
mov dword [esp + 0x3c], eax
movsx ecx, word [esi + 0xa2]
cmp dword [esp + 0x4c], 0
jle 0x439d4e
xor edi, edi
mov ebp, ecx
jmp 0x439d7c
mov dword [esp + 0x3c], eax
mov dword [esp + 0x44], edx
mov ecx, dword [esp + 0x40]
add ecx, ecx
add ecx, ecx
add ecx, dword [esi + 0xc0]
imul edx, dword [esi + 0x88]
add edx, edx
add edx, edx
add ecx, edx
mov edx, dword [esp + 0x38]
add edx, edx
add edx, edx
add edx, dword [ebx + 0xc0]
imul eax, dword [ebx + 0x88]
add eax, eax
add eax, eax
add edx, eax
mov eax, dword [esp + 0x48]
add eax, eax
add eax, eax
push eax
push ebp
push edx
push ecx
call dword [0x5b9ac0]
add esp, 0x10
mov edx, dword [esp + 0x44]
inc edx
mov eax, dword [esp + 0x3c]
inc eax
inc edi
cmp edi, dword [esp + 0x4c]
jl 0x439d74
jmp 0x439d4e
xor esi, esi
jmp 0x439c41
xor ebx, ebx
jmp 0x439c36
Function at 0x43a6ad
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push edi
push esi
push ebp
push ebx
sub esp, 0x4c
mov ebp, eax
test ebp, ebp
je 0x43a8fa
mov ebx, dword [ebp + 0x44]
movsx ecx, cl
test ecx, ecx
je 0x43a6ca
mov ebp, edx
mov edx, dword [ebp + 0x44]
mov dword [esp + 0x3c], edx
mov eax, ebp
call fcn.00410520
mov edi, dword [esp + 0x6c]
neg edi
mov dword [esp + 0x40], edi
mov ecx, dword [esp + 0x74]
neg ecx
mov esi, dword [ebx + 0x88]
mov edx, dword [esp + 0x70]
lea edx, [edx + esi - 1]
mov dword [esp + 0x44], edx
mov eax, dword [ebx + 0x8c]
mov esi, dword [esp + 0x78]
lea esi, [esi + eax - 1]
mov dword [esp + 0x38], esi
sub edx, edi
lea edi, [edx + 1]
mov dword [esp + 0x48], edi
sub esi, ecx
inc esi
test edi, edi
jle 0x43a829
test esi, esi
jle 0x43a829
lea eax, [edx*4 + 4]
cmp edi, 0x2000
jg 0x43a8bd
imul eax, esi
lea edx, [eax + edx*4 + 8]
push edx
mov dword [esp + 0x38], ecx
call fcn.0046feec
mov ecx, dword [esp + 0x38]
add esp, 4
mov dword [esp + 0x30], eax
mov edx, eax
test edx, edx
je 0x43a882
mov edx, esi
imul edx, dword [esp + 0x48]
add edx, edx
add edx, edx
push dword [0x59cc70]
push edx
mov edi, dword [esp + 0x38]
push edi
mov dword [esp + 0x40], ecx
call dword [0x5b9a68]
mov ecx, dword [esp + 0x40]
add esp, 0xc
mov edx, dword [esp + 0x6c]
test edx, edx
jle 0x43a848
mov edx, dword [esp + 0x3c]
mov byte [edx + 0xa8], 1
mov edx, dword [esp + 0x30]
test edx, edx
je 0x43a83b
mov dword [esp + 0xc], ecx
mov edi, dword [esp + 0x44]
mov dword [esp + 0x10], edi
mov edx, dword [esp + 0x38]
mov dword [esp + 0x14], edx
mov edx, dword [ebx + 0x88]
mov dword [esp + 0x18], edx
mov edx, dword [ebx + 0x8c]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x74]
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], esi
mov eax, dword [esp + 0x30]
mov edx, dword [ebx + 0xc0]
mov ecx, dword [esp + 0x40]
call fcn.0043a910
mov dword [esp + 0xc], esi
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x48]
call fcn.00434464
mov eax, ebp
call fcn.00410520
xor eax, eax
add esp, 0x4c
pop ebx
pop ebp
pop esi
pop edi
ret
push 0x87a770
push 0x8792b0
call fcn.00409040
add esp, 8
mov eax, 0xffffffff
add esp, 0x4c
pop ebx
pop ebp
pop esi
pop edi
ret
mov edx, dword [esp + 0x70]
test edx, edx
jg 0x43a795
mov edx, dword [esp + 0x74]
test edx, edx
jg 0x43a795
mov edx, dword [esp + 0x78]
test edx, edx
jg 0x43a795
movzx edx, byte [ebx + 0xa8]
mov edi, dword [esp + 0x3c]
mov byte [edi + 0xa8], dl
jmp 0x43a7a0
push esi
mov edx, edi
push edx
push 0
push 0x87a74c
push 0x8792b0
mov dword [esp + 0x48], ecx
call fcn.0046de64
mov ecx, dword [esp + 0x48]
push 0
push 1
push 0x1965e
mov dword [esp + 0x54], ecx
call fcn.0046cf70
mov ecx, dword [esp + 0x54]
add esp, 0x20
jmp 0x43a761
push esi
mov edx, edi
push edx
push 0x87a724
push 0x8792b0
mov dword [esp + 0x44], ecx
call fcn.00409040
mov ecx, dword [esp + 0x44]
push 1
push 0x186aa
mov dword [esp + 0x4c], ecx
call fcn.0046cfcc
mov ecx, dword [esp + 0x4c]
add esp, 0x18
xor edx, edx
mov dword [esp + 0x30], edx
jmp 0x43a761
xor ebx, ebx
jmp 0x43a6c1
Function at 0x440a98
Capabilities:
Read file on windows

Disassembly:
push esi
lea edx, [esp]
push 1
push edx
push dword [eax]
call fcn.00471b1e
movsx eax, byte [esp + 0xc]
add esp, 0x10
ret
Function at 0x451590
Capabilities:
Encode data using xor
Hash data using murmur2

Disassembly:
push edi
push esi
push ebp
push ebx
sub esp, 8
mov dword [esp], eax
xor ecx, ecx
xor ecx, edx
cmp edx, 4
jl 0x4515c9
imul ebp, dword [eax], 0x5bd1e995
mov ebx, ebp
shr ebx, 0x18
xor ebp, ebx
imul esi, ebp, 0x5bd1e995
imul ecx, ecx, 0x5bd1e995
xor ecx, esi
add eax, 4
add edx, 0xfffffffc
cmp edx, 4
jge 0x4515a3
cmp edx, 3
je 0x4515da
cmp edx, 2
je 0x4515e3
cmp edx, 1
je 0x4515ec
jmp 0x4515f7
movzx edx, byte [eax + 2]
shl edx, 0x10
xor ecx, edx
movzx edx, byte [eax + 1]
shl edx, 8
xor ecx, edx
movzx eax, byte [eax]
xor ecx, eax
imul ecx, ecx, 0x5bd1e995
mov edx, ecx
shr edx, 0xd
xor ecx, edx
imul edx, ecx, 0x5bd1e995
mov eax, edx
shr eax, 0xf
xor edx, eax
mov ecx, edx
shr ecx, 0x18
mov eax, dword [ecx*4 + 0x7d3220]
mov ecx, dword [0x873edc]
mov dword [esp + 4], ecx
cmp eax, ecx
jge 0x45166e
mov ecx, dword [0x873ee0]
mov ebx, eax
mov ebp, edx
mov esi, dword [ecx + ebx*4]
cmp ebp, dword [esi + 4]
jne 0x451665
mov edi, dword [esi]
mov esi, dword [esp]
mov dl, byte [edi]
cmp dl, byte [esi]
jne 0x45165c
or dl, dl
je 0x451658
mov dl, byte [edi + 1]
cmp dl, byte [esi + 1]
jne 0x45165c
add edi, 2
add esi, 2
or dl, dl
jne 0x45163c
xor eax, eax
jmp 0x451661
sbb eax, eax
or eax, 1
test eax, eax
je 0x45167b
inc ebx
mov esi, dword [esp + 4]
cmp ebx, esi
jl 0x45162f
mov eax, 0xffffffff
add esp, 8
pop ebx
pop ebp
pop esi
pop edi
ret
mov eax, ebx
add esp, 8
pop ebx
pop ebp
pop esi
pop edi
ret
Function at 0x4589a4
Capabilities:
Encode data using xor

Disassembly:
push edi
push ebp
sub esp, 0x48
mov edi, edx
mov ebp, eax
mov byte [esp + 0xc], 1
lea eax, [esp + 0x10]
mov edx, edi
mov ecx, 1
call fcn.0040bbf9
test eax, eax
jne 0x458ac8
mov ebp, dword [ebp + 0x44]
mov eax, ebp
call fcn.0043b3a0
push 0x24
call fcn.00403564
pop ecx
mov edx, eax
mov dword [ebp + 0x108], edx
test edx, edx
je 0x458ab4
mov eax, dword [esp + 0x14]
mov dword [edx + 0x14], eax
mov ecx, dword [eax + 8]
mov dword [edx], ecx
mov ebp, dword [eax + 0xc]
mov dword [edx + 4], ebp
mov edi, dword [eax + 0x10]
mov dword [edx + 8], edi
mov ebp, dword [eax + 0x14]
mov dword [edx + 0xc], ebp
mov ebp, dword [eax + 0x18]
mov dword [edx + 0x10], ebp
lea ebp, [eax + 0x20]
mov dword [edx + 0x18], ebp
lea ebp, [ecx + ecx]
add ebp, ebp
lea ebp, [eax + ebp + 0x20]
mov dword [edx + 0x1c], ebp
lea ebp, [ecx + ecx]
add ebp, ebp
add ebp, ebp
lea ebp, [eax + ebp + 0x20]
mov dword [edx + 0x20], ebp
test ecx, ecx
jle 0x458aac
xor eax, eax
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], esi
mov ecx, dword [edx + 0x1c]
lea ebx, [eax + eax]
mov ecx, dword [ecx + eax*4]
test ecx, ecx
jle 0x458a6c
xor ebp, ebp
mov esi, dword [edx + 0x14]
mov edi, dword [edx + 0x18]
add esi, dword [edi + ebx*2]
mov ecx, ebp
and ecx, 0xf
add ecx, 0x10
xor byte [esi + ebp], cl
mov ecx, dword [edx + 0x1c]
mov ecx, dword [ecx + ebx*2]
inc ebp
cmp ebp, ecx
jl 0x458a4d
mov ebp, dword [edx + 0x20]
cmp dword [ebp + ebx*2], 0
jle 0x458a9f
xor ebp, ebp
jmp 0x458a80
mov ecx, dword [edx + 0x1c]
mov ecx, dword [ecx + ebx*2]
mov esi, dword [edx + 0x14]
mov edi, dword [edx + 0x18]
add esi, dword [edi + ebx*2]
add esi, ecx
mov ecx, ebp
and ecx, 0xf
add ecx, 0x10
xor byte [esi + ebp], cl
mov ecx, dword [edx + 0x20]
inc ebp
cmp ebp, dword [ecx + ebx*2]
jl 0x458a7a
inc eax
cmp eax, dword [edx]
jl 0x458a3e
mov ebx, dword [esp + 0x40]
mov esi, dword [esp + 0x44]
xor eax, eax
add esp, 0x48
pop ebp
pop edi
ret
push 1
push 0x186aa
call fcn.0046cfcc
xor eax, eax
add esp, 0x50
pop ebp
pop edi
ret
push edi
push 1
push 0x1964a
call fcn.0046cf40
mov eax, 0xffffffff
add esp, 0x54
pop ebp
pop edi
ret
Function at 0x45c298
Capabilities:
Read file on windows

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