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

Disassembly:
push 0xffffffffffffffff
push 0x557d80
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push esi
lea eax, [esp + 7]
push eax
mov esi, ecx
push 0x569bc8
lea ecx, [esp + 0x10]
call fcn.00405170
mov dword [esp + 0x30], 0
push 0x570a74
push eax
lea ecx, [esp + 0x24]
push ecx
call fcn.0040c490
add esp, 0xc
mov byte [esp + 0x30], 1
push eax
lea ecx, [esp + 0x18]
call fcn.0043c800
mov byte [esp + 0x30], 4
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4d3dce
push eax
call fcn.004ed9bb
add esp, 4
mov byte [esp + 0x30], 3
mov eax, dword [esp + 8]
test eax, eax
je 0x4d3de4
push eax
call fcn.004ed9bb
add esp, 4
lea edx, [esp + 7]
push edx
push 0x570a50
lea ecx, [esp + 0x24]
call fcn.00405170
mov byte [esp + 0x30], 7
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0x1c]
call fcn.0043bbf0
mov byte [esp + 0x30], 8
push eax
mov ecx, esi
call fcn.00429960
mov byte [esp + 0x30], 7
lea ecx, [esp + 8]
call fcn.00404040
mov byte [esp + 0x30], 3
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4d3e40
push eax
call fcn.004ed9bb
add esp, 4
mov dword [esp + 8], 0
mov edx, dword [esp + 8]
mov dword [esp + 0xc], 0
mov eax, dword [esp + 0xc]
mov byte [esi + 0x20], 0
mov dword [esi + 0x4c], edx
mov dword [esi + 0x50], eax
mov ecx, dword [0x5bdf94]
mov edx, dword [ecx]
call dword [edx + 0x1c]
mov dword [esp + 8], eax
fild dword [esp + 8]
lea eax, [esi + 0x54]
mov dword [esp + 8], 0
mov ecx, dword [esp + 8]
fstp dword [esp + 0xc]
mov edx, dword [esp + 0xc]
push 0xbf800000
push eax
mov dword [eax], ecx
mov dword [eax + 4], edx
lea eax, [esp + 0x10]
push eax
call fcn.00448df0
add esp, 0xc
push eax
lea ecx, [esi + 0x24]
call fcn.00499ce0
mov dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.00404550
mov ecx, dword [esp + 0x28]
pop esi
mov dword fs:[0], ecx
add esp, 0x30
ret
Function at 0x4d3ed0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x557de0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push esi
lea eax, [esp + 7]
push eax
mov esi, ecx
push 0x569bc8
lea ecx, [esp + 0x10]
call fcn.00405170
mov dword [esp + 0x30], 0
push 0x570a74
push eax
lea ecx, [esp + 0x24]
push ecx
call fcn.0040c490
add esp, 0xc
mov byte [esp + 0x30], 1
push eax
lea ecx, [esp + 0x18]
call fcn.0043c800
mov byte [esp + 0x30], 4
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4d3f3e
push eax
call fcn.004ed9bb
add esp, 4
mov byte [esp + 0x30], 3
mov eax, dword [esp + 8]
test eax, eax
je 0x4d3f54
push eax
call fcn.004ed9bb
add esp, 4
lea edx, [esp + 7]
push edx
push 0x570a84
lea ecx, [esp + 0x24]
call fcn.00405170
mov byte [esp + 0x30], 7
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0x1c]
call fcn.0043bbf0
mov byte [esp + 0x30], 8
push eax
mov ecx, esi
call fcn.00429960
mov byte [esp + 0x30], 7
lea ecx, [esp + 8]
call fcn.00404040
mov byte [esp + 0x30], 3
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4d3fb0
push eax
call fcn.004ed9bb
add esp, 4
mov dword [esp + 8], 0
mov edx, dword [esp + 8]
mov dword [esp + 0xc], 0
mov eax, dword [esp + 0xc]
mov byte [esi + 0x20], 0
mov dword [esi + 0x4c], edx
mov dword [esi + 0x50], eax
mov ecx, dword [0x5bdf94]
mov edx, dword [ecx]
call dword [edx + 0x1c]
mov dword [esp + 8], eax
fild dword [esp + 8]
lea eax, [esi + 0x54]
mov dword [esp + 8], 0
mov ecx, dword [esp + 8]
fstp dword [esp + 0xc]
mov edx, dword [esp + 0xc]
push 0xbf800000
push eax
mov dword [eax], ecx
mov dword [eax + 4], edx
lea eax, [esp + 0x10]
push eax
call fcn.00448df0
add esp, 0xc
push eax
lea ecx, [esi + 0x24]
call fcn.00499ce0
mov dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.00404550
mov ecx, dword [esp + 0x28]
pop esi
mov dword fs:[0], ecx
add esp, 0x30
ret
Function at 0x4d4040
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x557e40
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push esi
lea eax, [esp + 7]
push eax
mov esi, ecx
push 0x569bc8
lea ecx, [esp + 0x10]
call fcn.00405170
mov dword [esp + 0x30], 0
push 0x570a74
push eax
lea ecx, [esp + 0x24]
push ecx
call fcn.0040c490
add esp, 0xc
mov byte [esp + 0x30], 1
push eax
lea ecx, [esp + 0x18]
call fcn.0043c800
mov byte [esp + 0x30], 4
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4d40ae
push eax
call fcn.004ed9bb
add esp, 4
mov byte [esp + 0x30], 3
mov eax, dword [esp + 8]
test eax, eax
je 0x4d40c4
push eax
call fcn.004ed9bb
add esp, 4
lea edx, [esp + 7]
push edx
push 0x570aa4
lea ecx, [esp + 0x24]
call fcn.00405170
mov byte [esp + 0x30], 7
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0x1c]
call fcn.0043bbf0
mov byte [esp + 0x30], 8
push eax
mov ecx, esi
call fcn.00429960
mov byte [esp + 0x30], 7
lea ecx, [esp + 8]
call fcn.00404040
mov byte [esp + 0x30], 3
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4d4120
push eax
call fcn.004ed9bb
add esp, 4
lea edx, [esp + 8]
push edx
lea ecx, [esi + 0x44]
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0x428c0000
call fcn.00499ce0
mov byte [esi + 0x6c], 0
mov dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.00404550
mov ecx, dword [esp + 0x28]
pop esi
mov dword fs:[0], ecx
add esp, 0x30
ret
Function at 0x4d6800
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5583e3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xe8
push ebx
xor ebx, ebx
push ebp
push esi
lea eax, [esp + 0x24]
push edi
mov dword [esp + 0x20], ebx
mov byte [esp + 0x24], bl
mov dword [esp + 0x10], eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x100], 2
lea ecx, [esp + 0x44]
call fcn.004cb670
mov byte [esp + 0x100], 3
mov edi, dword [esp + 0x108]
push edi
lea ecx, [esp + 0x38]
push ecx
mov ecx, 0x5bf838
call fcn.004cc1e0
mov ecx, dword [eax]
mov esi, dword [eax + 4]
mov ebp, dword [eax + 8]
mov edx, dword [eax + 0xc]
lea eax, [esp + 0x20]
push eax
push ecx
mov ecx, dword [0x5bf8a8]
mov dword [esp + 0x48], edx
call fcn.004ce530
test al, al
jne 0x4d68dd
push 0x3dd
push 0x570908
push 0x570b78
push 0x569444
push 3
call fcn.00448330
push eax
call fcn.00447f40
add esp, 0x18
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x38]
mov dword [esp + 0x14], 0x569430
call fcn.004edfb3
push 0x581188
lea edx, [esp + 0x38]
push edx
call fcn.004ee19f
cmp byte [esp + 0x40], bl
je 0x4d68e4
inc esi
cmp esi, ebp
jl 0x4d6931
push 0x3e2
push 0x570908
push 0x570b50
push 0x569444
push 3
call fcn.00448330
push eax
call fcn.00447f40
add esp, 0x18
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x38]
mov dword [esp + 0x14], 0x569430
call fcn.004edfb3
push 0x581188
lea ecx, [esp + 0x38]
push ecx
call fcn.004ee19f
mov eax, dword [esp + 0x28]
mov edx, esi
imul edx, edx, 0xb4
add edx, eax
push edx
lea ecx, [esp + 0x48]
call fcn.004cdbb0
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov byte [esp + 0x100], 5
lea eax, [esp + 0x14]
push eax
push esi
push edi
mov ecx, 0x5bf28c
call fcn.004a26c0
test al, al
jne 0x4d69ac
mov byte [esp + 0x100], 3
lea ecx, [esp + 0x14]
call fcn.004916e0
mov byte [esp + 0x100], 2
lea ecx, [esp + 0x44]
call fcn.004cb700
mov dword [esp + 0x100], 0xffffffff
lea ecx, [esp + 0x20]
call fcn.004cbf40
xor al, al
jmp 0x4d6a27
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
sub edx, ecx
sar edx, 3
xor esi, esi
test edx, edx
jbe 0x4d69e7
nop
mov eax, dword [ecx + esi*8]
mov ecx, dword [0x5bf288]
push eax
call fcn.004a2970
mov ecx, dword [esp + 0x14]
cmp dword [ecx + esi*8 + 4], eax
jg 0x4d6a42
mov edx, dword [esp + 0x18]
sub edx, ecx
inc esi
sar edx, 3
cmp esi, edx
jb 0x4d69c0
mov byte [esp + 0x100], 3
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x4d6a00
push eax
call fcn.004ed9bb
add esp, 4
mov byte [esp + 0x100], 2
lea ecx, [esp + 0x44]
call fcn.004cb700
mov dword [esp + 0x100], 0xffffffff
lea ecx, [esp + 0x28]
call fcn.004cbe80
mov al, 1
mov ecx, dword [esp + 0xf8]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xf4
ret 4
mov byte [esp + 0x100], 3
lea ecx, [esp + 0x14]
call fcn.004916e0
mov byte [esp + 0x100], 2
lea ecx, [esp + 0x44]
call fcn.004cb700
mov dword [esp + 0x100], 0xffffffff
lea ecx, [esp + 0x28]
call fcn.004cbe80
xor al, al
jmp 0x4d6a27
Function at 0x4d8740
Capabilities:
Get geographical location

Disassembly:
push 0xffffffffffffffff
push 0x558a90
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push esi
lea eax, [esp + 7]
push eax
mov esi, ecx
push 0x569bc8
lea ecx, [esp + 0x30]
call fcn.00405170
mov dword [esp + 0x3c], 0
push 0x570cb4
push eax
lea ecx, [esp + 0x24]
push ecx
call fcn.0040c490
add esp, 0xc
mov byte [esp + 0x3c], 1
push eax
lea ecx, [esp + 0x18]
call fcn.0043c800
mov byte [esp + 0x3c], 4
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4d87ae
push eax
call fcn.004ed9bb
add esp, 4
mov byte [esp + 0x3c], 3
mov eax, dword [esp + 0x28]
test eax, eax
je 0x4d87c4
push eax
call fcn.004ed9bb
add esp, 4
lea edx, [esp + 7]
push edx
push 0x570cac
lea ecx, [esp + 0x24]
call fcn.00405170
mov byte [esp + 0x3c], 7
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x1c]
call fcn.0043bbf0
mov byte [esp + 0x3c], 9
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4d8805
push eax
call fcn.004ed9bb
add esp, 4
lea ecx, [esp + 0xc]
call fcn.004391b0
test al, al
jne 0x4d885b
push 0x2eb
push 0x570908
push 0x56fb58
push 0x569444
push 3
call fcn.00448330
push eax
call fcn.00447f40
add esp, 0x18
lea edx, [esp + 8]
push edx
lea ecx, [esp + 0x2c]
mov dword [esp + 0xc], 0x569430
call fcn.004edfb3
push 0x581188
lea eax, [esp + 0x2c]
push eax
call fcn.004ee19f
lea ecx, [esp + 0xc]
push ecx
mov ecx, 0x5bf838
call fcn.004cc3f0
lea edx, [esp + 0xc]
push edx
mov ecx, 0x5bf838
call fcn.004cbd00
lea eax, [esp + 0xc]
push eax
mov ecx, 0x5bf838
call fcn.004ca850
lea ecx, [esp + 7]
push ecx
push 0x569bc8
lea ecx, [esp + 0x24]
call fcn.00405170
mov byte [esp + 0x3c], 0xb
push 0x570ca0
push eax
lea edx, [esp + 0x30]
push edx
call fcn.0040c490
add esp, 0xc
mov byte [esp + 0x3c], 0xc
push eax
mov ecx, esi
call fcn.004d8200
mov byte [esp + 0x3c], 0xb
mov eax, dword [esp + 0x28]
test eax, eax
je 0x4d88d6
push eax
call fcn.004ed9bb
add esp, 4
mov byte [esp + 0x3c], 9
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4d88ec
push eax
call fcn.004ed9bb
add esp, 4
mov eax, 0xfffffc19
mov dword [esi + 0x360], eax
mov dword [esi + 0x374], eax
mov byte [esp + 0x3c], 3
lea ecx, [esp + 0xc]
call fcn.00404040
mov dword [esp + 0x3c], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.00404550
mov ecx, dword [esp + 0x34]
pop esi
mov dword fs:[0], ecx
add esp, 0x3c
ret
Function at 0x4e40c0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x55aa40
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
mov al, byte [esi + 0x30]
test al, al
jne 0x4e4106
push 0x116
push 0x5714bc
push 0x571610
push 0x569444
push 3
call fcn.00448330
push eax
call fcn.00447f40
add esp, 0x18
mov al, byte [esi + 0xa4]
test al, al
je 0x4e4228
lea eax, [esp + 8]
push esi
push eax
call fcn.004e39e0
add esp, 8
mov dword [esp + 0x14], 0
mov ecx, dword [esp + 8]
test ecx, ecx
je 0x4e4139
mov edx, dword [ecx]
call dword [edx + 4]
jmp 0x4e413e
mov eax, 0x5ad5e8
push 0x5ad658
mov ecx, eax
call fcn.004eda61
test eax, eax
jne 0x4e4169
lea eax, [esp + 8]
push eax
call fcn.0043fec0
mov ecx, dword [esi + 0xac]
add esp, 4
push eax
call fcn.0041f4a0
jmp 0x4e4181
mov eax, dword [esi]
push eax
push 0x5715e4
push 2
call fcn.00448330
push eax
call fcn.00447f40
add esp, 0x10
lea ecx, [esp + 4]
push esi
push ecx
call fcn.004e3c70
add esp, 8
mov byte [esp + 0x14], 1
mov ecx, dword [esp + 4]
test ecx, ecx
je 0x4e41a3
mov edx, dword [ecx]
call dword [edx + 4]
jmp 0x4e41a8
mov eax, 0x5ad5e8
push 0x5ad658
mov ecx, eax
call fcn.004eda61
test eax, eax
jne 0x4e41d3
lea eax, [esp + 4]
push eax
call fcn.0043fec0
mov ecx, dword [esi + 0xac]
add esp, 4
push eax
call fcn.0041f480
jmp 0x4e41eb
mov eax, dword [esi]
push eax
push 0x5715b8
push 2
call fcn.00448330
push eax
call fcn.00447f40
add esp, 0x10
mov ecx, dword [esi + 0x90]
push ecx
mov ecx, dword [esi + 0xac]
call fcn.0041f440
mov byte [esp + 0x14], 0
mov ecx, dword [esp + 4]
test ecx, ecx
je 0x4e4210
mov edx, dword [ecx]
push 1
call dword [edx]
mov dword [esp + 0x14], 0xffffffff
mov ecx, dword [esp + 8]
test ecx, ecx
je 0x4e4240
mov eax, dword [ecx]
push 1
call dword [eax]
jmp 0x4e4240
mov eax, dword [esi]
push eax
push 0x571578
push 2
call fcn.00448330
push eax
call fcn.00447f40
add esp, 0x10
mov ecx, dword [esi + 0xac]
mov edx, dword [ecx]
push 0
call dword [edx + 0x30]
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x55acd0
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebp
mov ebp, dword [esp + 0x28]
push esi
push edi
push ebp
mov esi, ecx
call fcn.004e24a0
mov edi, eax
cmp edi, dword [esi]
je 0x4e50ae
lea eax, [edi + 0x10]
push eax
push ebp
call fcn.0040ac20
add esp, 8
test al, al
je 0x4e5115
mov dword [esp + 0x30], 0
mov dword [esp + 0x28], 0
lea ecx, [esp + 0x30]
push ecx
push ebp
lea ecx, [esp + 0x18]
call fcn.004e3220
mov byte [esp + 0x28], 1
push eax
push ecx
mov eax, esp
lea edx, [esp + 0x14]
push edx
mov ecx, esi
mov dword [eax], edi
call fcn.004e3280
mov esi, dword [esp + 0xc]
mov byte [esp + 0x28], 0
lea ecx, [esp + 0x10]
call fcn.004687d0
mov dword [esp + 0x28], 0xffffffff
lea eax, [esi + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
add esp, 0x20
ret 4
mov ecx, dword [esp + 0x20]
lea eax, [edi + 0x1c]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebp
add esp, 0x20
ret 4
Function at 0x4e5e50
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x55ad78
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [esp + 4], esi
call fcn.00409000
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov byte [esi + 0x14], al
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], 0x64
mov byte [esi + 0x30], al
mov dword [esi + 0x24], 1
mov byte [esi + 0x14], al
mov dword [esp + 0x10], 0xffffffff
mov ecx, dword [esp + 8]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x4e9b90
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x55b263
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
xor ebx, ebx
push esi
mov esi, ecx
or eax, 0xffffffff
mov dword [esi + 8], eax
mov dword [esi + 4], eax
mov dword [esi + 0xc], ebx
mov dword [esi + 0x20], 0x5bfe28
mov dword [esp + 8], esi
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
lea ecx, [esi + 0x34]
mov dword [esi], 0x56fe94
mov dword [esp + 0x14], ebx
mov dword [ecx], 0x5bfe28
mov dword [esi + 0x40], eax
mov dword [esi + 0x3c], eax
push ebx
push 0x56a06a
mov byte [esp + 0x1c], 1
mov dword [esi + 0x38], 4
mov byte [esi + 0x44], bl
mov byte [esi + 0x2c], bl
mov dword [esi + 0x30], ebx
call fcn.004e7a30
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x40], ebx
mov dword [esi + 0x3c], ebx
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x4f7934
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 8]
test bl, 3
jne 0x4f7962
mov eax, dword fs:[0x18]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
cmp ebx, ecx
mov dword [ebp - 4], ecx
jb 0x4f7969
cmp ebx, dword [eax + 4]
jae 0x4f7969
xor eax, eax
jmp 0x4f7b59
push edi
mov edi, dword [esi + 0xc]
cmp edi, 0xffffffff
jne 0x4f797a
xor eax, eax
inc eax
jmp 0x4f7b58
xor edx, edx
mov dword [ebp + 8], edx
mov eax, ebx
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x4f7990
cmp ecx, edx
jae 0x4f7ad5
cmp dword [eax + 4], 0
je 0x4f7999
inc dword [ebp + 8]
inc edx
add eax, 0xc
cmp edx, edi
jbe 0x4f7981
cmp dword [ebp + 8], 0
je 0x4f79bb
mov eax, dword [esi - 8]
cmp eax, dword [ebp - 4]
jb 0x4f7ad5
cmp eax, esi
jae 0x4f7ad5
mov eax, dword [0x5c0018]
mov edi, ebx
and edi, 0xfffff000
xor esi, esi
test eax, eax
jle 0x4f79e0
cmp dword [esi*4 + 0x5c0020], edi
je 0x4f7ad9
inc esi
cmp esi, eax
jl 0x4f79ce
push 0x1c
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [0x5691e0]
test eax, eax
je 0x4f7b55
cmp dword [ebp - 8], 0x1000000
jne 0x4f7b55
test byte [ebp - 0xc], 0xcc
je 0x4f7a5e
mov ecx, dword [ebp - 0x1c]
cmp word [ecx], 0x5a4d
jne 0x4f7b55
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x4f7b55
cmp word [eax + 0x18], 0x10b
jne 0x4f7b55
sub ebx, ecx
cmp word [eax + 6], 0
movzx ecx, word [eax + 0x14]
lea ecx, [ecx + eax + 0x18]
jbe 0x4f7b55
mov eax, dword [ecx + 0xc]
cmp ebx, eax
jb 0x4f7a5e
mov edx, dword [ecx + 8]
add edx, eax
cmp ebx, edx
jae 0x4f7a5e
test byte [ecx + 0x27], 0x80
jne 0x4f7ad5
push 1
push 0x5c0060
call dword [0x56918c]
test eax, eax
jne 0x4f7972
mov ecx, dword [0x5c0018]
test ecx, ecx
mov edx, ecx
jle 0x4f7a92
lea eax, [ecx*4 + 0x5c001c]
cmp dword [eax], edi
je 0x4f7a92
dec edx
sub eax, 4
test edx, edx
jg 0x4f7a86
test edx, edx
jne 0x4f7ac3
push 0xf
pop ebx
cmp ecx, ebx
jg 0x4f7a9f
mov ebx, ecx
xor edx, edx
test ebx, ebx
jl 0x4f7ab7
lea eax, [edx*4 + 0x5c0020]
mov esi, dword [eax]
inc edx
cmp edx, ebx
mov dword [eax], edi
mov edi, esi
jle 0x4f7aa5
cmp ecx, 0x10
jge 0x4f7ac3
inc ecx
mov dword [0x5c0018], ecx
push 0
push 0x5c0060
call dword [0x56918c]
jmp 0x4f7972
xor eax, eax
jmp 0x4f7b58
test esi, esi
jle 0x4f7972
mov ebx, dword [0x56918c]
push 1
push 0x5c0060
call ebx
test eax, eax
jne 0x4f7972
cmp dword [esi*4 + 0x5c0020], edi
je 0x4f7b2f
mov eax, dword [0x5c0018]
lea esi, [eax - 1]
test esi, esi
jl 0x4f7b1d
cmp dword [esi*4 + 0x5c0020], edi
je 0x4f7b19
dec esi
jns 0x4f7b0d
test esi, esi
jge 0x4f7b2d
cmp eax, 0x10
jge 0x4f7b28
inc eax
mov dword [0x5c0018], eax
lea esi, [eax - 1]
jmp 0x4f7b2f
je 0x4f7b47
xor ecx, ecx
test esi, esi
jl 0x4f7b47
lea eax, [ecx*4 + 0x5c0020]
mov edx, dword [eax]
inc ecx
cmp ecx, esi
mov dword [eax], edi
mov edi, edx
jle 0x4f7b35
push 0
push 0x5c0060
call ebx
jmp 0x4f7972
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
Function at 0x50c882
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x18]
imul eax, edi
add eax, edx
cmp edx, eax
mov dword [ebp - 0x18], eax
jae 0x50c9a3
mov eax, dword [ebp + 0x10]
lea eax, [edx + eax*4]
push ebx
push esi
mov dword [ebp + 0x14], eax
mov esi, 0xffc03fc0
mov eax, 0xff00ff
cmp edx, dword [ebp + 0x14]
mov ecx, dword [ebp + 8]
mov dword [ebp - 8], ecx
jae 0x50c987
mov ebx, dword [ebp + 0x14]
sub ebx, edx
dec ebx
shr ebx, 3
lea ecx, [edx + 4]
inc ebx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ebx
mov edx, dword [ecx + edi]
mov edi, dword [edi + ecx - 4]
mov dword [ebp - 0xc], edi
shr edi, 2
and edi, esi
mov dword [ebp - 4], edx
mov edx, dword [ecx]
mov ecx, dword [ecx - 4]
mov ebx, ecx
shr ebx, 2
and ebx, esi
add ebx, edi
mov edi, dword [ebp - 4]
shr edi, 2
and edi, esi
add ebx, edi
mov edi, edx
shr edi, 2
and edi, esi
lea ebx, [ebx + edi - 0x7fff80]
mov edi, dword [ebp - 0xc]
and edi, eax
mov esi, ecx
and esi, eax
add esi, edi
mov edi, dword [ebp - 4]
and edi, eax
add esi, edi
mov edi, edx
and edi, eax
lea esi, [esi + edi + 0x20002]
mov edi, dword [ebp - 0xc]
shr ecx, 2
shr esi, 2
xor ebx, esi
shr edi, 2
mov esi, 0x3fc03fc0
and ecx, esi
and edi, esi
add ecx, edi
mov edi, dword [ebp - 4]
shr edi, 2
and edi, esi
add ecx, edi
mov edi, dword [ebp + 0x18]
shr edx, 2
and edx, esi
lea ecx, [ecx + edx + 0x800080]
and ebx, eax
xor ebx, ecx
mov ecx, dword [ebp - 8]
add dword [ebp - 8], 4
mov dword [ecx], ebx
mov ecx, dword [ebp - 0x10]
add ecx, 8
dec dword [ebp - 0x14]
mov dword [ebp - 0x10], ecx
mov esi, 0xffc03fc0
jne 0x50c8d9
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x1c]
add dword [ebp + 8], ecx
lea ecx, [edi + edi]
add dword [ebp + 0x14], ecx
add edx, ecx
cmp edx, dword [ebp - 0x18]
mov dword [ebp + 0xc], edx
jb 0x50c8b7
pop esi
pop ebx
xor eax, eax
pop edi
leave
ret
Function at 0x50cce7
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x24
mov eax, dword [ecx + 4]
mov eax, dword [eax + 0x18]
push ebp
push esi
mov esi, dword [ecx]
mov ebp, dword [esi + 0x105c]
push edi
mov edi, dword [esi + 0x1050]
imul ebp, edi
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x18]
add ebp, eax
cmp eax, ebp
mov dword [esp + 0x28], ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x2c], ebp
jae 0x50ce2e
mov edx, 0xf81f
push ebx
mov ebx, dword [esp + 0x14]
mov esi, dword [esi + 0x1058]
lea esi, [eax + esi*2]
mov dword [esp + 0x10], ebx
add edi, eax
cmp eax, esi
mov ebx, eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x28], esi
jae 0x50ce09
movzx ecx, word [ebx]
movzx esi, word [ebx + 2]
movzx eax, word [edi + 2]
movzx edi, word [edi]
mov ebp, ecx
mov ebx, eax
and bx, dx
and bp, dx
mov dword [esp + 0x24], ecx
and ecx, 0xffff07e0
add ebx, ebp
mov ebp, edi
and bp, dx
add ebx, ebp
mov ebp, esi
and bp, dx
lea ebx, [ebx + ebp + 0x1002]
mov ebp, eax
and ebp, 0xffff07e0
add ebp, ecx
mov ecx, edi
and ecx, 0xffff07e0
add ebp, ecx
mov ecx, esi
and ecx, 0xffff07e0
shr ebx, 2
lea ecx, [ecx + ebp + 0x40]
shr ecx, 2
xor ebx, ecx
mov ecx, dword [esp + 0x24]
and eax, edx
and ecx, edx
add eax, ecx
and edi, edx
add eax, edi
mov edi, dword [esp + 0x1c]
and esi, edx
and ebx, 0xffff07e0
lea eax, [eax + esi + 0x1002]
shr eax, 2
xor ebx, eax
mov eax, dword [esp + 0x10]
add dword [esp + 0x10], 2
mov word [eax], bx
mov ebx, dword [esp + 0x18]
add ebx, 4
add edi, 4
cmp ebx, dword [esp + 0x28]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], edi
jb 0x50cd50
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x20]
mov ebp, dword [esp + 0x30]
mov esi, dword [ecx + 4]
mov esi, dword [esi + 0x1050]
add dword [esp + 0x14], esi
mov esi, dword [ecx]
mov edi, dword [esi + 0x1050]
lea eax, [eax + edi*2]
cmp eax, ebp
mov dword [esp + 0x20], eax
jb 0x50cd27
pop ebx
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x24
ret
Function at 0x50cf5b
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x24
mov eax, dword [ecx + 4]
mov eax, dword [eax + 0x18]
push ebp
push esi
mov esi, dword [ecx]
mov ebp, dword [esi + 0x105c]
mov edx, dword [esi + 0x18]
push edi
mov edi, dword [esi + 0x1050]
imul ebp, edi
add ebp, edx
cmp edx, ebp
mov dword [esp + 0x28], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x2c], ebp
jae 0x50d0a1
mov eax, 0x83e0
push ebx
mov ebx, dword [esp + 0x14]
mov esi, dword [esi + 0x1058]
lea esi, [edx + esi*2]
mov dword [esp + 0x10], ebx
add edi, edx
cmp edx, esi
mov ebx, edx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x28], esi
jae 0x50d07c
movzx ecx, word [ebx]
movzx esi, word [ebx + 2]
movzx edx, word [edi + 2]
movzx edi, word [edi]
mov ebp, ecx
and ebp, eax
mov ebx, edx
and ebx, eax
add ebx, ebp
mov ebp, edi
and ebp, eax
add ebx, ebp
mov dword [esp + 0x24], ecx
and ecx, 0x7c1f
mov ebp, esi
and ebp, eax
lea ebx, [ebx + ebp + 0x10040]
mov ebp, edx
and ebp, 0x7c1f
add ebp, ecx
mov ecx, edi
and ecx, 0x7c1f
add ebp, ecx
mov ecx, esi
and ecx, 0x7c1f
lea ecx, [ecx + ebp + 0x802]
shr ecx, 2
shr ebx, 2
xor ebx, ecx
mov ecx, dword [esp + 0x24]
and ecx, eax
and edx, eax
add edx, ecx
and edi, eax
add edx, edi
mov edi, dword [esp + 0x1c]
and esi, eax
and ebx, 0xffff7c1f
lea ecx, [edx + esi + 0x10040]
shr ecx, 2
xor ebx, ecx
mov ecx, dword [esp + 0x10]
add dword [esp + 0x10], 2
mov word [ecx], bx
mov ebx, dword [esp + 0x18]
add ebx, 4
add edi, 4
cmp ebx, dword [esp + 0x28]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], edi
jb 0x50cfc4
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x20]
mov ebp, dword [esp + 0x30]
mov esi, dword [ecx + 4]
mov esi, dword [esi + 0x1050]
add dword [esp + 0x14], esi
mov esi, dword [ecx]
mov edi, dword [esi + 0x1050]
lea edx, [edx + edi*2]
cmp edx, ebp
mov dword [esp + 0x20], edx
jb 0x50cf9b
pop ebx
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x24
ret