joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10153f70
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101a6446
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x10290198]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov ecx, dword [ebp + 8]
lea edi, [ebx + 0x2c]
xor eax, eax
mov dword [ebx + 4], 0
mov dword [ebx], 0
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], eax
mov eax, dword [ecx + 0x10]
mov dword [ebx + 0x10], eax
mov eax, dword [ecx + 0x14]
mov dword [ebx + 0x14], eax
mov eax, dword [ebp + 0xc]
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x20], 0
mov word [ebx + 0x24], 0x101
mov byte [ebx + 0x26], 0
mov dword [ebx + 0x28], eax
mov dword [edi], 0
mov dword [ebp - 4], 0
mov dword [ebx + 0x30], 0
xor ecx, ecx
mov dword [ebx + 0x34], 0
mov dword [ebx + 0x38], 0
mov eax, dword [edi]
mov byte [ebp - 4], 1
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x18], ecx
mov byte [ebp - 0x14], cl
mov word [ebp - 0x1c], cx
test eax, eax
je 0x10154047
cmp ecx, eax
je 0x10154047
mov esi, dword [ebp + 0x14]
lea ecx, [ebp - 0x2c]
push esi
call sym.tesseract41.dll_public:_void___thiscall_CLIST_ITERATOR::add_before_stay_put_void__
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
mov dword [eax], ecx
jmp 0x10154053
mov esi, dword [ebp + 0x14]
lea ecx, [ebp - 0x2c]
push esi
call sym.tesseract41.dll_public:_void___thiscall_CLIST_ITERATOR::add_after_stay_put_void__
mov edx, dword [ebx + 0x28]
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
test edx, edx
je 0x1015407b
cmp edx, 1
je 0x1015407b
shr eax, 0x10
mov word [ebp + 0x14], cx
mov word [ebp + 0x16], ax
mov eax, dword [ebp + 0x14]
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], ecx
jmp 0x10154094
test edx, edx
mov dword [ebx + 8], eax
mov word [ebp + 0x14], ax
cmove ecx, ecx
shr ecx, 0x10
mov word [ebp + 0x16], cx
mov eax, dword [ebp + 0x14]
mov dword [ebx + 0xc], eax
movsx ecx, word [ebx + 0xa]
movsx eax, word [ebx + 0xe]
mov esi, dword [ebp + 0x10]
add eax, ecx
movsx ecx, word [ebx + 8]
cdq
sub eax, edx
sar eax, 1
movsx edi, ax
movsx eax, word [esi]
imul edi, eax
movsx eax, word [ebx + 0xc]
add eax, ecx
cdq
sub eax, edx
sar eax, 1
movsx ecx, ax
movsx eax, word [esi + 2]
imul ecx, eax
sub ecx, edi
mov dword [ebx + 0x18], ecx
cmp dword [0x102a32c4], 3
jle 0x101540e2
push str.Constructed_a_new_tab_vector:
mov ecx, ebx
call sym.tesseract41.dll_public:_void___thiscall_tesseract::TabVector::Print_char_const__
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x10171d10
Capabilities:
Send data
Send data on socket

Disassembly:
push edi
mov edi, ecx
push 0xffffffffffffffff
push dword [edi]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [edi + 0x1c]
test ecx, ecx
je 0x10171d78
push ebx
mov ebx, dword [sym.imp.WS2_32.dll_send]
push esi
nop dword [eax]
cmp dword [edi + 0x20], 0x10
lea eax, [edi + 0xc]
jb 0x10171d3c
mov eax, dword [edi + 0xc]
push 0
push ecx
push eax
push dword [edi + 4]
call ebx
mov edx, eax
lea ecx, [edi + 0xc]
mov eax, dword [edi + 0x1c]
cmp eax, edx
cmovb edx, eax
cmp dword [edi + 0x20], 0x10
jb 0x10171d5b
mov ecx, dword [edi + 0xc]
sub eax, edx
mov dword [edi + 0x1c], eax
inc eax
push eax
lea eax, [ecx + edx]
push eax
push ecx
call fcn.10195285
mov ecx, dword [edi + 0x1c]
add esp, 0xc
test ecx, ecx
jne 0x10171d30
pop esi
pop ebx
push dword [edi]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
pop edi
ret

Function at 0x10171d90
Capabilities:
Get socket status
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x10290198]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp byte [esi + 0x24], 0
je 0x10171dc4
push 0x101af12c
push 0
call dword [0x101ae3a4]
add esp, 8
test eax, eax
jne 0x10171e58
mov eax, dword [esi + 4]
lea ecx, [ebp - 0x110]
push ecx
push 0
push 0
lea ecx, [ebp - 0x108]
mov dword [ebp - 0x104], eax
push ecx
inc eax
mov dword [esi + 0x28], 0
push eax
mov byte [esi + 0x24], 0
mov dword [ebp - 0x110], 0xa
mov dword [ebp - 0x10c], 0
mov dword [ebp - 0x108], 1
call dword [sym.imp.WS2_32.dll_select]
test eax, eax
je 0x10171e56
push 0
push 0x1000
push dword [esi + 8]
push dword [esi + 4]
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jle 0x10171e56
mov ecx, dword [esi + 8]
push 0x101af12c
mov byte [eax + ecx], 0
push dword [esi + 8]
mov byte [esi + 0x24], 1
call dword [0x101ae3a4]
add esp, 8
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10193ac9
mov esp, ebp
pop ebp
ret
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.10193ac9
mov esp, ebp
pop ebp
ret
Function at 0x101721f0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esp, ebp
pop ebp
ret
Function at 0x480f30
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x4d000]
push edi
jmp 0x480f4a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x480f51
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x480f40
mov eax, 1
add ebx, ebx
jne 0x480f63
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x480f74
jne 0x480f93
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x480f93
dec eax
add ebx, ebx
jne 0x480f80
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x480f58
add ebx, ebx
jne 0x480f8f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x480fe5
xor ecx, ecx
sub eax, 3
jb 0x480fab
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x48101a
sar eax, 1
mov ebp, eax
jmp 0x480fb6
add ebx, ebx
jne 0x480fb6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x480f84
inc ecx
add ebx, ebx
jne 0x480fc4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x480f84
add ebx, ebx
jne 0x480fd1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x480fc6
jne 0x480fe2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x480fc6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x481004
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x480ff6
jmp 0x480f46
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x481004
add edi, ecx
jmp 0x480f46
pop esi
mov edi, esi
mov ecx, 0x33cf
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x481022
cmp byte [edi], 0xe
jne 0x481022
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 0x481027
lea edi, [esi + 0x7d000]
mov eax, dword [edi]
or eax, eax
je 0x48109f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x85aec]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x85bb4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x481054
mov ecx, edi
jns 0x481083
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 + 0x85bb8]
or eax, eax
je 0x481099
mov dword [ebx], eax
add ebx, 4
jmp 0x481071
call dword [esi + 0x85bc8]
mov ebp, dword [esi + 0x85bbc]
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 0x4810d3
sub esp, 0xffffff80
jmp 0x440ceb

Function at 0x40c006
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ecx, 0xcbf
mov ebx, edx
xor word [eax], dx
lea edx, [ebx + edx]
xchg dh, dl
lea eax, [eax + 2]
loop 0x40c00e
pop ebx
ret
Function at 0x9349a0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x978e10
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x992014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 1
lea eax, [ebp + 0x20]
cmp dword [ebp + 0x34], 0x10
mov ecx, 0x9930ec
push dword [ebp + 0x30]
cmovae eax, dword [ebp + 0x20]
push eax
call fcn.009480c0
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
push dword [ebp + 0x18]
cmovae eax, dword [ebp + 8]
mov ecx, 0x992a8c
push eax
call fcn.009480c0
mov esi, dword [0x9930fc]
xor ebx, ebx
mov edi, dword [0x993100]
nop word [eax + eax]
cmp edi, 0x10
mov byte [ebx + 0x996390], bl
mov eax, ebx
mov ecx, 0x9930ec
cmovae ecx, dword [0x9930ec]
cdq
idiv esi
mov al, byte [edx + ecx]
mov byte [ebx + 0x9964a0], al
inc ebx
cmp ebx, 0x100
jl 0x934a20
xor edi, edi
xor esi, esi
mov dl, byte [esi + 0x996390]
movzx eax, byte [esi + 0x9964a0]
add edi, eax
movzx ecx, dl
add edi, ecx
and edi, 0x800000ff
jns 0x934a74
dec edi
or edi, 0xffffff00
inc edi
mov al, byte [edi + 0x996390]
mov byte [esi + 0x996390], al
inc esi
mov byte [edi + 0x996390], dl
cmp esi, 0x100
jl 0x934a50
mov esi, dword [ebp - 0x10]
mov ecx, esi
call fcn.00934690
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x934ac9
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x934abf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x934b1f
push edx
push ecx
call fcn.0094d663
add esp, 8
mov edx, dword [ebp + 0x34]
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov byte [ebp + 8], 0
cmp edx, 0x10
jb 0x934b0b
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x934b01
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x934b1f
push edx
push ecx
call fcn.0094d663
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.00966c6a
int3
Function at 0x9370a0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x188
mov eax, dword [0x992014]
xor eax, esp
mov dword [esp + 0x184], eax
push esi
push edi
push 0x104
lea eax, [esp + 0x84]
mov esi, ecx
push eax
push 0
call 0x53064a
nop
mov eax, 0x5a4d
cmp word [esi], ax
jne 0x937289
mov edi, dword [esi + 0x3c]
add edi, esi
cmp dword [edi], 0x4550
jne 0x937289
push 0x44
lea eax, [esp + 0x3c]
push 0
push eax
call fcn.009640f0
add esp, 0xc
lea eax, [esp + 0x20]
xorps xmm0, xmm0
movaps xmmword [esp + 0x20], xmm0
push eax
lea eax, [esp + 0x3c]
push eax
push 0
push 0
push 4
push 0
push 0
push 0
push 0
lea eax, [esp + 0xa4]
push eax
call 0x530737
nop
test eax, eax
je 0x937289
push 4
push 0x1000
push 4
push 0
call 0x530000
nop
push eax
mov dword [esp + 0x1c], eax
mov dword [eax], 0x10007
push dword [esp + 0x28]
call 0x35008e
nop
test eax, eax
je 0x937289
push 0
push 4
lea eax, [esp + 0x24]
push eax
push 0x988df8
push dword [esp + 0x30]
call 0x350545
nop
mov eax, dword [edi + 0x34]
cmp dword [esp + 0x1c], eax
jne 0x9371ac
push 0x988dfc
push 0x988e14
call 0x4a0bcf
nop
push eax
call 0x3502ee
nop
push dword [esp + 0x1c]
push dword [esp + 0x24]
call eax
mov eax, dword [edi + 0x34]
push 0x40
push 0x3000
push dword [edi + 0x50]
push eax
push dword [esp + 0x30]
call 0x3503d6
nop
mov dword [esp + 0x14], eax
test eax, eax
je 0x937289
push 0
push dword [edi + 0x54]
push esi
push eax
push dword [esp + 0x30]
call 0x5305af
nop
xor eax, eax
mov dword [esp + 0x10], 0
cmp ax, word [edi + 6]
jae 0x937243
mov dword [esp + 0xc], eax
call fcn.00936ef0
push eax
call 0x4906df
nop
mov ecx, dword [esp + 0xc]
add ecx, esi
add ecx, dword [esi + 0x3c]
push 0
push dword [ecx + 0x108]
mov eax, dword [ecx + 0x10c]
add eax, esi
push eax
mov eax, dword [ecx + 0x104]
add eax, dword [esp + 0x20]
push eax
push dword [esp + 0x30]
call 0x5305af
nop
mov ecx, dword [esp + 0x10]
movzx eax, word [edi + 6]
inc ecx
add dword [esp + 0xc], 0x28
mov dword [esp + 0x10], ecx
cmp ecx, eax
jl 0x9371f2
push 0
push 4
lea eax, [edi + 0x34]
push eax
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0xa4]
add eax, 8
push eax
push dword [esp + 0x30]
call 0x5305af
nop
mov ecx, dword [esp + 0x18]
mov eax, dword [edi + 0x28]
add eax, dword [esp + 0x14]
push ecx
mov dword [ecx + 0xb0], eax
push dword [esp + 0x28]
call 0x350864
nop
push dword [esp + 0x24]
call 0x4a0c70
nop
push 0x8000
push 0
push esi
call 0x530508
nop
mov ecx, dword [esp + 0x18c]
mov al, 1
pop edi
pop esi
xor ecx, esp
call fcn.0094cff1
mov esp, ebp
pop ebp
ret
Function at 0x93af20
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x979726
mov eax, dword fs:[0]
push eax
sub esp, 0x438
mov eax, dword [0x992014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x414], ebx
push 0
mov dword [ebp - 0x414], ebx
call fcn.00968b63
push eax
call fcn.00966660
add esp, 8
call fcn.0096663f
cdq
mov ecx, 0x3313
idiv ecx
mov edi, edx
call fcn.0096663f
mov ecx, eax
mov eax, 0x55555556
imul ecx
mov esi, edx
shr esi, 0x1f
add esi, edx
imul esi, edi
call fcn.0096663f
imul edx, eax, 0x4d
lea ecx, [ebp - 0x444]
add edx, 0x64
add edx, esi
call fcn.009345b0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x444]
cmp dword [ebp - 0x430], 0x10
lea edx, [ebp - 0x410]
cmovae eax, dword [ebp - 0x444]
sub edx, eax
nop
mov cl, byte [eax]
lea eax, [eax + 1]
mov byte [edx + eax - 1], cl
test cl, cl
jne 0x93afd0
lea esi, [ebp - 0x410]
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x93afe6
push 0x40
push 0
push 0x998560
sub esi, ecx
call fcn.009640f0
add esp, 0xc
mov dword [0x998554], 0
mov edx, esi
mov dword [0x998550], 0
lea ecx, [ebp - 0x410]
mov dword [0x998540], 0x67452301
mov dword [0x998544], 0xefcdab89
mov dword [0x998548], 0x98badcfe
mov dword [0x99854c], 0x10325476
call fcn.00935530
call fcn.009355f0
mov ecx, 0x9965a0
mov dword [ebp - 0x41c], 0
mov dword [ebp - 0x418], 0xf
mov byte [ebp - 0x42c], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x93b071
sub ecx, edx
push ecx
push 0x9965a0
lea ecx, [ebp - 0x42c]
call fcn.009480c0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x430]
cmp edx, 0x10
jb 0x93b0cc
mov ecx, dword [ebp - 0x444]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x93b0c2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x93b18c
push edx
push ecx
call fcn.0094d663
add esp, 8
mov dword [ebp - 0x434], 0
mov dword [ebp - 0x430], 0xf
mov byte [ebp - 0x444], 0
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x41c]
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0xf
mov byte [ebx], 0
cmp eax, 1
jb 0x93b187
dec eax
mov ecx, 0xa
cmp eax, ecx
cmovb ecx, eax
cmp dword [ebp - 0x418], 0x10
lea eax, [ebp - 0x42c]
cmovae eax, dword [ebp - 0x42c]
push ecx
inc eax
mov ecx, ebx
push eax
call fcn.009480c0
mov edx, dword [ebp - 0x418]
cmp edx, 0x10
jb 0x93b169
mov ecx, dword [ebp - 0x42c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x93b15f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x93b18c
push edx
push ecx
call fcn.0094d663
add esp, 8
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0094cff1
mov esp, ebp
pop ebp
ret
call fcn.00948200
call fcn.00966c6a
int3
Function at 0x94dcc7
Capabilities:
Parse pe header

Disassembly:
push 0
call 0x7716c2
nop
test eax, eax
je 0x94dd07
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x94dd07
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x94dd07
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x94dd07
cmp dword [ecx + 0x74], 0xe
jbe 0x94dd07
cmp dword [ecx + 0xe8], 0
je 0x94dd07
mov al, 1
ret
xor al, al
ret
Function at 0x402d95
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov esi, ecx
xor eax, eax
push edi
xor edi, edi
mov ebx, edx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], edi
mov word [esi], ax
cmp dword [esp + 0x10], eax
jle 0x402ddb
sub ebx, 0x425680
mov ax, word [ebx + edi*2 + 0x425680]
mov ecx, esi
xor ax, word [edi*2 + 0x425680]
movzx eax, ax
push eax
call fcn.00402250
inc edi
cmp edi, dword [esp + 0x10]
jl 0x402db9
pop edi
mov eax, esi
pop esi
pop ebx
ret 4

Function at 0x403719
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
xor ebx, ebx
push edi
mov edi, edx
cmp dword [0x47fff0], ebx
jne 0x40375f
mov ecx, ebx
push 8
mov eax, ecx
pop edx
test al, 1
je 0x403740
shr eax, 1
xor eax, 0xedb88320
jmp 0x403742
shr eax, 1
dec edx
jne 0x403733
mov dword [ecx*4 + 0x47fbf0], eax
inc ecx
cmp ecx, 0x100
jl 0x40372e
mov dword [0x47fff0], 1
mov eax, dword [ebp + 8]
or edx, 0xffffffff
xor ecx, ecx
lea eax, [edi + eax*2]
mov esi, eax
sub esi, edi
inc esi
shr esi, 1
cmp edi, eax
cmova esi, ecx
test esi, esi
je 0x403794
movzx eax, byte [edi]
lea edi, [edi + 2]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x47fbf0]
inc ebx
cmp ebx, esi
jb 0x40377a
pop edi
not edx
pop esi
mov eax, edx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4037a1
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x5c
mov eax, dword [esp + 0x70]
push ebx
push ebp
push esi
push edi
mov ebx, ecx
add eax, 0x40
push eax
lea ecx, [esp + 0x30]
mov dword [esp + 0x1c], ebx
call fcn.00401663
mov eax, dword [esp + 0x80]
lea ecx, [esp + 0x70]
push dword [esp + 0x70]
xor edx, edx
mov dword [esp + 0x50], 0xf
cmp dword [esp + 0x88], 8
mov dword [esp + 0x24], edx
cmovae ecx, dword [esp + 0x74]
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x4c], edx
lea eax, [ecx + eax*2]
mov byte [esp + 0x3c], dl
lea ecx, [esp + 0x74]
cmovae ecx, dword [esp + 0x74]
push eax
push ecx
lea ecx, [esp + 0x44]
call fcn.00403963
lea eax, [esp + 0x88]
push eax
lea ecx, [esp + 0x54]
call fcn.00402a8a
cmp dword [esp + 0x64], 8
lea edx, [esp + 0x50]
push dword [esp + 0x60]
cmovae edx, dword [esp + 0x54]
call fcn.00403719
push 0
push 1
lea ecx, [esp + 0x58]
mov esi, eax
call fcn.0040193d
xor edx, edx
mov ecx, 0x98967f
mov eax, esi
div ecx
lea ecx, [esp + 0x14]
inc edx
mov dword [esp + 0x14], edx
call fcn.0040125f
cmp dword [esp + 0x4c], 0x10
lea ecx, [esp + 0x38]
mov eax, dword [esp + 0x48]
cmovae ecx, dword [esp + 0x38]
mov ebp, dword [esp + 0x2c]
add eax, ecx
cmp dword [esp + 0x4c], 0x10
lea ecx, [esp + 0x38]
cmovae ecx, dword [esp + 0x38]
sub eax, ecx
push eax
push ecx
push ebp
call fcn.0040c1d0
add esp, 0xc
lea edx, [esp + 0x20]
lea ecx, [esp + 0x2c]
call fcn.004014f9
and dword [ebx + 0x10], 0
xor eax, eax
mov edi, dword [esp + 0x20]
mov dword [ebx + 0x14], 7
mov word [ebx], ax
mov eax, dword [esp + 0x24]
sub eax, edi
push 0
mov dword [esp + 0x20], eax
pop esi
je 0x4038ed
mov ebp, ebx
mov bl, byte [edi + esi]
lea ecx, [esp + 0x14]
call fcn.0040125f
xor al, bl
mov ecx, ebp
movzx eax, al
push eax
call fcn.00402250
inc esi
cmp esi, dword [esp + 0x1c]
jb 0x4038c5
mov ebp, dword [esp + 0x2c]
mov ebx, dword [esp + 0x18]
xor esi, esi
lea ecx, [esp + 0x38]
push esi
push 1
call fcn.004017dc
test edi, edi
je 0x403906
push edi
call fcn.0040cc42
pop ecx
test ebp, ebp
je 0x403911
push ebp
call fcn.0040cc42
pop ecx
push esi
push 1
lea ecx, [esp + 0x78]
call fcn.0040193d
push esi
push 1
lea ecx, [esp + 0x90]
call fcn.0040193d
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x5c
ret 0x30
Function at 0x405b21
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov esi, ecx
xor eax, eax
push edi
xor edi, edi
mov ebx, edx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], edi
mov word [esi], ax
cmp dword [esp + 0x10], eax
jle 0x405b67
sub ebx, 0x426230
mov ax, word [ebx + edi*2 + 0x426230]
mov ecx, esi
xor ax, word [edi*2 + 0x426230]
movzx eax, ax
push eax
call fcn.00402250
inc edi
cmp edi, dword [esp + 0x10]
jl 0x405b45
pop edi
mov eax, esi
pop esi
pop ebx
ret 4

Function at 0x405c1f
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
cmp byte [0x47fbd4], 0
push ebx
push esi
push edi
mov edi, ecx
je 0x405cc4
push 7
mov edx, 0x449294
lea ecx, [ebp - 0x34]
call fcn.00405b21
cmp dword [eax + 0x14], 8
jb 0x405c4e
mov eax, dword [eax]
xor ebx, ebx
push ebx
push 0x80
push 4
push ebx
push 1
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push ebx
push 1
lea ecx, [ebp - 0x34]
mov esi, eax
call fcn.0040193d
test esi, esi
je 0x405cc4
mov edx, edi
lea ecx, [ebp - 0x1c]
call fcn.00405b6f
push 0x4265bc
call fcn.0040c820
pop ecx
push eax
push ecx
lea ecx, [ebp - 0x1c]
call fcn.00408f35
cmp dword [ebp - 8], 0x10
lea ecx, [ebp - 4]
push ebx
push ecx
push dword [ebp - 0xc]
lea eax, [ebp - 0x1c]
cmovae eax, dword [ebp - 0x1c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
push 1
lea ecx, [ebp - 0x1c]
call fcn.004017dc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x405ccb
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov edx, str._5beczU_
push ebx
push esi
push edi
mov ebx, ecx
lea ecx, [ebp - 0x18]
push 0x32
call fcn.00405b21
cmp dword [eax + 0x14], 8
jb 0x405cf0
mov eax, dword [eax]
sub esp, 0x18
mov esi, ebx
push 6
pop ecx
mov edi, esp
push eax
lea eax, [ebp - 0x118]
push 0x7f
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.00405b05
add esp, 0x24
lea ecx, [ebp - 0x18]
xor esi, esi
xor edi, edi
inc edi
push esi
push edi
call fcn.0040193d
xor eax, eax
mov dword [ebp - 4], 7
mov word [ebp - 0x18], ax
lea ecx, [ebp - 0x18]
lea eax, [ebp - 0x118]
mov dword [ebp - 8], esi
push eax
call fcn.0040181e
lea ecx, [ebp - 0x18]
call fcn.00405c1f
push esi
push edi
lea ecx, [ebp - 0x18]
call fcn.0040193d
push 9
mov edx, 0x4709a0
lea ecx, [ebp - 0x18]
call fcn.00405b21
cmp dword [eax + 0x14], 8
jb 0x405d65
mov eax, dword [eax]
cmp dword [ebx + 0x14], 8
jb 0x405d6d
mov ebx, dword [ebx]
push 0x40040
push eax
push ebx
push esi
call dword [0x47f820]
push esi
push edi
lea ecx, [ebp - 0x18]
call fcn.0040193d
push edi
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x405d8d
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov edx, 0x4709a0
push esi
mov esi, ecx
lea ecx, [ebp - 0x18]
push 9
call fcn.00405b21
cmp dword [eax + 0x14], 8
jb 0x405dad
mov eax, dword [eax]
cmp dword [esi + 0x14], 8
jb 0x405db5
mov esi, dword [esi]
push 0x40010
push eax
push esi
push 0
call dword [0x47f820]
push 0
push 1
lea ecx, [ebp - 0x18]
call fcn.0040193d
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x409381
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov esi, ecx
xor eax, eax
push edi
xor edi, edi
mov ebx, edx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], edi
mov word [esi], ax
cmp dword [esp + 0x10], eax
jle 0x4093c7
sub ebx, 0x426310
mov ax, word [ebx + edi*2 + 0x426310]
mov ecx, esi
xor ax, word [edi*2 + 0x426310]
movzx eax, ax
push eax
call fcn.00402250
inc edi
cmp edi, dword [esp + 0x10]
jl 0x4093a5
pop edi
mov eax, esi
pop esi
pop ebx
ret 4