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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x50
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x452df0
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x18]
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
call fcn.0041f520
call fcn.0041f520
mov ecx, eax
mov ebx, dword [esi + 0x40]
mov eax, dword [esi + 0x44]
mov edx, esi
mov dword [ebp - 0x2c], eax
xor eax, eax
mov edi, ecx
lea esi, [ecx + ecx + 1]
mov dword [ebp - 0x24], eax
imul edi, ecx
mov dword [ebp - 0x34], esi
jmp 0x4520e4
mov dword [ebp - 0x38], eax
mov byte [ebp - 0x1d], 1
mov dword [ebp - 0x10], 0
call fcn.00514850
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp + 8]
mov edi, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x28]
mov ebx, dword [edx + 0x40]
mov esi, dword [edx + 0x44]
mov dword [ebp - 0x2c], esi
mov esi, dword [ebp - 0x34]
inc ecx
add edi, esi
add esi, 2
mov dword [ebp - 0x34], esi
test bl, 1
jne 0x4523e8
mov dword [ebp - 0x30], edi
mov edi, ebx
mov dword [ebp - 0x28], ecx
shr edi, 1
and edi, 0x1f
cmp edi, 0x1f
jne 0x452120
cmp ecx, 7
jae 0x4520b0
mov edi, dword [ebp - 0x30]
test ecx, ecx
je 0x4520cc
mov ecx, edi
nop dword [eax]
pause
dec ecx
jne 0x452110
jmp 0x4520cc
cmp edi, 0x1e
jne 0x452297
mov esi, dword [ebp - 0x2c]
test eax, eax
jne 0x452234
movzx eax, byte [0x636fbd]
push 4
push 0x80
call fcn.00452e20
add esp, 8
test eax, eax
je 0x45267f
mov edx, dword [ebp + 8]
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [eax + 0xc], 0
mov dword [eax + 8], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x1c], 0
mov dword [eax + 0x18], 0
mov dword [eax + 0x24], 0
mov dword [eax + 0x20], 0
mov dword [eax + 0x2c], 0
mov dword [eax + 0x28], 0
mov dword [eax + 0x34], 0
mov dword [eax + 0x30], 0
mov dword [eax + 0x3c], 0
mov dword [eax + 0x38], 0
mov dword [eax + 0x44], 0
mov dword [eax + 0x40], 0
mov dword [eax + 0x4c], 0
mov dword [eax + 0x48], 0
mov dword [eax + 0x54], 0
mov dword [eax + 0x50], 0
mov dword [eax + 0x5c], 0
mov dword [eax + 0x58], 0
mov dword [eax + 0x64], 0
mov dword [eax + 0x60], 0
mov dword [eax + 0x6c], 0
mov dword [eax + 0x68], 0
mov dword [eax + 0x74], 0
mov dword [eax + 0x70], 0
mov dword [eax + 0x7c], 0
mov dword [eax + 0x78], 0
test esi, esi
mov dword [ebp - 0x24], eax
je 0x4522a1
lea ecx, [ebx + 2]
mov eax, ebx
lock cmpxchg dword [edx + 0x40], ecx
je 0x4525d4
mov ecx, dword [ebp - 0x28]
mov eax, 6
cmp ecx, 6
cmovb eax, ecx
test eax, eax
mov eax, dword [ebp - 0x24]
je 0x452285
mov esi, dword [ebp - 0x28]
mov ecx, 6
cmp esi, 6
cmovb ecx, esi
imul ecx, ecx
nop word cs:[eax + eax]
nop dword [eax + eax]
pause
dec ecx
jne 0x452280
mov ecx, dword [ebp - 0x28]
inc ecx
mov ebx, dword [edx + 0x40]
mov esi, dword [edx + 0x44]
mov dword [ebp - 0x2c], esi
jmp 0x452099
mov esi, dword [ebp - 0x2c]
test esi, esi
mov dword [ebp - 0x24], eax
jne 0x45223b
movzx eax, byte [0x636fbd]
push 4
push 0x80
call fcn.00452e20
add esp, 8
test eax, eax
je 0x4526a2
mov edx, dword [ebp + 8]
mov esi, eax
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [eax + 0xc], 0
mov dword [eax + 8], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x1c], 0
mov dword [eax + 0x18], 0
mov dword [eax + 0x24], 0
mov dword [eax + 0x20], 0
mov dword [eax + 0x2c], 0
mov dword [eax + 0x28], 0
mov dword [eax + 0x34], 0
mov dword [eax + 0x30], 0
mov dword [eax + 0x3c], 0
mov dword [eax + 0x38], 0
mov dword [eax + 0x44], 0
mov dword [eax + 0x40], 0
mov dword [eax + 0x4c], 0
mov dword [eax + 0x48], 0
mov dword [eax + 0x54], 0
mov dword [eax + 0x50], 0
mov dword [eax + 0x5c], 0
mov dword [eax + 0x58], 0
mov dword [eax + 0x64], 0
mov dword [eax + 0x60], 0
mov dword [eax + 0x6c], 0
mov dword [eax + 0x68], 0
mov dword [eax + 0x74], 0
mov dword [eax + 0x70], 0
mov dword [eax + 0x7c], 0
mov dword [eax + 0x78], 0
xor eax, eax
lock cmpxchg dword [edx + 0x44], esi
mov eax, dword [ebp - 0x24]
jne 0x4523c7
mov dword [edx + 4], esi
lea ecx, [ebx + 2]
mov eax, ebx
lock cmpxchg dword [edx + 0x40], ecx
jne 0x45224b
jmp 0x4525d4
test eax, eax
je 0x4523de
push 4
push 0x80
push eax
call fcn.00452e30
mov edx, dword [ebp + 8]
add esp, 0xc
mov ecx, dword [ebp - 0x28]
mov eax, esi
jmp 0x452289
xor esi, esi
xor edi, edi
test eax, eax
je 0x452400
push 4
push 0x80
push eax
call fcn.00452e30
add esp, 0xc
test esi, esi
je 0x452471
mov ecx, dword [ebp + 8]
lock or dword [esi + edi*4 + 4], 1
mov bl, 2
movzx eax, byte [ecx + 0xa0]
test al, al
jne 0x4525c1
lea esi, [ecx + 0x80]
mov dword [ebp - 0x10], 0xffffffff
push esi
call dword [sym.imp.kernel32.dll_AcquireSRWLockExclusive]
mov edi, dword [0x6364b8]
mov eax, dword [edi]
test eax, 0x7fffffff
jne 0x4525fc
xor eax, eax
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + 0x84]
test dl, dl
jne 0x452615
movzx edx, byte [ecx + 0xa0]
test dl, dl
je 0x452478
test al, al
jne 0x4525b3
jmp 0x45259f
mov bl, 1
jmp 0x4525c1
mov dword [ebp - 0x3c], eax
lea eax, [ecx + 0x88]
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x44], eax
mov eax, dword [ecx + 0x90]
test eax, eax
je 0x45255e
mov edx, dword [ecx + 0x88]
lea eax, [eax + eax*2]
mov dword [ebp - 0x2c], 0
lea eax, [edx + eax*4]
mov dword [ebp - 0x24], eax
jmp 0x4524bf
add edx, 0xc
inc dword [ebp - 0x2c]
cmp edx, dword [ebp - 0x24]
je 0x45255e
mov eax, dword [edx]
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x34], eax
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x10], 2
mov dword [ebp - 0x30], eax
push 0
call fcn.00530a00
mov edx, dword [ebp - 0x28]
add esp, 4
test eax, eax
je 0x452660
cmp dword [ebp - 0x30], eax
mov esi, dword [ebp - 0x34]
je 0x4524b0
mov ecx, dword [edx + 4]
xor eax, eax
lock cmpxchg dword [esi + 0xc], ecx
jne 0x4524b0
mov eax, dword [edx + 8]
test eax, eax
je 0x452507
mov dword [esi + 0x10], eax
mov eax, dword [esi + 8]
add eax, 8
push eax
call fcn.00515100
add esp, 4
push eax
call fcn.0052dfe0
add esp, 4
lea eax, [ebp - 0x50]
push 0x5b67e8
push dword [ebp - 0x2c]
push dword [ebp - 0x44]
push eax
call fcn.0043c220
add esp, 0x10
movsd xmm0, qword [ebp - 0x50]
mov eax, dword [ebp - 0x48]
movsd qword [ebp - 0x5c], xmm0
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x5c]
test eax, eax
je 0x45255e
lock dec dword [eax]
jne 0x45255e
lea eax, [ebp - 0x5c]
push eax
call fcn.00449d80
add esp, 4
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x10], 2
call fcn.00452750
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x90], 0
je 0x45257d
xor edx, edx
jmp 0x452587
cmp dword [ecx + 0x9c], 0
sete dl
mov esi, dword [ebp - 0x40]
mov eax, dword [ebp - 0x3c]
mov edi, dword [0x6364b8]
xchg byte [ecx + 0xa0], dl
mov bl, 2
test al, al
jne 0x4525b3
mov eax, dword [edi]
mov dword [ebp - 0x10], 0xffffffff
test eax, 0x7fffffff
jne 0x452644
mov dword [ebp - 0x10], 0xffffffff
push esi
call dword [sym.imp.kernel32.dll_ReleaseSRWLockExclusive]
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, ebx
add esp, 0x50
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x24]
cmp edi, 0x1e
jne 0x4523ec
test eax, eax
je 0x4526c4
mov dword [edx + 0x44], eax
mov edi, 0x1e
lock add dword [edx + 0x40], 2
mov dword [esi], eax
jmp 0x452404
call fcn.005b0970
xor al, 1
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + 0x84]
test dl, dl
je 0x452459
mov dword [ebp - 0x50], esi
mov byte [ebp - 0x4c], al
mov dword [ebp - 0x10], 1
lea eax, [ebp - 0x50]
push 0x5b68d0
push 0x5b6990
push eax
push 0x2b
push 0x5b6964
call fcn.005b1a30
add esp, 0x14
jmp 0x4526ea
call fcn.005b0970
mov ecx, dword [ebp + 8]
test al, al
jne 0x4525b3
mov byte [ecx + 0x84], 1
jmp 0x4525b3
lea eax, [ebp - 0x50]
push 0x5b6890
push 0x5b6954
push eax
push 0x46
push 0x5b67f8
call fcn.005b1a30
add esp, 0x14
jmp 0x4526ea
mov dword [ebp - 0x38], 0
mov byte [ebp - 0x1d], 1
mov dword [ebp - 0x10], 0
push 0x80
push 4
call fcn.005b14d0
add esp, 8
jmp 0x4526ea
mov eax, dword [ebp - 0x24]
mov byte [ebp - 0x1d], 1
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x38], eax
push 0x80
push 4
call fcn.005b14d0
add esp, 8
jmp 0x4526ea
mov dword [ebp - 0x38], 0
mov byte [ebp - 0x1d], 0
mov dword [ebp - 0x10], 0
push 0x5b673c
push 0x2b
push 0x5b66bd
call fcn.005b1730
add esp, 0xc
ud2