joyce8/EMBER2024-capa huggingface dataset:
Function at 0x474240
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4e753c
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x417270]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
call fcn.004cac16
xor eax, eax
mov dword [esi], 0x41c8e4
mov byte [esi + 0xc], al
mov dword [esi + 0x10], eax
mov ecx, 0xf
mov dword [esi + 0x30], ecx
mov dword [esi + 0x2c], eax
mov ebx, 0x41c480
mov byte [esi + 0x1c], al
mov dword [esp + 0x3c], eax
mov dword [esi + 0x14], ebx
mov dword [esi + 0x50], ecx
mov dword [esi + 0x4c], eax
mov byte [esi + 0x3c], al
mov dword [esi + 0x34], ebx
mov dword [esi + 0x70], ecx
mov dword [esi + 0x6c], eax
mov byte [esi + 0x5c], al
mov dword [esi + 0x54], ebx
lea edi, [esi + 0x74]
mov dword [edi + 0x1c], ecx
mov dword [edi + 0x18], eax
mov byte [edi + 8], al
mov dword [edi], ebx
mov dword [esi + 0x94], eax
mov dword [esi + 0x98], eax
lea eax, [esp + 0x14]
push eax
mov byte [esp + 0x40], 4
call fcn.00491c60
add esp, 4
push eax
mov ecx, edi
mov byte [esp + 0x40], 5
call fcn.00466f80
cmp dword [esp + 0x30], 0x10
mov dword [esp + 0x14], ebx
jb 0x474302
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.004cada5
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x30
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x4e7644
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x417270]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0x20]
push edi
call fcn.004cac97
xor eax, eax
mov dword [esi], 0x41c8e4
mov edx, 0xf
mov dword [esi + 0x30], edx
mov dword [esi + 0x2c], eax
mov ecx, 0x41c480
mov byte [esi + 0x1c], al
mov dword [esp + 0x18], eax
mov dword [esi + 0x14], ecx
mov dword [esi + 0x50], edx
mov dword [esi + 0x4c], eax
mov byte [esi + 0x3c], al
mov dword [esi + 0x34], ecx
mov dword [esi + 0x70], edx
mov dword [esi + 0x6c], eax
mov byte [esi + 0x5c], al
mov dword [esi + 0x54], ecx
mov dword [esi + 0x90], edx
mov dword [esi + 0x8c], eax
mov byte [esi + 0x7c], al
mov dword [esi + 0x74], ecx
push edi
mov ecx, esi
mov byte [esp + 0x1c], 4
mov dword [esi + 0x94], eax
mov dword [esi + 0x98], eax
call fcn.00474660
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4

Function at 0x475540
Capabilities:
Read file via mapping

Disassembly:
mov eax, dword [esp + 8]
push esi
mov esi, ecx
mov ecx, dword [esp + 8]
push eax
push ecx
mov ecx, esi
call fcn.00475200
mov ecx, dword [esi + 0x18]
cmp ecx, 0xffffffff
je 0x47557a
push 0
push 0
push 0
push 6
push ecx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
jne 0x475575
xor al, al
pop esi
ret 8
mov dword [esi + 0x14], eax
mov al, 1
pop esi
ret 8
Function at 0x47e080
Capabilities:
Encode data using xor
Query environment variable

Disassembly:
sub esp, 0x108
mov eax, dword [0x417270]
xor eax, esp
mov dword [esp + 0x104], eax
push ebx
push edi
mov edi, ecx
mov al, byte [edi + 0x1bc]
xor ebx, ebx
cmp al, bl
jne 0x47e21e
push esi
push 0x100
lea eax, [esp + 0x14]
push ebx
push eax
call fcn.004caf20
add esp, 0xc
push 0xff
lea ecx, [esp + 0x14]
push ecx
push 0x41fbf8
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov esi, eax
cmp esi, ebx
je 0x47e21b
cmp esi, 0x20
jae 0x47e21b
mov ecx, 0x41fbf0
lea eax, [esp + 0x10]
lea ecx, [ecx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x47e110
cmp dl, bl
je 0x47e10c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x47e110
add eax, 2
add ecx, 2
cmp dl, bl
jne 0x47e0f0
xor eax, eax
jmp 0x47e115
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x47e21b
mov ecx, 0x41fbe8
lea eax, [esp + 0x10]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x47e146
cmp dl, bl
je 0x47e142
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x47e146
add eax, 2
add ecx, 2
cmp dl, bl
jne 0x47e126
xor eax, eax
jmp 0x47e14b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x47e21b
push 8
lea edx, [esp + 0x14]
push 0x41fbdc
push edx
call fcn.004cccf0
add esp, 0xc
test eax, eax
jne 0x47e1cf
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x14]
push 0x41fbd0
push ecx
mov dword [esp + 0x18], ebx
call fcn.004ce7b7
add esp, 0xc
cmp eax, 1
jne 0x47e1ad
mov edx, dword [esp + 0xc]
lea eax, [edx + 1]
and eax, 0x800000ff
jns 0x47e1a0
dec eax
or eax, 0xffffff00
inc eax
movzx ax, byte [eax + 0x415978]
movzx ebx, ax
jmp 0x47e1ef
xor eax, eax
cmp esi, ebx
jbe 0x47e1f6
movsx ecx, byte [esp + eax + 0x10]
movzx edx, bx
xor ecx, edx
movzx cx, byte [ecx + 0x415978]
inc eax
movzx ebx, cx
cmp eax, esi
jb 0x47e1b3
jmp 0x47e1ef
xor eax, eax
cmp esi, ebx
jbe 0x47e1f6
movsx edx, byte [esp + eax + 0x10]
movzx ecx, bx
xor edx, ecx
movzx dx, byte [edx + 0x415978]
inc eax
movzx ebx, dx
cmp eax, esi
jb 0x47e1d5
xor eax, eax
cmp ax, bx
jne 0x47e1fb
mov ebx, 0xff
pop esi
mov byte [edi + 0x1bc], bl
pop edi
mov al, bl
pop ebx
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.004cb3aa
add esp, 0x108
ret
xor al, al
pop esi
mov ecx, dword [esp + 0x10c]
pop edi
pop ebx
xor ecx, esp
call fcn.004cb3aa
add esp, 0x108
ret

Function at 0x47f3e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4e84c8
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x417270]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], 0x41fdc0
mov eax, dword [esi + 0x3c]
mov dword [esp + 0x14], 0
test eax, eax
je 0x47f42c
cmp dword [esi + 0x30], 0
je 0x47f42c
push eax
call fcn.004cb4e1
add esp, 4
mov ecx, esi
mov dword [esi + 0x3c], 0
mov dword [esi + 0x30], 0
mov dword [esp + 0x14], 0xffffffff
call fcn.0049e580
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x47f670
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4e84c8
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x417270]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], 0x41fe38
mov eax, dword [esi + 0x30]
mov dword [esp + 0x14], 0
test eax, eax
je 0x47f6bc
cmp dword [esi + 0x28], 0
je 0x47f6bc
push eax
call fcn.004cb4e1
add esp, 4
mov ecx, esi
mov dword [esi + 0x30], 0
mov dword [esi + 0x28], 0
mov dword [esp + 0x14], 0xffffffff
call fcn.0049e580
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret

Function at 0x47fa90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4e84c8
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x417270]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], 0x41fed8
mov eax, dword [esi + 0x30]
mov dword [esp + 0x14], 0
test eax, eax
je 0x47fadc
cmp dword [esi + 0x2c], 0
je 0x47fadc
push eax
call fcn.004cb4e1
add esp, 4
mov ecx, esi
mov dword [esi + 0x30], 0
mov dword [esi + 0x2c], 0
mov dword [esp + 0x14], 0xffffffff
call fcn.0049e580
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret

Function at 0x47fff0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4e84c8
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x417270]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], 0x41ffc8
mov eax, dword [esi + 0x30]
mov dword [esp + 0x14], 0
test eax, eax
je 0x48003c
cmp dword [esi + 0x2c], 0
je 0x48003c
push eax
call fcn.004cb4e1
add esp, 4
mov ecx, esi
mov dword [esi + 0x30], 0
mov dword [esi + 0x2c], 0
mov dword [esp + 0x14], 0xffffffff
call fcn.0049e580
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret

Function at 0x480b90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4e84c8
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x417270]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], 0x420130
mov eax, dword [esi + 0x3c]
mov dword [esp + 0x14], 0
test eax, eax
je 0x480bdc
cmp dword [esi + 0x30], 0
je 0x480bdc
push eax
call fcn.004cb4e1
add esp, 4
mov ecx, esi
mov dword [esi + 0x3c], 0
mov dword [esi + 0x30], 0
mov dword [esp + 0x14], 0xffffffff
call fcn.0049e580
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x481300
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
sub esp, 0x104
mov eax, dword [0x417270]
xor eax, esp
mov dword [esp + 0x100], eax
mov eax, dword [0x53e204]
push esi
push eax
mov byte [esp + 0x107], 0
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
jne 0x48134d
push 4
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
test esi, esi
je 0x48134d
mov ecx, dword [0x53e204]
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push 0xff
lea edx, [esp + 8]
push edx
push 0x10
mov dword [esi], 0x130
call fcn.0046d1c0
mov ecx, dword [esp + 0x110]
add esp, 0xc
pop esi
xor ecx, esp
xor eax, eax
call fcn.004cb3aa
add esp, 0x104
ret 4
Function at 0x481af0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e86c8
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x417270]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
mov edi, ecx
mov ecx, dword [0x53e204]
push ecx
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], ebx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
jne 0x481b60
push 4
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
test esi, esi
je 0x481b60
mov edx, dword [0x53e204]
push esi
push edx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
cmp dword [ebp + 0xc], 0x40
mov dword [esi], 0
jne 0x481c15
mov esi, dword [ebp + 0x14]
cmp esi, 0x20
jbe 0x481c15
mov eax, dword [ebp - 0x3c]
push 0x40
push eax
call fcn.0049ef30
mov ecx, edi
test al, al
jne 0x481b99
push 0x71
call fcn.0047e020
jmp 0x481c4b
push esi
push ebx
call fcn.00480f10
test al, al
je 0x481c4b
push 0x20
lea ecx, [ebp - 0x34]
xor eax, eax
add edi, 0x94
push ecx
mov ecx, edi
mov dword [ebp - 0x38], eax
mov dword [ebp - 4], eax
call fcn.0046f7d0
add esi, 0xffffffc0
push edi
lea ecx, [ebp - 0x48]
add ebx, esi
call fcn.0049fb80
mov edx, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x3c]
push ebx
push esi
push edx
lea eax, [ebp - 0x34]
push eax
push ecx
mov byte [ebp - 4], 1
call fcn.0049fbb0
mov edx, dword [ebp + 0x14]
add esp, 0x14
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x38], edx
mov byte [ebp - 4], 0
call fcn.004af1d0
mov eax, dword [ebp - 0x38]
jmp 0x481c4d
mov eax, dword [0x53e204]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
jne 0x481c45
push 4
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
test esi, esi
je 0x481c45
mov ecx, dword [0x53e204]
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [esi], 0x69
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004cb3aa
mov esp, ebp
pop ebp
ret 0x10
Function at 0x481f40
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e8770
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x417270]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], ecx
mov eax, dword [0x53e204]
mov edi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
push eax
call edi
mov esi, eax
test esi, esi
jne 0x481fa0
push 4
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
test esi, esi
je 0x481fa0
mov ecx, dword [0x53e204]
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov eax, 0x10
mov dword [esi], 0
cmp dword [ebp + 0xc], eax
jne 0x482001
cmp dword [ebp + 0x14], eax
jne 0x482001
cmp dword [ebp + 0x1c], eax
jne 0x482001
mov edx, dword [ebp + 0x18]
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
push edx
push eax
push ecx
mov dword [ebp - 4], 0
call fcn.0049bea0
add esp, 0xc
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov edx, dword [0x53e204]
push edx
call edi
mov esi, eax
test esi, esi
jne 0x48202d
push 4
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
test esi, esi
je 0x48202d
mov eax, dword [0x53e204]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [esi], 0x69
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18

Function at 0x482050
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e8790
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x417270]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x14], edi
mov eax, dword [0x53e204]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
jne 0x4820b0
push 4
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
test esi, esi
je 0x4820b0
mov ecx, dword [0x53e204]
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov eax, dword [ebp + 0xc]
mov dword [esi], 0
test al, 0xf
je 0x4820dc
push 0x69
mov ecx, edi
call fcn.0047e020
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp dword [ebp + 0x14], 0x10
jne 0x4820bd
mov edx, dword [ebp + 0x10]
push edx
push eax
mov eax, dword [ebp + 8]
push eax
mov dword [ebp - 4], 0
call fcn.0049bf50
add esp, 0xc
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x482130
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
sub esp, 0x104
mov eax, dword [0x417270]
xor eax, esp
mov dword [esp + 0x100], eax
mov eax, dword [0x53e204]
push esi
push eax
mov byte [esp + 0x107], 0
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
jne 0x48217d
push 4
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
test esi, esi
je 0x48217d
mov ecx, dword [0x53e204]
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push 0xff
lea edx, [esp + 8]
push edx
push 0x10
mov dword [esi], 0x130
call fcn.0046d1c0
mov ecx, dword [esp + 0x110]
add esp, 0xc
pop esi
xor ecx, esp
xor eax, eax
call fcn.004cb3aa
add esp, 0x104
ret 8
Function at 0x483df0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
lea ebp, [esp - 0xf0]
sub esp, 0xf0
push 0xffffffffffffffff
push 0x4e8ba0
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x417270]
xor eax, ebp
mov dword [ebp + 0xec], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edx, dword [0x53e204]
mov eax, dword [ebp + 0xfc]
mov esi, dword [ebp + 0xf8]
mov ebx, ecx
mov ecx, dword [ebp + 0x104]
push edx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, eax
test edi, edi
jne 0x483e79
push 4
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
test edi, edi
je 0x483e79
mov eax, dword [0x53e204]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [edi], 0
mov edi, 0x40
cmp dword [ebp + 0x108], edi
jb 0x483fb0
cmp dword [ebp + 0x100], edi
jb 0x483fb0
lea ecx, [ebx + 0x94]
push ecx
lea ecx, [ebp - 0x70]
call fcn.0049da70
xor edi, edi
lea ecx, [ebp]
mov dword [ebp - 4], edi
call fcn.0049c2b0
mov dword [ebp], 0x41fb8c
lea edx, [esi + 0x18]
push edx
lea ecx, [ebp]
mov byte [ebp - 4], 1
call fcn.004a11e0
mov eax, dword [esi + 8]
push edi
push edi
push eax
push edi
lea ecx, [ebp]
call fcn.004a1220
lea ecx, [ebp]
push ecx
lea ecx, [ebp - 0x70]
call fcn.0049be80
mov ecx, dword [esi]
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x14]
push eax
push ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], edi
call fcn.004a1140
add esp, 0xc
test al, al
jne 0x483f30
push 0x69
mov ecx, ebx
call fcn.0047e020
lea ecx, [ebp]
mov byte [ebp - 4], 0
call fcn.0049c330
lea ecx, [ebp - 0x70]
mov dword [ebp - 4], 0xffffffff
call fcn.0049c570
jmp 0x483fe5
mov edx, dword [esi + 0x10]
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0xc]
push edx
mov edx, dword [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x18]
push ecx
mov ecx, dword [ebp - 0x1c]
push edx
mov edx, dword [ebp - 0x14]
push eax
push ecx
add esi, 0xa8
push esi
push edx
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 2
call fcn.0049d410
mov dword [ebp - 4], 1
test al, al
je 0x483f8c
lea ecx, [ebp]
mov byte [ebp - 4], 0
call fcn.0049c330
lea ecx, [ebp - 0x70]
mov dword [ebp - 4], 0xffffffff
call fcn.0049c570
mov eax, 1
jmp 0x483fe7
push 0xca
jmp 0x483f09
mov eax, dword [0x53e204]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
jne 0x483fdf
push 4
push edi
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
test esi, esi
je 0x483fdf
mov ecx, dword [0x53e204]
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [esi], 0x69
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0xec]
xor ecx, ebp
call fcn.004cb3aa
add ebp, 0xf0
mov esp, ebp
pop ebp
ret 0x14
Function at 0x4848b0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4e8c33
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x417270]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
xor ebx, ebx
or eax, 0xffffffff
mov dword [esi + 4], eax
mov dword [esi + 8], ebx
mov byte [esi + 0xc], bl
mov dword [esi + 0x18], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], eax
mov byte [esi + 0x1c], bl
xor eax, eax
mov dword [esi], 0x41fde8
mov byte [esi + 0x20], 0x20
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
push 0x18
mov dword [esp + 0x24], ebx
mov dword [esi + 0x34], eax
call fcn.004cb3d4
mov edi, eax
add esp, 4
mov dword [esp + 0x14], edi
mov byte [esp + 0x20], 1
cmp edi, ebx
je 0x48497f
push 1
mov dword [edi], 0x418d24
mov dword [edi + 4], ebx
mov dword [edi + 0xc], ebx
mov dword [edi + 8], ebx
mov byte [edi + 0x10], 1
mov dword [edi + 0x14], ebx
call fcn.004caa28
add esp, 4
cmp dword [edi + 0x14], 1
mov dword [edi + 4], eax
mov dword [edi + 0xc], 1
mov dword [edi + 8], 1
jne 0x484967
mov byte [eax], bl
mov dword [esi + 0x38], edi
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret
mov dword [esi + 0x38], ebx
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x4e8c33
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x417270]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
xor ebx, ebx
or eax, 0xffffffff
mov dword [esi + 4], eax
mov dword [esi + 8], ebx
mov byte [esi + 0xc], bl
mov dword [esi + 0x18], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], eax
mov byte [esi + 0x1c], bl
xor eax, eax
mov dword [esi], 0x41fe10
mov byte [esi + 0x20], 0x21
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
push 0x18
mov dword [esp + 0x24], ebx
mov dword [esi + 0x34], eax
call fcn.004cb3d4
mov edi, eax
add esp, 4
mov dword [esp + 0x14], edi
mov byte [esp + 0x20], 1
cmp edi, ebx
je 0x484a6f
push 1
mov dword [edi], 0x418d24
mov dword [edi + 4], ebx
mov dword [edi + 0xc], ebx
mov dword [edi + 8], ebx
mov byte [edi + 0x10], 1
mov dword [edi + 0x14], ebx
call fcn.004caa28
add esp, 4
cmp dword [edi + 0x14], 1
mov dword [edi + 4], eax
mov dword [edi + 0xc], 1
mov dword [edi + 8], 1
jne 0x484a57
mov byte [eax], bl
mov dword [esi + 0x38], edi
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret
mov dword [esi + 0x38], ebx
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret
Function at 0x484a90
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4e8c33
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x417270]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
xor ebx, ebx
or eax, 0xffffffff
mov dword [esi + 4], eax
mov dword [esi + 8], ebx
mov byte [esi + 0xc], bl
mov dword [esi + 0x18], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], eax
mov byte [esi + 0x1c], bl
xor eax, eax
mov dword [esi], 0x41fe60
mov byte [esi + 0x20], 0x22
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
push 0x18
mov dword [esp + 0x24], ebx
mov dword [esi + 0x34], eax
call fcn.004cb3d4
mov edi, eax
add esp, 4
mov dword [esp + 0x14], edi
mov byte [esp + 0x20], 1
cmp edi, ebx
je 0x484b5f
push 1
mov dword [edi], 0x418d24
mov dword [edi + 4], ebx
mov dword [edi + 0xc], ebx
mov dword [edi + 8], ebx
mov byte [edi + 0x10], 1
mov dword [edi + 0x14], ebx
call fcn.004caa28
add esp, 4
cmp dword [edi + 0x14], 1
mov dword [edi + 4], eax
mov dword [edi + 0xc], 1
mov dword [edi + 8], 1
jne 0x484b47
mov byte [eax], bl
mov dword [esi + 0x38], edi
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret
mov dword [esi + 0x38], ebx
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret