Function at 0x495de0
Capabilities:
Access peb ldr_data
Get ntdll base address
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5196ae
mov eax, dword fs:[0]
push eax
sub esp, 0x1c8
mov eax, dword [0x574be0]
xor eax, esp
mov dword [esp + 0x1c0], eax
push ebx
push esi
push edi
mov eax, dword [0x574be0]
xor eax, esp
push eax
lea eax, [esp + 0x1d8]
mov dword fs:[0], eax
push 0x557cd8
lea ecx, [esp + 0x30]
call fcn.004204a0
push 0x557dec
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1e4], 0
call fcn.004204a0
push 0x556ed4
lea ecx, [esp + 0x18]
mov byte [esp + 0x1e4], 1
call fcn.004204a0
push 0
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
mov byte [esp + 0x1f0], 2
call fcn.004219a0
mov byte [esp + 0x1e0], 1
mov edx, dword [esp + 0x14]
add edx, 0xfffffff0
or ebx, 0xffffffff
lea ecx, [edx + 0xc]
mov eax, ebx
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x495ea3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x1e0], 0
mov edx, dword [esp + 0x18]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x495ec8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [esp + 0x1e0], 0xffffffff
mov edx, dword [esp + 0x2c]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x495ef0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [0x57c2bc]
cmp dword [eax - 0xc], 0
jne 0x495fb8
push 0x557e18
lea ecx, [esp + 0x30]
call fcn.004204a0
push 0x557dec
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1e4], 3
call fcn.004204a0
push 0x556ed4
lea ecx, [esp + 0x18]
mov byte [esp + 0x1e4], 4
call fcn.004204a0
push 0
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
mov byte [esp + 0x1f0], 5
call fcn.004219a0
mov byte [esp + 0x1e0], 4
mov edx, dword [esp + 0x14]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x495f7f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x1e0], 3
mov edx, dword [esp + 0x18]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x495fa4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [esp + 0x1e0], 0xffffffff
mov edx, dword [esp + 0x2c]
jmp 0x496cba
mov eax, dword [0x575ba4]
mov ecx, 0x575ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x1c], eax
mov dword [esp + 0x1e0], 6
mov dword [esp + 0x48], 0xffffffff
mov dword [esp + 0x4c], 0xffffffff
mov dword [esp + 0x50], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
push 0
push 0
sub esp, 0xc
mov byte [esp + 0x1f4], 7
push 3
push 0x80000000
push dword [0x57c2bc]
lea ecx, [esp + 0x68]
call fcn.0042cc40
mov esi, eax
test esi, esi
je 0x496141
mov edx, dword [0x575ba4]
mov ecx, 0x575ba4
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x20], eax
push esi
mov byte [esp + 0x1e4], 8
push dword [0x57c2bc]
lea eax, [esp + 0x28]
push 0x557d50
push eax
call fcn.00421610
add esp, 0x10
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x20]
call fcn.004222b0
push 0x557dec
lea ecx, [esp + 0x1c]
call fcn.004204a0
push 0x556ed4
lea ecx, [esp + 0x18]
mov byte [esp + 0x1e4], 9
call fcn.004204a0
push 2
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
mov byte [esp + 0x1f0], 0xa
call fcn.004219a0
mov byte [esp + 0x1e0], 9
mov edx, dword [esp + 0x14]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4960e9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x1e0], 8
mov edx, dword [esp + 0x18]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x49610e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x1e0], 7
mov edx, dword [esp + 0x20]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x496133
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [esp + 0x48]
call fcn.0042cbf0
jmp 0x496cab
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov byte [esp + 0x1e0], 0xb
mov esi, dword [esp + 0x54]
push esi
lea ecx, [esp + 0x34]
call fcn.0042c6d0
mov eax, dword [esp + 0x48]
mov dword [esp + 0x68], 0
cmp eax, 0xffffffff
jne 0x496196
push 0x19
push 0x54e190
lea ecx, [esp + 0x24]
call fcn.00420c80
mov esi, dword [esp + 0x30]
jmp 0x4961cb
push 0
lea ecx, [esp + 0x6c]
push ecx
push esi
mov esi, dword [esp + 0x3c]
push esi
push eax
call dword [0x51b0cc]
test eax, eax
jne 0x4962ea
call dword [0x51b0d4]
push eax
lea eax, [esp + 0x20]
push 0x54e1f0
push eax
call fcn.00421610
add esp, 0xc
mov eax, dword [0x575ba4]
mov ecx, 0x575ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x20], eax
mov byte [esp + 0x1e0], 0xc
mov eax, dword [esp + 0x1c]
mov ecx, 0x54c764
cmp dword [eax - 0xc], 0
cmovne ecx, eax
push ecx
push dword [0x57c2bc]
lea eax, [esp + 0x28]
push 0x557d98
push eax
call fcn.00421610
add esp, 0x10
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x20]
call fcn.004222b0
push 0x557dec
lea ecx, [esp + 0x1c]
call fcn.004204a0
push 0x556ed4
lea ecx, [esp + 0x18]
mov byte [esp + 0x1e4], 0xd
call fcn.004204a0
push 2
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
mov byte [esp + 0x1f0], 0xe
call fcn.004219a0
mov byte [esp + 0x1e0], 0xd
mov edx, dword [esp + 0x14]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x496285
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x1e0], 0xc
mov edx, dword [esp + 0x18]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4962aa
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x1e0], 0xb
mov edx, dword [esp + 0x20]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4962cf
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
je 0x4962dc
push esi
call fcn.004ea3bd
add esp, 4
lea ecx, [esp + 0x48]
call fcn.0042cbf0
jmp 0x496cab
mov ecx, 0x10
lea edi, [esp + 0x18c]
rep movsd dword es:[edi], dword [esi]
mov ax, word [esp + 0x18c]
mov ecx, 0x5a4d
cmp cx, ax
je 0x4963ba
movzx eax, ax
push eax
lea eax, [esp + 0x20]
push 0x557ef0
push eax
call fcn.00421610
add esp, 0xc
lea ecx, [esp + 0x18]
push 0x557dec
call fcn.004204a0
push 0x556ed4
lea ecx, [esp + 0x18]
mov byte [esp + 0x1e4], 0xf
call fcn.004204a0
push 2
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
mov byte [esp + 0x1f0], 0x10
call fcn.004219a0
mov byte [esp + 0x1e0], 0xf
mov edx, dword [esp + 0x14]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x49638b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x1e0], 0xb
mov edx, dword [esp + 0x18]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4963b0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [esp + 0x30]
push ecx
jmp 0x4962d4
mov esi, dword [esp + 0x30]
add esi, dword [esp + 0x1c8]
mov ecx, 0x3e
lea edi, [esp + 0x7c]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x7c]
cmp eax, 0x4550
je 0x496487
push eax
lea eax, [esp + 0x20]
push 0x557f40
push eax
call fcn.00421610
add esp, 0xc
lea ecx, [esp + 0x18]
push 0x557dec
call fcn.004204a0
push 0x556ed4
lea ecx, [esp + 0x18]
mov byte [esp + 0x1e4], 0x11
call fcn.004204a0
push 2
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
mov byte [esp + 0x1f0], 0x12
call fcn.004219a0
mov byte [esp + 0x1e0], 0x11
mov edx, dword [esp + 0x14]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x496459
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x1e0], 0xb
mov edx, dword [esp + 0x18]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x49647e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [esp + 0x30]
jmp 0x4962d4
mov edi, dword [esp + 0x114]
test edi, edi
jne 0x496510
push 0x4550
lea eax, [esp + 0x20]
push 0x557e60
push eax
call fcn.00421610
add esp, 8
mov ecx, esp
push 0x54d738
call fcn.004204a0
lea ecx, [esp + 0x20]
call fcn.00422b40
add esp, 4
lea ecx, [esp + 0x18]
push 0x557dec
call fcn.004204a0
push 0x556ed4
lea ecx, [esp + 0x18]
mov byte [esp + 0x1e4], 0x13
call fcn.004204a0
push 2
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
mov byte [esp + 0x1f0], 0x14
call fcn.004219a0
mov byte [esp + 0x1e0], 0x13
jmp 0x49643c
add edi, 0xfffffff4
mov dword [esp + 0x14], edi
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
push 0xc
lea ecx, [esp + 0x40]
mov byte [esp + 0x1e4], 0x15
call fcn.0042c6d0
mov esi, dword [esp + 0x3c]
mov eax, dword [esp + 0x30]
movq xmm0, qword [eax + edi]
movq qword [esi], xmm0
mov eax, dword [eax + edi + 8]
mov dword [esi + 8], eax
movzx eax, byte [esi]
movzx edx, byte [esi + 1]
movzx ecx, byte [esi + 4]
shl eax, 8
or edx, eax
movzx eax, byte [esi + 2]
movzx edi, byte [esi + 8]
shl edx, 8
or edx, eax
movzx eax, byte [esi + 3]
shl edx, 8
or edx, eax
movzx eax, byte [esi + 5]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 6]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 7]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 9]
shl edi, 8
or edi, eax
movzx eax, byte [esi + 0xa]
shl edi, 8
or edi, eax
movzx eax, byte [esi + 0xb]
shl edi, 8
or edi, eax
mov dword [esp + 0x28], edx
mov dword [esp + 0x18], ecx
cmp ecx, 1
jne 0x496afd
cmp edi, 0x50545472
jne 0x496afd
mov edi, dword [esp + 0x14]
sub edi, edx
mov dword [esp + 0x14], edi
js 0x4965e7
cmp edi, 0x2710
jle 0x496612
push edi
lea eax, [esp + 0x20]
push 0x557ea0
push eax
call fcn.00421610
add esp, 8
mov ecx, esp
push 0x54d738
call fcn.004204a0
lea ecx, [esp + 0x20]
call fcn.00422b40
add esp, 4
push edi
lea ecx, [esp + 0x40]
mov dword [esp + 0x44], esi
call fcn.0042c6d0
mov eax, dword [esp + 0x28]
add eax, dword [esp + 0x30]
mov esi, dword [esp + 0x3c]
push edi
push eax
mov eax, dword [esp + 0x48]
sub eax, esi
push eax
push esi
call fcn.004eb47f
and dword [esp + 0x84], 0xfffffe00
xor ecx, ecx
add esp, 0x10
mov dword [esp + 0x18], ecx
mov dword [esp + 0x78], ecx
mov byte [esp + 0x1e0], 0x17
test edi, edi
jle 0x4969f9
mov eax, dword [esp + 0x17c]
mov dword [esp + 0x28], eax
mov edi, edi
mov eax, dword [0x575ba4]
lea edi, [esi + ecx]
mov ecx, 0x575ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x2c], eax
mov byte [esp + 0x1e0], 0x18
test edi, edi
jne 0x496697
xor ecx, ecx
jmp 0x4966a9
mov ecx, edi
lea edx, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4966a0
sub ecx, edx
push ecx
push edi
lea ecx, [esp + 0x34]
call fcn.0042ca60
mov byte [esp + 0x1e0], 0x19
mov edi, dword [esp + 0x2c]
mov ecx, dword [edi - 0xc]
test ecx, ecx
je 0x4969d8
mov eax, dword [esp + 0x18]
inc eax
add eax, ecx
mov dword [esp + 0x18], eax
add esi, eax
mov eax, dword [0x575ba4]
mov ecx, 0x575ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x24], eax
mov byte [esp + 0x1e0], 0x1a
test esi, esi
jne 0x4966fc
xor ecx, ecx
jmp 0x49670a
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x496701
sub ecx, edx
push ecx
push esi
lea ecx, [esp + 0x2c]
call fcn.0042ca60
mov byte [esp + 0x1e0], 0x1b
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
mov eax, dword [esi - 0xc]
test eax, eax
je 0x4968d4
inc ecx
add eax, ecx
cmp dword [esi - 4], 1
mov dword [esp + 0x18], eax
jle 0x49674d
push dword [esi - 0xc]
lea ecx, [esp + 0x28]
call fcn.0042c790
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
and eax, 0xffffff04
or eax, 0x104
mov dword [esp + 0x28], eax
mov dword [esp + 0x17c], eax
mov eax, dword [0x57e594]
mov dword [esp + 0x180], 0
test al, 1
jne 0x496799
or eax, 1
push 0x51a4d0
mov dword [0x57e594], eax
mov dword [0x57e548], 0x54f52c
call fcn.004eb04f
add esp, 4
mov ecx, dword [0x57764c]
push 0xffffffffffffffff
mov eax, dword [ecx]
push esi
call dword [eax + 0xc]
mov dword [esp + 0x174], eax
push ecx
push edi
lea ecx, [esp + 0x74]
mov byte [esp + 0x1e8], 0x1e
call fcn.00439ec0
mov dword [esp + 0x20], eax
lea eax, [esp + 0x174]
push eax
lea ecx, [esp + 0x190]
call fcn.00439400
mov eax, dword [esp + 0x20]
mov ebx, dword [esp + 0x194]
movsx ecx, byte [eax + 8]
mov edi, dword [esp + 0x20]
mov byte [eax + 8], bl
mov edx, dword [eax + 4]
xor ecx, ebx
and ecx, 0xff
xor ebx, ecx
mov ecx, dword [eax]
mov eax, dword [esp + 0x18c]
mov dword [edi], eax
mov eax, dword [esp + 0x190]
mov dword [edi + 4], eax
mov dword [esp + 0x190], edx
mov dword [esp + 0x18c], ecx
mov eax, edi
mov ecx, dword [eax + 8]
mov edx, ecx
shl edx, 0x17
sar edx, 0x1f
mov eax, ebx
xor eax, ecx
shl edx, 8
and eax, 0x100
xor eax, ecx
xor edx, ebx
mov ecx, edi
and edx, 0x100
mov dword [ecx + 8], eax
xor ebx, edx
lea ecx, [esp + 0x18c]
mov dword [esp + 0x194], ebx
call fcn.00439570
lea ecx, [esp + 0x174]
mov byte [esp + 0x1e0], 0x1b
call fcn.00439570
add esi, 0xfffffff0
or ebx, 0xffffffff
mov byte [esp + 0x1e0], 0x19
lea eax, [esi + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
mov edi, dword [esp + 0x2c]
test ecx, ecx
jg 0x496898
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0xfffffff0
mov byte [esp + 0x1e0], 0x17
lea eax, [edi + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4968b9
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x3c]
cmp ecx, dword [esp + 0x14]
jl 0x496670
mov esi, dword [esp + 0x3c]
jmp 0x4969f9
push ecx
push edi
lea eax, [esp + 0x24]
push 0x557fc0
push eax
call fcn.00421610
add esp, 0xc
mov ecx, esp
push 0x54d738
call fcn.004204a0
lea ecx, [esp + 0x20]
call fcn.00422b40
add esp, 4
lea ecx, [esp + 0x14]
push 0x557dec
call fcn.004204a0
push 0x556ed4
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1e4], 0x1c
call fcn.004204a0
push 2
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x34]
push eax
mov byte [esp + 0x1f0], 0x1d
call fcn.004219a0
mov byte [esp + 0x1e0], 0x1c
mov edx, dword [esp + 0x28]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x496967
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x1e0], 0x1b
mov edx, dword [esp + 0x14]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x49698c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [esp + 0x1e0], 0x19
lea eax, [esi + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4969ad
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0xfffffff0
mov byte [esp + 0x1e0], 0x17
lea eax, [edi + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4968cb
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [esp + 0x3c]
jmp 0x4969f9
add edi, 0xfffffff0
mov byte [esp + 0x1e0], 0x17
lea eax, [edi + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4969f9
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esp + 0x1c]
cmp dword [eax - 0xc], 0
jne 0x496add
mov dword [esp + 0x18c], 0x54f550
mov dword [esp + 0x1a4], 0xf
mov dword [esp + 0x1a0], 0
mov byte [esp + 0x190], 0
mov byte [esp + 0x1a8], 0
lea eax, [esp + 0x6c]
push eax
lea eax, [esp + 0x178]
push eax
lea ecx, [esp + 0x194]
mov byte [esp + 0x1e8], 0x1f
call fcn.0043bd30
mov byte [esp + 0x1e0], 0x20
cmp dword [eax + 0x14], 0x10
jb 0x496a69
mov eax, dword [eax]
push eax
mov ecx, 0x57c2c4
call fcn.00420650
mov byte [esp + 0x1e0], 0x1f
cmp dword [esp + 0x188], 0x10
jb 0x496a95
push dword [esp + 0x174]
call fcn.004ea3bd
add esp, 4
mov eax, dword [0x57c2c4]
mov edx, dword [eax - 0xc]
lea ecx, [edx - 1]
test ecx, ecx
js 0x496af3
cmp ecx, edx
jg 0x496af3
cmp word [eax + ecx*2], 0xa
jne 0x496ab9
push ecx
lea eax, [edx - 1]
push eax
call fcn.00498aa0
cmp dword [esp + 0x1a4], 0x10
mov dword [esp + 0x18c], 0x54f550
jb 0x496add
push dword [esp + 0x190]
call fcn.004ea3bd
add esp, 4
lea ecx, [esp + 0x6c]
mov byte [esp + 0x1e0], 0x15
call fcn.00439570
jmp 0x496c6b
push 0x80070057
call fcn.0041fba0
mov eax, dword [0x575ba4]
mov ecx, 0x575ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
push edi
mov byte [esp + 0x1e4], 0x21
push dword [esp + 0x1c]
lea eax, [esp + 0x1c]
push 0x558020
push eax
call fcn.00421610
mov eax, dword [0x575ba4]
add esp, 0x10
mov ecx, 0x575ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x24], eax
mov eax, 0x557dec
mov byte [esp + 0x1e0], 0x22
test eax, 0xffff0000
jne 0x496b73
movzx edi, ax
mov ecx, edi
call fcn.0041fcd0
test eax, eax
je 0x496b83
push edi
push eax
lea ecx, [esp + 0x2c]
call fcn.00420bb0
jmp 0x496b83
push 0x15
push 0x557dec
lea ecx, [esp + 0x2c]
call fcn.00420c80
mov byte [esp + 0x1e0], 0x23
mov eax, dword [0x575ba4]
mov ecx, 0x575ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x20], eax
mov eax, 0x556ed4
mov byte [esp + 0x1e0], 0x24
test eax, 0xffff0000
jne 0x496bce
movzx edi, ax
mov ecx, edi
call fcn.0041fcd0
test eax, eax
je 0x496bde
push edi
push eax
lea ecx, [esp + 0x28]
call fcn.00420bb0
jmp 0x496bde
push 0x10
push 0x556ed4
lea ecx, [esp + 0x28]
call fcn.00420c80
push 0
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x2c]
push eax
mov byte [esp + 0x1f0], 0x25
call fcn.004219a0
mov byte [esp + 0x1e0], 0x23
mov edx, dword [esp + 0x20]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x496c21
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x1e0], 0x21
mov edx, dword [esp + 0x24]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x496c46
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x1e0], 0x15
mov edx, dword [esp + 0x14]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x496c6b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
je 0x496c78
push esi
call fcn.004ea3bd
add esp, 4
push dword [esp + 0x30]
call fcn.004ea3bd
mov eax, dword [esp + 0x54]
add esp, 4
test eax, eax
je 0x496c93
push eax
call dword [0x51b1a0]
mov eax, dword [esp + 0x4c]
mov esi, dword [0x51b104]
cmp eax, 0xffffffff
je 0x496ca5
push eax
call esi
push dword [esp + 0x48]
call esi
mov dword [esp + 0x1e0], 0xffffffff
mov edx, dword [esp + 0x1c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x496cd1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [esp + 0x1d8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1c0]
xor ecx, esp
call fcn.004e9fca
mov esp, ebp
pop ebp
ret