Function at 0x4017f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x468514
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x480134]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, dword [esp + 0x38]
mov eax, dword [0x483248]
mov edx, dword [eax + 0xc]
mov ecx, 0x483248
call edx
add eax, 0x10
mov dword [esi + 4], eax
xor edi, edi
mov dword [esp + 0x30], edi
mov eax, dword [0x483248]
mov edx, dword [eax + 0xc]
mov ecx, 0x483248
call edx
add eax, 0x10
mov dword [esi + 8], eax
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], 0xa
mov byte [esp + 0x30], 2
mov eax, dword [esp + 0x3c]
mov dword [esi + 0x24], eax
mov edx, dword [0x483248]
mov eax, dword [edx + 0xc]
mov ecx, 0x483248
call eax
add eax, 0x10
mov dword [esi + 0x2c], eax
mov byte [esp + 0x30], 3
mov edx, dword [0x483248]
mov eax, dword [edx + 0xc]
mov ecx, 0x483248
call eax
lea ebp, [eax + 0x10]
mov dword [esp + 0x3c], ebp
mov byte [esp + 0x30], 4
mov eax, dword [ebp - 8]
mov ecx, 1
sub ecx, dword [ebp - 4]
sub eax, 0x10e
or eax, ecx
jge 0x4018ca
mov ecx, 0x10e
lea eax, [esp + 0x3c]
call fcn.004247b0
mov ebp, dword [esp + 0x3c]
push 0x104
push ebp
push 0x400000
call dword [0x46a25c]
cmp ebp, edi
jne 0x4018e3
xor eax, eax
jmp 0x401905
mov eax, ebp
lea edx, [eax + 2]
jmp 0x4018f0
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x4018f0
sub eax, edx
sar eax, 1
js 0x401ac1
cmp eax, dword [ebp - 8]
jg 0x401ac1
push ebp
mov dword [ebp - 0xc], eax
push 0x470420
mov word [ebp + eax*2], di
call fcn.00432900
mov edx, dword [0x483248]
mov eax, dword [edx + 0xc]
add esp, 8
mov ecx, 0x483248
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
push ebp
lea ebx, [esp + 0x20]
mov byte [esp + 0x34], 5
call fcn.00430220
add esp, 4
cmp eax, edi
je 0x40198e
mov eax, dword [esp + 0x1c]
movzx ecx, ax
push ecx
shr eax, 0x10
push eax
mov eax, dword [esp + 0x28]
movzx edx, ax
push edx
shr eax, 0x10
push eax
push 0x475e30
lea edi, [esp + 0x2c]
call fcn.00424460
mov eax, dword [esp + 0x2c]
add esp, 0x14
push eax
push 0x470434
call fcn.00432900
add esp, 8
xor edi, edi
call dword [0x46a250]
cmp eax, edi
jne 0x40199c
xor ecx, ecx
jmp 0x4019b0
mov ecx, eax
lea ebx, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
cmp dx, di
jne 0x4019a1
sub ecx, ebx
sar ecx, 1
push eax
mov ebx, ecx
lea eax, [esp + 0x1c]
call fcn.004245c0
mov ebx, dword [esp + 0x18]
cmp dword [ebx - 0xc], edi
je 0x4019d3
push ebx
push 0x47044c
call fcn.00432900
add esp, 8
push 0x5c
push ebp
call fcn.0044e2f8
add esp, 8
cmp eax, edi
jne 0x4019e7
or eax, 0xffffffff
jmp 0x4019eb
sub eax, ebp
sar eax, 1
add eax, 1
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x3c]
call fcn.004244f0
lea edi, [esp + 0x3c]
mov byte [esp + 0x30], 6
call fcn.00424560
mov byte [esp + 0x30], 5
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x401a2e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x3c]
push edi
call dword [0x46a2e4]
push edi
call fcn.00432780
add esp, 4
push edi
push 0x47045c
call fcn.00432900
add esp, 8
lea ecx, [esi + 0x30]
push ecx
call dword [str.ldt]
lea eax, [ebx - 0x10]
mov dword [esi], 0
mov dword [esi + 0x28], 0
mov byte [esp + 0x30], 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x401a88
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov byte [esp + 0x30], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x401aa9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 8
push 0x80070057
call fcn.0041fd20
int3