Function at 0x454b30
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x50
mov edi, edx
mov ebx, ecx
mov eax, dword [0x547008]
xor eax, ebp
mov dword [esp + 0x48], eax
cmp ecx, 8
ja 0x454ce0
lea eax, [ebx - 1]
test ebx, eax
sete al
test ebx, ebx
setne cl
test cl, al
je 0x455706
mov eax, dword [0x557340]
test eax, eax
je 0x4555c0
cmp edi, 1
mov esi, edi
adc esi, 0
add esi, dword [eax + 8]
cmp esi, edi
jb 0x45570c
mov dword [esp + 8], eax
mov al, byte [eax + 2]
mov edx, 0x20
mov ecx, 0x20
test esi, esi
je 0x454ba4
bsr ecx, esi
xor ecx, 0x1f
sub edx, ecx
mov edi, 0x52de94
sub edi, ecx
mov cl, byte [edi]
mov edi, esi
shr edi, cl
and edi, 7
mov ecx, dword [edx*4 + 0x52de98]
and ecx, esi
lea edx, [edi + edx*8]
cmp ecx, 1
sbb edx, 0xffffffff
movzx edi, word [edx + edx + 0x52dc60]
test al, al
jne 0x454bea
cmp esi, 0x41
setae al
cmp di, 0x76
setb cl
and cl, al
movzx eax, cl
or eax, edi
mov edi, eax
mov ecx, dword [esp + 8]
mov byte [esp + 0x2f], 0
cmp byte [ecx + 3], 0
je 0x4554cc
mov eax, dword [0x54bb78]
mov edx, dword fs:[0x2c]
mov eax, dword [edx + eax*4]
cmp byte [eax + 8], 0
jne 0x454c1e
call fcn.004e85b4
mov ecx, dword [esp + 8]
mov eax, dword [0x54bb78]
mov edx, dword fs:[0x2c]
mov eax, dword [edx + eax*4]
mov ebx, dword [eax + 0x98]
cmp ebx, 1
jbe 0x454f36
cmp ebx, 2
jb 0x4554cc
add dword [ebx + 8], 1
adc dword [ebx + 0xc], 0
movzx edi, di
cmp word [0x549218], di
jb 0x4552f7
mov eax, dword [ebx + edi*8 + 0x78]
test eax, eax
je 0x4552cd
add dword [ebx + 0x10], 1
adc dword [ebx + 0x14], 0
movzx esi, word [ebx + edi*8 + 0x7e]
mov dword [esp + 0xc], eax
mov eax, dword [eax]
test eax, eax
je 0x454cdc
mov edx, eax
bswap edx
test edx, 0x1fc000
je 0x4556dc
prefetcht0 byte [edx]
dec byte [ebx + edi*8 + 0x7c]
mov dword [ebx + edi*8 + 0x78], edx
sub dword [ebx], esi
sub esi, dword [ecx + 8]
add dword [ebx + 0x58], 1
adc dword [ebx + 0x5c], 0
add dword [ebx + 0x60], esi
adc dword [ebx + 0x64], 0
mov edi, dword [esp + 0xc]
mov esi, dword [ecx + 0xc]
add esi, edi
cmp byte [ecx + 5], 0
je 0x454eed
test edi, 0xfff
je 0x4556bf
add edi, 0xfffffffc
mov dword [edi], 1
jmp 0x454eed
xor edx, edx
jmp 0x454c93
mov edx, dword [0x5587c0]
test edx, edx
je 0x455623
lea esi, [ebx - 1]
test ebx, esi
sete al
test ebx, ebx
setne cl
test cl, al
je 0x455709
cmp ebx, 0x100001
jae 0x45570f
cmp edi, 1
mov ecx, edi
adc edi, 0
mov dword [esp + 8], edx
mov eax, dword [edx + 8]
add edi, eax
cmp ebx, 0x4000
ja 0x454d60
mov dword [esp + 0xc], ecx
mov edx, ebx
cmp edi, ebx
jb 0x454d42
dec edi
je 0x454d59
bsr ecx, edi
xor ecx, 0x1f
neg cl
xor edx, edx
inc edx
shl edx, cl
sub edx, eax
mov ecx, dword [esp + 0xc]
cmp edx, ecx
jb 0x454f30
cmp edx, 1
adc eax, edx
mov edi, eax
jmp 0x454d62
mov ecx, 0x20
jmp 0x454d3b
mov edx, ecx
cmp ebx, 0x4001
mov eax, 0x4000
cmovae eax, ebx
mov dword [esp + 0x14], eax
cmp edi, edx
jb 0x455712
mov dword [esp + 0x18], esi
mov eax, dword [esp + 8]
mov al, byte [eax + 2]
mov edx, 0x20
mov ecx, 0x20
test edi, edi
je 0x454d9b
bsr ecx, edi
xor ecx, 0x1f
sub edx, ecx
mov esi, 0x52de94
sub esi, ecx
mov cl, byte [esi]
mov esi, edi
shr esi, cl
and esi, 7
mov ecx, dword [edx*4 + 0x52de98]
and ecx, edi
lea edx, [esi + edx*8]
cmp ecx, 1
sbb edx, 0xffffffff
movzx edx, word [edx + edx + 0x52dc60]
test al, al
jne 0x454de1
cmp edi, 0x41
setae al
cmp dx, 0x76
setb cl
and cl, al
movzx eax, cl
or eax, edx
mov edx, eax
mov ecx, dword [esp + 8]
mov byte [esp + 0x2f], 0
cmp byte [ecx + 3], 0
je 0x454f83
mov dword [esp + 0xc], edx
mov eax, dword [0x54bb78]
mov edx, dword fs:[0x2c]
mov eax, dword [edx + eax*4]
cmp byte [eax + 8], 0
jne 0x454e19
call fcn.004e85b4
mov ecx, dword [esp + 8]
mov eax, dword [0x54bb78]
mov edx, dword fs:[0x2c]
mov eax, dword [edx + eax*4]
mov esi, dword [eax + 0x98]
cmp esi, 1
jbe 0x454f06
cmp esi, 2
setae al
cmp ebx, 0x4001
setb bl
jae 0x454f73
cmp esi, 2
mov edx, dword [esp + 0xc]
jb 0x454f7d
add dword [esi + 8], 1
adc dword [esi + 0xc], 0
movzx ebx, dx
cmp word [0x549218], bx
jb 0x4550be
mov eax, dword [esi + ebx*8 + 0x78]
test eax, eax
je 0x454f46
add dword [esi + 0x10], 1
adc dword [esi + 0x14], 0
movzx edi, word [esi + ebx*8 + 0x7e]
mov dword [esp + 0xc], eax
mov eax, dword [eax]
test eax, eax
je 0x454f02
mov edx, eax
bswap edx
test edx, 0x1fc000
je 0x455094
prefetcht0 byte [edx]
dec byte [esi + ebx*8 + 0x7c]
mov dword [esi + ebx*8 + 0x78], edx
sub dword [esi], edi
sub edi, dword [ecx + 8]
add dword [esi + 0x58], 1
adc dword [esi + 0x5c], 0
add dword [esi + 0x60], edi
adc dword [esi + 0x64], 0
mov esi, dword [ecx + 0xc]
mov edx, dword [esp + 0xc]
add esi, edx
cmp byte [ecx + 5], 0
je 0x454ee3
test edx, 0xfff
je 0x454f16
add edx, 0xfffffffc
mov dword [edx], 1
test dword [esp + 0x18], esi
jne 0x455715
mov ecx, dword [esp + 0x48]
xor ecx, ebp
call fcn.004e8be6
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
xor edx, edx
jmp 0x454ea7
call fcn.00452790
mov ecx, dword [esp + 8]
mov esi, eax
jmp 0x454e37
mov eax, edx
and eax, 0xffe00000
shr edx, 9
and edx, 0xff8
add edx, eax
add edx, 0x2000
jmp 0x454edd
push ecx
call fcn.00451710
call fcn.00452790
mov ecx, dword [esp + 8]
mov ebx, eax
jmp 0x454c3c
add dword [esi + 0x20], 1
adc dword [esi + 0x24], 0
add dword [esi + 0x18], 1
adc dword [esi + 0x1c], 0
mov ecx, esi
push ebx
call fcn.004532d0
mov ecx, dword [esp + 8]
mov eax, dword [esi + ebx*8 + 0x78]
test eax, eax
jne 0x454e85
jmp 0x4550ce
mov dword [esp + 0x1c], eax
mov edx, dword [esp + 0xc]
jmp 0x454f96
mov dword [esp + 0x1c], eax
jmp 0x454f96
cmp ebx, 0x4001
setb bl
mov dword [esp + 0x1c], 0
xor esi, esi
movzx eax, dx
shl eax, 5
mov dword [esp + 0x28], eax
add eax, ecx
add eax, 0x48
mov dword [esp + 0x20], eax
lea eax, [ecx + 0x40]
mov dword [esp + 0x10], eax
push eax
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
jne 0x454fc4
mov ecx, dword [esp + 0x10]
call fcn.00452c00
mov edx, dword [esp + 0x20]
mov eax, dword [edx]
mov dword [esp + 0x24], eax
mov eax, dword [eax]
test eax, eax
sete cl
xor bl, 1
or bl, cl
jne 0x4551a9
mov edx, dword [esp + 8]
lea ecx, [edx + 0x48]
mov byte [esp + 0x2f], 0
mov edi, dword [esp + 0x28]
mov ecx, dword [ecx + edi + 0xc]
mov edi, ecx
sub edi, dword [edx + 8]
mov ebx, dword [eax]
test ebx, ebx
mov dword [esp + 0xc], eax
je 0x455090
mov dword [esp + 0x14], ecx
mov edx, ebx
bswap edx
mov ecx, edx
xor ecx, eax
cmp ecx, 0x1fffff
ja 0x45521c
mov ecx, edx
and ecx, 0x1fc000
je 0x45521c
prefetcht0 byte [edx]
mov eax, dword [esp + 0x24]
mov dword [eax], edx
mov ecx, dword [eax + 0xc]
lea edx, [ecx + 2]
and edx, 0x3ffe
and ecx, 0xffffc001
or ecx, edx
mov dword [eax + 0xc], ecx
mov eax, dword [eax + 8]
mov ebx, dword [esp + 8]
mov ecx, dword [ebx + 0x117c]
add ecx, dword [eax + 0xc]
mov eax, dword [ebx + 0x1180]
mov dword [ebx + 0x117c], ecx
cmp eax, ecx
cmova ecx, eax
mov dword [ebx + 0x1180], ecx
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov ecx, ebx
cmp byte [esp + 0x1c], 0
jne 0x454eb4
jmp 0x454ec3
xor edx, edx
jmp 0x455030
pcmpeqd xmm0, xmm0
lea esi, [esp + 0x30]
movdqa xmmword [esi], xmm0
mov ecx, esi
push 0
push eax
push str.first
call fcn.00451660
push esi
call fcn.004117a0
add esp, 4
push edi
call fcn.004516d0
add dword [esi + 0x28], 1
adc dword [esi + 0x2c], 0
add dword [esi + 0x18], 1
adc dword [esi + 0x1c], 0
shl ebx, 5
lea eax, [ecx + ebx]
add eax, 0x48
mov dword [esp + 0x20], eax
lea eax, [ecx + 0x40]
mov dword [esp + 0x10], eax
push eax
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
jne 0x4550f6
mov ecx, dword [esp + 0x10]
call fcn.00452c00
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx]
mov dword [esp + 0x1c], eax
mov eax, dword [eax]
test eax, eax
je 0x45525c
mov edx, dword [esp + 8]
lea ecx, [edx + 0x48]
mov byte [esp + 0x2f], 0
mov edi, dword [ecx + ebx + 0xc]
mov dword [esp + 0x14], edi
sub edi, dword [edx + 8]
mov ebx, dword [eax]
test ebx, ebx
mov dword [esp + 0xc], eax
je 0x4551a5
mov edx, ebx
bswap edx
mov ecx, edx
xor ecx, eax
cmp ecx, 0x1fffff
ja 0x45521c
mov ecx, edx
and ecx, 0x1fc000
je 0x45521c
prefetcht0 byte [edx]
mov eax, dword [esp + 0x1c]
mov dword [eax], edx
mov ecx, dword [eax + 0xc]
lea edx, [ecx + 2]
and edx, 0x3ffe
and ecx, 0xffffc001
or ecx, edx
mov dword [eax + 0xc], ecx
mov eax, dword [eax + 8]
mov ebx, dword [esp + 8]
mov ecx, dword [ebx + 0x117c]
add ecx, dword [eax + 0xc]
mov eax, dword [ebx + 0x1180]
mov dword [ebx + 0x117c], ecx
cmp eax, ecx
cmova ecx, eax
mov dword [ebx + 0x1180], ecx
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov ecx, ebx
jmp 0x454eb4
xor edx, edx
jmp 0x455150
mov ecx, edx
lea eax, [esp + 0x2f]
push eax
push dword [esp + 0x18]
push edi
push 0x10
push dword [esp + 0x18]
call fcn.004508a0
mov dword [esp + 0xc], eax
test eax, eax
je 0x455451
mov ecx, dword [esp + 0xc]
mov eax, ecx
and eax, 0xffe00000
shr ecx, 9
and ecx, 0x1fe0
or ecx, eax
mov eax, ecx
or eax, 0x1000
or ecx, 0x101e
movzx ecx, byte [ecx]
and ecx, 0x3f
shl ecx, 5
sub eax, ecx
mov edx, eax
test byte [eax + 0xf], 8
jne 0x455718
mov ecx, dword [edx + 8]
add ecx, 0xc
mov edi, dword [ecx]
mov ecx, dword [esp + 8]
sub edi, dword [ecx + 8]
mov eax, edx
jmp 0x45504d
pcmpeqd xmm0, xmm0
lea esi, [esp + 0x30]
movdqa xmmword [esi], xmm0
mov ecx, esi
push 0
push ebx
push str.first
call fcn.00451660
push esi
call fcn.004117a0
add esp, 4
push dword [esp + 0x14]
call fcn.004516d0
pcmpeqd xmm0, xmm0
lea esi, [esp + 0x30]
movdqa xmmword [esi], xmm0
mov ecx, esi
push 0
push edi
jmp 0x45522d
lea eax, [esp + 0x2f]
push eax
push dword [esp + 0x18]
push edi
push 0x10
push dword [esp + 0x18]
call fcn.004508a0
mov dword [esp + 0xc], eax
test eax, eax
je 0x455451
mov ecx, dword [esp + 0xc]
mov eax, ecx
and eax, 0xffe00000
shr ecx, 9
and ecx, 0x1fe0
or ecx, eax
mov eax, ecx
or eax, 0x1000
or ecx, 0x101e
movzx ecx, byte [ecx]
and ecx, 0x3f
shl ecx, 5
sub eax, ecx
mov edx, eax
test byte [eax + 0xf], 8
jne 0x4555b8
mov ecx, dword [edx + 8]
add ecx, 0xc
mov edi, dword [ecx]
mov ecx, dword [esp + 8]
sub edi, dword [ecx + 8]
mov eax, edx
jmp 0x45516d
add dword [ebx + 0x20], 1
adc dword [ebx + 0x24], 0
add dword [ebx + 0x18], 1
adc dword [ebx + 0x1c], 0
mov ecx, ebx
push edi
call fcn.004532d0
mov ecx, dword [esp + 8]
mov eax, dword [ebx + edi*8 + 0x78]
test eax, eax
jne 0x454c71
jmp 0x455307
add dword [ebx + 0x28], 1
adc dword [ebx + 0x2c], 0
add dword [ebx + 0x18], 1
adc dword [ebx + 0x1c], 0
shl edi, 5
lea eax, [ecx + edi]
add eax, 0x48
mov dword [esp + 0x14], eax
lea eax, [ecx + 0x40]
mov dword [esp + 0x18], eax
push eax
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
jne 0x45532f
mov ecx, dword [esp + 0x18]
call fcn.00452c00
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
mov dword [esp + 0x10], eax
mov eax, dword [eax]
test eax, eax
je 0x4553e2
mov edx, dword [esp + 8]
lea ecx, [edx + 0x48]
mov byte [esp + 0x2f], 0
mov esi, dword [ecx + edi + 0xc]
mov dword [esp + 0x14], esi
sub esi, dword [edx + 8]
mov edi, dword [eax]
test edi, edi
mov dword [esp + 0xc], eax
je 0x4553de
mov edx, edi
bswap edx
mov ecx, edx
xor ecx, eax
cmp ecx, 0x1fffff
ja 0x455249
mov ecx, edx
and ecx, 0x1fc000
je 0x455249
prefetcht0 byte [edx]
mov eax, dword [esp + 0x10]
mov dword [eax], edx
mov ecx, dword [eax + 0xc]
lea edx, [ecx + 2]
and edx, 0x3ffe
and ecx, 0xffffc001
or ecx, edx
mov dword [eax + 0xc], ecx
mov eax, dword [eax + 8]
mov edi, dword [esp + 8]
mov ecx, dword [edi + 0x117c]
add ecx, dword [eax + 0xc]
mov eax, dword [edi + 0x1180]
mov dword [edi + 0x117c], ecx
cmp eax, ecx
cmova ecx, eax
mov dword [edi + 0x1180], ecx
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov ecx, edi
jmp 0x454ca0
xor edx, edx
jmp 0x455389
lea eax, [esp + 0x2f]
push eax
push 0x4000
push esi
push 0x10
push dword [esp + 0x18]
call fcn.004508a0
mov dword [esp + 0xc], eax
test eax, eax
je 0x455462
mov ecx, dword [esp + 0xc]
mov eax, ecx
and eax, 0xffe00000
shr ecx, 9
and ecx, 0x1fe0
or ecx, eax
mov eax, ecx
or eax, 0x1000
or ecx, 0x101e
movzx ecx, byte [ecx]
and ecx, 0x3f
shl ecx, 5
sub eax, ecx
mov edx, eax
test byte [eax + 0xf], 8
jne 0x45544c
mov ecx, dword [edx + 8]
add ecx, 0xc
mov esi, dword [ecx]
mov ecx, dword [esp + 8]
sub esi, dword [ecx + 8]
mov eax, edx
jmp 0x4553a6
lea ecx, [edx + 0x20]
jmp 0x45543c
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
xor esi, esi
jmp 0x454ee3
push dword [esp + 0x18]
jmp 0x45546c
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
xor esi, esi
jmp 0x454eed
lea eax, [esp + 0x2f]
mov ecx, ebx
push eax
push 0x4000
push esi
push 0x10
push dword [esp + 0x18]
call fcn.004508a0
test eax, eax
je 0x455468
mov edi, eax
mov ecx, eax
and eax, 0xffe00000
shr ecx, 9
and ecx, 0x1fe0
or ecx, eax
mov eax, ecx
or eax, 0x1000
or ecx, 0x101e
movzx ecx, byte [ecx]
and ecx, 0x3f
shl ecx, 5
sub eax, ecx
jmp 0x455553
mov edi, ebx
xor ecx, ecx
jmp 0x45553a
movzx edi, di
shl edi, 5
lea ebx, [ecx + edi]
add ebx, 0x48
lea eax, [ecx + 0x40]
mov dword [esp + 0xc], eax
push eax
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
jne 0x4554f3
mov ecx, dword [esp + 0xc]
call fcn.00452c00
mov eax, dword [ebx]
mov ecx, dword [eax]
test ecx, ecx
je 0x455479
mov byte [esp + 0x2f], 0
mov ebx, ecx
mov edx, dword [ecx]
test edx, edx
je 0x4554c6
mov ecx, dword [esp + 8]
add ecx, 0x48
mov ecx, dword [ecx + edi + 0xc]
mov dword [esp + 0x18], ecx
mov ecx, edx
bswap ecx
mov esi, ecx
xor esi, ebx
cmp esi, 0x1fffff
ja 0x45558b
mov esi, ecx
and esi, 0x1fc000
je 0x45558b
mov edi, ebx
prefetcht0 byte [ecx]
mov dword [eax], ecx
mov ecx, dword [eax + 0xc]
lea edx, [ecx + 2]
and edx, 0x3ffe
and ecx, 0xffffc001
or ecx, edx
mov dword [eax + 0xc], ecx
mov eax, dword [eax + 8]
mov esi, dword [esp + 8]
mov ecx, dword [esi + 0x117c]
add ecx, dword [eax + 0xc]
mov eax, dword [esi + 0x1180]
mov dword [esi + 0x117c], ecx
cmp eax, ecx
cmova ecx, eax
mov dword [esi + 0x1180], ecx
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov ecx, esi
jmp 0x454cb3
pcmpeqd xmm0, xmm0
lea esi, [esp + 0x30]
movdqa xmmword [esi], xmm0
mov ecx, esi
push 0
push edx
push str.first
call fcn.00451660
push esi
call fcn.004117a0
add esp, 4
push dword [esp + 0x18]
call fcn.004516d0
lea ecx, [edx + 0x20]
jmp 0x4552bd
mov cl, 1
xor eax, eax
lock cmpxchg byte [0x558780], cl
jne 0x4555c2
mov eax, dword [0x557340]
test eax, eax
jne 0x455617
mov dword [esp + 0x30], 0x10001
xor eax, eax
mov byte [esp + 0x34], al
mov dword [esp + 0x38], eax
mov byte [esp + 0x3c], al
mov dword [esp + 0x40], eax
sub esp, 0x14
mov dword [esp + 0x10], eax
movdqu xmm0, xmmword [esp + 0x44]
movdqu xmmword [esp], xmm0
mov ecx, 0x557380
call fcn.00452170
mov eax, 0x557380
mov dword [0x557340], eax
mov byte [0x558780], 0
jmp 0x454b76
mov cl, 1
xor eax, eax
lock cmpxchg byte [0x559c00], cl
jne 0x455625
mov edx, dword [0x5587c0]
test edx, edx
jne 0x45564b
mov edx, dword [0x557340]
test edx, edx
je 0x455657
mov dword [0x5587c0], edx
mov byte [0x559c00], 0
jmp 0x454cee
mov cl, 1
xor eax, eax
lock cmpxchg byte [0x558780], cl
jne 0x455659
mov eax, dword [0x557340]
mov edx, eax
test eax, eax
jne 0x4556b6
mov dword [esp + 0x30], 0x10001
xor eax, eax
mov byte [esp + 0x34], al
mov dword [esp + 0x38], eax
mov byte [esp + 0x3c], al
mov dword [esp + 0x40], eax
sub esp, 0x14
mov dword [esp + 0x10], eax
movdqu xmm0, xmmword [esp + 0x44]
movdqu xmmword [esp], xmm0
mov esi, 0x557380
mov ecx, 0x557380
call fcn.00452170
mov edx, 0x557380
mov dword [0x557340], esi
mov byte [0x558780], 0
jmp 0x455645
mov eax, edi
and eax, 0xffe00000
shr edi, 9
and edi, 0xff8
add edi, eax
add edi, 0x2000
jmp 0x454cd1
pcmpeqd xmm0, xmm0
lea edi, [esp + 0x30]
movdqa xmmword [edi], xmm0
mov ecx, edi
push 0
push eax
push str.first
call fcn.00451660
push edi
call fcn.004117a0
add esp, 4
push esi
call fcn.004516d0
int3
int3
int3
int3
int3
int3
lea ecx, [edx + 0x20]
jmp 0x45520c