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

Disassembly:
push 0xffffffffffffffff
push 0x4fb473
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x80
push ebp
push esi
mov esi, ecx
xor ebp, ebp
mov dword [esp + 8], esi
mov eax, dword [esi + 0x38]
cmp eax, ebp
je 0x414bd4
cmp dword [esi + 0x30], ebp
je 0x414bd4
mov ecx, 0x14
mov dword [esp + 0xc], 0x64
mov dword [eax + 0x24], ecx
mov eax, dword [esp + 0x9c]
cmp eax, ebp
je 0x414762
mov eax, dword [esi + 0x38]
mov dword [esp + 0xc], 0x3e8
add dword [eax + 0x20], ecx
mov eax, dword [esi + 0x38]
push ebx
push edi
mov dword [eax + 0x2c], ebp
mov ecx, dword [esi + 0x30]
mov edi, ecx
mov dword [esp + 0x18], ecx
mov edx, dword [edi]
call dword [edx + 4]
mov ebx, eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov ecx, dword [esi + 0x30]
cmp eax, ebx
jle 0x41478d
mov edx, dword [ecx]
call dword [edx]
jmp 0x414792
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [esi + 0x38]
mov ebx, dword [esp + 0xa0]
mov dword [ecx + 0x28], eax
mov eax, dword [ebx + 4]
cmp eax, ebp
je 0x4147b2
push eax
call fcn.004dbc23
add esp, 4
mov dword [ebx + 4], ebp
lea ecx, [esp + 0x44]
mov dword [ebx + 0xc], ebp
mov dword [ebx + 8], ebp
call fcn.00415d90
mov dword [esp + 0x44], 0x510268
lea ecx, [esp + 0x58]
mov dword [esp + 0x98], ebp
call fcn.004d5ee2
mov dword [esp + 0x6c], 0x510468
mov dword [esp + 0x70], ebp
mov dword [esp + 0x74], 0x11
mov dword [esp + 0x78], ebp
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x80], ebp
mov dword [esp + 0x84], 0x64
mov dword [esp + 0x88], ebp
mov dword [esp + 0x8c], ebp
push 0xffffffffffffffff
push 0x3e8
lea ecx, [esp + 0x60]
mov dword [esp + 0xa0], 1
call fcn.004d6b82
mov eax, dword [esp + 0x70]
cmp eax, ebp
je 0x414845
push eax
call fcn.004dbc23
add esp, 4
mov dword [esp + 0x70], ebp
push 0x190
call fcn.004dbbfa
mov edi, eax
mov ecx, 0x64
xor eax, eax
mov dword [esp + 0x74], edi
rep stosd dword es:[edi], eax
add esp, 4
lea ecx, [esp + 0x1c]
mov dword [esp + 0x74], 0x64
call fcn.0044e490
mov edx, dword [esi + 0x30]
mov byte [esp + 0x98], 2
mov edi, edx
mov dword [esp + 0x18], edx
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 4]
mov edx, dword [edi]
push eax
push ebp
mov ecx, edi
call dword [edx]
push eax
push ebp
lea ecx, [esp + 0x2c]
call fcn.0044e510
cmp dword [esp + 0x30], ebp
je 0x414a2c
jmp 0x4148b0
mov ebx, dword [esp + 0xa0]
lea ecx, [esp + 0x1c]
call fcn.0044e4f0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], eax
call fcn.0044e4f0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x3c], eax
call fcn.0044e4f0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], eax
call fcn.0044e4f0
mov dword [esp + 0x40], eax
lea eax, [esp + 0x34]
push eax
mov ecx, esi
call fcn.00415770
cmp eax, ebp
je 0x4148fd
push ebx
push eax
mov ecx, esi
call fcn.00415550
lea ecx, [esp + 0x34]
push ecx
mov ecx, esi
call fcn.004159d0
cmp eax, ebp
je 0x414916
push ebx
push eax
mov ecx, esi
call fcn.00415550
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
lea edx, [ecx + eax]
cmp edx, 0x1f4
jl 0x414a22
cmp eax, 0x64
jl 0x414a22
cmp ecx, 0x64
jl 0x414a22
mov eax, dword [esi + 0x38]
cmp dword [eax + 0x30], ebp
je 0x414a2c
cmp dword [esp + 0xa4], ebp
je 0x414ae4
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x34]
push ecx
push edx
mov ecx, esi
call fcn.00414f70
mov eax, dword [esp + 0x4c]
xor edi, edi
xor ebx, ebx
cmp eax, ebp
jle 0x414a22
mov ecx, dword [esp + 0x48]
mov esi, dword [ecx + ebx*4]
mov eax, dword [esi + 4]
cmp edi, eax
jge 0x4149ab
mov ecx, dword [esi + 8]
cmp ebp, ecx
jge 0x4149ab
mov edx, dword [esp + 0x38]
sub ecx, ebp
add ebp, edx
push ecx
sub eax, edi
push ebp
push eax
mov eax, dword [esp + 0x40]
add edi, eax
lea ecx, [esp + 0x28]
push edi
call fcn.0044e510
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 4]
mov edx, dword [esi + 8]
lea edi, [eax + ecx]
lea ebp, [eax + edx]
mov eax, dword [esp + 0x34]
add ecx, eax
mov dword [esi + 4], ecx
mov ecx, dword [esp + 0x38]
add edx, ecx
mov ecx, dword [esp + 0x10]
mov dword [esi + 8], edx
mov edx, dword [esp + 0xa0]
push edx
push esi
call fcn.00415550
mov eax, dword [esp + 0x4c]
inc ebx
cmp ebx, eax
jl 0x414979
test edi, edi
je 0x414a1c
test ebp, ebp
je 0x414a1c
mov ecx, dword [esp + 0x3c]
cmp edi, ecx
jge 0x414a1c
mov eax, dword [esp + 0x40]
cmp ebp, eax
jge 0x414a1c
sub eax, ebp
sub ecx, edi
push eax
mov eax, dword [esp + 0x3c]
add ebp, eax
push ebp
push ecx
mov ecx, dword [esp + 0x40]
add edi, ecx
lea ecx, [esp + 0x28]
push edi
call fcn.0044e510
mov esi, dword [esp + 0x10]
xor ebp, ebp
cmp dword [esp + 0x30], ebp
jne 0x4148a9
lea ecx, [esp + 0x1c]
mov byte [esp + 0x98], 1
call fcn.004d5f15
mov ebx, 3
mov dword [esp + 0x98], ebx
lea edx, [esp + 0x6c]
mov dword [esp + 0x6c], 0x510468
mov dword [esp + 0x18], edx
mov esi, dword [esp + 0x70]
mov byte [esp + 0x98], 5
cmp esi, ebp
je 0x414a87
mov eax, dword [esp + 0x74]
cmp eax, ebp
jbe 0x414a87
mov ecx, esi
mov edx, eax
mov eax, dword [ecx]
cmp eax, ebp
je 0x414a81
mov eax, dword [eax]
cmp eax, ebp
jne 0x414a7b
add ecx, 4
dec edx
jne 0x414a75
push esi
call fcn.004dbc23
mov ecx, dword [esp + 0x84]
add esp, 4
mov dword [esp + 0x70], ebp
mov dword [esp + 0x78], ebp
mov dword [esp + 0x7c], ebp
call fcn.004d660c
lea ecx, [esp + 0x58]
mov dword [esp + 0x80], ebp
mov byte [esp + 0x98], bl
call fcn.004d5f15
mov eax, dword [esp + 0x48]
pop edi
cmp eax, ebp
mov dword [esp + 0x40], 0x510238
pop ebx
je 0x414ada
push eax
call fcn.004dbc23
add esp, 4
mov eax, 1
jmp 0x414bd6
lea eax, [esp + 0x34]
push 5
push eax
mov ecx, esi
call fcn.00414f70
test eax, eax
jne 0x414969
lea ecx, [esp + 0x34]
push 0x14
push ecx
mov ecx, esi
call fcn.00414f70
test eax, eax
jne 0x414969
lea edx, [esp + 0x34]
push 0x64
push edx
mov ecx, esi
call fcn.00414f70
test eax, eax
jne 0x414969
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
cmp eax, ecx
jl 0x414b34
mov eax, ecx
cmp eax, 0x2710
jle 0x414969
lea eax, [esp + 0x34]
push 0x3e8
push eax
mov ecx, esi
call fcn.00414f70
test eax, eax
jne 0x414969
xor esi, esi
mov edi, dword [esp + 0x40]
mov eax, 0x66666667
imul edi
sar edx, 2
mov ecx, edx
mov eax, 0x66666667
shr ecx, 0x1f
add edx, ecx
mov ecx, esi
imul ecx, edi
push edx
imul ecx
mov ebx, dword [esp + 0x3c]
mov edi, dword [esp + 0x40]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 0x66666667
add edx, ebx
mov ebx, dword [esp + 0x38]
push edx
imul edi
sar edx, 2
mov ecx, edx
mov eax, 0x66666667
shr ecx, 0x1f
add edx, ecx
mov ecx, esi
imul ecx, edi
push edx
imul ecx
sar edx, 2
mov eax, edx
lea ecx, [esp + 0x28]
shr eax, 0x1f
add edx, eax
add edx, ebx
push edx
call fcn.0044e510
inc esi
cmp esi, 0xa
jl 0x414b5a
jmp 0x414a1c
xor eax, eax
mov ecx, dword [esp + 0x88]
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x8c
ret 8