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

Disassembly:
push 0xffffffffffffffff
push 0x4da730
mov eax, dword fs:[0]
push eax
sub esp, 0xac
push ebx
push ebp
push esi
push edi
mov eax, dword [0x51d260]
xor eax, esp
push eax
lea eax, [esp + 0xc0]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x58], ebx
lea eax, [ebx + 0xa4]
push eax
lea ecx, [ebx + 0x3c]
call fcn.00422620
mov ecx, dword [eax]
mov edx, dword [eax + 4]
or eax, 0xffffffff
xor esi, esi
mov dword [esp + 0x50], ecx
lea ecx, [esp + 0x74]
mov dword [esp + 0x54], edx
mov dword [esp + 0x24], 0x4de284
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x28], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], esi
call fcn.0043abe0
mov eax, dword [ebx + 0x244]
sub eax, dword [ebx + 0x240]
mov dword [esp + 0xc8], esi
mov esi, dword [ebx + 0x9c]
sar eax, 2
cmp esi, eax
jb 0x45bbba
call fcn.004a067d
mov ecx, dword [ebx + 0x240]
mov edx, dword [ecx + esi*4]
lea ecx, [esp + 0x5c]
mov dword [esp + 0x1c], edx
call fcn.0043abe0
mov esi, dword [ebx + 0xe8]
lea ebp, [ebx + 0xd8]
mov byte [esp + 0xc8], 1
mov dword [esp + 0x48], ebp
cmp dword [ebp + 0xc], esi
jbe 0x45bbf2
call fcn.004a067d
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp]
mov dword [esp + 0x14], eax
cmp edi, dword [ebp + 0x10]
jbe 0x45bc06
call fcn.004a067d
mov ecx, dword [esp + 0x14]
mov eax, dword [ebp]
push esi
push ecx
push edi
push eax
lea edx, [esp + 0x24]
push edx
mov ecx, ebp
call fcn.0042be00
mov edi, dword [ebx + 0x118]
cmp dword [ebx + 0x114], edi
lea esi, [ebx + 0x108]
jbe 0x45bc36
call fcn.004a067d
mov ebp, dword [esi + 0xc]
mov eax, dword [esi]
mov dword [esp + 0x14], eax
cmp ebp, dword [esi + 0x10]
jbe 0x45bc49
call fcn.004a067d
mov ecx, dword [esp + 0x14]
mov eax, dword [esi]
push edi
push ecx
push ebp
push eax
lea edx, [esp + 0x24]
push edx
mov ecx, esi
call fcn.004205c0
mov esi, dword [ebx + 0x130]
cmp dword [ebx + 0x12c], esi
lea ebp, [ebx + 0x120]
jbe 0x45bc78
call fcn.004a067d
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp]
mov dword [esp + 0x14], eax
cmp edi, dword [ebp + 0x10]
jbe 0x45bc8c
call fcn.004a067d
mov ecx, dword [esp + 0x14]
mov eax, dword [ebp]
push esi
push ecx
push edi
push eax
lea edx, [esp + 0x24]
push edx
mov ecx, ebp
call fcn.004205c0
mov esi, dword [ebx + 0x148]
cmp dword [ebx + 0x144], esi
lea ebp, [ebx + 0x138]
jbe 0x45bcbc
call fcn.004a067d
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp]
mov dword [esp + 0x14], eax
cmp edi, dword [ebp + 0x10]
jbe 0x45bcd0
call fcn.004a067d
mov ecx, dword [esp + 0x14]
mov eax, dword [ebp]
push esi
push ecx
push edi
push eax
lea edx, [esp + 0x24]
push edx
mov ecx, ebp
call fcn.004205c0
mov esi, dword [ebx + 0x160]
cmp dword [ebx + 0x15c], esi
lea ebp, [ebx + 0x150]
jbe 0x45bd00
call fcn.004a067d
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp]
mov dword [esp + 0x14], eax
cmp edi, dword [ebp + 0x10]
jbe 0x45bd14
call fcn.004a067d
mov ecx, dword [esp + 0x14]
mov eax, dword [ebp]
push esi
push ecx
push edi
push eax
lea edx, [esp + 0x24]
push edx
mov ecx, ebp
call fcn.004205c0
mov esi, dword [ebx + 0x178]
cmp dword [ebx + 0x174], esi
lea ebp, [ebx + 0x168]
jbe 0x45bd44
call fcn.004a067d
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp]
mov dword [esp + 0x14], eax
cmp edi, dword [ebp + 0x10]
jbe 0x45bd58
call fcn.004a067d
mov ecx, dword [esp + 0x14]
mov eax, dword [ebp]
push esi
push ecx
push edi
push eax
lea edx, [esp + 0x24]
push edx
mov ecx, ebp
call fcn.004205c0
mov ebp, dword [esp + 0x48]
mov esi, dword [ebp + 0x10]
cmp dword [ebp + 0xc], esi
jbe 0x45bd80
call fcn.004a067d
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp]
mov dword [esp + 0x14], eax
cmp edi, dword [ebp + 0x10]
jbe 0x45bd94
call fcn.004a067d
mov ecx, dword [esp + 0x14]
mov eax, dword [ebp]
push esi
push ecx
push edi
push eax
lea edx, [esp + 0x24]
push edx
mov ecx, ebp
call fcn.0042be00
mov esi, dword [ebx + 0x1a8]
add ebx, 0x198
cmp dword [ebx + 0xc], esi
jbe 0x45bdc1
call fcn.004a067d
mov edi, dword [ebx + 0xc]
mov ebp, dword [ebx]
cmp edi, dword [ebx + 0x10]
jbe 0x45bdd0
call fcn.004a067d
mov eax, dword [ebx]
push esi
push ebp
push edi
push eax
lea eax, [esp + 0x24]
push eax
mov ecx, ebx
call fcn.004204e0
mov ecx, dword [esp + 0x1c]
cmp dword [ecx + 0x2c], 0
mov dword [esp + 0x20], 0
jle 0x45c1e7
xor eax, eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], 0xffffffff
mov dword [esp + 0x14], 1
mov dword [esp + 0x4c], eax
nop
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0x1c]
sub ecx, dword [eax + 0x18]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x20], eax
jb 0x45be46
call fcn.004a067d
mov esi, dword [esp + 0x1c]
mov eax, dword [esi + 0x18]
mov edi, dword [esp + 0x4c]
mov ecx, dword [eax + edi + 0x10]
sub ecx, dword [eax + edi + 0xc]
add eax, edi
mov eax, 0x38e38e39
imul ecx
mov ecx, dword [esi + 0x1c]
sub ecx, dword [esi + 0x18]
sar edx, 3
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp dword [esp + 0x20], ecx
jb 0x45be8e
call fcn.004a067d
mov edx, dword [esi + 0x18]
add edx, edi
push edx
lea ecx, [esp + 0x78]
call fcn.0040dd80
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x68]
mov ebp, eax
cmp ecx, eax
jbe 0x45beb8
call fcn.004a067d
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x68]
mov esi, dword [esp + 0x5c]
mov edi, ecx
cmp ecx, eax
jbe 0x45bec7
call fcn.004a067d
mov eax, dword [esp + 0x5c]
push ebp
push esi
push edi
push eax
lea ecx, [esp + 0xb8]
push ecx
lea ecx, [esp + 0x70]
call fcn.0040c320
xor esi, esi
test ebx, ebx
jle 0x45c03d
mov ebp, dword [esp + 0x50]
mov edi, edi
or eax, 0xffffffff
xor ecx, ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x84]
sub ecx, dword [esp + 0x80]
mov eax, 0x38e38e39
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x45bf3d
call fcn.004a067d
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x24]
mov eax, dword [edx]
lea edi, [esi + esi*8]
add edi, edi
add edi, edi
add ecx, edi
push ecx
lea ecx, [esp + 0x28]
call eax
mov eax, dword [esp + 0x28]
dec eax
cmp eax, 8
ja case.0x45bf68.4
jmp dword [eax*4 + 0x45c2d0]
cmp dword [esp + 0x38], 0xffffd8f1
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ecx
jne case.0x45bf68.4
mov dword [esp + 0x28], 0xa
jmp case.0x45bf68.4
cmp dword [esp + 0x38], 0
je case.0x45bf68.4
mov ecx, dword [esp + 0x84]
sub ecx, dword [esp + 0x80]
dec dword [esp + 0x38]
mov eax, 0x38e38e39
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x45bfcd
call fcn.004a067d
mov ecx, dword [esp + 0x80]
mov edx, dword [ecx + edi]
mov edx, dword [edx]
add ecx, edi
lea eax, [esp + 0x24]
push eax
call edx
add esi, dword [esp + 0x2c]
jmp case.0x45bf68.4
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0xd0]
push eax
call fcn.004581e0
test eax, eax
jge 0x45bfff
neg eax
cdq
idiv dword [esp + 0x34]
mov eax, dword [esp + 0x30]
cmp edx, eax
jge 0x45c014
add eax, edx
mov dword [esp + 0x38], eax
jmp case.0x45bf68.4
mov dword [esp + 0x38], edx
jmp case.0x45bf68.4
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ecx
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x60]
call fcn.0040fbb0
inc esi
cmp esi, ebx
jl 0x45bef0
mov ebx, dword [esp + 0x58]
mov ecx, dword [ebx + 0x12c]
lea edi, [ebx + 0x120]
test ecx, ecx
jne 0x45c055
xor eax, eax
jmp 0x45c05d
mov eax, dword [edi + 0x14]
sub eax, ecx
sar eax, 2
mov esi, dword [edi + 0x10]
mov edx, esi
sub edx, ecx
sar edx, 2
cmp edx, eax
jae 0x45c079
mov dword [esi], 0
add esi, 4
mov dword [edi + 0x10], esi
jmp 0x45c09d
cmp ecx, esi
jbe 0x45c082
call fcn.004a067d
mov eax, dword [edi]
lea ecx, [esp + 0x8c]
push ecx
push esi
push eax
lea edx, [esp + 0xac]
push edx
mov ecx, edi
call fcn.0040e5a0
mov ecx, dword [ebx + 0x144]
lea edi, [ebx + 0x138]
test ecx, ecx
jne 0x45c0b1
xor eax, eax
jmp 0x45c0b9
mov eax, dword [edi + 0x14]
sub eax, ecx
sar eax, 2
mov esi, dword [edi + 0x10]
mov edx, esi
sub edx, ecx
sar edx, 2
cmp edx, eax
jae 0x45c0d5
mov dword [esi], 0
add esi, 4
mov dword [edi + 0x10], esi
jmp 0x45c0f9
cmp ecx, esi
jbe 0x45c0de
call fcn.004a067d
mov eax, dword [edi]
lea ecx, [esp + 0x90]
push ecx
push esi
push eax
lea edx, [esp + 0xa4]
push edx
mov ecx, edi
call fcn.0040e5a0
mov ecx, dword [ebx + 0x15c]
lea edi, [ebx + 0x150]
test ecx, ecx
jne 0x45c10d
xor eax, eax
jmp 0x45c115
mov eax, dword [edi + 0x14]
sub eax, ecx
sar eax, 2
mov esi, dword [edi + 0x10]
mov edx, esi
sub edx, ecx
sar edx, 2
cmp edx, eax
jae 0x45c131
mov dword [esi], 0xffffffff
add esi, 4
mov dword [edi + 0x10], esi
jmp 0x45c155
cmp ecx, esi
jbe 0x45c13a
call fcn.004a067d
mov eax, dword [edi]
lea ecx, [esp + 0x94]
push ecx
push esi
push eax
lea edx, [esp + 0xc4]
push edx
mov ecx, edi
call fcn.0040e5a0
mov ecx, dword [ebx + 0x174]
lea edi, [ebx + 0x168]
test ecx, ecx
jne 0x45c169
xor eax, eax
jmp 0x45c171
mov eax, dword [edi + 0x14]
sub eax, ecx
sar eax, 2
mov esi, dword [edi + 0x10]
mov edx, esi
sub edx, ecx
sar edx, 2
cmp edx, eax
jae 0x45c18d
mov dword [esi], 1
add esi, 4
mov dword [edi + 0x10], esi
jmp 0x45c1ae
cmp ecx, esi
jbe 0x45c196
call fcn.004a067d
mov eax, dword [edi]
lea ecx, [esp + 0x14]
push ecx
push esi
push eax
lea edx, [esp + 0xbc]
push edx
mov ecx, edi
call fcn.0040e5a0
mov ecx, dword [esp + 0x48]
lea eax, [esp + 0x5c]
push eax
call fcn.00413630
lea ecx, [esp + 0x50]
push ecx
lea ecx, [ebx + 0x198]
call fcn.004238d0
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
add dword [esp + 0x4c], 0x18
inc eax
cmp eax, dword [edx + 0x2c]
mov dword [esp + 0x20], eax
jl 0x45be20
mov edi, dword [esp + 0x58]
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0x2c]
mov edx, dword [edi + 0x184]
mov esi, dword [edi + 0x9c]
mov dword [edi + 0x1e4], ecx
mov dword [edi + 0x18c], edx
mov ecx, dword [eax + 0x24]
mov dword [edi + 0x180], ecx
mov edx, dword [eax + 0x28]
mov dword [edi + 0x184], edx
mov eax, dword [edi + 0x244]
sub eax, dword [edi + 0x240]
sar eax, 2
cmp esi, eax
jb 0x45c234
call fcn.004a067d
mov ecx, dword [edi + 0x240]
mov edx, dword [ecx + esi*4]
mov eax, dword [edx + 8]
mov ecx, dword [esp + 0x48]
mov dword [edi + 0x1e0], eax
call fcn.0045b180
mov eax, dword [esp + 0x68]
xor esi, esi
cmp eax, esi
je 0x45c262
push eax
call fcn.0048f8b2
add esp, 4
mov ecx, dword [esp + 0x5c]
push ecx
mov dword [esp + 0x6c], esi
mov dword [esp + 0x70], esi
mov dword [esp + 0x74], esi
call fcn.0048f8b2
mov eax, dword [esp + 0x84]
add esp, 4
cmp eax, esi
je 0x45c28f
push eax
call fcn.0048f8b2
add esp, 4
mov edx, dword [esp + 0x74]
push edx
mov dword [esp + 0x84], esi
mov dword [esp + 0x88], esi
mov dword [esp + 0x8c], esi
call fcn.0048f8b2
add esp, 4
mov ecx, dword [esp + 0xc0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb8
ret 4