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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x47b238
mov eax, dword fs:[0]
push eax
sub esp, 0x260
mov eax, dword [0x49b3d4]
xor eax, esp
mov dword [esp + 0x258], eax
push ebx
push esi
push edi
mov eax, dword [0x49b3d4]
xor eax, esp
push eax
lea eax, [esp + 0x270]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov esi, edx
mov dword [esp + 0x8c], eax
lea eax, [esp + 0x1a4]
mov dword [esp + 0x20], esi
mov dword [esp + 0x14], ecx
call fcn.004025a9
xor ebx, ebx
mov dword [esp + 0x278], ebx
mov edi, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push esi
call edi
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea edx, [esi + 0x18]
push edx
lea ecx, [esp + 0x1a8]
call fcn.00403b27
lea eax, [esp + 0x16c]
call fcn.004025a9
lea eax, [esp + 0x188]
call fcn.004025a9
push esi
mov byte [esp + 0x27c], 2
call edi
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
add esi, 0x34
push esi
lea ecx, [esp + 0x18c]
call fcn.00403b27
push ebx
lea eax, [esp + 0x1a8]
push eax
or eax, 0xffffffff
lea edi, [esp + 0x190]
call fcn.00409d60
mov ecx, dword [ebp + 8]
push ecx
mov eax, edi
call fcn.0040263b
lea ecx, [esp + 0x170]
mov esi, eax
call fcn.00450aa0
add esp, 4
push 0x484020
lea eax, [esp + 0x1e0]
call fcn.004025d0
mov dword [esp + 0x94], ebx
mov dword [esp + 0x98], ebx
mov dword [esp + 0x9c], ebx
mov dword [esp + 0xa0], ebx
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xac], ebx
mov byte [esp + 0xb0], bl
mov dword [esp + 0xb4], ebx
mov dword [esp + 0xb8], ebx
mov byte [esp + 0xbc], bl
mov dword [esp + 0xc0], ebx
mov dword [esp + 0xc4], ebx
mov byte [esp + 0xc8], bl
lea eax, [esp + 0x230]
call fcn.004025a9
mov esi, dword [esp + 0x20]
push esi
mov byte [esp + 0x27c], 5
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
add esi, 0x50
push esi
lea ecx, [esp + 0x234]
call fcn.00403b27
lea eax, [esp + 0x230]
call fcn.0040263b
lea esi, [esp + 0x40]
mov edi, eax
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
call fcn.004012f9
mov byte [esp + 0x278], 6
cmp edi, ebx
je 0x450d31
mov eax, edi
call fcn.0040107f
jmp 0x450d3d
push 0xd
call fcn.004585b4
add esp, 4
xor eax, eax
mov edx, dword [esp + 0x14]
push edx
lea eax, [edi + eax*2]
push edi
lea edi, [esp + 0x3c]
call fcn.0040d020
lea eax, [esp + 0x16c]
mov byte [esp + 0x278], 7
call fcn.004036f8
mov ecx, eax
lea eax, [esp + 0x90]
call fcn.00405da4
lea eax, [esp + 0x16c]
call fcn.004036f8
mov ecx, dword [esp + 0x17c]
lea ecx, [eax + ecx*2]
lea eax, [esp + 0x1c]
call fcn.00405da4
lea eax, [esp + 0x16c]
call fcn.004036f8
mov ecx, eax
lea eax, [esp + 0x18]
call fcn.00405da4
mov edx, dword [esp + 0x90]
mov ecx, dword [esp + 0x1c]
push edx
mov edx, dword [esp + 0x1c]
mov eax, edi
push eax
push ecx
push edx
lea ecx, [esp + 0xa4]
call fcn.0040dd10
add esp, 0x10
test al, al
je 0x450e38
mov ecx, dword [esp + 0x9c]
mov esi, dword [esp + 0x98]
sub ecx, esi
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 1
lea eax, [esp + 0xc0]
jbe 0x450dfe
lea eax, [esi + 0xc]
push eax
lea ecx, [esp + 0x154]
call fcn.00409970
push ebx
push eax
or eax, 0xffffffff
lea edi, [esp + 0x1e4]
mov byte [esp + 0x280], 8
call fcn.00403074
lea ecx, [esp + 0x150]
mov byte [esp + 0x278], 7
call fcn.00402601
lea eax, [esp + 0x1a4]
call fcn.0040263b
push eax
lea eax, [esp + 0x218]
call fcn.004025d0
push ebx
lea ecx, [esp + 0x1e0]
push ecx
or eax, 0xffffffff
lea edi, [esp + 0x21c]
mov byte [esp + 0x280], 9
call fcn.00403074
lea eax, [esp + 0x1c0]
call fcn.004025a9
mov edx, dword [ebp + 8]
push edx
mov eax, edi
mov byte [esp + 0x27c], 0xa
call fcn.0040263b
lea ecx, [esp + 0x1c4]
mov esi, eax
call fcn.00450aa0
add esp, 4
lea eax, [esp + 0x1f8]
call fcn.004025a9
mov esi, dword [esp + 0x20]
push esi
mov byte [esp + 0x27c], 0xb
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
add esi, 0x6c
push esi
lea ecx, [esp + 0x1fc]
call fcn.00403b27
lea eax, [esp + 0x1f8]
call fcn.0040263b
lea esi, [esp + 0x30]
mov edi, eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
call fcn.004012f9
mov byte [esp + 0x278], 0xc
cmp edi, ebx
je 0x450f0f
mov eax, edi
call fcn.0040107f
jmp 0x450f1b
push 0xd
call fcn.004585b4
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x14]
push ecx
lea eax, [edi + eax*2]
push edi
lea edi, [esp + 0x2c]
call fcn.0040d020
mov dword [esp + 0xcc], ebx
mov dword [esp + 0xd0], ebx
mov dword [esp + 0xd4], ebx
mov dword [esp + 0xd8], ebx
mov dword [esp + 0xe0], ebx
mov dword [esp + 0xe4], ebx
mov byte [esp + 0xe8], bl
mov dword [esp + 0xec], ebx
mov dword [esp + 0xf0], ebx
mov byte [esp + 0xf4], bl
mov dword [esp + 0xf8], ebx
mov dword [esp + 0xfc], ebx
mov byte [esp + 0x100], bl
lea eax, [esp + 0x24c]
call fcn.004025a9
lea eax, [esp + 0x1c0]
call fcn.004036f8
lea edx, [esp + 0x18]
push edx
mov ecx, eax
call fcn.00403b15
lea eax, [esp + 0x1c]
push eax
lea esi, [esp + 0x1c4]
call fcn.00404bc2
mov eax, dword [eax]
mov ecx, dword [esp + 0x18]
mov edx, edi
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x70], bl
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
mov byte [esp + 0x7c], bl
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ebx
mov byte [esp + 0x88], bl
push ecx
push ebx
push edx
push eax
push ecx
lea ecx, [esp + 0x68]
mov byte [esp + 0x28c], 0x10
call fcn.004516e0
add esp, 0x14
test al, al
jne 0x451033
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x104], ebx
mov dword [esp + 0x108], ebx
mov dword [esp + 0x10c], ebx
mov dword [esp + 0x114], ebx
mov dword [esp + 0x118], ebx
mov dword [esp + 0x11c], ebx
mov dword [esp + 0x120], ebx
mov dword [esp + 0x128], ebx
mov dword [esp + 0x12c], ebx
mov byte [esp + 0x130], bl
mov dword [esp + 0x134], ebx
mov dword [esp + 0x138], ebx
mov byte [esp + 0x13c], bl
mov dword [esp + 0x140], ebx
mov dword [esp + 0x144], ebx
mov byte [esp + 0x148], bl
mov byte [esp + 0x278], 0x12
cmp dword [esp + 0x4c], ebx
je 0x4511d5
mov ecx, dword [esp + 0x5c]
mov esi, dword [esp + 0x58]
sub ecx, esi
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov edi, edx
shr edi, 0x1f
add edi, edx
lea eax, [esp + 0x80]
cmp edi, 1
jbe 0x4510de
lea eax, [esi + 0xc]
lea esi, [esp + 0x150]
call fcn.004515d0
mov ecx, dword [esp + 0x8c]
mov eax, esi
push eax
mov byte [esp + 0x27c], 0x13
call fcn.00403b27
mov ecx, esi
mov byte [esp + 0x278], 0x12
call fcn.00402601
cmp edi, 2
mov edi, dword [esp + 0x58]
jb 0x451154
lea eax, [esp + 0x80]
jbe 0x451125
lea eax, [edi + 0x18]
lea esi, [esp + 0x150]
call fcn.004515d0
mov ecx, esi
mov byte [esp + 0x278], 0x14
push ecx
mov ecx, dword [esp + 0x18]
call fcn.00403b27
mov ecx, esi
mov byte [esp + 0x278], 0x12
call fcn.00402601
mov esi, dword [edi + 4]
cmp dword [edi], esi
jne 0x45119a
mov ecx, dword [esp + 0x48]
cmp esi, ecx
jne 0x45116c
mov dword [esp + 0x4c], ebx
jmp 0x4510ab
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x44]
or eax, 0x20
push edx
or eax, 0x40
push eax
mov eax, dword [esp + 0x54]
push eax
push ecx
push esi
lea ecx, [esp + 0x68]
call fcn.004516e0
add esp, 0x14
test al, al
jne 0x4510ab
add esi, 2
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x4c]
push ecx
or eax, 0x100
push eax
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x50]
push edx
push eax
push esi
lea ecx, [esp + 0x68]
call fcn.004516e0
add esp, 0x14
test al, al
jne 0x4510ab
mov dword [esp + 0x4c], ebx
jmp 0x4510ab
mov eax, dword [esp + 0x58]
cmp eax, ebx
je 0x4511e6
push eax
call fcn.004592db
add esp, 4
lea ecx, [esp + 0x24c]
call fcn.00402601
mov byte [esp + 0x278], 0x15
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x451224
dec dword [eax + 0x1c]
jne 0x451224
mov esi, dword [esp + 0x24]
cmp esi, ebx
je 0x451224
lea eax, [esi + 0xc]
mov ecx, esi
mov esi, dword [eax]
mov dword [eax], ebx
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
cmp esi, ebx
jne 0x45120f
lea ecx, [esp + 0x30]
mov dword [esp + 0x24], ebx
call fcn.0040130f
lea ecx, [esp + 0x1f8]
call fcn.00402601
lea ecx, [esp + 0x1c0]
call fcn.00402601
lea ecx, [esp + 0x214]
call fcn.00402601
mov byte [esp + 0x278], 0x16
mov eax, dword [esp + 0x34]
cmp eax, ebx
je 0x451287
dec dword [eax + 0x1c]
jne 0x451287
mov esi, dword [esp + 0x34]
cmp esi, ebx
je 0x451287
lea eax, [esi + 0xc]
mov ecx, esi
mov esi, dword [eax]
mov dword [eax], ebx
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
cmp esi, ebx
jne 0x451272
lea ecx, [esp + 0x40]
mov dword [esp + 0x34], ebx
call fcn.0040130f
lea ecx, [esp + 0x230]
call fcn.00402601
mov eax, dword [esp + 0x98]
cmp eax, ebx
je 0x4512b4
push eax
call fcn.004592db
add esp, 4
lea ecx, [esp + 0x1dc]
call fcn.00402601
lea ecx, [esp + 0x188]
call fcn.00402601
lea ecx, [esp + 0x16c]
call fcn.00402601
lea ecx, [esp + 0x1a4]
call fcn.00402601
mov ecx, dword [esp + 0x270]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x258]
xor ecx, esp
call fcn.00458db6
mov esp, ebp
pop ebp
ret 8