Function at 0x405410
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41ecb9
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x4b0998]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x14]
push 0xffffffffffffffff
push 0
push 0x4256d8
push eax
mov ecx, 0x49e15c
call dword [0x4244f0]
mov ecx, dword [esi + 4]
lea eax, [ebp - 0x14]
mov edi, dword [0x424d08]
push eax
mov dword [ebp - 0x10], 1
call edi
mov ebx, 1
mov dword [ebp - 0x10], ebx
and ebx, 0xfffffffe
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call dword [0x424500]
mov dword [ebp - 4], 1
lea eax, [ebp - 0x14]
push 0xffffffffffffffff
push 0
push 0x4256f8
push eax
mov ecx, 0x49e15c
call dword [0x4244f0]
or ebx, 2
lea eax, [ebp - 0x14]
mov dword [ebp - 0x10], ebx
mov ecx, dword [esi + 8]
push eax
call edi
and ebx, 0xfffffffd
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call dword [0x424500]
mov dword [ebp - 4], 2
lea eax, [ebp - 0x14]
push 0xffffffffffffffff
push 0
push 0x425710
push eax
mov ecx, 0x49e15c
call dword [0x4244f0]
or ebx, 4
lea eax, [ebp - 0x14]
mov dword [ebp - 0x10], ebx
mov ecx, dword [esi + 0xc]
push eax
call edi
and ebx, 0xfffffffb
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call dword [0x424500]
mov dword [ebp - 4], 3
lea eax, [ebp - 0x14]
push 0xffffffffffffffff
push 0
push 0x42571c
push eax
mov ecx, 0x49e15c
call dword [0x4244f0]
or ebx, 8
lea eax, [ebp - 0x14]
mov dword [ebp - 0x10], ebx
mov ecx, dword [esi + 0x10]
push eax
call edi
and ebx, 0xfffffff7
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call dword [0x424500]
mov dword [ebp - 4], 4
lea eax, [ebp - 0x14]
push 0xffffffffffffffff
push 0
push 0x42572c
push eax
mov ecx, 0x49e15c
call dword [0x4244f0]
or ebx, 0x10
lea eax, [ebp - 0x14]
mov dword [ebp - 0x10], ebx
mov ecx, dword [esi + 0x14]
push eax
call edi
and ebx, 0xffffffef
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call dword [0x424500]
mov dword [ebp - 4], 5
lea eax, [ebp - 0x14]
push 0xffffffffffffffff
push 0
push 0x42573c
push eax
mov ecx, 0x49e15c
call dword [0x4244f0]
or ebx, 0x20
lea eax, [ebp - 0x14]
mov dword [ebp - 0x10], ebx
mov ecx, dword [esi + 0x18]
push eax
call edi
and ebx, 0xffffffdf
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call dword [0x424500]
mov dword [ebp - 4], 6
lea eax, [ebp - 0x14]
push 0xffffffffffffffff
push 0
push 0x425744
push eax
mov ecx, 0x49e15c
call dword [0x4244f0]
or ebx, 0x40
lea eax, [ebp - 0x14]
mov dword [ebp - 0x10], ebx
mov ecx, dword [esi + 0x1c]
push eax
call edi
and ebx, 0xffffffbf
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call dword [0x424500]
mov dword [ebp - 4], 7
lea eax, [ebp - 0x14]
push 0xffffffffffffffff
push 0
push 0x425754
push eax
mov ecx, 0x49e15c
call dword [0x4244f0]
or ebx, 0x80
lea eax, [ebp - 0x14]
mov dword [ebp - 0x10], ebx
mov ecx, dword [esi + 0x20]
push eax
call edi
and ebx, 0xffffff7f
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call dword [0x424500]
mov dword [ebp - 4], 8
lea eax, [ebp - 0x14]
push 0xffffffffffffffff
push 0
push 0x425764
push eax
mov ecx, 0x49e15c
call dword [0x4244f0]
or ebx, 0x100
lea eax, [ebp - 0x14]
mov dword [ebp - 0x10], ebx
mov ecx, dword [esi + 0x24]
push eax
call edi
and ebx, 0xfffffeff
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call dword [0x424500]
mov edi, dword [0x424498]
push 1
push 0x4257cc
call edi
add esp, 8
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 9
lea eax, [ebp - 0x1c]
mov ecx, dword [esi + 0x30]
push eax
call dword [0x424d0c]
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x14]
push 1
push 0
push ecx
mov ecx, eax
call dword [0x4244a8]
mov esi, eax
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x1c]
call dword [0x424500]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call dword [0x424500]
imul edx, dword [0x4b32d0], 0x3a0
cmp esi, 0xffffffff
je 0x405839
add edx, 0x4b34ee
je 0x40574b
mov ecx, edx
lea esi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x405740
sub ecx, esi
jmp 0x40574e
or ecx, 0xffffffff
push ecx
push edx
call edi
add esp, 8
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0xc
lea eax, [ebp - 0x18]
push 0xffffffffffffffff
push 0
push 0x425784
push eax
mov ecx, 0x49e15c
call dword [0x4244f0]
push 6
or ebx, 0x200
push str._1__2_
mov dword [ebp - 0x10], ebx
call edi
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 0xd
add esp, 4
mov byte [ebp - 0x24], 0x20
mov ecx, esp
push dword [ebp - 0x24]
call dword [0x4244b4]
mov edi, dword [0x424478]
lea eax, [ebp - 0x1c]
push 0
push eax
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x14]
call edi
mov esi, eax
mov byte [ebp - 4], 0xe
push ecx
mov byte [ebp - 0x24], 0x20
mov ecx, esp
push dword [ebp - 0x24]
call dword [0x4244b4]
push 0
lea eax, [ebp - 0x18]
mov ecx, esi
push eax
lea eax, [ebp - 0x28]
push eax
call edi
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x20]
push eax
mov eax, dword [0x424d08]
mov ecx, dword [ecx + 0x30]
call eax
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x28]
call dword [0x424500]
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x2c]
call dword [0x424500]
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x14]
call dword [0x424500]
and ebx, 0xfffffdff
mov dword [ebp - 0x10], ebx
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x18]
call dword [0x424500]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
jmp 0x4058cd
add edx, 0x4b34ee
je 0x405851
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x405846
sub eax, esi
jmp 0x405854
or eax, 0xffffffff
push eax
push edx
call edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0x10
push 2
push 0x425774
call edi
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 0x11
add esp, 0xc
mov ecx, esp
mov byte [ebp - 0x2c], 0x20
push dword [ebp - 0x2c]
call dword [0x4244b4]
push 0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x1c]
call dword [0x424478]
mov byte [ebp - 4], 0x12
mov ecx, dword [ebp - 0x20]
push eax
mov eax, dword [0x424d08]
mov ecx, dword [ecx + 0x30]
call eax
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x28]
call dword [0x424500]
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x1c]
call dword [0x424500]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call dword [0x424500]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret