Function at 0x454fd0
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x499a7d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5c
mov eax, dword [esp + 0x6c]
push esi
mov esi, ecx
push edi
mov ecx, dword [eax + 0x18]
xor edx, edx
mov edi, dword [esi + 0x1c]
xor eax, eax
cmp ecx, edi
mov dword [esp + 0xc], edx
sete al
mov ecx, eax
mov eax, dword [0x4be818]
mov dword [esp + 0x10], edx
mov dword [esp + 0x20], edx
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x6c], edx
mov dword [esp + 8], eax
cmp ecx, edx
mov byte [esp + 0x6c], 1
mov dword [esp + 0x3c], edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], edx
jne 0x4556c2
mov ecx, dword [esp + 0x74]
xor edi, edi
add ecx, 0x48
mov eax, dword [ecx + 4]
cmp eax, edi
jne 0x455053
xor ecx, ecx
jmp 0x45505b
mov ecx, dword [ecx + 8]
sub ecx, eax
sar ecx, 2
mov edx, dword [0x4c368c]
push ebx
push ebp
xor ebx, ebx
mov eax, dword [edx + 0x714]
xor ebp, ebp
cmp ecx, edi
mov dword [esp + 0x24], ecx
mov edx, dword [eax + 0x1300]
mov dword [esp + 0x2c], edi
mov dword [esp + 0x40], 0xffffffff
mov dword [esp + 0x34], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x30], edx
jbe 0x455169
mov eax, dword [esp + 0x7c]
add eax, 0x48
mov eax, dword [eax + 4]
mov eax, dword [eax + ebp*4]
mov dword [esp + 0x18], eax
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x45515c
mov ecx, dword [eax + 0x20]
test ecx, ecx
je 0x45515c
mov ecx, eax
push ecx
mov ecx, esi
call fcn.00452b70
test eax, eax
je 0x4550d4
mov dword [esp + 0x3c], 1
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x38], 1
mov ecx, dword [edx + 4]
add eax, dword [ecx + 0x24]
cmp edi, eax
mov dword [esp + 0x2c], eax
jge 0x455124
lea eax, [edi + 0xa]
cmp eax, 0x3e8
jg 0x455169
cmp eax, dword [esp + 0x30]
ja 0x455124
mov edx, dword [0x4c368c]
mov edi, eax
mov eax, dword [edx + 0x714]
mov edx, dword [esp + 0x1c]
mov eax, dword [eax + 0x12e8]
lea ecx, [eax + eax*4]
lea eax, [edx + ecx*2]
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x18]
push ecx
mov ecx, esi
call fcn.00452b70
test eax, eax
je 0x45515c
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 4]
mov edx, dword [esp + 0x1c]
mov ecx, dword [eax + 0x3c]
add ebx, ecx
mov ecx, dword [esp + 0x34]
mov eax, ebx
sub eax, edx
cmp eax, ecx
jle 0x45515c
mov dword [esp + 0x34], eax
mov dword [esp + 0x40], ebp
mov dword [esp + 0x20], edi
mov eax, dword [esp + 0x24]
inc ebp
cmp ebp, eax
jb 0x455097
mov eax, dword [0x4c3098]
test al, 0x80
je 0x4556aa
xor edi, edi
mov dword [esp + 0x2c], edi
mov edx, dword [esp + 0x7c]
mov eax, dword [edx + 0x5c]
lea ecx, [edx + 0x48]
test eax, eax
je 0x455436
mov ebx, dword [ecx + 0x18]
sub ebx, eax
sar ebx, 2
cmp edi, ebx
jae 0x455436
mov eax, dword [edx + 0x30]
lea ebp, [edx + 0x30]
cmp eax, 2
ja 0x455436
mov eax, dword [ecx + 0x14]
mov ecx, dword [esp + 0x18]
mov edi, dword [eax + edi*4]
mov eax, dword [ecx + 0x34]
test eax, eax
je 0x455426
cmp dword [edi + 4], 3
jne 0x455426
mov edx, dword [edi]
mov ecx, esi
push edx
call fcn.00441e20
mov dword [esp + 0x1c], eax
mov eax, dword [0x4c30a8]
test eax, eax
jne 0x455201
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x7c]
push eax
mov ecx, esi
lea eax, [ebx + 0x48]
push eax
call fcn.004581c0
test eax, eax
jne 0x455426
jmp 0x455205
mov ebx, dword [esp + 0x7c]
mov edx, dword [edi]
lea ecx, [esp + 0x58]
push ecx
push edx
push ebx
mov ecx, esi
call fcn.00449520
test eax, eax
je 0x455354
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov dword [edi + 4], 2
mov eax, dword [ebx + 0x4c]
test eax, eax
jne 0x455238
xor edx, edx
jmp 0x455240
mov edx, dword [ebx + 0x50]
sub edx, eax
sar edx, 2
xor ecx, ecx
test edx, edx
jbe 0x45526f
mov eax, dword [ebx + 0x4c]
mov eax, dword [eax + ecx*4]
mov dword [esp + 0x18], eax
mov ebp, dword [eax + 8]
test ebp, ebp
je 0x45526a
mov ebp, dword [eax]
cmp ebp, dword [edi]
jne 0x45526a
cmp dword [eax + 0x38], 3
jne 0x45526a
mov dword [eax + 0x38], 2
inc ecx
cmp ecx, edx
jb 0x455246
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x45527f
mov ebp, dword [eax + 0xc]
mov edi, dword [eax + 0x10]
jmp 0x4552b6
push 0x4bd750
lea ecx, [esp + 0x50]
call fcn.004844a1
or dword [esp + 0x14], 1
mov ebp, dword [eax]
push 0x4bd74c
lea ecx, [esp + 0x4c]
mov byte [esp + 0x78], 2
call fcn.004844a1
or dword [esp + 0x14], 2
mov edi, dword [eax]
mov dword [esp + 0x74], 3
lea eax, [esp + 0x34]
push ebx
push eax
mov ecx, esi
call fcn.00449860
mov ecx, dword [esp + 0x60]
mov edx, dword [eax]
push ebp
push edi
push ecx
push edx
lea eax, [esp + 0x20]
push 0x4bd738
push eax
mov dword [esp + 0x8c], 4
call fcn.004827a3
add esp, 0x18
lea ecx, [esp + 0x34]
mov byte [esp + 0x74], 3
call fcn.00484433
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x74], 2
test bl, 2
je 0x455319
and ebx, 0xfffffffd
lea ecx, [esp + 0x48]
mov dword [esp + 0x14], ebx
call fcn.00484433
test bl, 1
mov dword [esp + 0x74], 1
je 0x455336
and ebx, 0xfffffffe
lea ecx, [esp + 0x4c]
mov dword [esp + 0x14], ebx
call fcn.00484433
mov eax, dword [esp + 0x10]
mov edx, dword [esi]
push eax
push 0xa
mov ecx, esi
call dword [edx + 4]
mov eax, dword [esp + 0x2c]
inc eax
mov dword [esp + 0x2c], eax
mov edi, eax
jmp 0x45517c
push 0x4bd408
lea ecx, [esp + 0x5c]
call fcn.0048241d
test eax, eax
jl 0x45536d
push ebp
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x45537c
mov ecx, eax
mov edi, dword [ecx + 0xc]
jmp 0x455396
push 0x4bd750
lea ecx, [esp + 0x58]
call fcn.004844a1
or dword [esp + 0x14], 4
mov edi, dword [eax]
mov byte [esp + 0x74], 5
lea edx, [esp + 0x50]
push ebx
push edx
mov ecx, esi
call fcn.00449860
mov ecx, dword [esp + 0x58]
mov edx, dword [eax]
push ecx
push edi
push edx
lea eax, [esp + 0x1c]
push 0x4bd720
push eax
mov dword [esp + 0x88], 6
call fcn.004827a3
add esp, 0x14
lea ecx, [esp + 0x50]
mov byte [esp + 0x74], 5
call fcn.00484433
mov al, byte [esp + 0x14]
mov edi, 1
test al, 4
mov dword [esp + 0x74], edi
je 0x4553fb
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x54]
and al, 0xfb
mov dword [esp + 0x14], eax
call fcn.00484433
push 0x4bd408
lea ecx, [esp + 0x5c]
call fcn.0048241d
test eax, eax
jl 0x455414
push ebp
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov eax, dword [esp + 0x10]
mov edx, dword [esi]
push eax
push 0xb
mov ecx, esi
call dword [edx + 4]
mov dword [esp + 0x28], edi
mov eax, dword [esp + 0x2c]
inc eax
mov dword [esp + 0x2c], eax
mov edi, eax
jmp 0x45517c
mov eax, dword [0x4c3098]
test al, 0x80
je 0x4556aa
test ah, 1
je 0x455579
mov ecx, dword [esp + 0x30]
mov eax, dword [0x4c3104]
cmp ecx, eax
jb 0x455579
mov eax, dword [0x4c30c8]
test eax, eax
je 0x455476
cmp dword [esi + 0x184], 0x12c
jae 0x455579
mov eax, dword [0x4c30bc]
test eax, eax
je 0x4554aa
mov eax, dword [esp + 0x38]
test eax, eax
je 0x455579
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x455579
mov ecx, dword [esp + 0x30]
mov eax, 0xa
cmp ecx, eax
jb 0x4554b6
mov dword [esp + 0x20], eax
jmp 0x4554c2
mov eax, dword [esp + 0x40]
test eax, eax
jl 0x455579
mov eax, dword [esp + 0x20]
test eax, eax
je 0x455579
mov ebp, dword [esp + 0x20]
mov edi, dword [esp + 0x7c]
lea edx, [esp + 0x58]
mov ecx, esi
push edx
push ebp
push 0
push edi
call fcn.0044ad00
test eax, eax
push edi
je 0x455527
lea eax, [esp + 0x58]
mov ecx, esi
push eax
call fcn.00449860
mov ecx, dword [eax]
push ebp
push ecx
lea edx, [esp + 0x18]
push 0x4bd700
push edx
mov byte [esp + 0x84], 7
call fcn.004827a3
add esp, 0x10
lea ecx, [esp + 0x54]
mov byte [esp + 0x74], 1
call fcn.00484433
mov ecx, dword [esp + 0x10]
mov eax, dword [esi]
push ecx
push 0xa
mov ecx, esi
call dword [eax + 4]
jmp 0x455579
lea edx, [esp + 0x58]
mov ecx, esi
push edx
call fcn.00449860
mov ecx, dword [esp + 0x58]
mov edx, dword [eax]
push ecx
push edx
lea eax, [esp + 0x18]
push 0x4bd6e0
push eax
mov byte [esp + 0x84], 8
call fcn.004827a3
add esp, 0x10
lea ecx, [esp + 0x54]
mov byte [esp + 0x74], 1
call fcn.00484433
mov eax, dword [esp + 0x10]
mov edx, dword [esi]
push eax
push 0xb
mov ecx, esi
mov dword [esp + 0x30], 1
call dword [edx + 4]
mov eax, dword [esp + 0x24]
xor ebx, ebx
test eax, eax
jbe 0x4556aa
mov ebp, dword [esp + 0x7c]
mov eax, dword [ebp + 0x4c]
mov edi, dword [eax + ebx*4]
mov eax, dword [edi + 8]
test eax, eax
je 0x455681
cmp dword [ebp + 0x30], 2
ja 0x45568e
push edi
mov ecx, esi
call fcn.00452b70
test eax, eax
je 0x455681
push edi
mov ecx, esi
call fcn.00452b60
test eax, eax
jne 0x455681
mov eax, dword [0x4c30c8]
mov dword [esp + 0x44], 1
test eax, eax
je 0x4555e7
cmp dword [esi + 0x184], 0x12c
jae 0x455681
mov edx, dword [edi + 0x24]
lea ecx, [esp + 0x58]
push ecx
push edx
push ebp
mov ecx, esi
call fcn.004482c0
test eax, eax
push ebp
je 0x455709
lea eax, [esp + 0x58]
mov ecx, esi
push eax
call fcn.00449860
mov ecx, dword [edi + 4]
mov byte [esp + 0x74], 9
mov edx, dword [ecx + 8]
mov ecx, dword [edi + 0x24]
push edx
mov edx, dword [eax]
push ecx
push edx
lea eax, [esp + 0x1c]
push 0x4bd6c4
push eax
call fcn.004827a3
add esp, 0x14
lea ecx, [esp + 0x54]
mov byte [esp + 0x74], 1
call fcn.00484433
mov ecx, dword [ebp + 0x18]
mov eax, dword [esi + 0x1c]
cmp ecx, eax
je 0x455673
lea edx, [esp + 0x58]
mov ecx, esi
push edx
push 1
call fcn.004576d0
test al, 1
jne 0x455673
mov eax, dword [0x4c30c8]
test eax, eax
je 0x455673
push 0x4bd6b4
lea ecx, [esp + 0x14]
call fcn.0048480f
mov ecx, dword [esp + 0x10]
mov eax, dword [esi]
push ecx
push 0xa
mov ecx, esi
call dword [eax + 4]
mov eax, dword [esp + 0x24]
inc ebx
cmp ebx, eax
jb 0x45558b
mov eax, dword [esp + 0x44]
test eax, eax
je 0x4556aa
mov ecx, dword [0x4c3134]
push ecx
mov ecx, esi
call fcn.00452ae0
mov dword [esi + 0x1a8], eax
mov eax, dword [0x4c3098]
pop ebp
test ah, 2
pop ebx
je 0x4556c2
mov edx, dword [esp + 0x74]
mov ecx, esi
push edx
call fcn.00456160
lea ecx, [esp + 8]
mov byte [esp + 0x6c], 0
call fcn.00484433
lea ecx, [esp + 0x54]
mov dword [esp + 0x6c], 0xb
call fcn.00484433
lea ecx, [esp + 0x50]
mov dword [esp + 0x6c], 0xffffffff
call fcn.00484433
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x20]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x68
ret 4
lea edx, [esp + 0x58]
mov ecx, esi
push edx
call fcn.00449860
mov ecx, dword [esp + 0x58]
mov edx, dword [edi + 4]
mov eax, dword [eax]
push ecx
mov ecx, dword [edx + 8]
mov edx, dword [edi + 0x24]
push ecx
push edx
push eax
lea ecx, [esp + 0x20]
push 0x4bd690
push ecx
mov byte [esp + 0x8c], 0xa
call fcn.004827a3
add esp, 0x18
lea ecx, [esp + 0x54]
mov byte [esp + 0x74], 1
call fcn.00484433
push 0x4bd408
lea ecx, [esp + 0x5c]
call fcn.0048241d
test eax, eax
jl 0x45576c
add ebp, 0x30
push ebp
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov eax, dword [esp + 0x10]
mov edx, dword [esi]
push eax
push 0xb
mov ecx, esi
call dword [edx + 4]
mov dword [esp + 0x28], 1
jmp 0x455696