Function at 0x423630
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x4a7a98
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
xor ebx, ebx
push edi
mov esi, ecx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x2c], ebx
call fcn.004951e5
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
mov byte [esp + 0x2c], 1
call fcn.004951e5
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea edi, [eax + 0x10]
mov dword [esp + 0x14], edi
push 0x4b1b06
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 2
call fcn.004019b0
cmp dword [esi + 0x21c], ebx
je 0x423731
mov esi, dword [esp + 0x10]
add esi, 0xfffffff0
push esi
call fcn.004015e0
mov ebx, dword [esp + 0x38]
add eax, 0x10
mov dword [ebx], eax
lea eax, [edi - 0x10]
add esp, 4
mov byte [esp + 0x2c], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4236d9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov byte [esp + 0x2c], 0
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4236f5
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
mov dword [esp + 0x2c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42371b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret 8
push ebp
lea eax, [esi + 0x154]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [esi + 0x1c8]
mov dword [esp + 0x24], edi
call fcn.004951e5
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea ebx, [eax + 0x10]
mov dword [esp + 0x10], ebx
xor ebp, ebp
test edi, edi
mov byte [esp + 0x30], 3
jle 0x4238ea
jmp 0x423770
test ebp, ebp
jl 0x423df4
cmp ebp, dword [esi + 0x1c8]
jge 0x423df4
mov eax, dword [esi + 0x1c4]
lea edi, [ebp*4]
add eax, edi
mov eax, dword [eax]
add eax, 4
push eax
lea ecx, [esp + 0x14]
call fcn.00402060
cmp ebp, dword [esi + 0x1c8]
jge 0x423df4
mov eax, dword [esi + 0x1c4]
add eax, edi
mov eax, dword [eax]
cmp dword [eax + 0x34], 2
jne 0x423807
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x20]
push 0x4b1ba0
push edx
call fcn.00402480
add esp, 0xc
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x34], 4
call fcn.00402060
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x30], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x423807
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
cmp ebp, dword [esi + 0x1c8]
jge 0x423df4
mov eax, dword [esi + 0x1c4]
add eax, edi
mov eax, dword [eax]
mov eax, dword [eax + 8]
push eax
call fcn.0047f3dc
push eax
lea ecx, [esp + 0x28]
push ecx
call fcn.00419290
add esp, 0xc
mov ebx, eax
cmp ebp, dword [esi + 0x1c8]
mov byte [esp + 0x30], 5
jge 0x423df4
mov eax, dword [esi + 0x1c4]
mov ecx, dword [esi + 0x1c8]
add eax, edi
cmp ebp, ecx
jge 0x423df4
mov edx, dword [esi + 0x1c4]
add edx, edi
cmp ebp, ecx
jge 0x423df4
mov eax, dword [eax]
fld dword [eax + 0x2c]
mov edx, dword [edx]
mov ecx, dword [esi + 0x1c4]
mov eax, dword [ebx]
mov ebx, dword [esp + 0x10]
sub esp, 0x10
fstp qword [esp + 8]
add ecx, edi
fld dword [edx + 0x30]
mov ecx, dword [ecx]
mov edx, dword [ecx]
fstp qword [esp]
push eax
push ebx
push edx
lea eax, [esp + 0x34]
push 0x4b1b74
push eax
call fcn.004022f0
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
add esp, 0x24
mov byte [esp + 0x30], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4238cb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.00401d60
mov eax, dword [esp + 0x24]
inc ebp
cmp ebp, eax
jl 0x423770
push 0x4b1b70
xor edi, edi
call fcn.0047e9ef
add esp, 4
push eax
push 0x4b1b70
lea ecx, [esp + 0x1c]
call fcn.00401d60
mov eax, dword [esi + 0x1c4]
cmp eax, edi
je 0x423921
push eax
call fcn.004955bc
add esp, 4
mov dword [esi + 0x1c4], edi
lea eax, [esi + 0x154]
push eax
mov dword [esi + 0x1cc], edi
mov dword [esi + 0x1c8], edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esp + 0x3c]
cmp dword [eax - 0xc], edi
jne 0x423a7d
lea ebp, [esi + 0x18c]
push ebp
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x1f0]
cmp eax, edi
je 0x423a5b
mov eax, dword [esi + 0x21c]
test eax, eax
jne 0x423a5b
mov eax, dword [esi + 0x1f0]
test eax, eax
jle 0x423df4
mov eax, dword [esi + 0x1ec]
mov edi, dword [eax]
lea ecx, [edi + 4]
push ecx
lea ecx, [esp + 0x14]
call fcn.00402060
cmp dword [edi + 0x34], 2
jne 0x4239e2
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x28]
push 0x4b1ba0
push eax
call fcn.00402480
add esp, 0xc
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x34], 6
call fcn.00402060
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x30], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4239e2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [edi + 8]
push eax
call fcn.0047f3dc
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.00419290
fld dword [edi + 0x2c]
mov ebx, dword [esp + 0x1c]
mov edx, dword [edi]
push ecx
mov ecx, dword [eax]
fstp qword [esp + 8]
fld dword [edi + 0x30]
lea eax, [esp + 0x28]
fstp qword [esp]
push ecx
push ebx
push edx
push str._s__s__s__.1f__.1f_
push eax
mov byte [esp + 0x54], 7
call fcn.004022f0
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
add esp, 0x24
mov byte [esp + 0x30], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x423a49
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.00401d60
push 0x4b1b70
call fcn.0047e9ef
add esp, 4
push eax
push 0x4b1b70
lea ecx, [esp + 0x1c]
call fcn.00401d60
push ebp
jmp 0x423bd7
lea eax, [esi + 0x200]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebp, dword [esi + 0x38]
xor edi, edi
test ebp, ebp
jle 0x423bb4
test edi, edi
jl 0x423df4
cmp edi, dword [esi + 0x38]
jge 0x423df4
mov eax, dword [esi + 0x34]
mov ecx, dword [esp + 0x3c]
lea eax, [eax + edi*4]
mov eax, dword [eax]
mov eax, dword [eax]
push eax
push ecx
call fcn.0047e6f7
add esp, 8
test eax, eax
je 0x423ace
inc edi
cmp edi, ebp
jl 0x423a97
jmp 0x423bb4
cmp edi, dword [esi + 0x38]
jge 0x423df4
mov edx, dword [esi + 0x34]
lea edi, [edx + edi*4]
mov edi, dword [edi]
lea eax, [edi + 4]
push eax
lea ecx, [esp + 0x14]
call fcn.00402060
cmp dword [edi + 0x34], 2
jne 0x423b3b
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x28]
push 0x4b1ba0
push edx
call fcn.00402480
add esp, 0xc
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x34], 8
call fcn.00402060
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x30], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x423b3b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [edi + 8]
push eax
call fcn.0047f3dc
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.00419290
fld dword [edi + 0x2c]
mov ebx, dword [esp + 0x1c]
mov edx, dword [edi]
push ecx
mov ecx, dword [eax]
fstp qword [esp + 8]
fld dword [edi + 0x30]
lea eax, [esp + 0x28]
fstp qword [esp]
push ecx
push ebx
push edx
push str._s__s__s__.1f__.1f_
push eax
mov byte [esp + 0x54], 9
call fcn.004022f0
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
add esp, 0x24
mov byte [esp + 0x30], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x423ba2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.00401d60
push 0x4b1b70
call fcn.0047e9ef
add esp, 4
push eax
push 0x4b1b70
lea ecx, [esp + 0x1c]
call fcn.00401d60
lea eax, [esi + 0x200]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea ebp, [esi + 0x170]
push ebp
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x1dc]
test eax, eax
je 0x423d50
mov eax, dword [esi + 0x21c]
test eax, eax
jne 0x423d50
mov eax, dword [esi + 0x1dc]
test eax, eax
jle 0x423df4
mov eax, dword [esi + 0x1d8]
mov eax, dword [eax]
add eax, 4
push eax
lea ecx, [esp + 0x14]
call fcn.00402060
mov eax, dword [esi + 0x1dc]
test eax, eax
jle 0x423df4
mov eax, dword [esi + 0x1d8]
mov eax, dword [eax]
cmp dword [eax + 0x34], 2
jne 0x423c8e
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x28]
push 0x4b1ba0
push edx
call fcn.00402480
add esp, 0xc
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x34], 0xa
call fcn.00402060
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x30], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x423c8e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esi + 0x1dc]
test eax, eax
jle 0x423df4
mov eax, dword [esi + 0x1d8]
mov eax, dword [eax]
mov eax, dword [eax + 8]
push eax
call fcn.0047f3dc
push eax
lea ecx, [esp + 0x2c]
push ecx
call fcn.00419290
add esp, 0xc
mov ecx, dword [esi + 0x1dc]
test ecx, ecx
mov byte [esp + 0x30], 0xb
jle 0x423df4
test ecx, ecx
mov edi, dword [esi + 0x1d8]
jle 0x423df4
test ecx, ecx
mov edx, edi
jle 0x423df4
mov edx, dword [edx]
mov eax, dword [eax]
mov ebx, dword [esp + 0x10]
sub esp, 0x10
mov ecx, edi
mov edi, dword [edi]
fld dword [edi + 0x2c]
mov ecx, dword [ecx]
fstp qword [esp + 8]
fld dword [edx + 0x30]
mov edx, dword [ecx]
fstp qword [esp]
push eax
push ebx
push edx
lea eax, [esp + 0x34]
push str._s__s__s__.1f__.1f_
push eax
call fcn.004022f0
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
add esp, 0x24
mov byte [esp + 0x30], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x423d3e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.00401d60
push 0x4b1b70
call fcn.0047e9ef
add esp, 4
push eax
push 0x4b1b70
lea ecx, [esp + 0x1c]
call fcn.00401d60
mov eax, dword [esi + 0x1d8]
test eax, eax
je 0x423d89
push eax
call fcn.004955bc
add esp, 4
mov dword [esi + 0x1d8], 0
xor edi, edi
push ebp
mov dword [esi + 0x1e0], edi
mov dword [esi + 0x1dc], edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.004951e5
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x1c], eax
mov ebp, dword [esp + 0x14]
push ebp
lea eax, [esp + 0x20]
push str._______________s______________
push eax
mov byte [esp + 0x3c], 0xc
call fcn.004022f0
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
add ebp, 0xfffffff0
add esp, 0xc
call dword [edx + 0x10]
mov ecx, dword [ebp + 0xc]
cmp ecx, edi
lea edx, [ebp + 0xc]
jl 0x423df9
cmp eax, dword [ebp]
jne 0x423df9
mov eax, ebp
mov ecx, 1
lock xadd dword [edx], ecx
jmp 0x423e2e
call fcn.00493977
mov ecx, dword [ebp + 4]
mov edx, dword [eax]
push 2
push ecx
mov ecx, eax
call dword [edx]
cmp eax, edi
jne 0x423e0e
call fcn.004012c0
mov edx, dword [ebp + 4]
mov dword [eax + 4], edx
mov ecx, dword [ebp + 4]
inc ecx
add ecx, ecx
mov edx, ecx
shr ecx, 2
lea esi, [ebp + 0x10]
lea edi, [eax + 0x10]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x38]
add eax, 0x10
mov dword [esi], eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x30], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x423e5a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [ebx - 0x10]
mov byte [esp + 0x30], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x423e79
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x30], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x423e9c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov byte [esp + 0x30], 0
lea eax, [ebp + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x423eb9
mov ecx, dword [ebp]
mov edx, dword [ecx]
push ebp
call dword [edx + 4]
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
mov dword [esp + 0x30], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x423edf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x28]
pop ebp
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 8