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

Disassembly:
push 0xffffffffffffffff
push 0x4b9de8
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x50a360]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov ebx, ecx
mov ecx, dword [esp + 0x70]
xor edi, edi
cmp ecx, edi
je 0x4539a4
mov edx, dword [esp + 0x74]
mov eax, dword [ecx + edx + 4]
lea esi, [eax + eax*2 + 3]
lea ebp, [edx + esi*4]
mov esi, dword [esp + 0x78]
add edx, esi
mov dword [esp + 0x14], eax
mov dword [esp + 0x24], edx
cmp ebp, edx
jb 0x4539ca
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret 0xc
mov ecx, dword [esp + 0x70]
mov eax, dword [esp + 0x14]
xor edi, edi
push 1
lea esi, [ecx + ebp]
push eax
push esi
mov ecx, ebx
mov dword [esp + 0x24], esi
call fcn.00451bf0
push 4
call fcn.0046433c
add esp, 4
cmp eax, edi
je 0x4539f2
lea ecx, [esp + 0x30]
mov dword [eax], ecx
jmp 0x4539f4
xor eax, eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edi
add ebp, 0xc
cmp byte [esi + 8], 0
mov dword [esp + 0x68], 1
mov dword [esp + 0x78], edi
jbe 0x453b35
jmp 0x453a22
xor edi, edi
call fcn.0046c2c1
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
je 0x453c3b
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0x74], edi
mov ecx, dword [esp + 0x70]
mov edx, dword [ecx + ebp]
push 1
push edx
lea eax, [esp + 0x28]
push eax
mov ecx, ebx
mov byte [esp + 0x74], 2
call fcn.00451560
mov ecx, dword [eax]
lea eax, [ecx - 0x10]
lea esi, [edi - 0x10]
mov byte [esp + 0x68], 3
cmp eax, esi
je 0x453ac3
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x453ab1
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x453ab1
push eax
call fcn.00401560
mov dword [esp + 0x20], eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x453aa4
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov edi, dword [esp + 0x1c]
add edi, 0x10
mov dword [esp + 0x74], edi
jmp 0x453ac3
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x7c]
call fcn.00401860
mov edi, dword [esp + 0x74]
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x68], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x453ae8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x74]
push ecx
lea ecx, [esp + 0x34]
call fcn.0043f500
add edi, 0xfffffff0
add ebp, 4
mov byte [esp + 0x68], 1
lea edx, [edi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x453b1a
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x78]
movzx edx, byte [ecx + 8]
inc eax
cmp eax, edx
mov dword [esp + 0x78], eax
jl 0x453a20
mov esi, ecx
movzx ecx, byte [esi + 8]
movzx eax, byte [esi + 0xa]
sub eax, ecx
lea edx, [esp + 0x30]
push edx
lea ecx, [esp + 0x4c]
lea ebp, [ebp + eax*4]
call fcn.00451e60
mov ecx, dword [ebx + 0x2f4]
sub ecx, dword [ebx + 0x2f0]
mov eax, 0x6bca1af3
imul ecx
mov ecx, dword [ebx + 0x2f4]
sub ecx, dword [ebx + 0x2f0]
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
lea esi, [eax - 1]
mov eax, 0x6bca1af3
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x453b97
call fcn.004955c5
imul esi, esi, 0x98
add esi, dword [ebx + 0x2f0]
lea ecx, [esp + 0x48]
push ecx
add esi, 0x18
push esi
lea ecx, [ebx + 0x2fc]
mov byte [esp + 0x70], 4
call fcn.00453690
mov ecx, eax
call fcn.00452010
lea ecx, [esp + 0x48]
mov byte [esp + 0x68], 1
call fcn.0043dcc0
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x74], eax
cmp ecx, eax
jbe 0x453bee
call fcn.004955c5
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
mov esi, dword [esp + 0x30]
mov edi, ecx
cmp ecx, eax
jbe 0x453bfd
call fcn.004955c5
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x30]
push edx
push esi
push edi
push eax
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0x44]
call fcn.00451b60
inc dword [esp + 0x14]
lea ecx, [esp + 0x30]
mov dword [esp + 0x68], 0xffffffff
call fcn.0043dcc0
cmp ebp, dword [esp + 0x24]
jb 0x4539c0
jmp 0x4539a4
push 0x80004005
call fcn.00401150
int3