Function at 0x45b330
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 + 0x14], 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 0x45b3da
call fcn.004a067d
mov ecx, dword [ebx + 0x240]
mov edx, dword [ecx + esi*4]
lea ecx, [esp + 0x5c]
mov dword [esp + 0x20], edx
call fcn.0043abe0
mov esi, dword [ebx + 0xe8]
lea ebp, [ebx + 0xd8]
mov byte [esp + 0xc8], 1
cmp dword [ebp + 0xc], esi
jbe 0x45b40e
call fcn.004a067d
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp]
mov dword [esp + 0x18], eax
cmp edi, dword [ebp + 0x10]
jbe 0x45b422
call fcn.004a067d
mov ecx, dword [esp + 0x18]
mov eax, dword [ebp]
push esi
push ecx
push edi
push eax
lea edx, [esp + 0x28]
push edx
mov ecx, ebp
call fcn.0042be00
mov edi, dword [ebx + 0x118]
cmp dword [ebx + 0x114], edi
lea esi, [ebx + 0x108]
jbe 0x45b452
call fcn.004a067d
mov ebp, dword [esi + 0xc]
mov ebx, dword [esi]
cmp ebp, dword [esi + 0x10]
jbe 0x45b461
call fcn.004a067d
mov eax, dword [esi]
push edi
push ebx
push ebp
push eax
lea eax, [esp + 0x28]
push eax
mov ecx, esi
call fcn.004205c0
mov eax, dword [esp + 0x14]
mov esi, dword [eax + 0x130]
add eax, 0x120
mov dword [esp + 0x58], eax
cmp dword [eax + 0xc], esi
jbe 0x45b490
call fcn.004a067d
mov ebx, dword [esp + 0x58]
mov edi, dword [ebx + 0xc]
mov ebp, dword [ebx]
cmp edi, dword [ebx + 0x10]
jbe 0x45b4a3
call fcn.004a067d
mov eax, dword [ebx]
push esi
push ebp
push edi
push eax
lea ecx, [esp + 0x28]
push ecx
mov ecx, ebx
call fcn.004205c0
mov ebx, dword [esp + 0x14]
mov esi, dword [ebx + 0x148]
add ebx, 0x138
cmp dword [ebx + 0xc], esi
jbe 0x45b4cf
call fcn.004a067d
mov edi, dword [ebx + 0xc]
mov ebp, dword [ebx]
cmp edi, dword [ebx + 0x10]
jbe 0x45b4de
call fcn.004a067d
mov eax, dword [ebx]
push esi
push ebp
push edi
push eax
lea edx, [esp + 0x28]
push edx
mov ecx, ebx
call fcn.004205c0
mov ebx, dword [esp + 0x14]
mov esi, dword [ebx + 0x160]
add ebx, 0x150
cmp dword [ebx + 0xc], esi
jbe 0x45b50a
call fcn.004a067d
mov edi, dword [ebx + 0xc]
mov ebp, dword [ebx]
cmp edi, dword [ebx + 0x10]
jbe 0x45b519
call fcn.004a067d
mov eax, dword [ebx]
push esi
push ebp
push edi
push eax
lea eax, [esp + 0x28]
push eax
mov ecx, ebx
call fcn.004205c0
mov ebx, dword [esp + 0x14]
mov esi, dword [ebx + 0x178]
add ebx, 0x168
cmp dword [ebx + 0xc], esi
jbe 0x45b545
call fcn.004a067d
mov edi, dword [ebx + 0xc]
mov ebp, dword [ebx]
cmp edi, dword [ebx + 0x10]
jbe 0x45b554
call fcn.004a067d
mov ebx, dword [esp + 0x14]
mov eax, dword [ebx + 0x168]
push esi
push ebp
lea ecx, [ebx + 0x168]
push edi
push eax
lea edx, [esp + 0x28]
push edx
call fcn.004205c0
mov esi, dword [ebx + 0xe8]
add ebx, 0xd8
cmp dword [ebx + 0xc], esi
jbe 0x45b588
call fcn.004a067d
mov edi, dword [ebx + 0xc]
mov ebp, dword [ebx]
cmp edi, dword [ebx + 0x10]
jbe 0x45b597
call fcn.004a067d
mov eax, dword [ebx]
push esi
push ebp
push edi
push eax
lea eax, [esp + 0x28]
push eax
mov ecx, ebx
call fcn.0042be00
mov eax, dword [esp + 0x14]
mov esi, dword [eax + 0x1a8]
add eax, 0x198
cmp dword [eax + 0xc], esi
jbe 0x45b5c2
call fcn.004a067d
mov eax, dword [esp + 0x14]
mov edi, dword [eax + 0x1a4]
mov ebp, dword [eax + 0x198]
add eax, 0x198
cmp edi, dword [eax + 0x10]
jbe 0x45b5e1
call fcn.004a067d
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x198]
push esi
push ebp
add ecx, 0x198
push edi
push eax
lea edx, [esp + 0x28]
push edx
call fcn.004204e0
mov eax, dword [esp + 0x20]
cmp dword [eax + 0x2c], 0
mov dword [esp + 0x4c], 0
jle 0x45ba09
xor eax, eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], 0xffffffff
mov dword [esp + 0x18], 1
mov dword [esp + 0x48], eax
lea esp, [esp]
mov esi, dword [esp + 0x20]
mov ecx, dword [esi + 0x1c]
sub ecx, dword [esi + 0x18]
mov edi, dword [esp + 0x4c]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp edi, ecx
jb 0x45b668
call fcn.004a067d
mov eax, dword [esi + 0x18]
mov ebp, dword [esp + 0x48]
mov ecx, dword [eax + ebp + 0x10]
sub ecx, dword [eax + ebp + 0xc]
add eax, ebp
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 eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x45b6aa
call fcn.004a067d
mov ecx, dword [esi + 0x18]
add ecx, ebp
push ecx
lea ecx, [esp + 0x78]
call fcn.0040dd80
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x68]
mov ebp, eax
cmp ecx, eax
jbe 0x45b6d4
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 0x45b6e3
call fcn.004a067d
mov edx, dword [esp + 0x5c]
push ebp
push esi
push edi
push edx
lea eax, [esp + 0xb8]
push eax
lea ecx, [esp + 0x70]
call fcn.0040c320
xor esi, esi
test ebx, ebx
jle 0x45b85e
mov ebp, dword [esp + 0x50]
lea ebx, [ebx]
xor ecx, ecx
or eax, 0xffffffff
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x84]
sub ecx, dword [esp + 0x80]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov eax, 0x38e38e39
imul ecx
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp esi, ecx
jb 0x45b75d
call fcn.004a067d
mov edx, dword [esp + 0x80]
mov eax, dword [esp + 0x24]
lea edi, [esi + esi*8]
add edi, edi
add edi, edi
add edx, edi
push edx
mov edx, dword [eax]
lea ecx, [esp + 0x28]
call edx
mov eax, dword [esp + 0x28]
dec eax
cmp eax, 8
ja case.0x45b788.4
jmp dword [eax*4 + 0x45bae4]
mov eax, dword [esp + 0x54]
add dword [esp + 0x30], ebp
add dword [esp + 0x34], eax
cmp dword [esp + 0x38], 0xffffd8f1
jne case.0x45b788.4
mov dword [esp + 0x28], 0xa
jmp case.0x45b788.4
cmp dword [esp + 0x38], 0
je case.0x45b788.4
mov ecx, dword [esp + 0x84]
sub ecx, dword [esp + 0x80]
dec dword [esp + 0x38]
mov eax, 0x38e38e39
imul ecx
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp esi, ecx
jb 0x45b7ed
call fcn.004a067d
mov edx, dword [esp + 0x80]
mov eax, dword [edx + edi]
mov eax, dword [eax]
lea ecx, [edx + edi]
lea edx, [esp + 0x24]
push edx
call eax
add esi, dword [esp + 0x2c]
jmp case.0x45b788.4
mov ecx, dword [esp + 0x34]
push ecx
mov ecx, dword [esp + 0xd4]
call fcn.004581e0
test eax, eax
jge 0x45b820
neg eax
cdq
idiv dword [esp + 0x34]
mov eax, dword [esp + 0x30]
cmp edx, eax
jge 0x45b835
add eax, edx
mov dword [esp + 0x38], eax
jmp case.0x45b788.4
mov dword [esp + 0x38], edx
jmp case.0x45b788.4
mov edx, dword [esp + 0x54]
add dword [esp + 0x30], ebp
add dword [esp + 0x34], edx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x60]
call fcn.0040fbb0
inc esi
cmp esi, ebx
jl 0x45b710
mov edi, dword [esp + 0x58]
mov ecx, dword [edi + 0xc]
test ecx, ecx
jne 0x45b86d
xor eax, eax
jmp 0x45b875
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 0x45b891
mov dword [esi], 0
add esi, 4
mov dword [edi + 0x10], esi
jmp 0x45b8b5
cmp ecx, esi
jbe 0x45b89a
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 ebx, dword [esp + 0x14]
mov ecx, dword [ebx + 0x144]
lea edi, [ebx + 0x138]
test ecx, ecx
jne 0x45b8cd
xor eax, eax
jmp 0x45b8d5
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 0x45b8f1
mov dword [esi], 0
add esi, 4
mov dword [edi + 0x10], esi
jmp 0x45b915
cmp ecx, esi
jbe 0x45b8fa
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 0x45b929
xor eax, eax
jmp 0x45b931
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 0x45b94d
mov dword [esi], 0xffffffff
add esi, 4
mov dword [edi + 0x10], esi
jmp 0x45b971
cmp ecx, esi
jbe 0x45b956
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 0x45b985
xor eax, eax
jmp 0x45b98d
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 0x45b9a9
mov dword [esi], 1
add esi, 4
mov dword [edi + 0x10], esi
jmp 0x45b9ca
cmp ecx, esi
jbe 0x45b9b2
call fcn.004a067d
mov eax, dword [edi]
lea ecx, [esp + 0x18]
push ecx
push esi
push eax
lea edx, [esp + 0xbc]
push edx
mov ecx, edi
call fcn.0040e5a0
mov esi, ebx
lea eax, [esp + 0x5c]
lea ebx, [esi + 0xd8]
push eax
mov ecx, ebx
call fcn.00413630
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esi + 0x198]
call fcn.004238d0
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x20]
add dword [esp + 0x48], 0x18
inc eax
cmp eax, dword [edx + 0x2c]
mov dword [esp + 0x4c], eax
jl 0x45b640
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x2c]
mov esi, dword [edi + 0x9c]
mov dword [edi + 0x1e4], ecx
mov edx, dword [eax + 0x24]
mov dword [edi + 0x180], edx
mov eax, dword [eax + 0x28]
mov dword [edi + 0x184], eax
mov ecx, dword [edi + 0x244]
sub ecx, dword [edi + 0x240]
sar ecx, 2
cmp esi, ecx
jb 0x45ba4a
call fcn.004a067d
mov edx, dword [edi + 0x240]
mov eax, dword [edx + esi*4]
mov ecx, dword [eax + 8]
mov dword [edi + 0x1e0], ecx
mov ecx, ebx
call fcn.0045b180
mov eax, dword [esp + 0x68]
xor esi, esi
cmp eax, esi
je 0x45ba76
push eax
call fcn.0048f8b2
add esp, 4
mov edx, dword [esp + 0x5c]
push edx
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 0x45baa3
push eax
call fcn.0048f8b2
add esp, 4
mov eax, dword [esp + 0x74]
push eax
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