joyce8/EMBER2024-capa huggingface dataset:
Function at 0x51d000
Capabilities:
Parse pe header

Disassembly:
sub esp, 0x178
mov eax, dword [0x667050]
xor eax, esp
mov dword [esp + 0x170], eax
mov eax, dword [edi]
cmp eax, 0xffffffff
push esi
je 0x51d04d
push 0
lea ecx, [esp + 8]
push ecx
push 0x40
lea edx, [esp + 0x13c]
push edx
push eax
mov dword [esp + 0x18], 0
call dword [0x610284]
test eax, eax
je 0x51d04d
mov ecx, dword [esp + 4]
test ecx, ecx
seta al
test al, al
jne 0x51d066
or eax, 0xffffffff
pop esi
mov ecx, dword [esp + 0x170]
xor ecx, esp
call fcn.005e693f
add esp, 0x178
ret
cmp ecx, 0x40
jne 0x51d04d
cmp word [esp + 0x130], 0x5a4d
jne 0x51d04d
mov eax, dword [esp + 0x16c]
cdq
push 0
push edx
push eax
lea esi, [esp + 0x14]
mov eax, edi
call fcn.0051ea00
test al, al
je 0x51d04d
push 0xf8
lea esi, [esp + 8]
lea eax, [esp + 0x14]
mov ecx, edi
call fcn.0051e920
test al, al
je 0x51d04d
cmp dword [esp + 4], 0xf8
jne 0x51d04d
cmp dword [esp + 0x10], 0x4550
jne 0x51d04d
movzx eax, word [esp + 0x16]
lea eax, [eax + eax*4 - 5]
add eax, eax
push 1
add eax, eax
add eax, eax
push 0
push eax
lea esi, [esp + 0x14]
mov eax, edi
call fcn.0051ea00
test al, al
je 0x51d04d
push 0x28
lea esi, [esp + 8]
lea eax, [esp + 0x10c]
mov ecx, edi
call fcn.0051e920
test al, al
je 0x51d04d
cmp dword [esp + 4], 0x28
jne 0x51d04d
mov esi, dword [esp + 0x118]
mov ecx, dword [esp + 0x4c]
xor edx, edx
mov eax, esi
div ecx
test edx, edx
jne 0x51d125
mov eax, esi
jmp 0x51d12b
add eax, 1
imul eax, ecx
mov ecx, dword [esp + 0x11c]
add ecx, eax
mov eax, dword [esp + 0xac]
test eax, eax
je 0x51d150
mov edx, dword [esp + 0xa8]
test edx, edx
je 0x51d150
add eax, edx
cmp eax, ecx
jae 0x51d152
mov eax, ecx
mov ecx, dword [esp + 0x174]
pop esi
xor ecx, esp
call fcn.005e693f
add esp, 0x178
ret

Function at 0x51d3b0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5f0a30
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
mov eax, dword [0x667050]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov dword [esp + 0xc], esi
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x24]
xor ebx, ebx
push ecx
mov dword [esp + 0x1c], ebx
lea ecx, [esi + 4]
mov dword [esi], eax
call dword [0x610494]
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
lea ecx, [esi + 0x34]
mov byte [esp + 0x18], 2
call dword [0x61049c]
mov dword [esi + 0x58], 0x6124ac
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
lea ecx, [esp + 0x24]
mov byte [esi + 0x68], bl
mov dword [esp + 0x18], 0xffffffff
call dword [0x6105a0]
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop ebx
add esp, 0x14
ret 0x20
Function at 0x51fe10
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x5f0c99
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push edi
mov eax, dword [0x667050]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi]
mov dword [esi + 0x20], eax
xor ecx, ecx
mov dword [esi + 0x24], ecx
mov eax, dword [edi + 4]
mov ecx, dword [edi + 8]
mov dword [esi + 8], eax
mov dword [esi + 0xc], ecx
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 0x10]
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], ecx
mov eax, dword [edi + 0x14]
mov ecx, dword [edi + 0x18]
push 1
push 0
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], ecx
mov eax, dword [edi + 0x1c]
push 0
push eax
call fcn.005e7bd0
mov ecx, dword [edi + 0x20]
xor ebx, ebx
add eax, ecx
adc edx, ebx
add edi, 0x2c
push edi
lea ecx, [esp + 0x10]
mov dword [esi], eax
mov dword [esi + 4], edx
call dword [0x610498]
lea edx, [esp + 0xc]
push edx
lea ecx, [esi + 0x28]
mov dword [esp + 0x34], ebx
call dword [0x61059c]
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0xffffffff
call dword [0x6105a0]
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
add esp, 0x28
ret

Function at 0x520e10
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5ea793
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x667050]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
mov dword [esi], 0x62c288
xor edi, edi
mov dword [esi + 4], 0x6124ac
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov eax, dword [esp + 0x20]
push eax
lea ecx, [esi + 0x14]
mov dword [esp + 0x18], edi
call dword [0x610494]
lea ecx, [esi + 0x30]
mov byte [esp + 0x14], 1
call dword [0x61049c]
lea ecx, [esi + 0x4c]
mov byte [esp + 0x14], 2
call dword [0x61049c]
mov dword [esi + 0x68], edi
mov dword [esi + 0x6c], 0x6244a0
mov dword [esi + 0x70], edi
mov dword [esi + 0x74], edi
mov dword [esi + 0x78], edi
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 8
Function at 0x5221f0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x640600
push 0x5e6ec6
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x667050]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x20], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov edi, edx
mov dword [ebp - 0x88], edi
mov eax, dword [ebp + 8]
mov dword [ebp - 0x68], ecx
test eax, eax
mov esi, 0x10000
je 0x522243
lea esi, [eax + 0x10000]
xor eax, eax
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], eax
mov ebx, dword [0x6102a8]
push 0x1c
lea edx, [ebp - 0x84]
push edx
push esi
push edi
call dword [0x6102c8]
test eax, eax
jbe 0x522287
mov eax, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x84]
add eax, ecx
cmp eax, esi
jae 0x5222a7
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.005e693f
mov esp, ebp
pop ebp
ret 4
cmp dword [ebp - 0x74], 0x1000
jne 0x522388
mov eax, dword [ebp - 0x70]
cmp al, 1
je 0x522388
test eax, 0x100
jne 0x522388
mov dword [ebp - 4], 0
push 0
push 0x40
lea edx, [ebp - 0x64]
push edx
push esi
push edi
call ebx
test eax, eax
jne 0x5222f9
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x84]
lea esi, [eax + ecx]
jmp 0x522263
cmp word [ebp - 0x64], 0x5a4d
jne 0x5222e1
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x78]
ja 0x5222e1
cmp eax, 0x40
jb 0x5222e1
push 0
push 0xf8
mov ecx, dword [ebp - 0x68]
push ecx
add eax, esi
push eax
push edi
call ebx
test eax, eax
jne 0x52233b
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x84]
lea esi, [eax + ecx]
jmp 0x522263
mov edx, dword [ebp - 0x68]
cmp dword [edx], 0x4550
je 0x52235e
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x84]
lea esi, [eax + ecx]
jmp 0x522263
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
jmp 0x522289
mov eax, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x84]
lea esi, [eax + ecx]
jmp 0x522263
Function at 0x522d60
Capabilities:
Parse pe header

Disassembly:
sub esp, 0x1cc
mov eax, dword [0x667050]
xor eax, esp
mov dword [esp + 0x1c8], eax
mov eax, dword [esp + 0x1d0]
push ebx
push ebp
push esi
push 4
push 0x1000
push 0x830
push 0
push edi
mov dword [esp + 0x28], eax
call dword [0x6102a4]
mov ebp, eax
test ebp, ebp
je 0x52301a
mov esi, 0x40
push esi
lea ecx, [esp + 0x194]
push 0
push ecx
mov dword [esp + 0x1c], 0
call fcn.005e6f30
mov ebx, dword [0x61029c]
add esp, 0xc
lea edx, [esp + 0x10]
push edx
push esi
lea eax, [esp + 0x198]
push eax
push ebp
push edi
mov word [esp + 0x1a4], 0x5a4d
mov dword [esp + 0x1e0], esi
call ebx
test eax, eax
je 0x52301a
cmp dword [esp + 0x10], esi
jne 0x52301a
push 0xf8
lea ecx, [esp + 0x5c]
push 0
push ecx
lea esi, [ebp + 0x40]
call fcn.005e6f30
add esp, 0xc
lea edx, [esp + 0x10]
push edx
push 0xf8
lea eax, [esp + 0x60]
push eax
push esi
push edi
mov dword [esp + 0x6c], 0x4550
mov word [esp + 0x80], 0xe0
mov word [esp + 0x82], 0x2000
mov word [esp + 0x72], 1
mov word [esp + 0x84], 0x10b
call ebx
test eax, eax
je 0x52301a
cmp dword [esp + 0x10], 0xf8
jne 0x52301a
mov ecx, dword [str..detour]
mov edx, dword [0x62c2f4]
xor eax, eax
mov dword [esp + 0x168], eax
mov dword [esp + 0x16c], eax
mov dword [esp + 0x168], ecx
lea ecx, [esp + 0x10]
push ecx
mov dword [esp + 0x178], eax
mov dword [esp + 0x17c], eax
mov dword [esp + 0x174], eax
mov dword [esp + 0x180], eax
mov dword [esp + 0x184], eax
mov dword [esp + 0x188], eax
mov dword [esp + 0x18c], eax
mov dword [esp + 0x190], eax
push 0x28
add esi, 0xf8
mov dword [esp + 0x174], edx
lea edx, [esp + 0x170]
push edx
mov eax, esi
sub eax, ebp
push esi
add eax, 0x28
push edi
mov dword [esp + 0x188], eax
mov dword [esp + 0x18c], 0x6d0
call ebx
test eax, eax
je 0x52301a
cmp dword [esp + 0x10], 0x28
jne 0x52301a
mov ebp, 0x40
push ebp
lea eax, [esp + 0x1c]
push 0
push eax
add esi, 0x28
call fcn.005e6f30
add esp, 0xc
lea ecx, [esp + 0x10]
push ecx
push ebp
lea edx, [esp + 0x20]
push edx
push esi
push edi
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], 0x727444
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], 0x6d0
call ebx
test eax, eax
je 0x52301a
cmp dword [esp + 0x10], ebp
jne 0x52301a
mov ecx, dword [0x61c11c]
mov edx, dword [0x61c120]
xor eax, eax
mov dword [esp + 0x15c], eax
mov dword [esp + 0x15c], ecx
mov dword [esp + 0x160], eax
lea ecx, [esp + 0x10]
push ecx
mov dword [esp + 0x158], eax
push 0x18
mov dword [esp + 0x158], eax
mov dword [esp + 0x160], eax
mov dword [esp + 0x16c], eax
mov dword [esp + 0x168], edx
mov dword [esp + 0x15c], eax
mov eax, dword [0x61c118]
lea edx, [esp + 0x158]
push edx
add esi, ebp
mov dword [esp + 0x164], eax
mov eax, dword [0x61c124]
push esi
push edi
mov dword [esp + 0x164], 0x690
mov dword [esp + 0x178], eax
call ebx
test eax, eax
je 0x52301a
cmp dword [esp + 0x10], 0x18
jne 0x52301a
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x10]
push eax
push 0x678
push ecx
add esi, 0x18
push esi
push edi
call ebx
test eax, eax
je 0x52301a
cmp dword [esp + 0x10], 0x678
jne 0x52301a
lea eax, [ebp - 0x3f]
jmp 0x52301c
xor eax, eax
mov ecx, dword [esp + 0x1d4]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005e693f
add esp, 0x1cc
ret 4
Function at 0x52d4b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5ea448
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x667050]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
xor edi, edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esp + 0x14], edi
lea ecx, [esi + 0x10]
mov dword [esi], fcn.0052d740
mov dword [esi + 0xc], 0xffffffff
call dword [0x61049c]
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4

Function at 0x52ef40
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x640540
push 0x5e6ec6
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x667050]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov esi, edx
push 0x1c
lea eax, [ebp - 0x34]
push eax
push ecx
call dword [0x6102fc]
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x30]
cmp word [ecx], 0x5a4d
jne 0x52efdf
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x52efdf
mov edx, dword [eax + 0xd8]
lea edi, [edx + ecx]
cmp esi, edi
jb 0x52efdf
mov eax, dword [eax + 0xdc]
add eax, edx
add eax, ecx
cmp esi, eax
jae 0x52efdf
mov dword [ebp - 4], 0xfffffffe
mov al, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], 0xfffffffe
xor al, al
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x52f2a0
Capabilities:
Hook routines via microsoft detours

Disassembly:
push ebx
push ebp
push esi
mov esi, eax
cmp esi, 0x7ff80000
push edi
lea ebx, [esi - 0x7ff80000]
ja 0x52f2b9
mov ebx, 0x10000
cmp esi, 0x80000000
lea ebp, [esi + 0x7ff80000]
jb 0x52f2cc
mov ebp, 0xfff80000
mov eax, dword [0x66d134]
test eax, eax
mov edx, dword [0x66d130]
jne 0x52f2e6
test edx, edx
je 0x52f2f9
mov eax, edx
mov dword [0x66d134], eax
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x52f2f9
cmp ecx, ebx
jb 0x52f2f9
cmp ecx, ebp
jbe 0x52f3e7
test edx, edx
mov eax, edx
mov dword [0x66d134], eax
je 0x52f327
test eax, eax
je 0x52f31b
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x52f31b
cmp ecx, ebx
jb 0x52f31b
cmp ecx, ebp
jbe 0x52f3e2
mov eax, dword [eax + 4]
test eax, eax
jne 0x52f308
mov dword [0x66d134], eax
mov eax, esi
and eax, 0xffff
sub esi, eax
cmp esi, 0x40000000
jbe 0x52f362
lea edi, [esi - 0x40000000]
push esi
mov eax, edi
call fcn.0052f110
add esp, 4
test eax, eax
jne 0x52f3a6
push ebx
mov eax, edi
call fcn.0052f1e0
add esp, 4
test eax, eax
jne 0x52f3a6
cmp esi, 0x40000000
jae 0x52f388
lea edi, [esi + 0x40000000]
push esi
mov eax, edi
call fcn.0052f1e0
add esp, 4
test eax, eax
jne 0x52f3a6
push ebp
mov eax, edi
call fcn.0052f110
add esp, 4
test eax, eax
jne 0x52f3a6
push ebx
mov eax, esi
call fcn.0052f1e0
add esp, 4
test eax, eax
jne 0x52f3a6
push ebp
mov eax, esi
call fcn.0052f110
add esp, 4
test eax, eax
je 0x52f40f
xor edx, edx
mov dword [eax], 0x52727464
mov dword [eax + 8], edx
mov ecx, dword [0x66d130]
mov dword [eax + 4], ecx
mov dword [0x66d134], eax
mov dword [0x66d130], eax
lea ecx, [eax + 0xffa8]
mov esi, 0x38b
nop
mov dword [ecx + 0x40], edx
mov edx, ecx
sub ecx, 0x48
sub esi, 1
jne 0x52f3d0
mov dword [eax + 8], edx
jmp 0x52f3e7
mov dword [0x66d134], eax
mov esi, dword [eax + 8]
cmp esi, ebx
jb 0x52f40f
cmp esi, ebp
ja 0x52f40f
mov edx, dword [esi + 0x40]
push 0x48
push 0xcc
push esi
mov dword [eax + 8], edx
call fcn.005e6f30
add esp, 0xc
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret

Function at 0x52f450
Capabilities:
Hook routines via microsoft detours

Disassembly:
cmp dword [esi], 0x52727464
je 0x52f45b
xor eax, eax
ret
push edi
lea edi, [esi + 0x10000]
xor ecx, ecx
lea edx, [esi + 0x88]
lea ebx, [ebx]
mov eax, dword [edx]
test eax, eax
je 0x52f47e
cmp eax, esi
jb 0x52f493
cmp eax, edi
jae 0x52f493
add ecx, 1
add edx, 0x48
cmp ecx, 0x38d
jb 0x52f470
mov eax, 1
pop edi
ret
xor eax, eax
pop edi
ret
Function at 0x5303e0
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x5e8329
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x667050]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x667050]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x58]
mov edi, ecx
mov dword [esp + 0x14], edi
add edi, 0x8c
mov ecx, edi
call dword [0x61056c]
mov ebp, dword [0x61067c]
xor esi, esi
movzx eax, byte [ebx + esi]
push eax
lea ecx, [esp + 0x38]
push 0x62c800
push ecx
call ebp
add esp, 0xc
lea edx, [esp + 0x34]
push edx
lea ecx, [esp + 0x1c]
call dword [0x610498]
push eax
mov ecx, edi
mov dword [esp + 0x54], 0
call dword [0x610594]
lea ecx, [esp + 0x18]
mov dword [esp + 0x50], 0xffffffff
call dword [0x6105a0]
add esi, 1
cmp esi, 6
jl 0x530432
mov ecx, dword [ebx]
mov eax, dword [esp + 0x14]
mov dword [eax + 0xa8], ecx
mov dx, word [ebx + 4]
mov word [eax + 0xac], dx
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.005e693f
add esp, 0x40
ret 4
Function at 0x53c470
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5ec7fb
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x667050]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
xor edi, edi
push 0x18
mov dword [esi], 0x62d468
mov dword [esi + 4], edi
mov word [esi + 8], di
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
call fcn.005e694e
add esp, 4
push eax
mov dword [esi + 0x1c], eax
call dword [0x610258]
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4
Function at 0x546510
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
xor eax, eax
test ecx, ecx
jle 0x546541
push esi
push edi
jmp 0x546520
movzx esi, byte [edx]
movzx esi, byte [esi + 0x617b68]
lea edi, [eax*8]
xor esi, edi
sub ecx, 1
xor eax, esi
add edx, 1
test ecx, ecx
jg 0x546520
pop edi
pop esi
ret

Function at 0x54cd30
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edx, dword [edi + 0x3c]
sub esp, 0xc
push ebx
push ebp
xor ebx, ebx
cmp dword [edx], ebx
push esi
mov esi, dword [esp + 0x1c]
jne 0x54cd67
mov eax, dword [edi + 0x78]
mov ecx, dword [edi]
or eax, 0x1e
push ebx
and eax, 0x87f3f
push eax
mov eax, dword [ecx + 0x18]
push edx
push ebx
push ecx
call eax
mov ebx, eax
add esp, 0x14
test ebx, ebx
jne 0x54ce4d
mov ecx, dword [edi + 0x18]
cmp ecx, dword [edi + 0x24]
jbe 0x54cda3
mov eax, dword [edi + 0x80]
push 0
cdq
push ecx
push edx
push eax
call fcn.005e7bd0
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
mov eax, dword [edi + 0x3c]
mov ecx, dword [eax]
lea edx, [esp + 0x10]
push edx
push 5
push eax
mov eax, dword [ecx + 0x28]
call eax
mov ecx, dword [edi + 0x18]
add esp, 0xc
mov dword [edi + 0x24], ecx
test esi, esi
je 0x54ce4b
mov ebp, dword [esi + 0xc]
cmp ebp, dword [edi + 0x18]
ja 0x54ce3c
test byte [esi + 0x14], 0x20
jne 0x54ce3c
mov eax, dword [edi + 0x80]
cdq
push edx
push eax
lea ecx, [ebp - 1]
push 0
push ecx
call fcn.005e7bd0
cmp ebp, 1
mov dword [esp + 0x10], eax
mov ebx, edx
jne 0x54cde1
call fcn.0054c030
mov ecx, dword [edi + 0x80]
mov eax, dword [edi + 0x3c]
mov esi, dword [esi]
mov edx, dword [eax]
push ebx
mov ebx, dword [esp + 0x14]
push ebx
push ecx
push esi
push eax
mov eax, dword [edx + 0xc]
call eax
add esp, 0x14
cmp ebp, 1
mov ebx, eax
jne 0x54ce21
mov ecx, dword [esi + 0x18]
lea eax, [esi + 0x18]
mov dword [edi + 0x64], ecx
mov edx, dword [eax + 4]
mov dword [edi + 0x68], edx
mov ecx, dword [eax + 8]
mov dword [edi + 0x6c], ecx
mov edx, dword [eax + 0xc]
mov dword [edi + 0x70], edx
cmp ebp, dword [edi + 0x20]
jbe 0x54ce29
mov dword [edi + 0x20], ebp
mov esi, dword [esp + 0x1c]
mov eax, dword [esi]
push eax
mov eax, dword [edi + 0x58]
push ebp
call fcn.0055b550
add esp, 8
test ebx, ebx
mov esi, dword [esi + 8]
mov dword [esp + 0x1c], esi
je 0x54cda3
mov eax, ebx
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x569ca0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
test ebx, ebx
push esi
push edi
jne 0x569cba
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 8]
mov ecx, 0x50
call fcn.00543630
mov edi, eax
test edi, edi
je 0x569cb1
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebx]
push eax
push ecx
push esi
call fcn.005699b0
mov edx, dword [ebp + 0x10]
add esp, 0xc
mov dword [edi], eax
mov eax, dword [ebx + 8]
push edx
push eax
push esi
call fcn.00569aa0
mov ecx, dword [ebp + 0x10]
add esp, 0xc
push 0
mov dword [edi + 8], eax
mov eax, dword [ebx + 0xc]
push ecx
push eax
push esi
call fcn.00569720
mov edx, dword [ebp + 0x10]
mov dword [edi + 0xc], eax
mov eax, dword [ebx + 0x10]
push edx
push eax
push esi
call fcn.005699b0
mov ecx, dword [ebp + 0x10]
add esp, 0x1c
push 0
mov dword [edi + 0x10], eax
mov eax, dword [ebx + 0x14]
push ecx
push eax
push esi
call fcn.00569720
mov edx, dword [ebp + 0x10]
mov dword [edi + 0x14], eax
mov eax, dword [ebx + 0x18]
push edx
push eax
push esi
call fcn.005699b0
mov edx, dword [ebp + 0x10]
mov dword [edi + 0x18], eax
mov cl, byte [ebx + 4]
add esp, 0x1c
mov byte [edi + 4], cl
mov eax, dword [ebx + 0x1c]
push edx
push eax
push esi
call fcn.00569ca0
mov ecx, dword [ebp + 0x10]
add esp, 0xc
push 0
mov dword [edi + 0x1c], eax
mov eax, dword [ebx + 0x28]
push ecx
push eax
push esi
call fcn.00569720
mov edx, dword [ebp + 0x10]
push 0
mov dword [edi + 0x28], eax
mov eax, dword [ebx + 0x2c]
push edx
push eax
push esi
call fcn.00569720
mov dword [edi + 0x2c], eax
xor eax, eax
mov dword [edi + 0x30], eax
mov dword [edi + 0x34], eax
mov cx, word [ebx + 6]
add esp, 0x20
and cx, 0xfff7
mov word [edi + 6], cx
mov dword [edi + 0x24], eax
or eax, 0xffffffff
mov dword [edi + 0x38], eax
mov dword [edi + 0x3c], eax
mov dword [edi + 0x40], eax
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x570480
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
push ebx
push ebp
mov ebp, dword [esp + 0x18]
push esi
push edi
xor edi, edi
test ebp, ebp
mov eax, ebp
jne 0x570497
xor ebx, ebx
jmp 0x5704b1
cmp byte [ebp], 0
je 0x5704a8
lea ecx, [ecx]
add eax, 1
cmp byte [eax], 0
jne 0x5704a0
sub eax, ebp
and eax, 0x3fffffff
mov ebx, eax
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 4]
xor esi, esi
test eax, eax
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], eax
jle 0x570575
jmp 0x5704d4
mov esi, dword [esp + 0x10]
cmp esi, 2
jge 0x5704dc
xor esi, 1
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x5704fc
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 8]
mov edx, esi
shl edx, 4
mov edx, dword [edx + eax]
call fcn.00545600
test eax, eax
jne 0x570560
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx + 8]
shl esi, 4
mov ecx, dword [esi + edx + 0xc]
add ecx, 8
cmp dword [ecx + 0xc], 0
je 0x570549
xor eax, eax
test ebx, ebx
mov edi, ebx
mov edx, ebp
jle 0x570543
lea ecx, [ecx]
movzx esi, byte [edx]
movzx esi, byte [esi + 0x617b68]
lea ebp, [eax*8]
xor esi, ebp
sub edi, 1
xor eax, esi
add edx, 1
test edi, edi
jg 0x570520
mov ebp, dword [esp + 0x20]
xor edx, edx
div dword [ecx]
jmp 0x57054b
xor edx, edx
push ebx
push ebp
call fcn.00546680
add esp, 8
test eax, eax
je 0x57057f
mov edi, dword [eax + 8]
test edi, edi
jne 0x570575
mov eax, dword [esp + 0x10]
add eax, 1
cmp eax, dword [esp + 0x14]
mov dword [esp + 0x10], eax
jl 0x5704d0
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
xor edi, edi
jmp 0x570560

Function at 0x570620
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
push ebx
mov ebx, dword [esp + 0x14]
push ebp
xor ebp, ebp
test ebx, ebx
push edi
mov eax, ebx
jne 0x570636
xor edi, edi
jmp 0x570651
cmp byte [ebx], 0
je 0x570648
jmp 0x570640
add eax, 1
cmp byte [eax], 0
jne 0x570640
sub eax, ebx
and eax, 0x3fffffff
mov edi, eax
mov edx, dword [ecx + 4]
xor eax, eax
test edx, edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], edx
jle 0x570713
mov ecx, dword [ecx + 8]
push esi
mov dword [esp + 0x14], ecx
jmp 0x570674
mov eax, dword [esp + 0x10]
cmp eax, 2
jge 0x57067c
xor eax, 1
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x24]
shl eax, 4
mov esi, dword [eax + edx + 0xc]
add eax, edx
test ecx, ecx
je 0x57069c
mov edx, dword [eax]
call fcn.00545600
test eax, eax
jne 0x5706f0
cmp dword [esi + 0x24], 0
lea ecx, [esi + 0x18]
je 0x5706d9
xor eax, eax
test edi, edi
mov esi, edi
mov edx, ebx
jle 0x5706d3
nop
movzx ebx, byte [edx]
movzx ebx, byte [ebx + 0x617b68]
lea ebp, [eax*8]
xor ebx, ebp
sub esi, 1
xor eax, ebx
add edx, 1
test esi, esi
jg 0x5706b0
mov ebx, dword [esp + 0x20]
xor edx, edx
div dword [ecx]
jmp 0x5706db
xor edx, edx
push edi
push ebx
call fcn.00546680
add esp, 8
test eax, eax
je 0x57070f
mov ebp, dword [eax + 8]
test ebp, ebp
jne 0x570705
mov eax, dword [esp + 0x10]
add eax, 1
cmp eax, dword [esp + 0x18]
mov dword [esp + 0x10], eax
jl 0x570670
pop esi
pop edi
mov eax, ebp
pop ebp
pop ebx
add esp, 0xc
ret
xor ebp, ebp
jmp 0x5706f0
pop edi
mov eax, ebp
pop ebp
pop ebx
add esp, 0xc
ret