Function at 0x42e1e0
Capabilities:
Access peb ldr_data
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fc5e3
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
push esi
push edi
mov eax, dword [0x591430]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
cmp dword [esi + 4], 0xffffffff
lea edi, [esi + 4]
jne 0x42e492
mov dword [ebp - 0x24], 0
call fcn.004b9da0
mov dword [ebp - 0x20], eax
mov ecx, 2
mov eax, dword [ebp + 8]
mov esi, 0x17
cmp word [eax], cx
cmove esi, ecx
cmp dword [edi], 0xffffffff
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx]
mov dword [ebp - 0x10], eax
je 0x42e25a
call fcn.00418490
mov dword [ebp - 0x10], eax
mov edx, 1
jmp 0x42e32f
lea eax, [ebp - 0x24]
push eax
push 6
push 1
push esi
call fcn.0041c8c0
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0
cmp eax, 0xffffffff
jne 0x42e282
mov dword [ebp - 4], eax
jmp 0x42e2b5
lea ecx, [ebp - 0x24]
push ecx
mov ecx, dword [ebp - 0x10]
push eax
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ecx + 0x18]
call fcn.0041a920
xor edx, edx
mov ecx, fcn.0040e7c0
cmp dword [eax], edx
cmove ecx, edx
test ecx, ecx
je 0x42e2c9
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0xffffffff
call fcn.0040f210
mov edx, dword [ebp - 0x24]
test edx, edx
jne 0x42e2c4
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], eax
jmp 0x42e2ff
mov esi, dword [ebp - 0x20]
jmp 0x42e332
push dword [ebp + 0xc]
mov eax, dword [ebp - 0x1c]
lea ecx, [edi + 8]
push 0
mov dword [ebp - 0x18], 0xffffffff
mov dword [edi], eax
mov byte [edi + 4], 0x10
call fcn.00409e00
call fcn.004b9da0
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0xffffffff
call fcn.0040f210
xor edx, edx
xorps xmm1, xmm1
mov dword [edi + 0x20], esi
movups xmmword [ebp - 0x4c], xmm1
mov dword [ebp - 0x4c], 2
mov dword [ebp - 0x48], 0
movups xmm0, xmmword [ebp - 0x4c]
mov byte [edi + 0x24], 0
movups xmmword [edi + 0x28], xmm0
movq qword [edi + 0x38], xmm1
mov dword [edi + 0x40], 0
mov esi, dword [ebp - 0x10]
xor ecx, ecx
mov eax, fcn.0040e7c0
test edx, edx
cmove eax, ecx
test eax, eax
je 0x42e48f
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
mov dword [ebp - 0x58], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x54], eax
mov eax, dword [ecx + 8]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x50], eax
mov eax, dword [ecx + 0xc]
mov dword [ecx + 0xc], 0
mov dword [ebp - 0x4c], eax
mov dword [ecx + 8], 0
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0x48], eax
mov eax, dword [ecx + 0x14]
mov dword [ebp - 0x44], eax
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov eax, dword [ecx + 0x18]
mov dword [ebp - 0x40], eax
mov dword [ecx + 0x18], 0
mov al, byte [ecx + 0x1c]
mov byte [ebp - 0x3c], al
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x34], esi
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x80]
mov dword [ebp - 4], 1
mov byte [ebp - 0x87], 1
mov esi, dword [eax]
lea eax, [ebp - 0x58]
push eax
mov esi, dword [esi + 0xc]
call fcn.004302a0
push dword [0x595c4c]
lea eax, [ebp + 0xf]
mov byte [ebp - 4], 2
mov dword [ebp - 0x30], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x42e3e9
mov eax, dword [eax + 4]
jmp 0x42e3eb
xor eax, eax
push 0x58
push eax
call fcn.004146c0
mov edi, eax
add esp, 8
mov al, byte [ebp - 0x87]
mov byte [ebp - 0x87], 0
mov dword [edi + 0x14], 0
lea ecx, [edi + 0x28]
mov dword [edi + 0x18], 0x433e40
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x1c], 0
mov byte [edi + 0x21], al
lea eax, [ebp - 0x80]
push eax
call fcn.004302a0
mov ecx, dword [esi + 8]
push 0
push edi
call fcn.0041a260
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
call fcn.004390c0
lea ecx, [ebp - 0x78]
call fcn.004313c0
lea ecx, [ebp - 0x50]
call fcn.004313c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
mov esi, dword [ebp - 0x14]
mov eax, dword [esi]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
push eax
push 0x58
mov dword [ebp - 0x30], eax
call fcn.00414730
mov edi, eax
add esp, 8
mov dword [ebp - 0x2c], edi
mov esi, dword [esi + 4]
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0x434290
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x1c], 0
mov dword [ebp - 4], 3
mov dword [edi + 0x20], 0
call fcn.004b9da0
mov edx, dword [ebp + 0xc]
mov dword [edi + 0x24], eax
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0x417700
mov dword [edi + 0x30], esi
mov byte [edi + 0x34], 0
mov eax, dword [edx]
mov dword [edi + 0x38], eax
mov eax, dword [edx + 4]
mov dword [edi + 0x3c], eax
mov eax, dword [edx + 8]
mov dword [edi + 0x40], eax
mov dword [edi + 0x44], 0
mov ecx, dword [edx + 0xc]
mov eax, dword [edi + 0x44]
mov dword [edx + 0xc], eax
mov dword [edi + 0x44], ecx
mov ecx, dword [ebp + 8]
mov dword [edx + 8], 0
mov eax, dword [edx + 0x10]
mov dword [edi + 0x48], eax
mov eax, dword [edx + 0x14]
mov dword [edi + 0x4c], eax
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov eax, dword [edx + 0x18]
mov dword [edi + 0x50], eax
mov dword [edx + 0x18], 0
mov al, byte [edx + 0x1c]
mov edx, 0x1c
mov byte [edi + 0x54], al
mov eax, 0x10
cmp word [ecx], 2
push edi
cmovne eax, edx
mov dword [ebp - 0x28], edi
push eax
mov eax, dword [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 0x1c]
add eax, 4
push 1
add ecx, 0x14
push dword [eax + 0x20]
push eax
call fcn.0041d070
mov dword [ebp - 0x2c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8