joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48d930
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57a3c5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
xorps xmm0, xmm0
mov byte [ebp - 0xd], 0
xor eax, eax
mov dword [ebp - 0x34], 0
push esi
movups xmmword [ebp - 0x44], xmm0
mov esi, ecx
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x44]
push eax
lea eax, [esi + 4]
push eax
call fcn.00470ef0
mov ecx, dword [esi + 0x24]
lea edx, [ebp - 0x14]
add esp, 8
lea eax, [ebp - 0x44]
or ecx, 0x20019
cmp dword [ebp - 0x30], 7
cmova eax, dword [ebp - 0x44]
push edx
push ecx
push 0
push eax
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
pop esi
test eax, eax
jne 0x48da37
xorps xmm0, xmm0
mov dword [ebp - 0x1c], eax
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 1
push eax
push dword [ebp + 8]
call fcn.00470ef0
add esp, 8
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 7
cmova eax, dword [ebp - 0x2c]
push 0
push 0
push 0
push 0
push eax
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x14]
test eax, eax
sete byte [ebp - 0xd]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x18]
cmp ecx, 7
jbe 0x48da37
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x48da2d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48da80
push ecx
push edx
call fcn.004889ab
add esp, 8
mov ecx, dword [ebp - 0x30]
cmp ecx, 7
jbe 0x48da6d
mov edx, dword [ebp - 0x44]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x48da63
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48da85
push ecx
push edx
call fcn.004889ab
add esp, 8
mov ecx, dword [ebp - 0xc]
mov al, byte [ebp - 0xd]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
call fcn.0049cb6a
call fcn.0049cb6a
int3
Function at 0x48db70
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57a42e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6c
push esi
mov esi, ecx
mov dword [ebp - 4], 0
push edi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x14], 0
call fcn.0048e930
mov edi, dword [ebp + 8]
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
xorps xmm0, xmm0
mov dword [ebp - 0x14], 1
xor eax, eax
mov dword [ebp - 0x24], 0
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x20], 7
mov word [ebp - 0x34], ax
lea eax, [ebp - 0x34]
mov dword [ebp - 4], 1
push eax
push dword [ebp + 0xc]
call fcn.00470ef0
add esp, 8
lea ecx, [ebp - 0x10]
cmp dword [ebp - 0x20], 7
lea eax, [ebp - 0x34]
cmova eax, dword [ebp - 0x34]
push ecx
push 0
lea ecx, [ebp - 0x18]
push ecx
push 0
push eax
push dword [esi + 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x48dcd8
cmp dword [ebp - 0x18], 3
jne 0x48dcd8
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x48dc8e
mov eax, dword [edi + 4]
mov edx, dword [edi]
sub eax, edx
cmp ecx, eax
jae 0x48dc41
lea eax, [edx + ecx]
mov dword [edi + 4], eax
jmp 0x48dc6f
jbe 0x48dc6f
mov eax, dword [edi + 8]
sub eax, edx
cmp ecx, eax
jbe 0x48dc5a
lea eax, [ebp + 0xf]
push eax
push ecx
mov ecx, edi
call fcn.0048d590
jmp 0x48dc6f
lea esi, [edx + ecx]
push esi
push dword [edi + 4]
call fcn.00464540
mov dword [edi + 4], esi
add esp, 8
mov esi, dword [ebp - 0x1c]
cmp dword [ebp - 0x20], 7
lea ecx, [ebp - 0x10]
push ecx
push dword [edi]
lea eax, [ebp - 0x34]
cmova eax, dword [ebp - 0x34]
push 0
push 0
push eax
push dword [esi + 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [ebp - 0x20]
cmp ecx, 7
jbe 0x48dcc4
mov edx, dword [ebp - 0x34]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x48dcba
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48dd03
push ecx
push edx
call fcn.004889ab
add esp, 8
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
push dword [ebp + 0xc]
lea eax, [ebp - 0x4c]
mov ecx, esi
push eax
call fcn.0048e630
push 0
push eax
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 2
call fcn.0046b380
push 0x6000f4
lea eax, [ebp - 0x78]
push eax
call fcn.00492518
call fcn.0049cb6a
int3
Function at 0x48dd10
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57a455
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6c
push esi
push edi
mov esi, ecx
call fcn.0048e930
xorps xmm0, xmm0
mov dword [ebp - 0x10], 8
xor eax, eax
mov dword [ebp - 0x24], 0
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x20], 7
mov word [ebp - 0x34], ax
mov edi, dword [ebp + 8]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x34]
push eax
push edi
call fcn.00470ef0
add esp, 8
lea ecx, [ebp - 0x10]
cmp dword [ebp - 0x20], 7
lea eax, [ebp - 0x34]
cmova eax, dword [ebp - 0x34]
push ecx
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x14]
push ecx
push 0
push eax
push dword [esi + 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x48dde8
cmp dword [ebp - 0x14], 0xb
jne 0x48dde8
mov ecx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x18]
cmp ecx, 7
jbe 0x48ddd2
mov edx, dword [ebp - 0x34]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x48ddc8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48de11
push ecx
push edx
call fcn.004889ab
add esp, 8
mov ecx, dword [ebp - 0xc]
mov edx, edi
pop edi
mov eax, esi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 4
push edi
lea eax, [ebp - 0x4c]
mov ecx, esi
push eax
call fcn.0048e630
push 0
push eax
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 1
call fcn.0046b380
push 0x6000f4
lea eax, [ebp - 0x78]
push eax
call fcn.00492518
call fcn.0049cb6a
int3

Function at 0x48de20
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57a485
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x68
push esi
mov esi, ecx
call fcn.0048e930
xorps xmm0, xmm0
mov dword [ebp - 0x10], 4
xor eax, eax
mov dword [ebp - 0x20], 0
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x30]
push eax
push dword [ebp + 8]
call fcn.00470ef0
add esp, 8
lea ecx, [ebp - 0x10]
cmp dword [ebp - 0x1c], 7
lea eax, [ebp - 0x30]
cmova eax, dword [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x14]
push ecx
push 0
push eax
push dword [esi + 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x48def7
mov eax, dword [ebp - 0x14]
cmp eax, 4
je 0x48deab
cmp eax, 5
jne 0x48def7
mov ecx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x18]
cmp ecx, 7
jbe 0x48dee4
mov edx, dword [ebp - 0x30]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x48deda
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48df22
push ecx
push edx
call fcn.004889ab
add esp, 8
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
push dword [ebp + 8]
lea eax, [ebp - 0x48]
mov ecx, esi
push eax
call fcn.0048e630
push 0
push eax
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 1
call fcn.0046b380
push 0x6000f4
lea eax, [ebp - 0x74]
push eax
call fcn.00492518
call fcn.0049cb6a
int3
Function at 0x48eab0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57a5a5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push esi
mov esi, ecx
call fcn.0048e930
xorps xmm0, xmm0
mov dword [ebp - 0x2c], 0
xor eax, eax
mov dword [ebp - 0x28], 7
movups xmmword [ebp - 0x3c], xmm0
mov word [ebp - 0x3c], ax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x3c]
push eax
push dword [ebp + 8]
call fcn.00470ef0
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
xor eax, eax
mov dword [ebp - 0x10], 7
movups xmmword [ebp - 0x24], xmm0
mov word [ebp - 0x24], ax
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 1
push eax
push dword [ebp + 0xc]
call fcn.00470ef0
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x24]
add esp, 0x10
cmp dword [ebp - 0x10], 7
cmova ecx, dword [ebp - 0x24]
cmp dword [ebp - 0x28], 7
lea edx, [eax*2 + 2]
push edx
push ecx
push 1
lea eax, [ebp - 0x3c]
cmova eax, dword [ebp - 0x3c]
push 0
push eax
push dword [esi + 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x48ebf4
mov ecx, dword [ebp - 0x10]
pop esi
cmp ecx, 7
jbe 0x48eb9a
mov edx, dword [ebp - 0x24]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x48eb90
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48ebfe
push ecx
push edx
call fcn.004889ab
add esp, 8
mov ecx, dword [ebp - 0x28]
xor eax, eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 7
mov word [ebp - 0x24], ax
cmp ecx, 7
jbe 0x48ebe4
mov edx, dword [ebp - 0x3c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x48ebda
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48ebfe
push ecx
push edx
call fcn.004889ab
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
push dword [ebp + 8]
mov ecx, esi
call fcn.0048e5c0
call fcn.0049cb6a
int3
Function at 0x48ec10
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57a5d5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x240
push esi
mov esi, ecx
mov dword [ebp - 0x1c], esi
call fcn.0048e930
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x18]
mov dword [ebp - 0x10], 0
push eax
push 0
push 0
lea eax, [ebp - 0x10]
mov dword [ebp - 0x18], 0
push eax
push 0
push 0
push 0
push dword [esi + 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
jne 0x48edcf
xor esi, esi
mov dword [ebp - 0x14], 0x100
cmp dword [ebp - 0x10], esi
jbe 0x48edcf
push edi
mov edi, dword [ebp + 8]
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x24c]
push eax
mov eax, dword [ebp - 0x1c]
push esi
push dword [eax + 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x48edbd
mov dword [ebp - 0x3c], eax
xorps xmm0, xmm0
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x24c]
movups xmmword [ebp - 0x4c], xmm0
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x48ecc6
sub eax, edx
lea ecx, [ebp - 0x4c]
sar eax, 1
push eax
lea eax, [ebp - 0x24c]
push eax
call fcn.00451df0
xorps xmm0, xmm0
mov dword [ebp - 4], 0
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], 0
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.00471090
mov eax, dword [edi + 4]
lea ecx, [ebp - 0x34]
add esp, 8
push ecx
cmp eax, dword [edi + 8]
je 0x48ed32
mov ecx, eax
call fcn.004505a0
add dword [edi + 4], 0x18
jmp 0x48ed3a
push eax
mov ecx, edi
call fcn.00454a00
mov ecx, dword [ebp - 0x20]
mov byte [ebp - 4], 0
cmp ecx, 0xf
jbe 0x48ed6e
mov edx, dword [ebp - 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x48ed64
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48ede0
push ecx
push edx
call fcn.004889ab
add esp, 8
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], 0
mov dword [ebp - 4], 0xffffffff
cmp ecx, 7
jbe 0x48edbd
mov edx, dword [ebp - 0x4c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x48edb3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48ede0
push ecx
push edx
call fcn.004889ab
add esp, 8
inc esi
mov dword [ebp - 0x14], 0x100
cmp esi, dword [ebp - 0x10]
jb 0x48ec88
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
call fcn.0049cb6a
int3
Function at 0x48edf0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57a605
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x64
push esi
mov esi, ecx
call fcn.0048e930
xorps xmm0, xmm0
mov dword [ebp - 0x10], 0
xor eax, eax
mov dword [ebp - 0x1c], 0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
push dword [ebp + 8]
call fcn.00470ef0
add esp, 8
lea ecx, [ebp - 0x14]
cmp dword [ebp - 0x18], 7
lea eax, [ebp - 0x2c]
cmova eax, dword [ebp - 0x2c]
push ecx
push 0
lea ecx, [ebp - 0x10]
push ecx
push 0
push eax
push dword [esi + 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x48eeb8
mov ecx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x10]
cmp ecx, 7
jbe 0x48eea5
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x48ee9b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48eee3
push ecx
push edx
call fcn.004889ab
add esp, 8
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
push dword [ebp + 8]
lea eax, [ebp - 0x44]
mov ecx, esi
push eax
call fcn.0048e630
push 0
push eax
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 1
call fcn.0046b380
push 0x6000f4
lea eax, [ebp - 0x70]
push eax
call fcn.00492518
call fcn.0049cb6a
int3
Function at 0x48eef0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57a635
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x23c
push esi
mov esi, ecx
mov dword [ebp - 0x18], esi
call fcn.0048e930
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push dword [esi + 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
jne 0x48f0a9
xor esi, esi
mov dword [ebp - 0x14], 0x100
cmp dword [ebp - 0x10], esi
jbe 0x48f0a9
push edi
mov edi, dword [ebp + 8]
nop
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x248]
push eax
mov eax, dword [ebp - 0x18]
push esi
push dword [eax + 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x48f097
mov dword [ebp - 0x38], eax
xorps xmm0, xmm0
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x248]
movups xmmword [ebp - 0x48], xmm0
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x48efa0
sub eax, edx
lea ecx, [ebp - 0x48]
sar eax, 1
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.00451df0
xorps xmm0, xmm0
mov dword [ebp - 4], 0
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.00471090
mov eax, dword [edi + 4]
lea ecx, [ebp - 0x30]
add esp, 8
push ecx
cmp eax, dword [edi + 8]
je 0x48f00c
mov ecx, eax
call fcn.004505a0
add dword [edi + 4], 0x18
jmp 0x48f014
push eax
mov ecx, edi
call fcn.00454a00
mov ecx, dword [ebp - 0x1c]
mov byte [ebp - 4], 0
cmp ecx, 0xf
jbe 0x48f048
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x48f03e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48f0ba
push ecx
push edx
call fcn.004889ab
add esp, 8
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
mov dword [ebp - 4], 0xffffffff
cmp ecx, 7
jbe 0x48f097
mov edx, dword [ebp - 0x48]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x48f08d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48f0ba
push ecx
push edx
call fcn.004889ab
add esp, 8
inc esi
mov dword [ebp - 0x14], 0x100
cmp esi, dword [ebp - 0x10]
jb 0x48ef60
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
call fcn.0049cb6a
int3
Function at 0x491170
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57986d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
push edi
push 8
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
call fcn.00488615
mov edi, eax
add esp, 4
test edi, edi
je 0x491210
push 1
mov dword [ebp - 4], 0
call fcn.00481438
add esp, 4
mov dword [edi + 4], eax
jmp 0x491212
xor edi, edi
mov ecx, esi
mov dword [esi + 0x34], edi
call fcn.00451240
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
push ecx
mov dword [ebp - 4], 1
mov dword [esi], vtable.Poco::BasicBufferedStreamBuf_char__struct_std::char_traits_char___class_Poco::BufferAllocator_char__.0
mov dword [esi + 0x38], ecx
mov dword [esi + 0x3c], eax
call fcn.00488c0b
mov ecx, dword [ebp + 0x10]
add esp, 4
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], ecx
lea ecx, [eax + 4]
mov eax, dword [esi + 0xc]
pop edi
mov dword [eax], ecx
mov eax, dword [esi + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], 0
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x40]
mov edx, dword [esi + 0x38]
mov dword [eax], ecx
mov eax, dword [esi + 0x20]
mov dword [eax], ecx
mov eax, dword [esi + 0x30]
mov ecx, dword [ebp - 0xc]
mov dword [eax], edx
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4afa37
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x5a4178
push 0x5a4170
push str.FlsAlloc
push 0x1f
call fcn.004af8a2
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4afa6b
push dword [ebp + 8]
mov ecx, esi
call dword [0x57c2dc]
call esi
jmp 0x4afa71
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x4afab5
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x5a4188
push 0x5a4180
push str.FlsGetValue
push 0x21
call fcn.004af8a2
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4afaec
push dword [ebp + 8]
mov ecx, esi
call dword [0x57c2dc]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x4afaf4
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x5a4190
push 0x5a4188
push str.FlsSetValue
push 0x22
call fcn.004af8a2
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4afb2e
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x57c2dc]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x4b02e5
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.00488be0
mov eax, dword [0x605580]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.004ade8a
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x4b0327
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x4b0483
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00488c20
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x60a038]
push dword [eax + edi + 0x24]
push dword [eax + edi + 0x20]
push ebx
call fcn.004b1116
mov ecx, dword [esi*4 + 0x60a038]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [ecx + edi + 0x20]
jne 0x4b047c
cmp eax, dword [ecx + edi + 0x24]
jne 0x4b047c
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [ecx + edi + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4b047c
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.004b1116
add esp, 0x14
test edx, edx
jl 0x4b047c
jg 0x4b03f2
test eax, eax
jb 0x4b047c
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x4b047c
jl 0x4b040c
cmp dword [ebp - 0x1008], eax
ja 0x4b047c
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x4b042a
test ebx, ebx
je 0x4b0463
cmp ecx, edi
jae 0x4b0463
mov al, byte [ecx]
cmp al, 0xd
jne 0x4b0444
lea eax, [edi - 1]
cmp ecx, eax
jae 0x4b0450
cmp byte [ecx + 1], 0xa
jne 0x4b0450
inc ecx
jmp 0x4b0450
movzx eax, al
movsx eax, byte [eax + 0x605868]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x4b042a
cmp edx, ebx
jne 0x4b042a
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x4b0481
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.004883ab
leave
ret
Function at 0x4b05ae
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x60a038]
mov dword [ebp - 0xc], ecx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x4b05ee
cmp byte [ebx], 0xa
jne 0x4b05ee
or byte [edi + eax + 0x28], 4
jmp 0x4b05f3
and byte [edi + eax + 0x28], 0xfb
add ecx, ebx
mov eax, ebx
mov dword [ebp - 0x10], ecx
mov esi, ebx
mov dword [ebp - 8], eax
cmp ebx, ecx
jae 0x4b06f2
mov dl, byte [eax]
cmp dl, 0x1a
je 0x4b06d5
inc eax
cmp dl, 0xd
je 0x4b061f
mov dword [ebp - 8], eax
mov byte [esi], dl
jmp 0x4b0645
cmp eax, ecx
jae 0x4b0653
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add dword [ebp - 8], eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
xor edx, edx
inc edx
add esi, edx
cmp eax, ecx
jb 0x4b0607
jmp 0x4b06f2
push 0
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4b06d0
cmp dword [ebp - 0x10], 0
je 0x4b06d0
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x60a038]
test byte [eax + edi + 0x28], 0x48
je 0x4b06aa
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x4b0695
mov byte [esi], dl
jmp 0x4b06a6
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x60a038]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x4b06f2
cmp byte [ebp - 1], 0xa
jne 0x4b06b9
cmp esi, ebx
jne 0x4b06b9
mov byte [esi], 0xa
jmp 0x4b06f1
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.004b1134
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x4b06f2
mov byte [esi], 0xd
jmp 0x4b06f1
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x60a038]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x4b06ef
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x4b06f2
mov byte [esi], dl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret