Function at 0x423d80
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4915eb
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x4b3c40]
xor eax, esp
mov dword [esp + 0x238], eax
push ebx
push esi
push edi
mov eax, dword [0x4b3c40]
xor eax, esp
push eax
lea eax, [esp + 0x250]
mov dword fs:[0], eax
mov eax, dword [0x4b5e2c]
mov esi, dword [ebp + 8]
mov edx, dword [eax + 0xc]
mov edi, ecx
mov ecx, 0x4b5e2c
mov dword [esp + 0x20], esi
call edx
add eax, 0x10
mov dword [esp + 0x1c], eax
xor eax, eax
push 0x21a
push eax
lea ecx, [esp + 0x2e]
push ecx
mov dword [esp + 0x264], 0
mov word [esp + 0x30], ax
call fcn.004453c0
mov eax, dword [esi + 0x14]
mov edx, dword [eax]
mov ebx, dword [esi]
add esp, 0xc
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 0x20]
mov esi, dword [esi + 0x14]
mov eax, dword [eax]
test ebx, ebx
je 0x423e24
cmp ebx, eax
je 0x423e29
call fcn.00446828
cmp dword [esp + 0x14], esi
je 0x4241f3
add dword [edi + 0x10], 0x7d0
test ebx, ebx
jne 0x423f37
call fcn.00446828
xor eax, eax
mov ecx, dword [esp + 0x14]
cmp ecx, dword [eax + 0x14]
jne 0x423e57
call fcn.00446828
mov edx, dword [esp + 0x14]
mov esi, 2
cmp dword [edx + 0xc], esi
jne 0x423e71
mov eax, dword [edi + 0x24]
cmp byte [eax], 0
je case.default.0x423f30
test ebx, ebx
jne 0x423f3e
call fcn.00446828
xor eax, eax
mov ecx, dword [esp + 0x14]
cmp ecx, dword [eax + 0x14]
jne 0x423e8e
call fcn.00446828
mov edx, dword [esp + 0x14]
cmp dword [edx + 0xc], 1
jne 0x423ea4
mov eax, dword [edi + 0x24]
cmp byte [eax], 0
jne case.default.0x423f30
test ebx, ebx
jne 0x423f45
call fcn.00446828
xor eax, eax
mov ecx, dword [esp + 0x14]
cmp ecx, dword [eax + 0x14]
jne 0x423ec1
call fcn.00446828
mov edx, dword [esp + 0x14]
cmp dword [edx + 0x14], 1
jne 0x423ed8
mov eax, dword [edi + 0x24]
cmp byte [eax + 1], 0
jne case.default.0x423f30
test ebx, ebx
jne 0x423f4c
call fcn.00446828
xor eax, eax
mov ecx, dword [esp + 0x14]
cmp ecx, dword [eax + 0x14]
jne 0x423ef1
call fcn.00446828
mov edx, dword [esp + 0x14]
cmp dword [edx + 0x14], esi
jne 0x423f07
mov eax, dword [edi + 0x24]
cmp byte [eax + 1], 0
je case.default.0x423f30
test ebx, ebx
jne 0x423f50
call fcn.00446828
xor eax, eax
mov ecx, dword [esp + 0x14]
cmp ecx, dword [eax + 0x14]
jne 0x423f20
call fcn.00446828
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x10]
cmp eax, 5
ja case.default.0x423f30
jmp dword [eax*4 + 0x424248]
mov eax, dword [ebx]
jmp 0x423e49
mov eax, dword [ebx]
jmp 0x423e80
mov eax, dword [ebx]
jmp 0x423eb3
mov eax, dword [ebx]
jmp 0x423ee3
mov eax, dword [ebx]
jmp 0x423f12
lea eax, [esp + 0x1b]
push eax
lea ecx, [edi + 0x20]
push ecx
lea ecx, [esp + 0x18]
mov byte [esp + 0x23], 1
call fcn.00422f80
mov ecx, dword [edi]
push eax
call fcn.0041e620
cmp byte [esp + 0x1b], 0
jne case.default.0x423f30
lea ecx, [esp + 0x1c]
call fcn.0040da40
mov eax, 1
jmp 0x424220
lea ecx, [esp + 0x10]
call fcn.00422fb0
cmp word [eax + 0x62c], 0
je 0x423fbb
lea ecx, [esp + 0x10]
call fcn.00422fb0
add eax, 0x62c
push eax
lea ecx, [edi + 0x20]
call fcn.0040eda0
lea ecx, [esp + 0x10]
call fcn.00422fb0
add eax, 0x14
push eax
lea ecx, [esp + 0x14]
call fcn.00422fb0
add eax, 0x21c
push eax
mov ecx, edi
call fcn.00422d80
cmp eax, 1
je 0x423f7e
jmp case.default.0x423f30
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x14]
call fcn.00422fb0
mov ecx, dword [edi]
add eax, 0x21c
push eax
call fcn.0041d130
push 0x21c
lea eax, [esp + 0x28]
push 0
push eax
call fcn.004453c0
mov eax, dword [esp + 0x28]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea edx, [esp + 0x38]
push edx
call int.00446642
add esp, 0x18
lea ecx, [esp + 0x10]
call fcn.00422fb0
mov ecx, 0x31
cmp cx, word [eax + 0x424]
jne 0x42406b
lea ecx, [esp + 0x10]
call fcn.00422fb0
xor edx, edx
cmp dx, word [eax + 0x426]
jne 0x42406b
mov ecx, dword [edi]
push 0x104
lea eax, [esp + 0x28]
push eax
call fcn.00419fc0
jmp case.default.0x423f30
lea ecx, [esp + 0x24]
push ecx
call dword [0x4943f4]
test eax, eax
jne case.default.0x423f30
lea edx, [esp + 0x24]
push edx
call dword [0x49431c]
jmp case.default.0x423f30
lea ecx, [esp + 0x10]
call fcn.00422fb0
add eax, 0x21c
push eax
call fcn.00421810
add esp, 4
jmp case.default.0x423f30
lea ecx, [esp + 0x10]
call fcn.00422fb0
add eax, 0x424
push eax
push 0x495954
call fcn.00445568
add esp, 8
test eax, eax
jne 0x4240d8
push eax
mov eax, dword [edi + 0x24]
mov ecx, dword [eax + 4]
push ecx
call dword [0x494424]
lea ecx, [esp + 0x10]
call fcn.00422fb0
add eax, 0x424
push eax
push 0x495948
call fcn.00445568
add esp, 8
test eax, eax
jne 0x424109
mov edx, dword [edi + 0x24]
mov eax, dword [edx + 4]
push 5
push eax
call dword [0x494424]
jmp case.0x423f30.5
lea ecx, [esp + 0x10]
call fcn.00422fb0
add eax, 0x424
push eax
push 0x495938
call fcn.00445568
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
jne 0x424149
push eax
push eax
call fcn.00422fb0
mov ecx, dword [edi + 0x24]
mov edx, dword [ecx + 4]
add eax, 0x62c
push eax
push edx
call dword [0x494518]
jmp case.0x423f30.5
call fcn.00422fb0
add eax, 0x424
push eax
push 0x49592c
call fcn.00445568
add esp, 8
test eax, eax
jne case.0x423f30.5
mov byte [edi + 0xa], 1
test ebx, ebx
jne 0x4241eb
call fcn.00446828
xor eax, eax
mov ecx, dword [esp + 0x14]
cmp ecx, dword [eax + 0x14]
jne 0x424182
call fcn.00446828
mov edx, dword [esp + 0x14]
push 0xd
add edx, 0x42c
push edx
push 0x495910
call fcn.00447334
add esp, 0xc
test eax, eax
jne case.default.0x423f30
cmp byte [edi + 0xa], al
je case.default.0x423f30
lea eax, [esp + 0x1b]
push eax
lea ecx, [edi + 0x20]
push ecx
lea ecx, [esp + 0x18]
call fcn.00422f80
mov ecx, dword [edi]
push eax
call fcn.0041e620
test ebx, ebx
jne 0x4241ef
call fcn.00446828
xor eax, eax
mov edx, dword [esp + 0x14]
cmp edx, dword [eax + 0x14]
jne 0x4241d8
call fcn.00446828
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov esi, dword [esp + 0x20]
mov dword [esp + 0x14], ecx
jmp 0x423e13
mov eax, dword [ebx]
jmp 0x424174
mov eax, dword [ebx]
jmp 0x4241ca
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov dword [esp + 0x258], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42421e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x250]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x238]
xor ecx, esp
call fcn.004453a3
mov esp, ebp
pop ebp
ret 4