joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401fb2
Capabilities:
Delete file
Move file

Disassembly:
mov ecx, 0x404f28
jmp fcn.0040170c

Function at 0x401ff6
Capabilities:
Check if file exists
Delete directory
Get file attributes

Disassembly:
push esi
mov esi, 0x404f28
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x402013
push esi
call dword [sym.imp.kernel32.dll_RemoveDirectoryW]
test eax, eax
je 0x402018
push 1
pop eax
pop esi
ret
call fcn.00401fb2
pop esi
ret

Function at 0x16a4120
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.GVD1
lea edi, [esi - 0x1270000]
push edi
or ebp, 0xffffffff
jmp 0x16a4142
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x16a4149
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
mov al, byte [edi]
jb 0x16a4138
mov eax, 1
add ebx, ebx
jne 0x16a415d
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x16a416e
jne 0x16a417e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x16a417e
dec eax
add ebx, ebx
jne 0x16a417a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x16a4152
xor ecx, ecx
sub eax, 3
jb 0x16a4196
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x16a420a
sar eax, 1
mov ebp, eax
jmp 0x16a41a1
add ebx, ebx
jne 0x16a41a1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x16a41ae
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x16a41d2
inc ecx
add ebx, ebx
jne 0x16a41be
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x16a41b3
jne 0x16a41cf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x16a41b3
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
mov al, byte [edi + ecx]
jbe 0x16a41f4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x16a41e6
jmp 0x16a413e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x16a41f4
add edi, ecx
jmp 0x16a413e
pop esi
mov edi, esi
mov ecx, 0x346a
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x16a4212
cmp byte [edi], 0x16
jne 0x16a4212
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 eax, ebx
loop 0x16a4217
lea edi, [esi + 0x12a1000]
mov eax, dword [edi]
or eax, eax
je 0x16a4286
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x12a57f8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x12a58e8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x16a4244
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x12a58ec]
or eax, eax
je 0x16a4280
mov dword [ebx], eax
add ebx, 4
jmp 0x16a4261
call dword [esi + 0x12a58f0]
popal
jmp 0x46b748
Function at 0x4032a4
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x5cc008], 0x8088405
inc edx
mov dword [ebx + 0x5cc008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x4097d4
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, eax
mov eax, edx
test esi, esi
je 0x409864
mov edx, dword [esi - 4]
mov edi, eax
test edx, edx
jle 0x409864
mov ecx, dword [eax]
mov ebx, edx
test ecx, ecx
je 0x409817
test edx, 3
jne 0x409806
xor edx, dword [ecx - 4]
cmp edx, 3
jbe 0x409811
jmp 0x409817
or edx, 2
xor edx, dword [ecx - 4]
cmp edx, 1
ja 0x409817
cmp dword [ecx - 8], 1
je 0x409821
mov edx, ebx
or edx, 3
call fcn.00405824
mov edi, dword [edi]
mov dword [edi - 4], ebx
mov byte [edi + ebx], 0
add ebx, 0xffffffff
and ebx, 0xfffffffc
mov eax, dword [esi + ebx]
mov ecx, eax
or eax, 0x80808080
mov edx, eax
sub eax, 0x7b7b7b7b
xor edx, ecx
or eax, 0x80808080
sub eax, 0x66666666
and eax, edx
shr eax, 2
xor eax, ecx
mov dword [edi + ebx], eax
mov eax, dword [esi + ebx - 4]
sub ebx, 4
jge 0x409833
pop edi
pop esi
pop ebx
ret
pop edi
pop esi
pop ebx
jmp fcn.004050c8

Function at 0x409870
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, eax
mov eax, edx
test esi, esi
je 0x409900
mov edx, dword [esi - 4]
mov edi, eax
test edx, edx
jle 0x409900
mov ecx, dword [eax]
mov ebx, edx
test ecx, ecx
je 0x4098b3
test edx, 3
jne 0x4098a2
xor edx, dword [ecx - 4]
cmp edx, 3
jbe 0x4098ad
jmp 0x4098b3
or edx, 2
xor edx, dword [ecx - 4]
cmp edx, 1
ja 0x4098b3
cmp dword [ecx - 8], 1
je 0x4098bd
mov edx, ebx
or edx, 3
call fcn.00405824
mov edi, dword [edi]
mov dword [edi - 4], ebx
mov byte [edi + ebx], 0
add ebx, 0xffffffff
and ebx, 0xfffffffc
mov eax, dword [esi + ebx]
mov ecx, eax
or eax, 0x80808080
mov edx, eax
sub eax, 0x5b5b5b5b
xor edx, ecx
or eax, 0x80808080
sub eax, 0x66666666
and eax, edx
shr eax, 2
xor eax, ecx
mov dword [edi + ebx], eax
mov eax, dword [esi + ebx - 4]
sub ebx, 4
jge 0x4098cf
pop edi
pop esi
pop ebx
ret
pop edi
pop esi
pop ebx
jmp fcn.004050c8

Function at 0x43092c
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x430932
ret
Function at 0x456bd0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x456d8b
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.00405888
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 4]
mov ecx, 0x456da4
call fcn.004053e8
mov eax, ebx
call fcn.004295b0
mov edi, eax
dec edi
test edi, edi
jl 0x456c88
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.00429584
mov edx, dword [0x441708]
call fcn.004042f8
test al, al
je 0x456c84
push dword [ebp - 8]
mov edx, esi
mov eax, ebx
call fcn.00429584
lea edx, [ebp - 0x14]
call fcn.0046d88c
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.00405888
push dword [ebp - 0x18]
lea eax, [ebp - 8]
mov edx, 3
call fcn.0040545c
inc esi
dec edi
jne 0x456c36
movzx eax, byte [0x456da8]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x456db4
mov eax, dword [ebp - 8]
call fcn.0040fb08
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 8]
call fcn.00405160
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
lea edx, [ebp - 0x70]
mov eax, ebx
call fcn.0046d88c
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x456da4
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0xb
mov eax, dword [ebp - 4]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
lea edx, [ebp - 0x74]
mov eax, dword [ebx + 0x360]
call fcn.0046d88c
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x456da4
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
mov eax, dword [ebp - 4]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
mov eax, 0x456da4
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov eax, dword [ebp - 4]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x6c]
mov ecx, 9
mov eax, 0x456dc0
call fcn.0040ba1c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x456d92
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.004050ec
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.004050ec
lea eax, [ebp - 0x14]
call fcn.004050c8
lea eax, [ebp - 0x10]
call fcn.004050c8
lea eax, [ebp - 8]
mov edx, 2
call fcn.004050ec
ret
Function at 0x48ad14
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov edi, dword [ebp + 8]
add edi, 0xfffffffc
mov eax, dword [edi]
mov edx, dword [ebp - 4]
mov dword [eax + 4], edx
mov eax, dword [edi]
add eax, 0xc
mov edx, ebx
call fcn.0040511c
mov eax, dword [edi]
add eax, 0x10
mov edx, esi
call fcn.0040511c
mov eax, dword [edi]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 8]
mov ecx, dword [edx + 0x20]
mov dword [eax + 0x20], ecx
mov ecx, dword [edx + 0x24]
mov dword [eax + 0x24], ecx
mov eax, dword [edi]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 8]
mov ecx, dword [edx + 0x28]
mov dword [eax + 0x28], ecx
mov ecx, dword [edx + 0x2c]
mov dword [eax + 0x2c], ecx
mov eax, dword [edi]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 8]
mov ecx, dword [edx + 0x30]
mov dword [eax + 0x30], ecx
mov ecx, dword [edx + 0x34]
mov dword [eax + 0x34], ecx
mov eax, dword [0x48adf8]
push eax
mov eax, dword [edi]
mov ecx, dword [eax + 4]
mov dl, 1
mov eax, dword [0x489e2c]
call fcn.00489f40
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x48ade9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x48add3
inc ebx
xor esi, esi
mov edx, esi
mov eax, dword [ebp - 8]
call fcn.00489ff4
mov edx, eax
mov eax, dword [edi]
call fcn.0048a360
inc esi
dec ebx
jne 0x48adbc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48adf0
mov eax, dword [ebp - 8]
call fcn.0040416c
ret

Function at 0x4dcbcc
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4dcbfa
mov eax, ebx
call fcn.004dd680
cmp dword [ebx + 0x40], 0
je 0x4dcbf3
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x4dcc6b
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x4dcc5d
cmp dword [ebx + 8], 0
je 0x4dcc1c
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x4dcc2e
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4dcc5d
cmp dword [ebx + 8], 0
je 0x4dcc0f
cmp eax, 3
je 0x4dcc41
dec eax
jne 0x4dcc0f
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x4dcc0f
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4dcc0f
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x4dcc89
cmp dword [ebx + 0x14], 0xcc
je 0x4dcc89
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.004dcc94
pop ebx
ret
Function at 0x4f80fc
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff6c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x94], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x4f827f
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x90]
mov eax, esi
call fcn.004f8544
mov eax, ebx
call fcn.00431a38
dec al
je 0x4f8140
dec al
je 0x4f8146
jmp 0x4f814c
mov byte [ebp - 0x77], 2
jmp 0x4f8150
mov byte [ebp - 0x77], 1
jmp 0x4f8150
mov byte [ebp - 0x77], 0
mov eax, dword [ebp - 0x8c]
or eax, 0x80000000
or eax, 1
or eax, 2
or eax, 4
or eax, 8
or eax, 0x20000000
or eax, 0x40000000
mov dword [ebp - 0x8c], eax
mov eax, ebx
call fcn.004319c4
add eax, eax
add eax, eax
lea eax, [eax + eax*4]
mov dword [ebp - 0x84], eax
mov edi, dword [ebx + 0x18]
cmp edi, 0xff000008
je 0x4f819e
cmp edi, 0x20000000
jne 0x4f81aa
or dword [ebp - 0x88], 0x40000000
jmp 0x4f81b4
mov eax, edi
call fcn.004311b4
mov dword [ebp - 0x7c], eax
mov eax, ebx
call fcn.00431a00
test al, 1
je 0x4f81c6
or dword [ebp - 0x88], 1
mov eax, ebx
call fcn.00431a00
test al, 2
je 0x4f81d8
or dword [ebp - 0x88], 2
mov eax, ebx
call fcn.00431a00
test al, 4
je 0x4f81ea
or dword [ebp - 0x88], 4
mov eax, ebx
call fcn.00431a00
test al, 8
je 0x4f81fc
or dword [ebp - 0x88], 8
lea edx, [ebp - 0x94]
mov eax, ebx
call fcn.00431950
mov edx, dword [ebp - 0x94]
lea eax, [ebp - 0x76]
mov ecx, 0x20
call fcn.0040b36c
or dword [ebp - 0x8c], 0x8000000
mov eax, ebx
call fcn.00431a68
mov byte [ebp - 0x78], al
lea eax, [ebp - 0x3c]
push eax
push 0x3c
mov eax, ebx
call fcn.004316c0
push eax
call fcn.00408038
test eax, eax
je 0x4f8259
or dword [ebp - 0x8c], 0x400000
movzx eax, word [ebp - 0x2c]
mov word [ebp - 0x56], ax
lea edx, [ebp - 0x90]
mov eax, esi
call fcn.004f8570
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f8286
lea eax, [ebp - 0x94]
call fcn.004050c8
ret
Function at 0x4fda7c
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov byte [eax + 4], 4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x180]
call fcn.004201e8
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x188], eax
mov dword [ecx + 0x18c], edx
xor edx, edx
push ebp
push 0x4fdbe0
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
lea edx, [eax + 5]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x180]
mov ecx, 0x40
call fcn.004be9dc
test al, al
je 0x4fdbb5
mov eax, dword [ebp - 4]
movzx eax, word [eax + 5]
cmp ax, 0x5a4d
je 0x4fdaef
cmp ax, 0x4d5a
jne 0x4fdbb5
mov eax, dword [ebp - 4]
mov byte [eax + 4], 3
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x41]
xor edx, edx
mov ecx, dword [ebp - 4]
add eax, dword [ecx + 0x188]
adc edx, dword [ecx + 0x18c]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x190], eax
mov dword [ecx + 0x194], edx
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x18c]
mov eax, dword [eax + 0x188]
add eax, 0x40
adc edx, 0
mov ecx, dword [ebp - 4]
cmp edx, dword [ecx + 0x194]
jne 0x4fdb46
cmp eax, dword [ecx + 0x190]
ja 0x4fdbb5
jmp 0x4fdb48
jg 0x4fdbb5
mov eax, dword [ebp - 4]
push dword [eax + 0x194]
push dword [eax + 0x190]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x180]
call fcn.004be9fc
test al, al
je 0x4fdbb5
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x180]
mov ecx, 4
call fcn.004be9dc
test al, al
je 0x4fdbb5
cmp dword [ebp - 8], 0x4550
jne 0x4fdb95
push ebp
call fcn.004fd9a4
pop ecx
jmp 0x4fdbb5
movzx eax, word [ebp - 8]
sub ax, 0x454c
je 0x4fdbae
sub ax, 2
jne 0x4fdbb5
push ebp
call fcn.004fda10
pop ecx
jmp 0x4fdbb5
push ebp
call fcn.004fda6c
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fdbe7
mov eax, dword [ebp - 4]
push dword [eax + 0x18c]
push dword [eax + 0x188]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x180]
call fcn.00420208
ret
Function at 0x52f4a4
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
test dl, dl
je 0x52f4bb
add esp, 0xfffffff0
call fcn.004044d0
mov byte [ebp - 1], dl
mov ebx, eax
xor eax, eax
push ebp
push 0x52f61e
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, ebx
call fcn.004c935c
mov ecx, ebx
mov dl, 1
mov eax, dword [0x5ba70c]
call fcn.005ba898
mov esi, eax
mov dword [ebx + 0xc], esi
mov eax, dword [0x5d89e4]
mov dword [eax], esi
mov ecx, ebx
mov dl, 1
mov eax, dword [0x5ba24c]
call fcn.005ba390
mov esi, eax
mov dword [ebx + 0x10], esi
mov eax, dword [0x5d881c]
mov dword [eax], esi
mov ecx, ebx
mov dl, 1
mov eax, dword [0x5b9dcc]
call fcn.005b9fd0
mov esi, eax
mov dword [ebx + 0x14], esi
mov eax, dword [0x5d897c]
mov dword [eax], esi
mov ecx, ebx
mov dl, 1
mov eax, dword [0x5b9bd8]
call fcn.005b9cd4
mov esi, eax
mov dword [ebx + 0x18], esi
mov eax, dword [0x5d8c18]
mov dword [eax], esi
mov ecx, ebx
mov dl, 1
mov eax, dword [0x5b9874]
call fcn.005b9a0c
mov esi, eax
mov dword [ebx + 0x1c], esi
mov eax, dword [0x5d8f20]
mov dword [eax], esi
mov ecx, ebx
mov dl, 1
mov eax, dword [0x5b9414]
call fcn.005b963c
mov esi, eax
mov dword [ebx + 0x20], esi
mov eax, dword [0x5d898c]
mov dword [eax], esi
mov ecx, ebx
mov dl, 1
mov eax, dword [0x4ca8c0]
call fcn.004caba4
mov esi, eax
mov dword [ebx + 0x24], esi
mov eax, dword [0x5d8dc8]
mov dword [eax], esi
mov ecx, ebx
mov dl, 1
mov eax, dword [0x5b9188]
call fcn.005b92c4
mov esi, eax
mov dword [ebx + 0x28], esi
mov eax, dword [0x5d8be0]
mov dword [eax], esi
mov ecx, ebx
mov dl, 1
mov eax, dword [0x5b8dc8]
call fcn.005b8f84
mov esi, eax
mov dword [ebx + 0x2c], esi
mov eax, dword [0x5d8e00]
mov dword [eax], esi
lea eax, [ebp - 8]
call fcn.0048f3e4
mov edx, dword [ebp - 8]
lea eax, [ebx + 0x34]
call fcn.0040511c
lea eax, [ebp - 0xc]
call fcn.0048f3bc
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0x38]
call fcn.0040511c
lea eax, [ebx + 0x30]
mov edx, 0x52f64c
call fcn.0040511c
mov dl, 1
mov eax, dword [0x493374]
call fcn.004934bc
mov dword [ebx + 0x40], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52f625
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004050ec
ret
Function at 0x53f3a4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov dl, 1
mov eax, dword [0x4305b0]
call fcn.00437028
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x53f577
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebx + 0x54]
cmp dword [eax + 8], 0
jle 0x53f556
xor edx, edx
mov eax, dword [ebp - 8]
call fcn.00438570
mov eax, dword [ebp - 8]
call fcn.004375fc
mov eax, dword [eax + 0x14]
mov edx, esi
call fcn.00431f3c
cmp byte [ebp + 8], 0
je 0x53f43e
xor edx, edx
mov eax, ebx
call fcn.0053e390
mov edx, dword [eax]
call dword [edx + 0x2c]
mov edx, eax
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x40]
xor edx, edx
mov eax, ebx
call fcn.0053e390
mov edx, dword [eax]
call dword [edx + 0x20]
mov esi, eax
mov eax, ebx
call fcn.0053e2c0
imul esi, eax
mov edx, esi
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x34]
jmp 0x53f47a
xor edx, edx
mov eax, ebx
call fcn.0053e390
mov edx, dword [eax]
call dword [edx + 0x2c]
mov esi, eax
mov eax, ebx
call fcn.0053e2c0
imul esi, eax
mov edx, esi
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x40]
xor edx, edx
mov eax, ebx
call fcn.0053e390
mov edx, dword [eax]
call dword [edx + 0x20]
mov edx, eax
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.0041b008
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 8]
call fcn.004375fc
pop edx
call fcn.00432620
mov eax, dword [ebx + 0x5c]
mov dword [ebp - 0xc], eax
mov eax, ebx
call fcn.0053e2c0
dec eax
test eax, eax
jl 0x53f52e
inc eax
mov dword [ebp - 0x10], eax
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.0053e264
push 0
lea eax, [ebp - 0x20]
push eax
mov edx, esi
mov eax, ebx
call fcn.0053e3bc
mov eax, dword [eax + 4]
mov edx, dword [eax]
call dword [edx + 0x20]
imul esi
movzx edx, byte [ebp + 8]
imul edx
push eax
mov edx, esi
mov eax, ebx
call fcn.0053e3bc
mov eax, dword [eax + 4]
mov edx, dword [eax]
call dword [edx + 0x2c]
imul esi
movzx edx, byte [ebp + 8]
xor dl, 1
and edx, 0x7f
imul edx
xor ecx, ecx
pop edx
call fcn.0041afe0
mov eax, dword [ebp - 8]
call fcn.004375fc
mov edx, eax
lea ecx, [ebp - 0x20]
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0x14]
inc esi
dec dword [ebp - 0x10]
jne 0x53f4c4
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.0053e264
cmp byte [ebp + 0xc], 0
je 0x53f556
movzx eax, word [ebx + 0x58]
cmp eax, 0x10
jg 0x53f54c
mov eax, 0x10
mov edx, eax
mov eax, dword [ebp - 8]
call fcn.0053da50
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53f57e
mov eax, dword [ebp - 8]
call fcn.0040416c
ret
Function at 0x548f24
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov ecx, 4
push 0
push 0
dec ecx
jne 0x548f2c
push ecx
push ebx
push esi
push edi
mov esi, eax
xor eax, eax
push ebp
push 0x5490bf
push dword fs:[eax]
mov dword fs:[eax], esp
mov edi, dword [esi + 0x18]
mov eax, dword [0x5490d0]
mov dword [edi + 0x64], eax
lea edx, [ebp - 4]
mov eax, 0x5490dc
call fcn.004c4dbc
mov edx, dword [ebp - 4]
lea eax, [edi + 0x78]
call fcn.0040511c
mov eax, dword [esi + 0x14]
movzx eax, byte [eax + 0x31]
sub al, 1
jb 0x548f88
je 0x548fb7
dec al
je 0x548fe3
dec al
je 0x54900f
jmp 0x549039
lea eax, [edi + 0x7c]
mov edx, 0x549114
call fcn.0040511c
lea edx, [ebp - 8]
mov eax, 0x549120
call fcn.004c4dbc
mov edx, dword [ebp - 8]
lea eax, [edi + 0x68]
mov ecx, 0x549140
call fcn.004053e8
jmp 0x549039
lea eax, [edi + 0x7c]
mov edx, 0x549158
call fcn.0040511c
lea edx, [ebp - 0xc]
mov eax, 0x549164
call fcn.004c4dbc
mov edx, dword [ebp - 0xc]
lea eax, [edi + 0x68]
mov ecx, 0x549184
call fcn.004053e8
jmp 0x549039
lea eax, [edi + 0x7c]
mov edx, 0x5491ac
call fcn.0040511c
lea edx, [ebp - 0x10]
mov eax, 0x5491b8
call fcn.004c4dbc
mov edx, dword [ebp - 0x10]
lea eax, [edi + 0x68]
mov ecx, 0x5491e4
call fcn.004053e8
jmp 0x549039
lea eax, [edi + 0x7c]
mov edx, 0x5491fc
call fcn.0040511c
lea edx, [ebp - 0x14]
mov eax, 0x549208
call fcn.004c4dbc
mov edx, dword [ebp - 0x14]
lea eax, [edi + 0x68]
mov ecx, 0x549224
call fcn.004053e8
lea edx, [ebp - 0x18]
mov eax, dword [esi + 0x14]
mov eax, dword [eax + 0x3c]
call fcn.0040aa30
mov edx, dword [ebp - 0x18]
mov eax, edi
call fcn.004555c4
lea edx, [ebp - 0x20]
mov eax, dword [esi + 0x14]
mov eax, dword [eax + 0x3c]
call fcn.0040ab70
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x1c]
xor edx, edx
call fcn.0040a99c
mov edx, dword [ebp - 0x1c]
lea eax, [edi + 0x80]
call fcn.0040511c
mov eax, edi
mov edx, dword [eax]
call dword [edx + 0x3c]
mov ebx, eax
test bl, bl
je 0x54909c
lea edx, [ebp - 0x24]
mov eax, edi
call fcn.00455558
mov edx, dword [ebp - 0x24]
lea eax, [esi + 0x1c]
call fcn.0040511c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5490c6
lea eax, [ebp - 0x24]
call fcn.004050c8
lea eax, [ebp - 0x20]
mov edx, 8
call fcn.004050ec
ret