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

Disassembly:
push 0xffffffffffffffff
push 0x562b30
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
push ebx
push esi
push edi
mov esi, ecx
call fcn.0048c060
mov ebx, eax
test ebx, ebx
mov dword [esp + 0xc], ebx
jne 0x48e4b9
mov eax, dword [esp + 0x68]
xor ecx, ecx
mov ebx, eax
xor edx, edx
xor esi, esi
xor edi, edi
mov dword [ebx], ecx
mov dword [ebx + 4], edx
mov dword [ebx + 8], esi
mov dword [ebx + 0xc], edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
add esp, 0x58
ret 0xc
push ebp
mov ecx, ebx
call fcn.004893d0
mov ebp, dword [esp + 0x70]
mov edi, eax
add edi, ebp
mov ecx, ebx
mov dword [esp + 0x28], edi
call fcn.004893c0
mov edx, dword [esp + 0x74]
mov ecx, esi
add eax, edx
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x20]
push eax
call fcn.0048db10
mov ebp, dword [eax]
lea edx, [esp + 0x38]
push edx
mov ecx, dword [eax + 4]
mov eax, dword [esi + 0x1c]
push eax
mov dword [esp + 0x24], ecx
call dword [0x5676dc]
push 0
lea ecx, [esp + 0x4c]
call fcn.005593e7
mov ecx, dword [esi + 0x5c]
mov edx, dword [esi + 0x58]
push ecx
lea eax, [esp + 0x4c]
push edx
push eax
mov dword [esp + 0x70], 0
call fcn.0049d030
add esp, 0xc
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esp + 0x18]
call fcn.0048bac0
mov eax, dword [esp + 0x50]
lea edx, [esp + 0x38]
push 2
push edx
push eax
mov byte [esp + 0x70], 1
call dword [0x5671a4]
mov ecx, ebx
call fcn.00489340
mov ebx, eax
mov eax, edi
cmp eax, ebx
jge 0x48e584
push edi
mov ecx, esi
call fcn.0048bbd0
push eax
push ebp
mov ecx, esi
call fcn.0048bd90
cmp eax, dword [esp + 0x40]
jg 0x48e580
inc edi
mov ebp, eax
cmp edi, ebx
jl 0x48e55e
mov eax, ebx
jmp 0x48e58a
cmp edi, ebx
jl 0x48e588
mov eax, ebx
jmp 0x48e58a
mov eax, edi
lea ecx, [eax - 1]
mov eax, dword [esp + 0x28]
cmp eax, ecx
jle 0x48e59b
mov dword [esp + 0x30], eax
jmp 0x48e5a6
cmp edi, ebx
jl 0x48e5a1
mov edi, ebx
dec edi
mov dword [esp + 0x30], edi
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x1c]
call fcn.00489300
mov ebp, eax
mov eax, dword [esp + 0x2c]
cmp eax, ebp
mov edi, eax
jge 0x48e5ed
push edi
mov ecx, esi
call fcn.0048baf0
push eax
push ebx
mov ecx, esi
call fcn.0048bec0
cmp eax, dword [esp + 0x44]
jg 0x48e5e5
inc edi
mov ebx, eax
cmp edi, ebp
jl 0x48e5bf
mov eax, dword [esp + 0x2c]
mov ecx, ebp
jmp 0x48e5f7
cmp edi, ebp
jl 0x48e5f1
mov eax, dword [esp + 0x2c]
mov ecx, ebp
jmp 0x48e5f7
mov eax, dword [esp + 0x2c]
mov ecx, edi
dec ecx
cmp eax, ecx
jle 0x48e600
mov ecx, eax
jmp 0x48e609
cmp edi, ebp
jl 0x48e606
mov edi, ebp
lea ecx, [edi - 1]
mov esi, dword [esp + 0x6c]
mov edi, dword [esp + 0x28]
mov edx, esi
mov dword [edx], edi
mov dword [edx + 4], eax
mov eax, dword [esp + 0x30]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
lea ecx, [esp + 0x14]
call fcn.0048bae0
lea ecx, [esp + 0x48]
mov dword [esp + 0x64], 0xffffffff
call fcn.00559459
mov ecx, dword [esp + 0x5c]
pop ebp
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x58
ret 0xc
Function at 0x494540
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x562fe8
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x494579
inc eax
mov dword [esi + 0x10], eax
jmp 0x49468c
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x49458d
mov eax, 0xffffffc7
jmp 0x49468e
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x49459e
cmp dword [esi + 8], eax
jne 0x49458d
cmp dword [esi + 8], eax
jne 0x4945b7
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x4945b7
mov eax, 0xffffffc7
jmp 0x49468e
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x4945cb
push eax
mov ecx, ebx
call fcn.00493d70
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.0045b120
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x4945fc
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.0045b140
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.004934e0
test eax, eax
mov dword [esp + 0x38], eax
je 0x49462f
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x60a938
call fcn.0045b320
mov eax, dword [esp + 0x38]
jmp 0x49468e
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.004943a0
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x494673
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.004943c0
mov esi, eax
test esi, esi
jne 0x4946a3
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.004943a0
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x494645
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x60a938
call fcn.0045b320
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x60a938
call fcn.0045b320
mov eax, esi
jmp 0x49468e
Function at 0x49d690
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x563618
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [0x5676dc]
push 0
lea ecx, [esp + 0x20]
call fcn.005593e7
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.0049d030
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.00559315
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.00555af9
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.00555af9
push 1
push 0
push 0
mov ecx, esi
call fcn.00555aa1
push 1
push 0
push 1
mov ecx, esi
call fcn.00555aa1
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00559459
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x49d810
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x563638
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.005593e7
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.0049d030
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.00559315
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [0x5676dc]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x49d8d4
cmp dword [esp + 0x40], 1
jne 0x49d8d2
cmp ecx, eax
jge 0x49d8d4
mov eax, ecx
cmp eax, 0xc8
jge 0x49d8e0
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.0049d690
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [0x5676d8]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00559459
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x49e050
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x5636a3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.00553f16
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], 0x626ba8
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], 0x60e5a8
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [0x56716c]
push eax
mov ecx, edi
call fcn.0055968f
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.0055ac2a
test eax, eax
je 0x49e16c
mov ecx, dword [esp + 0x3c]
call fcn.005596bc
mov ecx, dword [esi + 0x1c]
mov ebp, dword [0x5676fc]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x49e130
push edi
mov ecx, esi
call fcn.00556c77
mov ecx, esi
call fcn.0049e2d0
cmp dword [esp + 0x38], 1
jne 0x49e165
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.00556de1
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28

Function at 0x4a0b80
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x4a0bb3
push esi
call fcn.004a3c30
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x4a0bac
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x4a0c39
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x4a0c22
mov eax, dword [esi + 8]
test eax, eax
je 0x4a0bd7
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x4a0c1e
cmp eax, 2
je 0x4a0c22
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4a0bca
cmp eax, 3
je 0x4a0bfd
cmp eax, 1
jne 0x4a0bca
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x4a0bca
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x4a0bca
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.004a0c60
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x4a0c48
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.004a0c60
add esp, 4
pop esi
ret
Function at 0x4b6ab0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5643e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0xc]
call fcn.004b65a0
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0xc]
push eax
mov dword [esp + 0x28], 0
call fcn.004b6610
push 0
mov ecx, esi
call fcn.004b6a30
mov ebx, dword [esp + 0x2c]
cmp ebx, 1
jb 0x4b6be8
lea ecx, [esp + 0xc]
call fcn.004b6d30
cmp eax, 1
jae 0x4b6b37
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xffffffff
call fcn.004b65c0
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 0xc
mov eax, dword [esp + 0x34]
lea edi, [esi + 0xc]
test eax, eax
jne 0x4b6b84
push 0
lea ecx, [esp + 0x10]
call fcn.00496dd0
push eax
push edi
mov ecx, 0x67a8cc
call fcn.004b61d0
test eax, eax
jne 0x4b6b8c
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xffffffff
call fcn.004b65c0
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 0xc
push eax
mov ecx, edi
call fcn.004b6610
push edi
mov ecx, 0x67a8cc
call fcn.004b6130
push 0
push 2
push 2
push 0
push 3
push 0xc0000000
mov ecx, edi
call fcn.004b69b0
push eax
call dword [0x5673ec]
cmp eax, 0xffffffff
mov dword [esi], eax
je 0x4b6be8
push 0
push ebx
push 0
push 4
push 0
push eax
call dword [0x5671e0]
test eax, eax
mov dword [esi + 4], eax
je 0x4b6be8
push 0
push 0
push 0
push 2
push eax
call dword [0x5671dc]
test eax, eax
mov dword [esi + 8], eax
jne 0x4b6c18
push 1
mov ecx, esi
call fcn.004b6a30
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xffffffff
call fcn.004b65c0
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 0xc
lea ecx, [esp + 0xc]
mov dword [esi + 0x1c], ebx
mov dword [esp + 0x24], 0xffffffff
call fcn.004b65c0
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 0xc
Function at 0x4ba650
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x564588
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov eax, dword [esp + 0x40]
push ebx
push esi
lea ecx, [esp + 8]
push eax
push ecx
mov ecx, dword [esp + 0x4c]
call fcn.004baa50
mov esi, eax
lea edx, [esp + 0x48]
xor ebx, ebx
push edx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x4c], 0x686954
call fcn.0052fbe8
mov ecx, dword [0x60f8cc]
mov al, byte [esi]
push ecx
push ebx
push esi
lea ecx, [esp + 0x30]
mov byte [esp + 0x48], 1
mov byte [esp + 0x30], al
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
call fcn.004b7dd0
mov esi, 0x60f924
mov dword [esp + 0x18], esi
mov eax, dword [esp + 0xc]
mov byte [esp + 0x3c], 3
cmp eax, ebx
je 0x4ba6f7
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x4ba6ee
cmp al, 0xff
je 0x4ba6ee
dec al
mov byte [ecx], al
jmp 0x4ba6f7
push ecx
call fcn.005525bc
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
call fcn.0054deb0
mov eax, dword [esp + 0x28]
mov dword [esp + 0x3c], 0xffffffff
cmp eax, ebx
mov dword [esp + 0x18], esi
je 0x4ba73d
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x4ba734
cmp al, 0xff
je 0x4ba734
dec al
mov byte [ecx], al
jmp 0x4ba73d
push ecx
call fcn.005525bc
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
call fcn.0052fc6f
mov ecx, dword [esp + 0x34]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret
Function at 0x4d4e50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5648d0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.004d4a00
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.004d4a80
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.004d4a80
lea ecx, [esi + 0xc]
call fcn.005527dd
lea ecx, [esi + 0x10]
call fcn.005527dd
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.004d6010
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.004d6010
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.004d6010
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.00552852
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.00552852
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4d69d0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x14], 0xca
jne 0x4d6a03
push esi
call fcn.004db8b0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x4d69fc
mov dword [esi + 0x14], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x14], 0xcb
mov eax, dword [esi + 0x14]
cmp eax, 0xcb
jne 0x4d6a89
mov eax, dword [esi + 0x1b8]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x4d6a72
mov eax, dword [esi + 8]
test eax, eax
je 0x4d6a27
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b8]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x4d6a6e
cmp eax, 2
je 0x4d6a72
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4d6a1a
cmp eax, 3
je 0x4d6a4d
cmp eax, 1
jne 0x4d6a1a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x4d6a1a
mov edx, dword [esi + 0x144]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x4d6a1a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.004d6ac0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x4d6aa9
mov ecx, dword [esi]
push esi
mov dword [ecx + 0x14], 0x15
mov edx, dword [esi]
mov eax, dword [esi + 0x14]
mov dword [edx + 0x18], eax
mov ecx, dword [esi]
call dword [ecx]
add esp, 4
push esi
call fcn.004d6ac0
add esp, 4
pop esi
ret

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

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x50768b
xor eax, eax
ret
mov eax, dword [esp + 4]
push ebx
push esi
mov esi, dword [esp + 0x14]
cmp esi, 8
not eax
jb 0x50778e
push edi
mov edi, esi
shr edi, 3
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [edx*4 + 0x6119b0]
sub esi, 8
xor eax, ebx
inc ecx
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x6119b0]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x6119b0]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x6119b0]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x6119b0]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x6119b0]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x6119b0]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x6119b0]
xor eax, edx
inc ecx
dec edi
jne 0x5076a6
pop edi
test esi, esi
je 0x5077b0
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x6119b0]
xor eax, edx
inc ecx
dec esi
jne 0x507792
pop esi
pop ebx
not eax
ret
Function at 0x5484e0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x566170
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov al, byte [esp + 0x3c]
push ebx
xor ebx, ebx
push esi
mov esi, ecx
mov byte [esp + 0x10], al
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov ecx, dword [esp + 0x44]
push ebx
mov dword [esp + 0x40], ebx
mov byte [esp + 0x28], al
mov edx, dword [ecx]
lea ecx, [esp + 0x28]
mov dword [esp + 0x24], edx
call fcn.0053d445
mov eax, dword [0x62a2a0]
lea ecx, [esp + 0x10]
push eax
push ebx
push ecx
lea ecx, [esp + 0x30]
call fcn.0053d377
lea edx, [esp + 0x20]
lea eax, [esp + 8]
push edx
push eax
mov ecx, esi
mov byte [esp + 0x44], 1
call fcn.00548fd0
mov esi, dword [eax]
mov ecx, dword [eax + 4]
mov eax, dword [esp + 0x28]
cmp eax, ebx
mov dword [esp + 0xc], ecx
je 0x548587
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x54857e
cmp al, 0xff
je 0x54857e
dec al
mov byte [ecx], al
jmp 0x548587
push ecx
call fcn.005525bc
add esp, 4
mov eax, dword [esp + 0x14]
mov dword [esp + 0x28], ebx
cmp eax, ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
je 0x5485b8
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x5485af
cmp al, 0xff
je 0x5485af
dec al
mov byte [ecx], al
jmp 0x5485b8
push ecx
call fcn.005525bc
add esp, 4
mov ecx, dword [esp + 0x34]
lea eax, [esi + 0x10]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret 4
Function at 0x403121
Capabilities:
Encode data using xor

Disassembly:
inc esp
jle 0x403177
lcall 0x5db7, 0xd5626129
push eax
push ebx
adc ebx, ecx
pop edx
xchg ebp, eax
cmp eax, 0xcff605d8
xchg ebp, eax
insd dword es:[edi], dx
pop esi
inc ebp
inc esp
test ecx, esi
and ah, bh
dec esi
inc edi
bswap edi
das
push ecx
cwde
xor eax, 0x87285f6d
dec ecx
daa
or eax, 0x76d65265
dec esp
dec eax
fadd qword [edi - 0x28cc48a4]
sbb ch, bl
lea edi, [ecx]
outsb dx, byte [esi]
sbb ebx, ebp
cmpsb byte [esi], byte es:[edi]
sub eax, 0x604a1b3f
xchg byte [0x9823d9d2], bh
push edx
stc
aad 0x7a
leave
push ss
adc byte [ecx - 0x62], bh
sahf
adc byte es:[edi - 0x7b], dl
popal
inc eax
mov al, byte [0xce004017]
cmp eax, 0x6a22bf4d
pushfd
sub dword [edi + 0x7aed85e1], edi
sbb al, 0xe3
adc eax, 0xfc7ba8bf
adc byte [edx - 0x1ea97a60], bh
fimul dword [ebx + 0x1360910b]
pop eax
inc edi
push 0xffe70144
xor edi, dword [edx - 0x59]
mov word [eax + 0x3230595c], ss
pop ecx
xor byte [edx], dh
mov dh, 0x88
lodsb al, byte [esi]
in al, dx
cld
movsb byte es:[edi], byte [esi]
cmp al, 0x3b
aam 0xf0
push esi
sbb al, 0x34
sub eax, 0x4e6fad0d
cmp ebp, dword [ebx + 0x34]
cmp byte [esi], ah
call 0x349456ba
call 0x349456ba
call dword [edi - 0x735181ab]
adc al, 0x74
rcr dword ss:[ebx - 0x6337d02f], 0x4b
xchg ecx, eax
loopne 0x4031af
add byte [ebp - 0x80], ch
dec eax
push es
fistp qword [edi + 0x61552478]
push esp
mov edi, 0xeb3880
push 0xffffffffffffffa3
inc ecx
lodsb al, byte [esi]
jl 0x4031f6
jecxz 0x4031c9
int3
Function at 0x401f84
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x50
push ebp
lea eax, [esp + 0x28]
push edi
push eax
call fcn.00402134
mov ecx, dword [esp + 0x5c]
xor edx, edx
xor ebp, ebp
mov dword [esp + 0xc], 1
mov edi, dword [ecx]
mov dword [esp + 0x10], 8
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 4
mov dx, word [edi + 0x14]
cmp word [edi + 6], bp
mov dword [esp + 0x1c], 0x10
mov dword [esp + 0x20], 0x80
mov dword [esp + 0x24], 0x20
mov dword [esp + 0x28], 0x40
lea eax, [edx + edi + 0x18]
jbe 0x402082
push ebx
push esi
lea ebx, [eax + 0x24]
mov eax, dword [ebx]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
mov esi, eax
and ecx, 1
and edx, 1
shr esi, 0x1f
test eax, 0x2000000
je 0x402025
mov eax, dword [ebx - 0x14]
mov ecx, dword [ebx - 0x1c]
push 0x4000
push eax
push ecx
call dword [esp + 0x4c]
jmp 0x402068
lea edx, [edx + ecx*2]
test eax, 0x4000000
lea ecx, [esi + edx*2]
mov esi, dword [esp + ecx*4 + 0x14]
je 0x40203c
or esi, 0x200
mov edx, dword [ebx - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x402057
test al, 0x40
je 0x40204e
mov ecx, dword [edi + 0x20]
jmp 0x402055
test al, 0x80
je 0x402068
mov ecx, dword [edi + 0x24]
test ecx, ecx
jbe 0x402068
mov ecx, dword [ebx - 0x1c]
lea eax, [esp + 0x10]
push eax
push esi
push edx
push ecx
call dword [esp + 0x44]
mov edx, dword [esp + 0x64]
xor eax, eax
inc ebp
add ebx, 0x28
mov edi, dword [edx]
mov ax, word [edi + 6]
cmp ebp, eax
jl 0x401ff4
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x50
ret