Function at 0x54fea0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5afb28
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push ebp
push esi
push edi
mov eax, dword [0x615370]
xor eax, esp
push eax
lea eax, [esp + 0x6c]
mov dword fs:[0], eax
mov ebp, ecx
mov eax, dword [ebp + 0x1b0]
xor esi, esi
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], esi
mov dword [esp + 0x74], esi
mov dword [esp + 0x14], esi
mov byte [esp + 0x74], 1
mov edx, dword [0x621148]
mov eax, dword [edx + 0xc]
mov ecx, 0x621148
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
mov dword [esp + 0x50], esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x48], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], esi
mov byte [esp + 0x74], 0xa
mov edx, dword [0x621148]
mov eax, dword [edx + 0xc]
mov ecx, 0x621148
xor ebx, ebx
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], esi
call eax
add eax, 0x10
mov dword [esp + 0x30], eax
mov byte [esp + 0x74], 0xb
mov edx, dword [0x621148]
mov eax, dword [edx + 0xc]
mov ecx, 0x621148
call eax
add eax, 0x10
mov dword [esp + 0x2c], eax
mov byte [esp + 0x74], 0xc
mov edx, dword [0x621148]
mov eax, dword [edx + 0xc]
mov ecx, 0x621148
call eax
add eax, 0x10
mov dword [esp + 0x28], eax
mov byte [esp + 0x74], 0xd
mov edx, dword [0x621148]
mov eax, dword [edx + 0xc]
mov ecx, 0x621148
call eax
add eax, 0x10
mov dword [esp + 0x24], eax
mov byte [esp + 0x74], 0xe
mov eax, dword [ebp + 0x1ac]
cmp eax, esi
jne 0x5500f0
mov edi, dword [ebp + 0x138]
cmp edi, esi
je 0x54ffc0
mov ecx, dword [edi]
mov edx, dword [ecx + 4]
push edi
call edx
mov dword [esp + 0x50], edi
mov edi, dword [ebp + 0x13c]
cmp edi, esi
je 0x54ffd6
mov eax, dword [edi]
mov ecx, dword [eax + 4]
push edi
call ecx
mov dword [esp + 0x4c], edi
mov edi, dword [ebp + 0x140]
lea ebx, [ebp + 0x140]
cmp edi, esi
je 0x54fff2
mov edx, dword [edi]
mov eax, dword [edx + 4]
push edi
call eax
mov dword [esp + 0x48], edi
cmp dword [ebp + 0x144], esi
lea eax, [ebp + 0x144]
jne 0x550002
mov eax, ebx
mov edi, dword [eax]
cmp edi, esi
je 0x550014
mov ecx, dword [edi]
mov edx, dword [ecx + 4]
push edi
call edx
mov dword [esp + 0x44], edi
mov edi, dword [ebp + 0x158]
cmp edi, esi
je 0x55002a
mov eax, dword [edi]
mov ecx, dword [eax + 4]
push edi
call ecx
mov dword [esp + 0x40], edi
mov edi, dword [ebp + 0x15c]
cmp edi, esi
je 0x550040
mov edx, dword [edi]
mov eax, dword [edx + 4]
push edi
call eax
mov dword [esp + 0x3c], edi
mov edi, dword [ebp + 0x160]
lea ebx, [ebp + 0x160]
cmp edi, esi
je 0x55005c
mov ecx, dword [edi]
mov edx, dword [ecx + 4]
push edi
call edx
mov dword [esp + 0x38], edi
cmp dword [ebp + 0x164], esi
lea eax, [ebp + 0x164]
jne 0x55006c
mov eax, ebx
mov edi, dword [eax]
cmp edi, esi
je 0x55007e
mov eax, dword [edi]
mov ecx, dword [eax + 4]
push edi
call ecx
mov dword [esp + 0x34], edi
mov edx, dword [ebp + 0x1b8]
mov eax, dword [ebp + 0x1bc]
mov esi, dword [ebp + 0x1b0]
mov ebx, dword [ebp + 0x1b4]
mov dword [esp + 0x54], edx
mov dword [esp + 0x58], eax
lea eax, [ebp + 0x1c4]
lea edi, [esp + 0x30]
call fcn.00406500
lea eax, [ebp + 0x1c8]
lea edi, [esp + 0x2c]
call fcn.00406500
lea eax, [ebp + 0x1cc]
lea edi, [esp + 0x28]
call fcn.00406500
lea eax, [ebp + 0x1d0]
lea edi, [esp + 0x24]
call fcn.00406500
mov eax, dword [ebp + 0x178]
cmp eax, 3
ja case.default.0x5500e9
jmp dword [eax*4 + 0x5505b8]
cmp eax, 2
jne 0x55009e
mov edi, dword [ebp + 0x148]
cmp edi, esi
je 0x55010b
mov ecx, dword [edi]
mov edx, dword [ecx + 4]
push edi
call edx
mov dword [esp + 0x50], edi
mov edi, dword [ebp + 0x14c]
cmp edi, esi
je 0x550121
mov eax, dword [edi]
mov ecx, dword [eax + 4]
push edi
call ecx
mov dword [esp + 0x4c], edi
mov edi, dword [ebp + 0x150]
lea ebx, [ebp + 0x150]
cmp edi, esi
je 0x55013d
mov edx, dword [edi]
mov eax, dword [edx + 4]
push edi
call eax
mov dword [esp + 0x48], edi
cmp dword [ebp + 0x154], esi
lea eax, [ebp + 0x154]
jne 0x55014d
mov eax, ebx
mov edi, dword [eax]
cmp edi, esi
je 0x55015f
mov ecx, dword [edi]
mov edx, dword [ecx + 4]
push edi
call edx
mov dword [esp + 0x44], edi
mov edi, dword [ebp + 0x168]
cmp edi, esi
je 0x550175
mov eax, dword [edi]
mov ecx, dword [eax + 4]
push edi
call ecx
mov dword [esp + 0x40], edi
mov edi, dword [ebp + 0x16c]
cmp edi, esi
je 0x55018b
mov edx, dword [edi]
mov eax, dword [edx + 4]
push edi
call eax
mov dword [esp + 0x3c], edi
mov edi, dword [ebp + 0x170]
lea ebx, [ebp + 0x170]
cmp edi, esi
je 0x5501a7
mov ecx, dword [edi]
mov edx, dword [ecx + 4]
push edi
call edx
mov dword [esp + 0x38], edi
cmp dword [ebp + 0x174], esi
lea eax, [ebp + 0x174]
jne 0x5501b7
mov eax, ebx
mov edi, dword [eax]
cmp edi, esi
je 0x5501c9
mov eax, dword [edi]
mov ecx, dword [eax + 4]
push edi
call ecx
mov dword [esp + 0x34], edi
mov esi, dword [ebp + 0x1c0]
lea eax, [ebp + 0x1d4]
lea edi, [esp + 0x30]
mov ebx, esi
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], esi
call fcn.00406500
lea eax, [ebp + 0x1d4]
lea edi, [esp + 0x2c]
call fcn.00406500
lea eax, [ebp + 0x1d4]
lea edi, [esp + 0x28]
call fcn.00406500
lea eax, [ebp + 0x1d4]
jmp 0x5500d1
mov edi, dword [esp + 0x50]
test edi, edi
je 0x550225
mov edx, dword [edi]
mov eax, dword [edx + 4]
push edi
call eax
mov dword [esp + 0x18], edi
mov edi, dword [esp + 0x40]
test edi, edi
je 0x550239
mov ecx, dword [edi]
mov edx, dword [ecx + 4]
push edi
call edx
mov dword [esp + 0x14], edi
mov dword [esp + 0x20], esi
lea eax, [esp + 0x30]
jmp 0x5502e2
mov esi, dword [esp + 0x4c]
test esi, esi
je 0x55025a
mov eax, dword [esi]
mov ecx, dword [eax + 4]
push esi
call ecx
mov dword [esp + 0x18], esi
mov esi, dword [esp + 0x3c]
test esi, esi
je 0x55026e
mov edx, dword [esi]
mov eax, dword [edx + 4]
push esi
call eax
mov dword [esp + 0x14], esi
mov dword [esp + 0x20], ebx
lea eax, [esp + 0x2c]
jmp 0x5502e2
mov esi, dword [esp + 0x48]
test esi, esi
je 0x55028c
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
push esi
call edx
mov dword [esp + 0x18], esi
mov esi, dword [esp + 0x38]
test esi, esi
je 0x5502a0
mov eax, dword [esi]
mov ecx, dword [eax + 4]
push esi
call ecx
mov dword [esp + 0x14], esi
mov edx, dword [esp + 0x54]
mov dword [esp + 0x20], edx
lea eax, [esp + 0x28]
jmp 0x5502e2
mov esi, dword [esp + 0x44]
test esi, esi
je 0x5502c2
mov eax, dword [esi]
mov ecx, dword [eax + 4]
push esi
call ecx
mov dword [esp + 0x18], esi
mov esi, dword [esp + 0x34]
test esi, esi
je 0x5502d6
mov edx, dword [esi]
mov eax, dword [edx + 4]
push esi
call eax
mov dword [esp + 0x14], esi
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x20], ecx
lea eax, [esp + 0x24]
lea edi, [esp + 0x1c]
call fcn.00406500
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x84]
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x8c]
mov ebx, dword [esp + 0x80]
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], edx
test eax, eax
je 0x55033e
mov edi, dword [eax]
sub esp, 0x10
mov eax, esp
mov dword [eax], ebx
mov dword [eax + 4], esi
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x28]
mov dword [eax + 0xc], edx
mov edx, dword [esp + 0x8c]
mov eax, dword [edi + 0x2c]
push edx
call eax
mov edi, dword [esp + 0x14]
test edi, edi
je 0x5503a0
cmp dword [ebp + 0x180], 0
je 0x5503a0
mov eax, dword [ebp + 0x1a0]
mov ecx, dword [ebp + 0x1a8]
mov edx, dword [ebp + 0x1a4]
add eax, esi
add ecx, esi
mov esi, dword [ebp + 0x19c]
mov dword [esp + 0x58], eax
mov eax, dword [edi]
sub esp, 0x10
mov dword [esp + 0x64], eax
mov eax, esp
add esi, ebx
mov dword [eax], esi
mov esi, dword [esp + 0x68]
add edx, ebx
mov dword [eax + 4], esi
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x8c]
mov eax, dword [esp + 0x64]
mov edx, dword [eax + 0x2c]
push ecx
mov ecx, edi
call edx
mov eax, dword [ebp + 0x17c]
test eax, eax
je 0x550416
cmp dword [ebp + 0x184], 0
je 0x550416
mov esi, dword [esp + 0x1c]
call fcn.0055cc50
mov eax, dword [ebp + 0x17c]
mov ecx, dword [esp + 0x20]
mov dword [eax + 0x5c], ecx
mov ecx, dword [ebp + 0x17c]
mov edx, dword [ebp + 0x198]
mov esi, dword [ebp + 0x194]
mov edi, dword [ebp + 0x190]
mov ebp, dword [ebp + 0x18c]
add edi, dword [esp + 0x60]
add edx, dword [esp + 0x60]
sub esp, 0x10
mov eax, esp
add ebp, ebx
mov dword [eax], ebp
add esi, ebx
mov ebx, dword [ecx]
mov dword [eax + 4], edi
mov dword [eax + 8], esi
mov dword [eax + 0xc], edx
mov edx, dword [esp + 0x8c]
mov eax, dword [ebx + 0x2c]
push edx
call eax
mov edi, dword [esp + 0x14]
mov byte [esp + 0x74], 0xd
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x55043b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x74], 0xc
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x550460
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x74], 0xb
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x550485
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x74], 0xa
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x5504aa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x74], 9
mov eax, dword [esp + 0x34]
test eax, eax
je 0x5504bf
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x74], 8
mov eax, dword [esp + 0x38]
test eax, eax
je 0x5504d4
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x74], 7
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x5504e9
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x74], 6
mov eax, dword [esp + 0x40]
test eax, eax
je 0x5504fe
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x74], 5
mov eax, dword [esp + 0x44]
test eax, eax
je 0x550513
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x74], 4
mov eax, dword [esp + 0x48]
test eax, eax
je 0x550528
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x74], 3
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x55053d
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x74], 2
mov eax, dword [esp + 0x50]
test eax, eax
je 0x550552
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x74], 1
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 0x550577
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x74], 0
test edi, edi
je 0x550588
mov ecx, dword [edi]
mov edx, dword [ecx + 8]
push edi
call edx
mov dword [esp + 0x74], 0xffffffff
mov eax, dword [esp + 0x18]
test eax, eax
je 0x5505a0
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
xor eax, eax
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret 0x14